iMX8M PLUS UART1 not working

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

iMX8M PLUS UART1 not working

3,195 次查看
swapnilturambekar
Contributor I

Hi All,

I am working on custom board based on iMX8M Plus processor and I want to use UART1 as a communication uart between 2 boards. But I am unable to receive anything on that uart1. Do I need to change anything in .dts file?

I wrote a sample code (application) to receive through uart1. 

I am getting "imx-uart 30860000.serial: We cannot prepare for the RX slave dma!" this type of error while running the application.

I changed CONFIG_IMX_SDMA=y to CONFIG_IMX_SDMA=m still it not work.

can anyone please help me here?

Thanks

0 项奖励
回复
4 回复数

2,830 次查看
tamo2
Contributor II

I am getting the exact same error "We cannot prepare for the RX slave dma" built using Kirkstone.  Have you been able to solve the issue? 

0 项奖励
回复

2,542 次查看
Olivier_B
Contributor II

@tamo2  @swapnilturambekar , I'm am getting the exact same error on Kirkstone on an imx8mm. It seems to be generate when we get framing errors while using the DMA. Have you fix the issue? 

0 项奖励
回复

2,431 次查看
tamo2
Contributor II

My memory is a bit vague but I think we worked around the issue by building the SDMA as a module instead of built-in to kernel.

 

0 项奖励
回复

2,196 次查看
gigli_korg
Contributor II
which kernel version is/was based your project?
0 项奖励
回复