24C04A-E/P MICROCHIP [Microchip Technology], 24C04A-E/P Datasheet - Page 6

no-image

24C04A-E/P

Manufacturer Part Number
24C04A-E/P
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
24C04A
6.0
To program the master sends addresses and data to
the 24C04A which is the slave (Figure 6-1 and
Figure 6-2). This is done by supplying a START condi-
tion followed by the 4-bit device code, the 3-bit slave
address, and the R/W bit which is defined as a logic
LOW for a write. This indicates to the addressed slave
that a word address will follow so the slave outputs the
acknowledge pulse to the master during the ninth clock
pulse. When the word address is received by the
24C04A, it places it in the lower 8 bits of the address
pointer defining which memory location is to be written.
(The A0 bit transmitted with the slave address is the
ninth bit of the address pointer). The 24C04A will gen-
erate an acknowledge after every 8-bits received and
store them consecutively in a RAM (8 bytes maximum)
buffer until a STOP condition is detected. This STOP
condition initiates the internal programming cycle.. If
more than 8 bytes are transmitted by the master, the
24C04A will roll over and overwrite the data beginning
with the first received byte. This does not affect erase/
write cycles of the EEPROM array and is accomplished
FIGURE 6-1:
FIGURE 6-2:
DS11183F-page 6
SDA LINE
BUS ACTIVITY
MASTER
BUS ACTIVITY
SDA LINE
BUS ACTIVITY
MASTER
BUS ACTIVITY
PAGE PROGRAM MODE
BYTE WRITE
PAGE WRITE
S
T
A
R
T
S
S
S
T
A
R
T
CONTROL
CONTROL
BYTE
BYTE
A
C
K
ADDRESS (n)
WORD
A
C
K
A
C
K
ADDRESS
WORD
as a result of only allowing the address registers bot-
tom 3 bits to increment while the upper 5 bits remain
unchanged.
If the master generates a STOP condition after trans-
mitting the first data word (Point ‘P’ on Figure 6-1), byte
programming mode is entered.
The internal, completely self-timed PROGRAM cycle
starts after the STOP condition has been generated by
the master and all received data bytes in the page
buffer will be written in a serial manner.
The PROGRAM cycle takes N milliseconds, whereby N
is the number of received data bytes.
DATA n
A
C
K
A
C
K
DATA n + 1
2004 Microchip Technology Inc.
DATA
A
C
K
DATA n + 7
A
C
K
P
S
T
O
P
A
C
K
S
T
O
P
P

Related parts for 24C04A-E/P