2024-01-24 09:00 AM
Hi All
I want write on the SDMMC using HAL_SD_WriteBlocks_DMA system call. The function itself works, the sector on the SD is written, but no callback function (HAL_SD_TxCpltCallback) is called.
Did someone experienced such trouble ?
Thanks
Solved! Go to Solution.
2024-01-25 12:02 AM
I solved!
in CubeMX also the SDMMC1 global interrupt shall be enabled in addition to DMA interrupts.
Thanks to all
2024-01-24 09:31 AM
Make sure you have all the IRQ Handlers set up and that they call into the HAL layer
2024-01-24 11:28 PM
Hi
the RX callback is working, only the TX isn't. I registered the callback in both manners: by the _weak pragma and using the HAL_SD_RegisterCallback, but still only the RX callback works.
2024-01-25 12:02 AM
I solved!
in CubeMX also the SDMMC1 global interrupt shall be enabled in addition to DMA interrupts.
Thanks to all