Hi,
I'd like to know if it's possible to transmit 9Bit data with the UART by using the eDMA. How will the 9th bit be set?I haven't found anything about this in the reference manual.
Br,
Wolfgang
Hi Wolfgang,
Yes, if you look into the UART register map, you may find the ninth bit to be transmitted is in UART_C3, as well as the received ninth bit, and UART_C3 is followed by UART_D.
so you may use 16 bit access mode to write/read data to this space by eDMA, just please prepare the data carefully so that would not modify other bits in UART_C3.
Hope that helps,
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Kan,
thanks for clarification.
So I need to put the whole content of UART_C3 into the 16Bit value and not only the 9th Bit.
I'll try that.
Thanks for your help.
Br,
Wolfgang