Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

init SD card

Altera_Forum
Honored Contributor II
1,041 Views

Hi, I have a problem with a 2 GB SD card, in a nutshell I already created my system SOPC with SPI master and I'm trying to communicate with the SD card.  

The board used is Altera DE2 Cyclone II.  

I wrote the part of the initialization code in NIOS II using the prototype described tutorial Quartus about SPI protocol but despite various tests with varying characteristics types of code and using different clock frequencies the answer that I read from the registry reception is always 0xFF ... 

 

can anybody help me? thanks in advance!
0 Kudos
0 Replies
Reply