Peripheral Architecture | www.ti.com |
2.6Operation
2.6.1Transmission
The UART transmitter section includes a transmitter hold register (THR) and a transmitter shift register (TSR). When the UART is in the FIFO mode, THR is a
•1 START bit
•5, 6, 7, or 8 data bits
•1 PARITY bit (optional)
•1, 1.5, or 2 STOP bits
THR receives data from the internal data bus, and when TSR is ready, the UART moves the data from THR to TSR. The UART serializes the data in TSR and transmits the data on the TX pin. In the
2.6.2Reception
The UART receiver section includes a receiver shift register (RSR) and a receiver buffer register (RBR). When the UART is in the FIFO mode, RBR is a
•1 START bit
•5, 6, 7, or 8 data bits
•1 PARITY bit (optional)
•1 STOP bit (any other STOP bits transferred with the above data are not detected)
RSR receives the data bits from the RX pin. Then RSR concatenates the data bits and moves the resulting value into RBR (or the receiver FIFO). The UART also stores three bits of error status information next to each received character, to record a parity error, framing error, or break.
In the
14 | Universal Asynchronous Receiver/Transmitter (UART) | SPRU997C |
|
| Submit Documentation Feedback |
Copyright © 2009, Texas Instruments Incorporated