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
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
Hello,
> ... should I enable RRDYEN?
I think - yes.
Regards,
Yuri.
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!
-----------------------------------------------------------------------------------------------------------------------