Possible disable UART DMA?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Possible disable UART DMA?

3,231 次查看
Anonymous
不适用


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.

标签 (2)
3 回复数

1,557 次查看
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 项奖励
回复

1,557 次查看
Anonymous
不适用

Thanks Yuri.

0 项奖励
回复

1,557 次查看
宗標廖
Contributor V

Hello shao

Could you tell me how to diable UART DMA?

Best Regards

ZongbiaoLiao