cancel
Showing results for 
Search instead for 
Did you mean: 

SD CpltCallback not called after DMA completion

jVerd.1
Associate II

Hey, I am working on a project using the STM32F746 chip and writing and reading to/from an SD card. When reading from the card is completed, HAL_SD_RxCpltCallback is executed, which provides output by sending bytes over UART 8 line. When I read from the SD card in quick succession, the callback is never executed, and no output is sent. When adding the HAL_Delay(1), the code functions as expected within the testing code I have shown below. However, this hack does not work later on in the code. I'm all out of ideas and completely dumbfounded.

If you have any ideas or need additional info for me to provide, please leave a comment. Everything is greatly appreciated.

Thank you in advance.
_legacyfs_online_stmicro_images_0693W00000bhxJLQAY.png 

0 REPLIES 0