
NUC126
Aug. 08, 2018
Page
352
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
S
(STA,STO,SI,AA)=(1,0,1,1)
...
...
Switch to not addressed mode
Own SLA will be recognized
Send START when bus free
S
(STA,STO,SI,AA)=(1,0,1,0)
...
...
Switch to not addressed mode
Own SLA will not be recognized
Send START when bus free
...
(STA,STO,SI,AA)=(0,0,1,0)
Switch to not addressed mode
Own SLA will not be recognized
Become I
2
C
Master
Become I
2
C
Master
Bus
Free
S
I2C_DAT
(SLA+R)
ACK
(STA,STO,SI,AA)=(0,0,1,1)
STATUS=0xA8
I2C_DAT
(Data)
ACK
I2C_DAT=Data
(STA,STO,SI,AA)=(0,0,1,1)
...
I2C_DAT
(Data)
I2C_DAT=Data
(STA,STO,SI,AA)=(0,0,1,0)
STATUS=0xB8
Switch to not addressed mode
Own SLA will be recognized
ACK
I2C_DAT
(Data)
I2C_DAT=Data
(STA,STO,SI,AA)=(0,0,1,0)
NAK
STATUS=0xC8
STATUS=0xC0
(Arbitration Lost)
STATUS=0xB0
I2C_DAT
(SLA+W)
ACK
STATUS=0x60
I2C_DAT
(Data)
ACK
NAK
(STA,STO,SI,AA)=(0,0,1,1)
I2C_DAT
(Data)
(STA,STO,SI,AA)=(0,0,1,0)
STATUS=0x80
STATUS=0x88
Arbitration Lost
Master to Slave
Slave to Master
STATUS=0xA0
(Arbitration Lost)
STATUS=0x68
P
Sr
Sr
P
STATUS=0xA0
Sr
...
(STA,STO,SI,AA)=(0,0,1,1)
Switch to not addressed mode
Own SLA will be recognized
Become I
2
C
Slave
STATUS=0xA0
STATUS=0xA0
Sr
I2C_DAT=Data
(STA,STO,SI,AA)=(0,0,1,X)
I2C_DAT=Data
(STA,STO,SI,AA)=(0,0,1,X)
...
(STA,STO,SI,AA)=(0,0,1,1)
...
Sr
(STA,STO,SI,AA)=(0,0,1,1)
(STA,STO,SI,AA)=(0,0,1,X)
(STA,STO,SI,AA)=(0,0,1,X)
I2C_DAT
(SLA+W)
I2C_DAT
(SLA+R)
ACK
ACK
Figure 6.11-12 Slave Mode Control Flow
If I
2
C is still receiving data in addressed Slave mode but got a STOP or Repeat START, the status
code will be 0xA0. User could follow the action for status code 0x88 as shown in Figure 6.11-12 when
getting 0xA0 status.
If I
2
C is still transmitting data in addressed Slave mode but got a STOP or Repeat START, the status
code will be 0xA0. User could follow the action for status code 0xC8 as shown in Figure 6.11-12 when
getting 0xA0 status.
Note:
After slave gets status of 0x88, 0xC8, 0xC0 and 0xA0, slave can switch to not address mode
and own SLA will not be recognized. If entering this status, slave will not receive any I
2
C signal or
address from master. At this status, I
2
C should enter idle mode.
General Call (GC) Mode
If the GC bit (I2C_ADDRn [0]) is set, the I
2
C port hardware will respond to General Call address (00H).
User can clear GC bit to disable general call function. When the GC bit is set and the I
2
C in Slave
mode, it can receive the general call address by 0x00 after master send general call address to I
2
C
bus, then it will follow status of GC mode.
The GC mode can wake up when address matched.