|
UPD78F1502AGK-GAK-AX Datasheet, PDF (538/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers | |||
|
◁ |
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
14.6 Operation of UART (UART0, UART1, UART2, UART3) Communication
This is a start-stop synchronization function using two lines: serial data transmission (TxD) and serial data reception
(RxD) lines. It transmits or receives data in asynchronization with the party of communication (by using an internal baud
rate). Full-duplex UART communication can be realized by using two channels, one dedicated to transmission (even
channel) and the other to reception (odd channel).
[Data transmission/reception]
⢠Data length of 5, 7, or 8 bits
⢠Select the MSB/LSB first
⢠Level setting of transmit/receive data and select of reverse
⢠Parity bit appending and parity check functions
⢠Stop bit appending
[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
The LIN-bus is supported in UART3 (2, 3 channels of unit 1)
[LIN-bus functions]
⢠Wakeup signal detection
⢠Sync break field (SBF) detection
⢠Sync field measurement, baud rate calculation
External interrupt (INTP0) or timer array unit (TAU) is
used.
UART0 uses channels 0 and 1 of SAU0.
UART1 uses channels 2 and 3 of SAU0.
UART2 uses channels 0 and 1 of SAU1.
UART3 uses channels 2 and 3 of SAU1.
Unit
0
1
Channel
0
1
2
3
0
1
2
3
Used as CSI
CSI00
CSI01
CSI10
â
CSI20
â
â
â
Used as UART
UART0
UART1
UART2
UART3 (supporting LIN-bus)
Used as Simplified I2C
â
â
IIC10
â
IIC20
â
â
â
Caution When using serial array units 0 and 1 as UARTs, the channels of both the transmitting side (even-
number channel) and the receiving side (odd-number channel) can be used only as UARTs.
Remark For 78K0R/LF3, UART0 is not mounted.
R01UH0004EJ0501 Rev.5.01
522
Jun 20, 2011
|
▷ |