iMX8M PLUS UART1 not working

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

iMX8M PLUS UART1 not working

1,964 Views
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 Kudos
Reply
4 Replies

1,599 Views
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 Kudos
Reply

1,311 Views
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 Kudos
Reply

1,200 Views
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 Kudos
Reply

965 Views
gigli_korg
Contributor II
which kernel version is/was based your project?
0 Kudos
Reply