Hi All,
My customer is developing T-box. They use uart to communicate with a 5G module, and meet an issue. The 5G module continuesly sends data with UART in a very shot interval, about 1-2ms, 230400bps. Then we will see severe frame will lost.
Here we can see the function call:


Seems in the uart IDLE irq, the RTD low level code will stop the DMA and receiving, then open it again. This mechanism will create a receiving gap, during this gap, the DMA cannot receive data. So if the sending interval is too short, it may lose frames.
The SDK we used is S32K3_RTD_2_0_0_D2203_ASR_REL_4_4_REV_0000_20220331.
Do we have some demo code to handle the UART DMA receiving with ping-pang buffer?
Thanks very much for support.
Best Regards,
Liek