Closed fyyxxm closed 1 year ago
Hi @fyyxxm,
Would you please share the whole project you have used to reproduce the issue in order to allow a better analysis of the problem.
With regards,
Hi @fyyxxm,
Please allow me to close this thread as no activity. You may reopen it at anytime if you have any details to share with us in order to help you to solve the issue. Thank you for your comprehension.
With regards,
MCU:stm32f427 STM32CUBEMX : 6.5 HAL lib:1.27
Issue: Using the SAI project generated by stm32cubemx, DMA will not trigger interrupt
![dma config](https://user-images.githubusercontent.com/50574073/162604749-971c3316-9069-443b-92f8-eea9d9122198.png)
In the initialization process, SAI is initialized first, and then DMA is initialized, which can trigger an interrupt. However, it will only be triggered once. If you want to continue the transmission, you must use it again:
HAL_SAI_Transmit_DMA
Before change:
After change:
Since my DMA transfer mode is set to![f4_dma](https://user-images.githubusercontent.com/50574073/162605444-365b925c-d9a4-48fc-9225-fb1fce178feb.png)
hdma_ sai1_ a.Init. Mode = DMA_ CIRCULAR;
the interrupt should be triggered all the time, not only once, unless I turn off DMA transfer
Stm32h7 series will not have this problem。