
NUC126
Aug. 08, 2018
Page
818
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
USCI2_CTL1
PB.7, PC.9, PD.8
MFP4
PF.0
MFP5
USCI2_DAT0
PC.13, PD.2
MFP4
PD.10
MFP5
USCI2_DAT1
PC.10, PD.3
MFP4
PD.11
MFP5
6.22.5
Functional Description
6.22.5.1 START or Repeated START Signal
Figure 6.22-2 shows the typical I
2
C protocol. Normally, a standard communication consists of four
parts:
START or Repeated START signal generation
Slave address and R/W bit transfer
Data transfer
STOP signal generation
SDA
SCL
1-7
8
9
S
1-7
8
9
1-7
8
9
P
ADDRESS
W/R
ACK
DATA
ACK
DATA
ACK
Figure 6.22-3 I
2
C Protocol
When the bus is free/idle, meaning no master device is engaging the bus (both SCL and SDA lines are
high), a master can initiate a transfer by sending a START signal. A START signal, 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
signal denotes the beginning of a new data transmission.
A Repeated START is a START signal between START signal and STOP signal and usually referred
to as the “Sr” bit. The master uses this method to communicate with another slave or the same slave in
a different transfer direction (e.g. from writing to a device to reading from a device) without releasing
the bus idle flag.
6.22.5.2 STOP signal
The master can terminate the communication by generating a STOP signal. A STOP signal, usually
referred to as the “P” bit, is defined as a LOW to HIGH transition on the SDA line while SCL is HIGH.
The section between STOP and START that we called bus free. Figure 6.22-4 shows the waveform of
START, Repeat START and STOP.