Section 13 I2C Bus Interface [Option]
An I2C bus interface is available as an option. Observe the following notes when using this option.
For mask-ROM versions, products that use this option have a “W” added to the product number.
Examples: HD6433437WTF, HD6433434WF
13.1
Overview
The I2C bus interface conforms to and provides a subset of the Philips I2C bus (inter-IC bus)
interface functions. The register configuration that controls the I2C bus differs partly from the
Philips configuration, however.
The I2C bus interface uses only one data line (SDA) and one clock line (SCL) to transfer data, so it
can save board and connector space. Figure 13.1 shows typical I2C bus interface connections.
13.1.1 Features
•
•
•
•
•
•
•
Conforms to Philips I2C bus interface
Start and stop conditions generated automatically
Selectable acknowledge output level when receiving
Auto-loading of acknowledge bit when transmitting
Selection of eight internal clocks (in master mode)
Selection of acknowledgement mode, or serial mode without acknowledge bit
Wait function: A wait can be inserted in acknowledgement mode by holding the SCL pin low
after a data transfer, before acknowledgement of the transfer.
•
Three interrupt sources
Data transfer end
In slave receive mode: slave address matched, or general call address received
In master transmit mode: bus arbitration lost
Direct bus drive (pins SCL and SDA)
•
•
•
In addition to pins SCL and SCA, four general port pins (PA4 to PA7) can also drive the bus
Pins P86/SCK1/SCL, P97/WAIT/SDA, and PA4/KEYIN12 to PA7/KEYIN15 (total of 6 pins) are
all powered by bus power supply VCCB, separate from VCC. When the bus drive function is
selected, all output is NMOS output.
283