Hello,
I am having an issue with SDIO communication. I am using interrupt mode with 4 data lines and high speed.
My program tries to interface with SDIO device and the commands are working properly.
Unfortunately sometimes the communication fails - it always happend at the exact same moment of running the program.
I use functions:
SDMMC_OSAEventClear
SDIF_TransferNonBlocking
SDMMC_OSAEventWait
The last one is getting Error event from the SDIO bus. Evant value 14 (1110 in binary), meaning I get SDMMC_OSA_EVENT_TRANSFER_CMD_FAIL, SDMMC_OSA_EVENT_TRANSFER_DATA_SUCCESS and SDMMC_OSA_EVENT_TRANSFER_DATA_FAIL.
What may cause such a behaviour? The command used is 53, with argument 603979780, reading register. This command is happening diretly after writing data using block mode.
Thanks,
Piotr