Figure 6.13-2 I2C Bus Timing; Figure 6.13-3 I 2 C Protocol - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

line may be changed only during the low period of SCL and must be held stable during the high
period of SCL. A transition on the SDA line while SCL is high is interpreted as a command (START
or STOP). Please refer to the Figure 6.13-2 for more detailed I
STOP
START
SDA
t
BUF
SCL
The device's on-chip I
2
specification. The I
C port handles byte transfers autonomously. To enable this port, the bit I2CEN
in I2C_CTL should be set to '1'. The I
SCL. When I/O pins are used as I
Note: Pull-up resistor is needed for I
6.13.5.1 I
2
C Protocol
Figure 6.13-3 shows the typical I
session consists of four stages:
START or Repeated START condition
Slave address and R/W bit transfer
Data transfer
STOP condition
SDA
SCL
1-7
S
ADDRESS
6.13.5.1.1 START or Repeated START signal
When the bus is free/idle, which means no master device is engaging the bus (both SCL and SDA
lines are high), a master can initiate a new I2C session by generating a START condition. A START
condition, usually referred to as the "S" bit, is defined as a HIGH to LOW transition on the SDA line
while SCL is HIGH. The START condition denotes the beginning of a new data transmission.
After a successful data transmitting /receiving session, a master can generate a STOP condition to
release the I2C bus, or generate a Repeated START (Sr) condition for continuing data transfer. The
Sep 9, 2019
ISD94100 Series Technical Reference Manual
t
LOW
t
HIGH
t
t
HD;STA
HD;DAT

Figure 6.13-2 I2C Bus Timing

2
C provides the serial interface that meets the I
2
C hardware interfaces to the I
2
C ports, user must set the pins function to I
2
C operation as the SDA and SCL are open-drain pins.
2
C signal waveform. Normally, a standard I2C communication
8
9
1-7
W/R
ACK
DATA
2
Figure 6.13-3 I
C Protocol
Page 620 of 928
2
C BUS Timing.
Repeated
START
t
t
r
f
t
t
SU;STA
SU;DAT
2
C bus standard mode
2
C bus via two pins: SDA and
8
9
1-7
8
ACK
DATA
STOP
t
SU;STO
2
C in advance.
9
P
ACK
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents