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.
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.