Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2024, 12:44:12 12:44


Login with username, password and session length


Pages: [1]
Print
Author Topic: Interfacing 8051 with MMC / SD using SPI protocol  (Read 14051 times)
0 Members and 1 Guest are viewing this topic.
bugmike25
Junior Member
**
Offline Offline

Posts: 84

Thank You
-Given: 15
-Receive: 13


« on: November 03, 2007, 11:55:00 23:55 »

Hi, can anyone help me in this project. I need to interface an 8051 with MMC / SD using SPI protocol.  Anything could help. Maybe some datasheets on the SD card and the protocol required to transfer data. Or some code if someone manged to implement this.

Thanks
Logged
th_sak
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 150
-Receive: 149



« Reply #1 on: November 04, 2007, 08:46:06 08:46 »

You can find sample code in this topic http://www.sonsivri.com/forum/index.php?topic=4226.0 , but it is for AVR. With some modifications it could wotk just fine for any 8051 derivative.
Logged
bugmike25
Junior Member
**
Offline Offline

Posts: 84

Thank You
-Given: 15
-Receive: 13


« Reply #2 on: November 04, 2007, 06:09:11 18:09 »

Ok thanks. Thats good. I also found another good site that might help others develop this besides using an AVR.  This explains the protocols used step by step.

Code:
http://elm-chan.org/docs/mmc/mmc_e.html
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #3 on: November 04, 2007, 11:35:06 23:35 »

here is the SanDisk product manual(a hard to find item), it will tell you everything you want to know
 http://rapidshare.com/files/67490920/ProductManualSDCardv2.2final.pdf.html
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
yasir9909
Active Member
***
Offline Offline

Posts: 153

Thank You
-Given: 7
-Receive: 107


« Reply #4 on: November 08, 2007, 07:58:47 07:58 »

i have interfaced mmc card with AVR8535 microcontroller
i have posted some code in 'general electronics' topic

what problem are you facing in it

Logged

regards
m.yasir
kukumar
Junior Member
**
Offline Offline

Posts: 46

Thank You
-Given: 30
-Receive: 28


« Reply #5 on: November 08, 2007, 04:20:59 16:20 »

c51 example :

MMC Data Logger Example AN189  software : AN189SW
http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/en/mcu_applications_appnotes.htm
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC