Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSD card controller in vhdl
Hey everyone! I'm currently trying to develop a sdcard controller in vhdl to just read data off the sd card using spi transmission. The board im using is DE1 educational board. I have been tryi...
Altera_Forum
Honored Contributor
16 years agoHey everyone,
Found out that it there is not much difference with the port assignment for sd bus mode and spi. However i have a new question. Hope some one will help me out :). In spi mode for sd card protocol, is it possible to shift data and read data at the rising edge of the SCK? I have studied spi master module and i find out that data usually is sampled at the rising edge and shifted at the falling edge for CPOL =0 and CPHA =0. But i just wanted to know if i were to sample and shift at rising_edge for sd card spi protocol will that cause me a problem when sending and receiving data? Regards, Yangz86