Possible disable UART DMA?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Possible disable UART DMA?

2,982 Views
Anonymous
Deactivated User


Hello:

I'm using Android kernel 3.10.53, my touchpad is penmount-6000 Serial-Port touch controller,

but Penmount controller work fine at UART DMA disabled..

in kernel driver code, DMA is always enable:

--

        if (sport->dma_is_inited && !sport->dma_is_enabled) {

                imx_enable_dma(sport);

                start_rx_dma(sport);

        }

--

bu when I tried to disable DMA, causing many UART RX-FIFO error:

--

imx-uart 21f4000.serial: Rx FIFO overrun

--

Does possible disable UART DMA? thanks.

Labels (2)
3 Replies

1,308 Views
Yuri
NXP Employee
NXP Employee

Hello,

  According to "i.MX_6_Linux_Reference_Manual.pdf" of Linux L3.10.53,

each UART can be configured to use DMA for the data transfer by enabling the DMA

channel in the DTS file.

  Please refer documentation to more details.

The documentation may be found at

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,308 Views
Anonymous
Deactivated User

Thanks Yuri.

0 Kudos

1,308 Views
宗標廖
Contributor V

Hello shao

Could you tell me how to diable UART DMA?

Best Regards

ZongbiaoLiao