cancel
Showing results for 
Search instead for 
Did you mean: 

SDMMC2 HAL SDIO write multiple blocks (SDIO CMD53) issue

Sricharan
Associate

Good morning,

I am trying to send a buffer consisting of 896 elements to a Wi-Fi Chip from STM32MP131. I am trying to use the HAL Driver DMA (which uses interrupt to transfer blocks using IDMA).

Although the code has several checks and balances. I am not encountering any failure when that function is processed. I monitored with the logic analyzer, and I am seeing transmission. But I suspect that the transmission did not go through well. I tried to read the set of values with and without writing and the values are same Indicating that the receiver has not responded.

If I use polling instead of IDMA. the receive FIFO is empty when trying to receive. I cannot send through polling and receive through interrupt as that would be an interrupt issue.

I tried to send the set of elements byte by byte using CMD52. In that case the tests are failing.

Kindly suggest and help me here. If possible, point me to a location where I have access to some HAL_SDIO drivers that can be used for STM32MP131.

Thanks and best regards

Sricharan Kidambi S

1 REPLY 1
Christian N
ST Employee

This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.