2022-05-17 07:27 AM
I recently switched from DMA to IT for receiving commands via SPI. Now I'm noticing that commands are being received and processed correctly, but HAL_SPI_RxHalfCpltCallback() is no longer being called. A lot has changed in my program since then, but in regards to the SPI drivers I can't recall anything else changing. I would like to stay off of DMA if I can, but I absolutely need HAL_SPI_RxHalfCpltCallback() to work. Thanks!
Solved! Go to Solution.
2022-05-18 01:24 AM
Half complete interrupts are coming from DMA. HAL_SPI_RxHalfCpltCallback() is called on DMA interrupt. I can fix your DMA issues if you provide some details
2022-05-17 09:15 AM
I switched back to using DMA and now HAL_SPI_RxHalfCpltCallback() is getting called again. Is there a reason why DMA must be used here? Can this be done without DMA?
2022-05-18 01:24 AM
Half complete interrupts are coming from DMA. HAL_SPI_RxHalfCpltCallback() is called on DMA interrupt. I can fix your DMA issues if you provide some details