This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62L: AM62Lx: UART DMA configuration

Part Number: AM62L

Hi TI Team,

On AM62Lx running Linux (Processor SDK), I am using a UART interface to communicate with an external controller. Initially, the UART generates interrupts at the expected rate (about once per second), but after running for some time, the UART starts generating too many interrupts (interrupt storm), causing high CPU usage.

I suspect this is because the UART is operating in interrupt mode instead of DMA mode for RX.

I would like to know:

  • How to enable DMA support for a UART instance on AM62Lx in the device tree

  • Which DMA controller and DMA request IDs should be used

  • Whether the 8250_omap driver supports UART DMA on AM62Lx and if any kernel config is required

I could not find a clear AM62Lx-specific example for UART DMA configuration. 

Regards, 
Parv

  • Hi Parv,

    but after running for some time, the UART starts generating too many interrupts (interrupt storm), causing high CPU usage.

    When UART interrupt storm happens, does the data transmitting scenario from the external controller changed? Does the controller started sending more data? What is the UART baud rate is used?