AnsweredAssumed Answered

ColdFire MDF52259C QSPI SDCard Reader

Question asked by Cristian Pena on Nov 6, 2009
Latest reply on Jan 28, 2010 by Cristian Pena

I'm having some serious problems to communicate with a SDCard through the QSPI.

I using the QSPI just like any SPI module, using the first Read/Write RAM possitions.

I start the initialization

Enable CS

send 10 bytes of 0xFF

disable CS

wait delay

 

Enable CS

Send CMD0

Receive IDLE_STATE

Disable CS

 

Enable CS

Send CMD55

Receive 0x05: ILLEGAL_COMMAND & IDLE_STATE

Send ACMD41

Receive 0x05: ILLEGAL_COMMAND & IDLE_STATE

 

I can't finish the initialization. Just get 0x05 for every command until the SD Card goes into tristate and just get 0xFF because of the pull ups.

 

Obviously, there's something I'm doing wrong. In some forums I read that you have to  keep on sending CLK signal between commands, but the CLK is activated by the QSPI module automatically.

 

What could be my problem??

 

Thanks in advance

 

Cristian Pena

Outcomes