Hello, I encountered some issues while trying to receive using DMA+IDLE+UART.
At present, it is determined whether to receive by polling the IDLE status bit, but there are problems .For example, when the received length is too long, it is necessary to wait for time to determine the IDLE bit, so that DMA can transfer all the data and assign the remaining length value.
So I have the following question:
1.UART does not enter the configured UART RX callback function after configuring DMA reception. Unless it is done through DMA's rx callback. Is there a problem with my configuration?
2. I noticed that DMA interrupts need to be fully buffered or at least half buffered before entering the ISR function. Is there any other way to enter DMA ISR?