Possible disable UART DMA?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Possible disable UART DMA?

3,308件の閲覧回数
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,634件の閲覧回数
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,634件の閲覧回数
Anonymous
適用対象外

Thanks Yuri.

0 件の賞賛
返信

1,634件の閲覧回数
宗標廖
Contributor V

Hello shao

Could you tell me how to diable UART DMA?

Best Regards

ZongbiaoLiao