How to stop transmission with SPI Master in Circular DMA Mode?
Hello,
I need to transfer more data, than I could afford to store in memory with an SPI Master. So I thought to use the circular DMA to update the data using HAL_SPI_TxHalfCpltCallback and HAL_SPI_TxCpltCallback.
But how can I stop the SPI transmission at the right time? I see no possibility to for example stop after the next complete buffer transfer. When I issue HAL_DMA_Abort and HAL_SPI_Abort in HAL_SPI_TxCpltCallback, the transmission will of course still go on for a couple of bytes.
I am using a STM32H743 with CubeMX Firmware Package 1.5.0
Does anyone here have an idea how to do this?
