![](http://datasheet.mmic.net.cn/Renesas-Electronics-America/UPD78F1168AGF-GAS-AX_datasheet_99857/UPD78F1168AGF-GAS-AX_507.png)
CHAPTER 13 SERIAL ARRAY UNIT
User’s Manual U17894EJ9V0UD
505
13.7 Operation of Simplified I
2C (IIC10, IIC20) Communication
This is a clocked communication function to communicate with two or more devices by using two lines: serial clock
(SCL) and serial data (SDA). This communication function is designed to execute single communication with devices
such as EEPROM, flash memory, and A/D converter, and therefore, can be used only by the master and does not
have a wait detection function. Make sure by using software, as well as operating the control registers, that the AC
specifications of the start and stop conditions are observed.
[Data transmission/reception]
Master transmission, master reception (only master function with a single master)
ACK output functionNote and ACK detection function
Data length of 8 bits
(When an address is transmitted, the address is specified by the higher 7 bits, and the least significant bit is
used for R/W control.)
Manual generation of start condition and stop condition
[Interrupt function]
Transfer end interrupt
[Error detection flag]
Overrun error
Parity error (ACK error)
* [Functions not supported by simplified I
2C]
Slave transmission, slave reception
Arbitration loss detection function
Wait detection function
Note
An ACK is not output when the last data is being received by writing 0 to the SOEmn (SOEm register) bit
and stopping the output of serial communication data. See 13.7.3 (2) Processing flow for details.
Remarks 1. To use the full-function I
2C bus, see CHAPTER 14 SERIAL INTERFACE IIC0.
2. m: Unit number (m = 0, 1), n: Channel number (n = 0, 2)
The channels supporting simplified I
2C (IIC10, IIC20) are channel 2 of SAU0 and channel 0 of SAU1.
Unit
Channel
Used as CSI
Used as UART
Used as Simplified I
2
C
0
CSI00
1
CSI01
UART0
2
CSI10
UART1
IIC10
0
3
0
CSI20
UART2
IIC20
1
2
1
3
UART3 (supporting LIN-bus)
Simplified I
2C (IIC10, IIC20) performs the following four types of communication operations.
Address field transmission
(See 13.7.1.)
Data transmission
(See 13.7.2.)
Data reception
(See 13.7.3.)
Stop condition generation
(See 13.7.4.)
<R>