NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
404
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
S
I2CDAT
(SLA+W)
ACK
Master to Slave
Slave to Master
I2CDAT
(
ROM Address High Byte
)
ACK
Sr
I2CDAT
(SLA+R)
ACK
P
STATUS=0x08
(STA,STO,SI,AA)=(1,0,1,X)
STATUS=0x18
I2CDAT=SLA+W
(STA,STO,SI,AA)=(0,0,1,X)
STATUS=0x28
I2CDAT=ROM Address High Byte
(STA,STO,SI,AA)=(0,0,1,X)
STATUS=0x10
(STA,STO,SI,AA)=(1,0,1,X)
STATUS=0xF8
(STA,STO,SI,AA)=(0,1,1,X)
I2CDAT=SLA+R
(STA,STO,SI,AA)=(0,0,1,X)
STATUS=0x40
NAK
STATUS=0x20
I2CDAT
(
ROM Address Low Byte
)
ACK
STATUS=0x28
I2CDAT=ROM Address Low Byte
(STA,STO,SI,AA)=(0,0,1,X)
P
STATUS=0xF8
(STA,STO,SI,AA)=(0,1,1,X)
NAK
STATUS=0x30
I2CDAT
(Data)
NAK
STATUS=0x58
Read I2CDAT to Get Data
(STA,STO,SI,AA)=(0,0,1,0)
P
STATUS=0xF8
(STA,STO,SI,AA)=(0,1,1,X)
NAK
STATUS=0x48
P
STATUS=0xF8
(STA,STO,SI,AA)=(0,1,1,X)
...
STATUS=0xF8
Figure 6.14-18 Protocol of EEPROM Random Read
The I
2
C controller sends START to bus to be a master. Then it sends a SLA+W (Slave a
Write bit) to EERPOM followed by two bytes data address to set the EEPROM address to read.
Finally, a Repeat START followed by SLA+R is sent to read the data from EEPROM.