UART parity and flow control information

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

UART parity and flow control information

892 Views
jacklu
Contributor II

Hi expert,

I want to confirm these information about UART:

1. @IMX6SL platform, UART parity only have ODD/EVEN mode, but not contain MARK and SPACE, is it right? Further more, is there any upgrade for this to support MARK & SPACE?

2. about the flow control, the spec shows that this platform only support RTS/CTS HW flow control.

what is it about DTR/DSR?

3. how to use SW flow control (XON/XOFF)?

Thank You!

BRs,

Jack

Labels (2)
Tags (4)
0 Kudos
Reply
1 Reply

692 Views
Yuri
NXP Employee
NXP Employee

Jack,


Please look at my comments below.
1.

  Basically PREN (Parity Enable) and PROE (Parity Odd/Even) bits of

UARTx_UCR2 registers allows to control the 9-th bit in UART frame,

but – alas – it is not possible to predefine the values of this bit as

MARK or SPACE.
Also, in RS-485 mode 9-th bit is supported : it may used to send any
data (0 /1).

2.
Yes, the UART includes hardware flow control support for request to

send (RTS_B) and clear to send (CTS_B) signals. But  DTR and DSR
signals also present.

3.
From “Universal Asynchronous Receiver/Transmitter (UART) Driver”

of "i.MX_6_Linux_Reference_Manual.pdf" : the low-level UART driver has
XON/XOFF software flow control.


Have a great day,
Yuri

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

0 Kudos
Reply