Anyone here have a good reference to the protocol for SPI communication with
MultiMedia Card (MMC) memory devices? How do I read/write blocks and how do
I get status? Sample code would be nice ;-)
Thanks,
Rob
Make sure you clock in a few extra 0xFF's before and after the commands
and data. Or use an SPI bus with a continously running clock and
high-state data line when idle.
Remember that if you are reading data, you will have to keep the clock
running, even if you are just waiting for the device to start it's
answer. When using the AT91 SPI module, this means you will have to keep
sending 0xFF continously when waiting for a reply.
Stef