|
|
A note about compact flash cardsSaturday, August 02. 2008Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
For some reason flash card interfaces wildly vary in the number of pins they require. There's definitely one which requires very few (if used in a low pin count mode). I think it's SD, but I can't quite remember.
Alex is right, the SD card uses a 4-wire SPI interface.
To increase I/O ports, I like to chain uCs together. So for the CF card, you could set one uC to take parallel data/commands in on 8-10 wires, or serially with i2c or spi, and have another uC do the actual work. Basically, one uC would simply run the CF card, and the other would do the rest of the work.
This adds a uC for the CF card interface, but it could be a smaller, slower uC because it only needs to be fast enough to run the CF card and need 18 pins for the CF plus 2-10 pins for communication.
SD cards have data in, data out, clock, and chip select lines. Four pins for the uC, max. Then there's a couple ground lines and a 3.3V power line. There is a protocol in there using SPI specifically for microcontrollers to use.
CF cards are absolutely not what we've been talking about. I'm guessing that's a parallel interface rather than a serial one like SD ;)
|