SDMA issue on iMX6SoloLite

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

SDMA issue on iMX6SoloLite

872 Views
shinichiichimur
Contributor I

Dear all,

I have an issue for UART1 on iMX6SoloLite, I can't get SDMA interrupt with a data that composing exact 16 bytes, and I know that a similar problem is posted for iMX6Q below.

LINK: UART RX SDMA problem on iMX6Q

I configured below following the procedures written on the thread, but I still can't get SDMA interrupt..

- RXTL set to 16 bytes

- TXTL set to 16 bytes

- DMA ageing turned on

- SDMA watermark level set to 8 bytes as well

Does this solution work on iMX6SoloLite?

thanks.

BR,

Ichimura

Labels (1)
0 Kudos
4 Replies

686 Views
shinichiichimur
Contributor I

Hi Yuri,

thanks for your reply. I set UARTx_UCR1 as below,

RRDYEN - Disable (ie. 0)

RXDMAEN - Enable (ie. 1)

TXDMAEN - Disable

TXMPTYEN - Disable

I use SDMA only for RX, not for TX. shoud I enable RRDYEN?

I set  watermark to 8, 16, and 32, all of them didn't work well, there is no interrupt with exact same bytes to watermark.

regards,

Ichimura

0 Kudos

686 Views
Yuri
NXP Employee
NXP Employee

Hello,

 > ... should I enable RRDYEN?

  I think - yes.

Regards,

Yuri.

0 Kudos

686 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Are the following bits of UARTx_UCR1 enabled ?

RRDYEN - Receiver Ready Interrupt Enable.

RXDMAEN - Receive Ready DMA Enable.

TXDMAEN - Transmitter Ready DMA Enable.

TXMPTYEN - Transmitter Empty Interrupt Enable

 

Is it possible to verify other SDMA watermark settings ?

Have a great day,
Yuri

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

0 Kudos

686 Views
shinichiichimur
Contributor I

Hi Yuri‌,

I replied below, and I'm looking forward to hearing from you.

thanks,

Ichimura

0 Kudos