English
Language : 

UPSD3422_06 Datasheet, PDF (115/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
23
I2C interface
I2C interface
uPSD34xx devices support one serial I2C interface. This is a two-wire communication
channel, having a bi-directional data signal (SDA, pin P3.6) and a clock signal (SCL, pin
P3.7) based on open-drain line drivers, requiring external pull-up resistors, RP, each with a
typical value of 4.7kΩ (see Figure 41).
23.1
I2C interface main features
Byte-wide data is transferred, MSB first, between a Master device and a Slave device on two
wires. More than one bus Master is allowed, but only one Master may control the bus at any
given time. Data is not lost when another Master requests the use of a busy bus because
I2C supports collision detection and arbitration. The bus Master initiates all data movement
and generates the clock that permits the transfer. Once a transfer is initiated by the Master,
any device addressed is considered a Slave. Automatic clock synchronization allows I2C
devices with different bit rates to communicate on the same physical bus. A single device
can play the role of Master or Slave, or a single device can be a Slave only. Each Slave
device on the bus has a unique address, and a general broadcast address is also available.
A Master or Slave device has the ability to suspend data transfers if the device needs more
time to transmit or receive data.
This I2C interface has the following features:
● Serial I/O Engine (SIOE): serial/parallel conversion; bus arbitration; clock generation
and synchronization; and handshaking are all performed in hardware
● Interrupt or Polled operation
● Multi-master capability
● 7-bit Addressing
● Supports standard speed I2C (SCL up to 100kHz), fast mode I2C (101KHz to 400kHz),
and high-speed mode I2C (401KHz to 833kHz)
Figure 41. Typical I2C bus configuration
VCC or VDD(1)
I2C BUS
SDA
SCL
RP
RP
Device with I2C
Interface
SDA/P3.6 SCL/P3.7
uPSD34XX(V)
Device with I2C
Interface
Device with I2C
Interface
AI09623b
Note: 1 For 3.3V system, connect RP to 3.3V VCC. For 5.0V system, connect RP to 5.0V VDD.
115/293