The Manufacturer Identifier portion of the ID is returned in the 12 Most Significant bits of the three bytes
read out. The value reserved for Microchip is 0000-0000-1101b (00Dh). Therefore, the first byte read
out by the device will be 00h. The upper nibble of the second byte read out is Dh.
The Least Significant 12 bits of the 24-bit ID is comprised of a Microchip defined value that indicates the
device density and revision. Bits D11 through D3 indicate the device code and bits D2 through D0
indicate the device revision. The output is shown more specifically in Table 7-2.
The overall 24-bit value returned by the AT21CS01 is 00D200h. The overall 24bit value returned by the
AT21CS11 is 00D380h.
AT21CS01/AT21CS11
© 2017 Microchip Technology Inc.
Datasheet
DS20005857A-page 31
8. ROM Zones
8.1 ROM Zone Size and ROM Zone Registers
Certain applications require that portions of the EEPROM memory array be permanently protected
against malicious attempts at altering program code, data modules, security information, or
encryption/decryption algorithms, keys, and routines. To address these applications, the memory array is
segmented into four different memory zones of 256 bits each. A ROM Zone mechanism has been
incorporated that allows any combination of individual memory zones to be permanently locked so that
they become readonly (ROM). Once a memory zone has been converted to ROM, it can never be
erased or programmed again, and it can never be unlocked from the ROM state. Table 8-2 shows the
address range of each of the four memory zones.
8.1.1 ROM Zone Registers
Each 256-bit memory zone has a corresponding single-bit ROM Zone register that is used to control the
ROM status of that zone. These registers are nonvolatile and will retain their state even after a device
power cycle or Reset operation. The following table outlines the two states of the ROM Zone registers.
Each ROM Zone register has specific ROM Zone register address that is reserved for read or write
access.
Table 8-1. ROM Zone Register Values
Value ROM Zone Status
0 ROM Zone is not enabled and that memory zone can be programmed and erased (the default
state).
1 ROM Zone is enabled and that memory zone can never be programmed or erased again.
Issuing the ROM Zone command to a particular ROM Zone register address will set the corresponding
ROM Zone register to the logic ‘1’ state. Each ROM Zone register can only be set once; therefore, once
set to the logic ‘1’ state, a ROM Zone cannot be reset back to the logic ‘0’ state.
Table 8-2. ROM Zone Address Ranges
Memory Zone Starting Memory Address Ending Memory Address ROM Zone
Register Address
0 0h 1Fh 01h
1 20h 3Fh 02h
2 40h 5Fh 04h
3 60h 7Fh 08h
8.2 Programming and Reading the ROM Zone Registers
8.2.1 Reading the Status of a ROM Zone Register
To check the current status of a ROM Zone register, the master must emulate a random read sequence
with the exception that the opcode 0111b (7h) will be used. The dummy write portion of the random read
sequence is needed to specify which ROM Zone register address is to be read.
AT21CS01/AT21CS11
© 2017 Microchip Technology Inc.
Datasheet
DS20005857A-page 32
This sequence begins by the master sending a Start condition, followed by a device address byte with the
opcode of 7h in the four Most Significant bits, along with the appropriate slave address combination and
the Read/Write bit set to a logic ‘0’. The AT21CS01/11 will respond with an ACK.
Following this device address byte is an 8-bit ROM Zone register address byte. The four Most Significant
bits are not used and are therefore "don’t care" bits. The address sent to the device must match one of
the ROM Zone register addresses specified in Table 8-3. After the ROM Zone register address has been
sent, the AT21CS01/11 will return an ACK (logic ‘0’).
Then an additional Start condition is sent to the device with the same device address byte as before, but
now with the Read/
Write bit set to a logic ‘1’, to which the device will return an ACK. After the
AT21CS01/11 has sent the ACK, the device will output either 00h or FFh data byte. A 00h data byte
indicates that the ROM Zone register is zero, meaning the zone has not been set as ROM. If the device
outputs FFh data, then the memory zone has been set to ROM and cannot be altered.
Table 8-3. Read ROM Zone Register – Output Data
Output Data ROM Zone Register Value
00h ROM Zone register value is zero (zone is not set as ROM).
FFh ROM Zone register value is one (zone is permanently set as ROM).
Figure 8-1. Reading the State of a ROM Zone Register
SI/O
MSB
ACK
by Slave
0 1 1 1 A2 A1 A0 0
Device Address
Dummy Write
MSB
0 0 0 0 A3 A2 A1 A0
ROM Zone Register Address
MSB
D D D D D D D D
Data Out Byte (00h or FFh)
ACK
by Slave
NACK
by Master
Stop Condition
by Master
Start Condition
by Master
MSB
ACK
by Slave
0 1 1 1 A2 A1 A0 1
Device Address
Restart
by Master
1
0
00
8.2.2 Writing to a ROM Zone Register
A ROM Zone register can only be written to a logic ‘1’ which will set the corresponding memory zone to a
ROM state. Once a ROM Zone register has been written, it can never be altered again.
To write to a ROM Zone register, the master must send a Start condition, followed by the device address
byte with the opcode of 0111b (7h) specified, along with the appropriate slave address combination and
the Read/Write bit set to a logic ‘0’. The device will return an ACK. After the device address byte has
been sent, the AT21CS01/11 will return an ACK.
Following the device address byte is an 8-bit ROM Zone register address byte. The address sent to the
device must match one of the ROM Zone register addresses specified in Table 8-2. After the ROM Zone
register address has been sent, the AT21CS01/11 will return an ACK.
After the AT21CS01/11 has sent the ACK, the master must send an FFh data byte in order to set the
appropriate ROM Zone register to the logic ‘1’ state. The device will then return an ACK and, after a Stop
condition is executed, the device will enter a self-time internal write cycle, lasting t
WR
. If a Stop condition
is sent at any other point in the sequence, the write operation to the ROM Zone register is aborted. The
device will not respond till any commands until the t
WR
time has completed. This sequence is depicted in
Figure 8-2.
AT21CS01/AT21CS11
© 2017 Microchip Technology Inc.
Datasheet
DS20005857A-page 33

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