RL78/G1H CHAPTER 14 SERIAL ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 406 of 920
Dec 22, 2016
14.6.1 UART transmission
UART transmission is an operation to transmit data from the RL78 microcontroller to another device
asynchronously (start-stop synchronization).
Of two channels used for UART, the even channel is used for UART transmission.
Note Use this operation within a range that satisfies the conditions above and the peripheral functions characteristics in the
electrical specifications (see
CHAPTER 31 ELECTRICAL SPECIFICATIONS).
Remark fMCK: Operation clock frequency of target channel
f
CLK: System clock frequency
UART UART1 UART3
Target channel Channel 2 of SAU0 Channel 2 of SAU1
Pins used TxD1 TxD3
Interrupt INTST1 INTST3
Transfer end interrupt (in single-transfer mode) or buffer empty interrupt (in continuous transfer mode)
can be selected.
Error detection flag None
Transfer data length 7, or 8 bits
Transfer rate
Max. f
MCK/6 [bps] (SDRmn [15:9] = 2 or more), Min. fCLK/(2 × 2
15
× 128) [bps]
Note
Data phase Non-reverse output (default: high level)
Reverse output (default: low level)
Parity bit The following selectable
• No parity bit
• Appending 0 parity
• Appending even parity
• Appending odd parity
Stop bit The following selectable
• Appending 1 bit
• Appending 2 bits
Data direction MSB or LSB first