Resolved! [BUG] STM32 HAL SAI abort and DMA stop logic is flawed
The logic in functions HAL_SAI_Abort() and HAL_SAI_DMAStop() is flawed because the sequence of actions is wrong. A proper sequence is:Disable the SAI and wait for it to be actually disabled.Stop the DMA.Flush the SAI FIFO.In the current implementatio...