RL78/G1P
11.7.2 UART reception
UART reception is an operation wherein the RL78/G1P asynchronously receives data from another device (start-stop
synchronization).
For UART reception, the odd-number channel of the two channels used for UART is used. The SMR register of both
the odd- and even-numbered channels must be set.
UART
Target channel
Pins used
Interrupt
Error interrupt
Error detection flag
Transfer data length
Transfer rate
Data phase
Parity bit
Stop bit
Data direction
Note Use this operation within a range that satisfies the conditions above and the peripheral functions characteristics
in the electrical specifications (see CHAPTER 27 ELECTRICAL SPECIFICATIONS).
Remarks 1. f
: Operation clock frequency of target channel
MCK
f
: System clock frequency
CLK
2. m: Unit number (m = 0), n: Channel number (n = 1), mn = 01
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Channel 1 of SAU0
RxD0
INTSR0
Transfer end interrupt only (Setting the buffer empty interrupt is prohibited.)
INTSRE0
Framing error detection flag (FEFmn)
Parity error detection flag (PEFmn)
Overrun error detection flag (OVFmn)
7, 8 or 9 bits
Max. f
/6 [bps] (SDRmn [15:9] = 2 or more), Min. f
MCK
Non-reverse output (default: high level)
Reverse output (default: low level)
The following selectable
No parity bit (no parity check)
No parity judgment (0 parity)
Even parity check
Odd parity check
1 bit check
MSB or LSB first
CHAPTER 11 SERIAL ARRAY UNIT
UART0
/(2 2
128) [bps]
15
Note
CLK
444