
Mini57
Apr. 06, 2017
Page 384 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
6.14 USCI
– I
2
C Mode
6.14.1 Overview
On I
2
C bus, data is transferred between a Master and a Slave. Data bits transfer on the SCL and
SDA lines are synchronously on a byte-by-byte basis. Each data byte is 8-bit. There is one SCL
clock pulse for each data bit with the MSB being transmitted first, and an acknowledge bit follows
each transferred byte. Each bit is sampled during the high period of SCL; therefore, the SDA 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 Figure 6.14-1 for more detailed I
2
C BUS Timing.
t
BUF
STOP
SDA
SCL
START
t
HD_STA
t
LOW
t
HD_DAT
t
HIGH
t
f
t
SU_DAT
Repeated
START
t
SU_STA
t
SU_STO
STOP
t
r
Figure 6.14-1 I
2
C Bus Timing
The device on-chip I
2
C provides the serial interface that meets the I
2
C bus standard mode
specification. The I
2
C port handles byte transfers autonomously. The I
2
C mode is selected by
FUNMODE (UI2C_CTL [2:0]) = 0100B. When this port is enabled, the USCI interfaces to the I
2
C
bus via two pins: SDA and SCL. When I/O pins are used as I
2
C ports, user must set the pins
function to I
2
C in advance.
Note:
A pull-up resistor is needed for I
2
C operation because the SDA and SCL are set to open-
drain pins when USCI is selected to I
2
C operation mode.
6.14.2 Features
Full master and slave device capability
Supports of 7-bit addressing, as well as 10-bit addressing
Communication in standard mode (100 kBit/s) or in fast mode (up to 400 kBit/s)
Supports multi-master bus
Supports one transmit buffer and two receive buffer for data payload
Supports 10-bit bus time-out capability
Supports Power down wake-up by data toggle or address match
Supports setup/hold time programmable