CHAPTER 13 SERIAL ARRAY UNIT
User’s Manual U19678EJ1V1UD
732
13.7 Operation of Simplified I
2C (IIC10) 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.
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
When receiving the last data, ACK will not be output if 0 is written to the SOE02 (SOE0 register) bit and
serial communication data output is stopped. See the processing flow in 13.7.3 (2) for details.
The channel supporting simplified I
2C (IIC10) is channel 2 of SAU.
Channel
Used as CSI
Used as UART
Used as Simplified I
2
C
0
CSI00
Note
1
CSI01
Note
UART0 (supporting LIN-bus)
2
CSI10
UART1
IIC10
3
Note
CSI00 and CSI01 are only available in the 44-pin and 48-pin products of the 78K0R/IC3 and in the
78K0R/ID3 and 78K0R/IE3.
Simplified I
2C (IIC10) 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.)