datasheetbank_Logo     Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

NM24C04 View Datasheet(PDF) - Fairchild Semiconductor

Part NameDescriptionManufacturer
NM24C04 4K-Bit Standard 2-Wire Bus Interface Serial EEPROM Fairchild
Fairchild Semiconductor Fairchild
NM24C04 Datasheet PDF : 14 Pages
First Prev 11 12 13 14
Write Operations
BYTE WRITE
For a write operation a second address field is required which is
a word address that is comprised of eight bits and provides access
to any one of the 256 bytes in the selected page of memory. Upon
receipt of the byte address the NM24C04/05 responds with an
acknowledge and waits for the next eight bits of data, again,
responding with an acknowledge. The master then terminates the
transfer by generating a stop condition, at which time the NM24C04/
05 begins the internal write cycle to the nonvolatile memory. While
the internal write cycle is in progress the NM24C04/05 inputs are
disabled, and the device will not respond to any requests from the
master for the duration of tWR. Refer to Figure 4 for the address,
acknowledge and data transfer sequence.
PAGE WRITE
To minimize write cycle time, NM24C04/05 offer Page Write
feature, by which, up to a maximum of 16 contiguous bytes
locations can be programmed all at once (instead of 16 individual
byte writes). To facilitate this feature, the memory array is orga-
nized in terms of Pages.A Page consists of 16 contiguous byte
locations starting at every 16-Byte address boundary (for ex-
ample, starting at array address 0x00, 0x10, 0x20 etc.). Page
Write operation limits access to byte locations within a page. In
other words a single Page Write operation will not cross over to
locations on another page but will roll overto the beginning of the
page whenever end of Page is reached and additional locations
are a continued to be accessed. A Page Write operation can be
initiated to begin at any location within a page (starting address of
the Page Write operation need not be the starting address of a
Page).
Page Write is initiated in the same manner as the Byte Write
operation; but instead of terminating the cycle after transmitting
the first data byte, the master can further transmit up to 15 more
bytes. After the receipt of each byte, NM24C04/05 will respond
with an acknowledge pulse, increment the internal address counter
to the next address and is ready to accept the next data. If the
master should transmit more than sixteen bytes prior to generat-
ing the STOP condition, the address counter will roll overand
previously written data will be overwritten. As with the Byte Write
operation, all inputs are disabled until completion of the internal
write cycle. Refer to Figure 5 for the address, acknowledge and
data transfer sequence.
Acknowledge Polling
Once the stop condition is issued to indicate the end of the hosts
write operation the NM24C04/05 initiates the internal write cycle.
ACK polling can be initiated immediately. This involves issuing the
start condition followed by the slave address for a write operation.
If the NM24C04/05 is still busy with the write operation no ACK will
be returned. If the NM24C04/05 has completed the write operation
an ACK will be returned and the host can then proceed with the
next read or write operation.
Write Protection (NM24C05 Only)
Programming of the upper half (upper 2Kbit) of the memory will not
take place if the WP pin of the NM24C05 is connected to VCC. The
NM24C05 will respond to slave and byte addresses; but if the
memory accessed is write protected by the WP pin, the NM24C05
will not generate an acknowledge after the first byte of data has
been received, and thus the program cycle will not be started when
the stop condition is asserted.
Byte Write (Figure 4)
Bus Activity:
Master
SDA Line
Bus Activity:
EEPROM
S
T
A
SLAVE
R ADDRESS
T
A
C
K
WORD
ADDRESS
A
C
K
S
T
DATA
O
P
A
C
K
DS500070-13
Page Write (Figure 5)
Bus Activity:
Master
SDA Line
S
T
A
SLAVE
R ADDRESS
T
Bus Activity:
EEPROM
WORD ADDRESS (n)
A
A
C
C
K
K
DATA n
DATA n + 1
A
A
C
C
K
K
S
T
DATA n + 15
O
P
A
C
K
DS500070-14
NM24C04/05 Rev. G
11
www.fairchildsemi.com
Direct download click here

 

Share Link : 

All Rights Reserved © datasheetbank.com 2014 - 2020 [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]