Associate
October 4, 2020
Solved
UART DMA Rx, IDLE interrupt is triggered, but doesn't look correctly.
- October 4, 2020
- 3 replies
- 1009 views
Hi,
I am trying to use DMA to realize uncertain length uart message receiving on STM32H745i-DISCO board (on core CM7). My idea is to used IDLE interrupt and then disable the DMA_stream, get the NDTR register and abort the transfer to trigger the DMA TC interrrupt to get the data. I send a string at once, but looks like everytime the IDLE interrupt triggered after receive the first byte. And the the UART_DMAReceiveCplt() function never get chance to be called. Can anyone help me with that?
Thanks!
