This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2378 MCI peripheral signals

Hello,
I've developed a system based on LPC2378 microcontroller and I've a problem with access to SD card using MCI peripheral (SD bus).

I've read in LPC manual that signals on command and data lines change on the rising edge of the clock signal. However in the physical layer specification of SD card and in the product manual of SunDisk I've read that SD card samples command and data signals on the very rising edge of the clock.

Therefore SD card samples data when micro is changing them!

I suppose there is the same problem during the process of reading data, because SD card changes data on the falling edge of the signal clock and the micro samples them probably on the same edge.

It seems to me there is something wrong in this way of communication because it can lead to criticities and errors.

Is there anything that I haven't understood or this scenario is correct?

0