EasyManua.ls Logo

Renesas RL78/G1H

Renesas RL78/G1H
941 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G1H CHAPTER 14 SERIAL ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 405 of 920
Dec 22, 2016
14.6 Operation of UART (UARTq) Communication
This is a start-stop synchronization function using two lines: serial data transmission (TxD) and serial data reception
(RxD) lines. By using these two communication lines, each data frame, which consist of a start bit, data, parity bit,
and stop bit, is transferred asynchronously (using the internal baud rate) between the microcontroller and the other
communication party. Full-duplex UART communication can be performed by using a channel dedicated to
transmission (even-numbered channel) and a channel dedicated to reception (odd-numbered channel).
[Data transmission/reception]
Data length of 7, or 8 bits
Select the MSB/LSB first
Level setting of transmit/receive data (selecting whether to reverse the level)
Parity bit appending and parity check functions
Stop bit appending, stop bit check function
[Interrupt function]
Transfer end interrupt/buffer empty interrupt
Error interrupt in case of framing error, parity error, or overrun error
[Error detection flag]
Framing error, parity error, or overrun error
Select any function for each channel. Only the selected function is possible.
Caution When using a serial array unit for UART, both the transmitter side (even-numbered channel) and
the receiver side (odd-numbered channel) can only be used for UART.
UART performs the following two types of communication operations.
UART transmission (See 14.6.1.)
UART reception (See 14.6.2.)
Unit Channel Used as CSI Used as UART
0 0 Cannot be used Cannot be used
1
2CSI10UART1
3 Cannot be used
1 0 CSI20 Cannot be used
1CSI21
2CSI30UART3
3 Cannot be used

Table of Contents

Related product manuals