AM2632: MMCSD_lld_transferIntr and interrupt exceptions

Part Number: AM2632

Tool/software:

After CMD53 sends via MMCSD_lld_transferIntr, it occasionally reports a CTO (Command Timeout Error) error. However, from the waveform analysis of the logic analyzer, it can be seen that the module does respond. Moreover, if the subsequent commands continuously time out, from the logic analyzer perspective, the second command also reports CTO. However, according to the logic analyzer, the command fails to complete the transmission, and the CLK remains active until the second command starts to transmit; the second command is unable to trigger any SDIO interrupts, which will cause the software to be blocked.

  • Hi Feiyun,

    Using CMD53 to read multiple block has a special timing requirement for the SD card. In order to allow the host to stall the read data of the 1st block of read data, the transfer of data from SDIO card to the host should not start until after the end bit of the response. (from SDIO spec 2.0)