Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThe 'best' protocol for speed is to implement the nibble (4-bit) wide interface SD cards support. However, the 'best' protocol for simplicity (probably the one you want) is the standard SPI interface SD cards also support. 3 signals driven into the SD card (clock, data in and chip select) and one return signal (data out). All transactions are byte (8-bit) based.
The following link takes you to a page with plenty of information on using the SPI protocol with SD cards: http://elm-chan.org/docs/mmc/mmc_e.html (http://elm-chan.org/docs/mmc/mmc_e.html) Assuming you run the interface at 25MHz and you store uncompressed data in the SD card, you should be able to read out a standard VGA image in around 30ms. Higher definition images will take proportionally longer.