CHAPTER 14 SERIAL ARRAY UNIT
Page 405 of 920
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
• UART reception
Unit
Channel
Used as CSI
Used as UART
0
0
Cannot be used
Cannot be used
1
2
CSI10
UART1
3
Cannot be used
1
0
CSI20
Cannot be used
1
CSI21
2
CSI30
UART3
3
Cannot be used
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...