Datasheet

Table Of Contents
Section 22 I
2
C Bus Interface 2 (IIC2)
Rev. 2.00 Jul. 04, 2007 Page 479 of 692
REJ09B0309-0200
Section 22 I
2
C Bus Interface 2 (IIC2)
The I
2
C bus interface 2 conforms to and provides a subset of the Philips I
2
C bus (inter-IC bus)
interface functions. The register configuration that controls the I
2
C bus differs partly from the
Philips configuration, however. Figure 22.1 shows a block diagram of the I
2
C bus interface 2.
Figure 22.2 shows an example of I/O pin connections to external circuits.
22.1 Features
Selection of I
2
C format or clock synchronous serial format
Continuous transmission/reception
Since the shift register, transmit data register, and receive data register are independent from
each other, the continuous transmission/reception can be performed.
Use of module standby mode enables this module to be placed in standby mode independently
when not used (for details, refer to section 6.4, Module Standby Function).
I
2
C bus format
Start and stop conditions generated automatically in master mode
Selection of acknowledge output levels when receiving
Automatic loading of acknowledge bit when transmitting
Bit synchronization/wait function
In master mode, the state of SCL is monitored per bit, and the timing is synchronized
automatically.
If transmission/reception is not yet possible, set the SCL to low until preparations are
completed.
Six interrupt sources
Transmit data empty (including slave-address match), transmit end, receive data full (including
slave-address match), arbitration lost, NACK detection, and stop condition detection
Direct bus drive
Two pins, SCL and SDA pins, function as CMOS outputs in normal operation (when the
port/serial function is selected) and NMOS outputs when the bus drive function is selected.
Clock synchronous format
Four interrupt sources
Transmit-data-empty, transmit-end, receive-data-full, and overrun error