CHAPTER 14 SERIAL INTERFACE UART6
Preliminary User’s Manual U16315EJ1V0UD
290
(2) Communication operation
(a) Normal transmit/receive data format
Figure 14-11 shows the format of the transmit/receive data.
Figure 14-11. Format of Normal UART Transmit/Receive Data
1. LSB-first transmission/reception
Start
bit
Parity
bit
D0
D1
D2
D3
D4
1 data frame
Character bits
D5
D6
D7
Stop bit
2. MSB-first transmission/reception
Start
bit
Parity
bit
D7
D6
D5
D4
D3
1 data frame
Character bits
D2
D1
D0
Stop bit
One data frame consists of the following bits.
•
Start bit ... 1 bit
•
Character bits ... 7 or 8 bits
•
Parity bit ... Even parity, odd parity, 0 parity, or no parity
•
Stop bit ... 1 or 2 bits
The character bit length, parity, and stop bit length in one data frame are specified by asynchronous serial
interface mode register 6 (ASIM6).
Whether data is transferred with the LSB or MSB first is specified by bit 1 (DIR6) of asynchronous serial
interface control register 6 (ASICL6).
Whether the T
X
D6 pin outputs normal or inverted data is specified by bit 0 (TXDLV6) of ASICL6.