![](http://datasheet.mmic.net.cn/Renesas-Electronics-America/UPD78F1168AGF-GAS-AX_datasheet_99857/UPD78F1168AGF-GAS-AX_390.png)
User’s Manual U17894EJ9V0UD
388
CHAPTER 13 SERIAL ARRAY UNIT
The serial array unit has four serial channels per unit and can use two or more of various serial interfaces (3-wire
serial (CSI), UART, and simplified I
2C) in combination.
Function assignment of each channel supported by the 78K0R/KG3 is as shown below (channels 2 and 3 of unit 1
are dedicated to UART3 (supporting LIN-bus)).
Unit
Channel
Used as CSI
Used as UART
Used as Simplified I
2
C
0
CSI00
1
CSI01
UART0
2
CSI10
IIC10
0
3
UART1
0
CSI20
IIC20
1
UART2
2
1
3
UART3 (supporting LIN-bus)
(Example of combination) When “UART0” is used for channels 0 and 1 of unit 0, CSI00 and CSI01 cannot be used,
but CSI10, UART1, or IIC10 can be used.
13.1 Functions of Serial Array Unit
Each serial interface supported by the 78K0R/KG3 has the following features.
13.1.1 3-wire serial I/O (CSI00, CSI01, CSI10, CSI20)
This is a clocked communication function that uses three lines: serial clock (SCK) and serial data (SI and SO) lines.
[Data transmission/reception]
Data length of 7 or 8 bits
Phase control of transmit/receive data
MSB/LSB first selectable
Level setting of transmit/receive data
[Clock control]
Master/slave selection
Phase control of I/O clock
Setting of transfer period by prescaler and internal counter of each channel
[Interrupt function]
Transfer end interrupt/buffer empty interrupt
[Error detection flag]
Overrun error