Figure 7-1. Current Address Read
SI/O
MSB
ACK
by Slave
1 0 1 0 A2 A1 A0 1
Device Address
MSB
D D D D D D D D
Data Out Byte (n)
NACK
by Master
Stop Condition
by Master
Start Condition
by Master
0 1
7.2 Random Read within the EEPROM
A random read begins in the same way as a byte write operation which will load a new EEPROM memory
address into the Address Pointer. However, instead of sending the data byte and Stop condition of the
byte write, a repeated Start condition is sent to the device. This sequence is referred to as a “dummy
write”. After the device address and memory address bytes of the “dummy write” have been sent, the
AT21CS01/11 will return an ACK response. The master can then initiate a current address read,
beginning with a new Start condition, to read data from the EEPROM. Refer to Current Address Read
within the EEPROM for details on how to perform a current address read.
Figure 7-2. Random Read
SI/O
MSB
ACK
by Slave
1 0 1 0 A2 A1 A0 0
Device Address
Dummy Write
MSB
x A6 A5 A4 A3 A2 A1 A0
Memory Address
MSB
D D D D D D D D
Data Out Byte (n)
ACK
by Slave
NACK
by Master
Stop Condition
by Master
Start Condition
by Master
MSB
ACK
by Slave
1 0 1 0 A2 A1 A0 1
Device Address
Restart
by Master
1
0
00
7.3 Sequential Read within the EEPROM
Sequential reads start as either a current address read or as a random read. However, instead of the
master sending a NACK (logic ‘1’) response to end a read operation after a single byte of data has been
read, the master sends an ACK (logic ‘0’) to instruct the AT21CS01/11 to output another byte of data. As
long as the device receives an ACK from the master after each byte of data has been output, it will
continue to increment the address counter and output the next byte data from the EEPROM. If the end of
the EEPROM is reached, then the Address Pointer will “roll over” back to the beginning (address 00h) of
the EEPROM region. To end the sequential read operation, the master must send a NACK response after
the device has output a complete byte of data. After the device receives the NACK, it will end the read
operation and return to the Standby mode.
Note: 
1. If the last operation to the device accessed the Security register, then a random read should be
performed to ensure that the Address Pointer is set to a known memory location within the
EEPROM.
Figure 7-3. Sequential Read from a Current Address Read
SI/O
MSB
ACK
by Slave
1 0 1 0 A2 A1 A0 1
Device Address
MSB
D D D D D D D D
Data Out Byte (n)
ACK
by Master
MSB
D D D D D D D D
Data Out Byte (n+x)
NACK
by Master
Stop Conditon
by Master
Start Condition
by Master
0 0 1
AT21CS01/AT21CS11
© 2017 Microchip Technology Inc.
Datasheet
DS20005857A-page 28
Figure 7-4. Sequential Read from a Random Read
SI/O
MSB
ACK
by Slave
1 0 1 0 A2 A1 A0 0
Device Address
MSB
x A6 A5 A4 A3 A2 A1 A0
Memory Address
MSB
D D D D D D D D
Data Out Byte (n)
ACK
by Slave
ACK
by Master
Stop Condition
by Master
Start Condition
by Master
MSB
ACK
by Slave
1 0 1 0 A2 A1 A0 1
Device Address
Restart
by Master
MSB
D D D D D D D D
Data Out Byte (n + x)
Dummy Write
NACK
by Master
0 10
00
7.4 Read Operations in the Security Register
The Security register can be read by using either a random read or a sequential read operation. Due to
the fact that the EEPROM and Security register share a single Address Pointer register, a “dummy write”
must be performed to correctly set the Address Pointer in the Security register. This is why a random read
or sequential read must be used as these sequences include a “dummy write.” Bits A7 through A5 are
"don’t care" bits as these fall outside the addressable range of the Security register. Current address
reads of the Security register are not supported.
In order to read the Security register, the device address byte must be specified with the opcode 1011b
(Bh) instead of the opcode 1010b (Ah).The Security register can be read to read the 64-bit serial number
or the remaining user-programmable data.
7.4.1 Serial Number Read
The lower eight bytes of the Security register contain a factory-programmed, unique, 64bit serial number.
In order to ensure a unique value, the entire 64-bit serial number must be read starting at Security
register address location 00h. Therefore, it is recommended that a sequential read started with a random
read operation be used, ensuring that the random read sequence uses a device address byte with
opcode 1011b (Bh) specified in addition to the memory address byte being set to 00h.
The first byte read out of the 64-bit serial number is the product identifier (A0h). Following the product
identifier, a 48-bit unique number is contained in bytes 1 through 6. The last byte of the serial number
contains a cyclic redundancy check (CRC) of the other 56 bits. The CRC is generated using the
polynomial X
8
+ X
5
+ X
4
+ 1. The structure of the 64-bit serial number is depicted in Table 7-1.
Table 7-1. 64-Bit Factory-Programmed Serial Number Organization
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
8-bit
Product
Identifier
(A0h)
48-bit Unique Number 8-bit CRC
Value
After all eight bytes of the serial number have been read, the master can return a NACK (logic ‘1’)
response to end the read operation and return the device to the Standby mode. If the master sends an
ACK (logic ‘0’) instead of a NACK, then the next byte (address location 08h) in the Security register will
be output. If the end of the Security register is reached, then the Address Pointer will “roll over” back to
the beginning (address location 00h) of the Security register.
AT21CS01/AT21CS11
© 2017 Microchip Technology Inc.
Datasheet
DS20005857A-page 29
Figure 7-5. Serial Number Read
SI/O
MSB
ACK
by Slave
1 0 1 1 A2 A1 A0 0
Device Address
MSB
X X X 0 0 0 0 0
Serial Number Starting Address
MSB
D D D D D D D D
Serial Number Byte 00h
ACK
by Slave
ACK
by Master
Stop Condition
by Master
Start Condition
by Master
MSB
ACK
by Slave
1 0 1 1 A2 A1 A0 1
Device Address
Restart
by Master
MSB
D D D D D D D D
Serial Number Byte 07h
Dummy Write
NACK
by Master
0 1
0
00
7.5 Manufacturer ID Read
The AT21CS01/11 offers the ability to query the device for manufacturer, density, and revision
information. By using a specific opcode and following the format of a current address read, the device will
return a 24-bit value that corresponds with the I
2
C identifier value reserved for Microchip, along with
further data to signify a 1-Kbit density and the device revision.
To read the Manufacturer ID data, the master must send a Start condition, followed by the device address
byte with the opcode of 1100b (Ch) specified, along the appropriate slave address combination and the
Read/Write bit set to a logic ‘1’. After the device address byte has been sent, the AT21CS01/11 will return
an ACK (logic ‘0’). If the Read/
Write bit is set to a logic ‘0’ to indicate a write, the device will NACK (logic
1’) since the Manufacturer ID data is read-only.
After the device has returned an ACK, it will then send the first byte of Manufacturer ID data which
contains the eight Most Significant bits (D23D16) of the 24-bit data value. The master can then return an
ACK (logic ‘0’) to indicate it successfully received the data, upon which the device will send the second
byte (D15D8) of Manufacturer ID data. The process repeats until all three bytes have been read out and
the master sends a NACK (logic ‘1’) to complete the sequence. Figure 7-6 depicts this sequence below. If
the master ACKs (logic ‘0’) the third byte, the Internal Pointer will roll over back to the first byte of
Manufacturer ID data.
Figure 7-6. Manufacturer ID Read
SI/O
MSB
ACK
by Slave
1 1 0 0 A2 A1 A0 1
Device Address
MSB
(D23)
D D D D D D D D
Manufacturer ID Byte 1
ACK
by Master
D D D D D D D D
Manufacturer ID Byte 2
NACK
by Master
Stop Condition
by Master
Start Condition
by Master
ACK
by Master
LSB
(D0)
D D D D D D D D
Manufacturer ID Byte 3
0 100
Table 7-2 below provides the format of the Manufacturer ID data.
Table 7-2. Manufacturer ID Data Format
Device Manufacturer Code
<D23:D12>
Device Code
<D11:D3>
Revision Code
<D2:D0>
Hex Value
<D23:D0>
AT21CS01
0000-0000-1101 0010-0000-0 000
00D200h
AT21CS11
0000-0000-1101 0011-1000-0 000
00D380h
AT21CS01/AT21CS11
© 2017 Microchip Technology Inc.
Datasheet
DS20005857A-page 30

AT21CS01-SSHM11-T

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
EEPROM SEEPROM, 1K, SW - 1.7-3.6V, 125Kbps, Ind Tmp, 8-SOIC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union