Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

How to initialize SD-Card with SPI Command?

$
0
0
Hi, I implemented the Altera SPI Core in my SoPC. Altera provides one access routine "alt_avalon_spi_command()". How exactly can I implement the typical SD-Card Initialization in my Code?
Altera SPI Core: http://www.altera.com/literature/ug/ug_embedded_ip.pdf Chapter 8-8

I thought the process of initialization is:

1. set cs = low
2. send cmd0 to slave
3. wait for response

How can I use the access routie of Altera in Eclipse. Please give an advice. I am stuck on this problem.

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>