7.5.3 Hardware Write Protection

The WP pin can be connected to VCC, GND, or left floating. Connecting the WP pin to VCC will write-protect the entire array whether or not the Software Write Protection has been enabled or invoked (see Table 7-3 and Table 7-4). The Software Write Protection register cannot be programmed when the WP pin is connected to VCC. If the WP pin is connected to GND or left floating, the write protection mode is determined by the status of the Software Write-Protect register.

Table 7-2. Write Protection
CommandPinPreambleR/W
A2A1A0Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Set PSWPA2A1A00110A2A1A00
Set RSWP00VHV01100010
Clear RSWP0VCCVHV01100110

Table 7-3. WP Connected to GND or Floating
WP Connected to GND or Floating
CommandR/W BitPermanent Write‑Protect Register PSWPReversible Write‑Protect Register RSWPResponse from DeviceAction from Device
1010RXXACKRead Array.
1010WProgrammedXACKCan write to second half (80h - FFh) only.
1010WXProgrammedACKCan write to second half (80h - FFh) only.
1010WNot ProgrammedNot ProgrammedACKCan write to full array.
Read PSWPRProgrammedXNACKSTOP – Indicates Permanent Write‑Protect register is programmed.
Read PSWPRNot ProgrammedXACKData read out is undefined. Indicates PSWP register is not programmed.
Set PSWPWProgrammedXNACKSTOP – Indicates Permanent Write‑Protect register is programmed.
Set PSWPWNot ProgrammedXACKProgram Permanent Write‑Protect register (irreversible).
Read RSWPRXProgrammedNACKSTOP – Indicates Permanent Write‑Protect register is programmed.
Read RSWPRXNot ProgrammedACKData read out is undefined. Indicates RSWP register is not programmed.
Set RSWPWXProgrammedNACKSTOP – Indicates Reversible Write‑Protect register is programmed.
Set RSWPWXNot ProgrammedACKProgram Reversible Write‑Protect register (reversible).
Clear RSWPWProgrammedXNACKSTOP – Indicates Permanent Write‑Protect register is programmed.
Clear RSWPWNot ProgrammedXACKClear (unprogram) Reversible Write‑Protect register (reversible).
Table 7-4. WP Connected to VCC
WP Connected to VCC
CommandR/W BitPermanent Write‑Protect Register PSWPReversible Write‑Protect Register RSWPResponse from DeviceAction from Device
1010RXXACKRead array.
1010WXXACKDevice is write protected.
Read PSWPRProgrammedXNACKSTOP – Indicates Permanent Write‑Protect register is programmed.
Read PSWPRNot ProgrammedXACKData read out is undefined. Indicates PSWP register is not programmed.
Set PSWPWProgrammedXNACKSTOP – Indicates Permanent Write‑Protect register is programmed.
Set PSWPWNot ProgrammedXACKCannot program write‑protect registers.
Read RSWPRXProgrammedNACKSTOP – Indicates Reversible Write‑Protect register is programmed.
Read RSWPRXNot ProgrammedACKData read out is undefined. Indicates RSWP register is not programmed.
Set RSWPWXProgrammedNACKSTOP – Indicates Reversible Write‑Protect register is programmed.
Set RSWPWXNot ProgrammedACKCannot program write‑protect registers.
Clear RSWPWProgrammedXNACKSTOP – Indicates Permanent Write‑Protect register is programmed.
Clear RSWPWNot ProgrammedXACKCannot write to Write‑Protect registers.