BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
683 / 1149
Rev.1.02
19.7.1
UART sends
UART sending is the operation of this product microcontroller to asynchronously send data to other
devices.
An even number of the 2 channels used by UART is used for UART transmission.
UART
UART0
UART1
UART2
UART3
Object channels
Channel 0 for SCI0
Channel 2 of SCI0
Channel 0 for SCI1
Channel 0 for SCI2
The pins used
TxD0
TxD1
TxD2
TxD3
interrupt
INTST0
INTST1
INTST2
INTST3
Selectable end-of-transmit interrupt (single-pass mode) or buffer-empty interrupt (continuous transfer
mode).
Error detection
flags
not
The length of the
transferred data
SCI0:
7-digit,
8-digit or
9-bit
Note
1
SCI1/SCI2: 7 to
16 bits
Transfer rate
Max.f
MCK
/6[bps] (
SDRmn[15:9]≥2) , Min.f
CLK
/(2
×
2
15
×
128)[bps]
note2
Data phase
Normal-phase output (default: high). Inverting output
(default: low).
Parity bits
You can choose from the following:
• No parity bits.
• Additional zero checks.
• Additional parity.
• Additional odd checksum.
Stop bit
You can choose from the following:
• Additional
1
bit.
• Additional
2
digits.
Data direction
MSB priority or
LSB
priority
Note 1
Only
UART0
supports
9
bits of data length.
2. Must be used within the scope of peripheral functional characteristics (refer to data sheet) that meet this condition
and meet the electrical characteristics.
Note 1.f
MCK
: The operating clock frequency
of the object channel
f
CLK
: System clock frequency
2.m: unit number (m=0,
1,
2)n: channel number (n=0,
2)mn=00 , 02, 10, 20