2012-05-19 09:45 AM
Hello,
I am trying to use the SD card which is connected via SDIO interface. I am using STM3221G-EVAL evaluation board.Problem is response of ACMD41 comes with a crc error. I have seen in errata that crc will be detected by SDIO host but even the response command and response1 registers holds weird values. Also if i ignore it and give command 2, i get the same response RESPCMD = 0x3f, RESP1 = 0xff8000, order of initializationpllnvic,lcd,i2cethernet,sdioi get correct response of command 0 and command 55Please help, I am stuck on it for quite some time now.thanks2012-05-19 01:57 PM
/352bebf8
2012-05-20 08:57 AM
hello neil,
thats what exactly i am facing unfortunately there is no response to that query either so any suggestions??2012-05-21 01:46 AM
Hello,
found the issue, had defined one define wrong i defined #define SDIO_CMD_WAITRESP_SHORTRSP ((u16)0x60) instead of #define SDIO_CMD_WAITRESP_SHORTRSP ((u16)0x40) It made any command which had its msb 1, return ok and failing others a stupid mistake thanks