Help 89c5131a with mmc card interface (SPI)!
Sun Aug 16 2009, 10:32 pm
can you please comment the code with what order you are sending that data? and what does it represents?
Mon Aug 17 2009, 12:54 am
Solved
---------------------
I have few new questions
Before SD card goes into SPI mode
CMD0 is needed for it goes into SPI mode
After it went into SPI mode, CRC is ignored
So
1) As the CRC is ignored in SPI mode, do i still need to send 0x00 for the last byte of the command?
For example, if i want to send CMD55
I need to send ->(hex) 77 00 00 00 00 00? or just (hex) 77 00 00 00 00 & forget the last byte(CRC)
2) What are "STUFF bits" & "don't care" in the command format mean?
any example?
---------------------
I have few new questions
Before SD card goes into SPI mode
CMD0 is needed for it goes into SPI mode
After it went into SPI mode, CRC is ignored
So
1) As the CRC is ignored in SPI mode, do i still need to send 0x00 for the last byte of the command?
For example, if i want to send CMD55
I need to send ->(hex) 77 00 00 00 00 00? or just (hex) 77 00 00 00 00 & forget the last byte(CRC)
2) What are "STUFF bits" & "don't care" in the command format mean?
any example?
[ Edited Tue Aug 18 2009, 06:32 pm ]
Powered by e107 Forum System