C8051F340/1/2/3/4/5/6/7
TX |
| |
| C8051Fxxx | |
LEVEL | RX | |
XLTR |
|
|
OR
TX | TX |
MCU | C8051Fxxx |
RX | RX |
Figure 18.3. UART Interconnect Diagram
18.2.1. 8-Bit UART
Data transmission begins when software writes a data byte to the SBUF0 register. The TI0 Transmit Inter- rupt Flag (SCON0.1) is set at the end of the transmission (the beginning of the
If these conditions are met, the eight bits of data is stored in SBUF0, the stop bit is stored in RB80 and the RI0 flag is set. If these conditions are not met, SBUF0 and RB80 will not be loaded and the RI0 flag will not be set. An interrupt will occur if enabled when either TI0 or RI0 is set.
MARK | START | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | STOP |
SPACE | BIT | |||||||||
|
|
|
|
|
|
|
|
| BIT |
BIT TIMES
BIT SAMPLING
Figure 18.4. 8-Bit UART Timing Diagram
Rev. 0.5 | 213 |