at24hc04b ATMEL Corporation, at24hc04b Datasheet - Page 9

no-image

at24hc04b

Manufacturer Part Number
at24hc04b
Description
Two-wire Serial Eeprom 4k 512 X 8
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at24hc04b-TH-T
Manufacturer:
ATMEL
Quantity:
1 071
Part Number:
at24hc04bN-SH-B
Manufacturer:
ATMEL
Quantity:
6 007
Part Number:
at24hc04bN-SH-B
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at24hc04bN-SH-T
Manufacturer:
Atmel
Quantity:
16 000
Part Number:
at24hc04bN-SH-T
Manufacturer:
ATMEL
Quantity:
27
Company:
Part Number:
at24hc04bN-SH-T
Quantity:
3 900
Company:
Part Number:
at24hc04bN-SH-T
Quantity:
5 162
5. Write Operations
Figure 5-2.
5227D–SEEPR–1/08
SDA LINE
Page Write
R
S
T
A
T
M
S
B
ADDRESS
DEVICE
BYTE WRITE: A write operation requires an 8-bit data word address following the device
address word and acknowledgement. Upon receipt of this address, the EEPROM will again
respond with a “0” and then clock in the first 8-bit data word. Following receipt of the 8-bit data
word, the EEPROM will output a “0” and the addressing device, such as a microcontroller, must
terminate the write sequence with a stop condition. At this time, the EEPROM enters an inter-
nally-timed write cycle, t
cycle, and the EEPROM will not respond until the write is complete, see
Figure 5-1.
PAGE WRITE: The 4K EEPROM is capable of a 16-byte page write.
A page write is initiated the same as a byte write, but the microcontroller does not send a stop
condition after the first data word is clocked in. Instead, after the EEPROM acknowledges
receipt of the first data word, the microcontroller can transmit up to fifteen more data words. The
EEPROM will respond with a “0” after each data word received. The microcontroller must termi-
nate the page write sequence with a stop condition, see
The data word address lower two bits are internally incremented following the receipt of each
data word. The higher data word address bits are not incremented, retaining the memory page
row location. When the word address, internally generated, reaches the page boundary, the fol-
lowing byte is placed at the beginning of the same page. If more than sixteen data words are
transmitted to the EEPROM, the data word address will “roll over” and previous data will be
overwritten.
ACKNOWLEDGE POLLING: Once the internally-timed write cycle has started and the
EEPROM inputs are disabled, acknowledge polling can be initiated. This involves sending a
start condition followed by the device address word. The read/write bit is representative of the
operation desired. Only if the internal write cycle has completed will the EEPROM respond with
a “0” allowing the read or write sequence to continue.
L
S
B
W
W
R
E
R
T
I
/
SDA LINE
A
C
K
WORD ADDRESS (n)
Byte Write
R
S
T
A
T
M
S
B
WR
, to the nonvolatile memory. All inputs are disabled during this write
ADDRESS
DEVICE
A
C
K
DATA (n)
S
B
L
W
W
R
T
E
R
I
/
C
A
K
M
WORD ADDRESS
S
B
C
A
K
DATA (n + 1)
Figure
L
S
B
A
C
K
5-2.
DATA
A
C
K
Figure 5-1 on page
DATA (n + x)
A
C
K
O
S
T
P
A
C
K
9.
O
S
T
P
9

Related parts for at24hc04b