Skip to main content
jVerd.1
Associate II
April 12, 2023
Question

SD CpltCallback not called after DMA completion

  • April 12, 2023
  • 0 replies
  • 839 views

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 

This topic has been closed for replies.