Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AT24CSW01X Datasheet(PDF) 23 Page - Microchip Technology

Part # AT24CSW01X
Description  I짼C-Compatible (Two-Wire) Serial EEPROM with a Security Register and Software Write Protection 1?멚bit (128 x 8), 2?멚bit (256 x 8)
PDF  41 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

AT24CSW01X Datasheet(HTML) 23 Page - Microchip Technology

Back Button AT24CSW01X Datasheet HTML 19Page - Microchip Technology AT24CSW01X Datasheet HTML 20Page - Microchip Technology AT24CSW01X Datasheet HTML 21Page - Microchip Technology AT24CSW01X Datasheet HTML 22Page - Microchip Technology AT24CSW01X Datasheet HTML 23Page - Microchip Technology AT24CSW01X Datasheet HTML 24Page - Microchip Technology AT24CSW01X Datasheet HTML 25Page - Microchip Technology AT24CSW01X Datasheet HTML 26Page - Microchip Technology AT24CSW01X Datasheet HTML 27Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 41 page
background image
• Write-Protect Lock Bit (WPRL), Bit 0
This bit is used to permanently lock the current state of the WPR. A logic ‘0’ indicates that the WPR can be
modified, whereas a logic ‘1’ indicates the WPR has been locked and can no longer be modified. To safeguard
against accidental locking of the WPR, the D5 bit must match the WPRL bit (D0 bit) sent to the device. If these
bits do not match, the write cycle is aborted and the WPR contents are not modified.
8.2.1
Protected Address Ranges Set by WPB1 and WPB0
The EEPROM array in the AT24CSW01X/AT24CSW02X will be protected from writing in accordance with the WPB1
and WPB0 bit values as long as the WPRE bit is set to logic ‘1’. If the WPRE bit is set to logic ‘0’, no portion of the
EEPROM array will be protected. The combination of these three bits creates five possible levels of protection for the
device. The protected address ranges of the memory are shown in Table 8-6.
Table 8-6. Word Address Byte Requirements for Accessing the Write Protection Register
Protection
Level
WPRE
WPB1
WPB2
Protected Address Range
Unprotected Address Range
1-Kbit
2-Kbit
1-Kbit
2-Kbit
None
0
X
X
None
None
00h–7Fh
00h-FFh
Upper ¼
1
0
0
60h–7Fh
C0h–FFh
00h–5Fh
00h–BFh
Upper ½
1
0
1
40h–7Fh
80h–FFh
00h–3Fh
00h–7Fh
Upper ¾
1
1
0
20h–7Fh
40h–FFh
00h–1Fh
00h–3Fh
Full Array
1
1
1
00h-7Fh
00h-FFh
None
None
8.3
Writing to the Write Protection Register
When writing the WPR, data bit 7 through 4 are used to ensure that a write operation was intentional. For all write
operations to the WPR, bit 6 must be a logic ‘1’ as seen in Table 8-4.
Additionally, data bit 5 must be set in accordance with the D0 bit value (WPRL) as noted below. If the WPR is to
remain unlocked, then the upper nibble sent during the write operation would be 4h and D0 must be a logic ‘0’,
whereas if the WPR is to be permanently locked, the upper nibble would need to be 6h and D0 must be a logic ‘1’. A
mismatch of D5 and the WPRL bit will cause the write cycle to abort.
Sending more than one byte to the AT24CSW01X/AT24CSW02X when trying to write to the WPR will cause the write
cycle to abort and the contents of the WPR will not be changed. Additionally, if the WPR is already locked (WPRL =
1), the write cycle will not execute and the device will be ready for a new operation.
Figure 8-2. Write Protection Register Write Operation
SCL
SDA
Device Address Byte
Word Address Byte
WPR Contents
Start
by
Host
ACK
from
Client
MSb
MSb
Stop
by
Host
MSb
1
2
3
4
5
6
7
8
9
1
0
1
1
#
#
#
0
0
1
2
3
4
5
6
7
8
9
0
1 D5 0 D3 D2 D1 D0 0
1
X
X
X
X
X
X
X
0
1
2
3
4
5
6
7
8
9
ACK
from
Client
ACK
from
Client
Note:  # indicates the hardware address value which is managed by the ordering code of the device (see Table 6-2).
8.4
Reading the Write Protection Register
To read the contents of the WPR, a random read operation must be sent to the device (see Random Read) so that
the reserved word address bits A7 and A6 can properly be set. It is not possible to read the contents of the WPR with
a current address read.
When reading the WPR contents, data bit 7 through 4 will always read as a logic ‘0’ as seen in Table 8-4.
AT24CSW01X/AT24CSW02X
Write Protection
© 2020-2021 Microchip Technology Inc.
and its subsidiaries
Datasheet
DS20006396B-page 23



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com