Renesas RL78 Series User Manual page 519

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
13.7 Operation of Simplified I
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.
Operate the control registers by software for setting the start and stop conditions while observing the specifications of
2
the I
C bus line
[Data transmission/reception]
● Master transmission, master reception (only master function with a single master)
● ACK output 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.)
● Generation of start condition and stop condition for software
[Interrupt function]
● Transfer end interrupt
[Error detection flag]
● Overrun error
● ACK error
* [Functions not supported by simplified I
● Slave transmission, slave reception
● Multi-master function (arbitration loss detection function)
● Wait detection function
Note When receiving the last data, ACK will not be output if 0 is written to the SOEmn (SOEm register) bit and serial
communication data output is stopped. See the processing flow in 13.7.3 (2) for details.
Remark m: Unit number (m = 0, 1), n: Channel number (n = 0), mn = 00, 10
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
2
C (IIC00, IIC20) Communication
Note
and ACK detection function
2
C]
CHAPTER 13 SERIAL ARRAY UNIT
498

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents