AnsweredAssumed Answered

IMX RT1050 EVK SD card write not working

Question asked by Yugandhar Babu Potarlanka on Sep 4, 2019
Latest reply on Sep 9, 2019 by Kerry Zhou



I am testing SD card example on IMX RT1050 EVK board, available in SDK v2.3.0. The driver is failing to write SD card blocks but reading all blocks without any errors.


During debugging I found that, code is stuck at below while loop in SD_Write function available in fsl_sd.c.


/* Wait for the card's buffer to be not full to write to improve the write performance. */


The Present State (PRES_STATE) register has value 0xfe8d8088 which indicates DATA0 signal level busy, so while loop never breaks.



Please help me to fix this issue. I am using example generated by MCUXpresso IDE with SDK v2.3.0 No extra code written by me.