User`s manual

RX62N Group, RX621 Group 5. Usage Examples
5.14. C Bus Interface
In the following examples, the bus activity will be illustrated using the following format.
Figure 5-25: I²C bus activity notation
5.14.1. Master mode
In this example an EEPROM device has been connected to channel 0.
The EEPROM responds to the 7-bit slave address 1010xxxb.
During a read process the bits "xxx" can be any value.
During a write process:
i) The bits "xxx" represent the EEPROM memory address bits a10, a9 and a8.
ii) The first byte after the slave address is the EEPROM memory address bits a7 to a0.
The EEPROM has a write cycle time of 5 ms.
The following examples illustrate the use of Master mode.
S
Slave address
R/W
A
Data
A
Data
A
Data
A
Data
A
P
From the master
From the slave
A = Acknowledge (SDA held low)
A = Not Acknowledge (SDA released high)
S = Start condition
P = Stop condition
Sr = Repeated Start condition
R = Read (SDA released high)
W = Write (SDA held low)
R20UT0084EE0112 Rev.1.12 Page 5-46
July. 16, 2014