13. Asynchronous Serial interface (UART2 )
13.3 Transfer Data Format
13.3 Transfer Data Format
In UART2, an one-bit start bit (Low level), stop bit (Bit length selectable at high level, by UART2CR1<STBT>),
and parity (Select parity in UART2CR1<PE>; even- or odd-numbered parity by UART2CR1<EVEN>) are added to
the transfer data. The transfer data formats are shown as follows.
PE
STBT
0
0
0
1
1
0
1
1
Note: In order to switch the transfer data format, perform transmit operations in the above Figure 13-3 sequence except
for the initial setting.
1
2
Start
Bit 0
Start
Bit 0
Start
Bit 0
Start
Bit 0
Figure 13-2 Transfer Data Format
With parity / 1 STOP bit
Figure 13-3 Caution on Changing Transfer Data Format
Frame Length
3
8
Bit 1
Bit 6
Bit 1
Bit 6
Bit 1
Bit 6
Bit 1
Bit 6
Without parity / 1 STOP bit
Without parity / 2 STOP bit
With parity / 2 STOP bit
Page 152
T5CL8
9
10
11
Bit 7
Stop 1
Bit 7
Stop 1
Stop 2
Bit 7
Parity
Stop 1
Bit 7
Parity
Stop 1
12
Stop 2