Timing diagrams, Ht24lc02 – Rainbow Electronics HT24LC02 User Manual
Page 6

Timing Diagrams
Note:
The write cycle time t
WR
is the time from a valid stop condition of a write sequence to the end of the valid start
condition of sequential command.
HT24LC02
Rev. 1.10
6
November 5, 2002
ally clocked out. The microcontroller does not respond
with an input zero but generates a following stop con-
dition (refer to Current read timing).
·
Random read
A random read requires a dummy byte write sequence
to load in the data word address which is then clocked
in and acknowledged by the EEPROM. The
microcontroller must then generate another start con-
dition. The microcontroller now initiates a current ad-
dress read by sending a device address with the
read/write select bit high. The EEPROM acknowl-
edges the device address and serially clocks out the
data word. The microcontroller does not respond with
a zero but does generates a following stop condition
(refer to Random read timing).
·
Sequential read
Sequential reads are initiated by either a current ad-
dress read or a random address read. After the
microcontroller receives a data word, it responds with an
acknowledgment. As long as the EEPROM receives an
acknowledgment, it will continue to increment the data
word address and serially clock out sequential data
words. When the memory address limit is reached, the
data word address will roll over and the sequential read
continues. The sequential read operation is terminated
when the microcontroller does not respond with a zero
but generates a following stop condition.
P
D e v i c e a d d r e s s
W o r d a d d r e s s
A C K
S t o p
S t a r t
S D A
A C K
N o A C K
S
A C K
D A T A
S
A 2 A 1 A 0
D e v i c e a d d r e s s
S t a r t
R a n d o m r e a d t i m i n g
P
D e v i c e a d d r e s s
D A T A n
S t o p
S t a r t
S D A
A C K
A C K
S
A C K
D A T A n + 1
D A T A n + x
S e q u e n t i a l r e a d t i m i n g
t
f
t
L O W
t
r
t
H I G H
t
S U
:
S T A
t
H D
:
S T A
t
S P
t
H D
:
D A T
t
S U
:
D A T
t
S U
:
S T O
t
B U F
V a l i d
V a l i d
S C L
S D A
S D A
O U T
t
A A
t
W R
S C L
S D A
8 t h b i t
A C K
W o r d n
S t o p
C o n d i t i o n
S t a r t
C o n d i t i o n