Hi Sabina,
We are not able to reproduce the issue with the SD card example.
But we have noted a few observations that might help in resolving this issue:
- After the issue is encountered, Data[1:3] are stuck high, that is the next packet is only sent on D0.
So we tried to change to single bit mode and bingo we stopped seeing the data CRC error. But this is
not the expected behavior as there is no possible reason for the SDIO to move from 4 bit mode to 1 bit mode
by itself after the Data CRC error.
- The issue only reproduces after a chunk greater than 64 bytes has been received, If chunks less than 64 bytes are
received we dont see any issue.
- When the issue occurs, DMA error status register has value 0x03.
We suspect it might be something to do with data alignment for DMA or some setting we are missing here.
Hope you can help us out with this.
Thank you.