Manual

37
AT25DQ161 [DATASHEET]
8671C–DFLASH–11/2012
The three address bytes and at least one complete byte of data must be clocked into the device before the CS pin is
deasserted, and the
CS pin must be deasserted on even byte boundaries (multiples of eight bits); otherwise, the device
will abort the operation and the user-programmable portion of the OTP Security Register will not be programmed. The
WEL bit in the Status Register will be reset back to the Logical 0 state if the OTP Security Register program cycle aborts
due to an incomplete address being sent, an incomplete byte of data being sent, the
CS pin being deasserted on uneven
byte boundaries, or because the user-programmable portion of the OTP Security Register was previously programmed.
While the device is programming the OTP Security Register, the Status Register can be read and will indicate that the
device is busy. For faster throughput, it is recommended that the Status Register be polled rather than waiting the t
OTPP
time to determine if the data bytes have finished programming. At some point before the OTP Security Register
programming completes, the WEL bit in the Status Register will be reset back to the Logical 0 state.
If the device is powered-down during the OTP Security Register program cycle, then the contents of the 64-byte user
programmable portion of the OTP Security Register cannot be guaranteed and cannot be programmed again.
The Program OTP Security Register command utilizes the internal 256-buffer for processing. Therefore, the contents of
the buffer will be altered from its previous state when this command is issued.
Figure 10-4. Program OTP Security Register
SCK
CS
SI
SO
MSB MSB
2310
10011011
6754983937 3833 36353431 3229 30
Opcode
High-impedance
AA AAAA
MSB
DDDDDDDD
Address Bits A23-A0 Data In Byte 1
MSB
DDDDDDDD
Data In Byte N