CHAPTER 14 SERIAL ARRAY UNIT
Page 415 of 920
14.6.2
UART reception
UART reception is an operation wherein the RL78 microcontroller 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.
Note
Use this operation within a range that satisfies the conditions above and the peripheral functions characteristics in the
electrical specifications (see
ELECTRICAL SPECIFICATIONS
).
Remark 1.
f
MCK
:Operation clock frequency of target channel
f
CLK
:System clock frequency
Remark 2.
m: Unit number (m = 0, 1), n: Channel number (n = 3), mn = 03, 13
UART
UART1
UART3
Target channel
Channel 3 of SAU0
Channel 3 of SAU1
Pins used
RxD1
RxD3
Interrupt
INTST1
INTST3
Transfer end interrupt only (Setting the buffer empty interrupt is prohibited.)
Error interrupt
INTSRE1
INTSRE3
Error detection flag
• Framing error detection flag (FEFmn)
• Parity error detection flag (PEFmn)
• Overrun error detection flag (OVFmn)
Transfer data length
7, or 8 bits
Max. f
MCK
/6 [bps] (SDRmn [15:9] = 2 or more), Min. f
CLK
/(2 × 2
15
× 128) [bps]
Data phase
Non-reverse output (default: high level)
Reverse output (default: low level)
Parity bit
The following selectable
• No parity bit (no parity check)
• Appending 0 parity (no parity check)
• Appending even parity
• Appending odd parity
Stop bit
Appending 1 bit
Data direction
MSB or LSB first
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...