RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 365 of 765
Mar 7, 2023
12.1.3 Simplified I
2
C (IIC00, IIC01)
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 simplified I
2
C is designed for single communication with a device such as EEPROM, flash
memory, or A/D converter, and therefore, it functions only as a 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.
For details about the settings, see 12.7 Operation of Simplified I2C (IIC00, IIC01) Communication.
[Data transmission/reception]
●
Master transmission, master reception (only master function with a single master)
●
ACK output function
Note 1
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]
●
ACK error, or overrun error
*[Functions not supported by simplified I
2
C]
●
Slave transmission, slave reception
●
Arbitration loss detection function
●
Wait detection functions
Note 1. When receiving the last data, 0 is written to the SOEmn bit of the serial output enable register m (SOEm) and
serial communication data output is stopped, disabling ACK output. See 12.7.3(2) Processing flow.
Remark 1. To use an I
2
C bus of full function, see CHAPTER 13 SERIAL INTERFACE IICA.
Remark 2. m: Unit number (m = 0), n: Channel number (n = 0, 1)