English
Language : 

M24LR64-R_1004 Datasheet, PDF (98/126 Pages) STMicroelectronics – 64 Kbit EEPROM with password protection & dual interface: 400kHz I²C serial bus & ISO 18000-3 mode 1 RF protocol at 13.56MHz
Commands codes
M24LR64-R
26.15
Lock-sector Password
On receiving the Lock-sector Password command, the M24LR64-R sets the access rights
and permanently locks the selected sector. The Option_flag is supported.
A sector is selected by giving the address of one of its blocks in the Lock-sector Password
request (Sector number field). For example, addresses 0 to 31 are used to select sector 0
and addresses 32 to 63 are used to select sector 1. Care must be taken when issuing the
Lock-sector Password command as all the blocks belonging to the same sector are
automatically locked by a single command.
The Protocol_extention_flag should be set to 1 for the M24LR64-R to operate correctly. If
the Protocol_extention_flag is at 0, the M24LR64-R answers with an error code.
During the RF write cycle Wt, there should be no modulation (neither 100% nor 10%)
otherwise, the M24LR64-R may not correctly lock the memory block.
The Wt time is equal to t1nom + 18 × 302 µs.
Table 76. Lock-sector Password request format
Request Request
SOF _flags
Lock-
sector
Password
IC
Mfg
code
UID(1)
Sector
number
Sector
security
status
CRC16
Request
EOF
8 bits
B2h
02h
1. Gray means that the field is optional.
64 bits
16 bits 8 bits 16 bits
Request parameters:
● (optional) UID
● Sector number
● Sector security status (refer to Table 77)
Table 77. Sector security status
b7
b6
b5
b4
b3
b2
b1
b0
0
0
0
password control bits
Read / Write protection
bits
1
Table 78. Lock-sector Password response format when Error_flag is NOT set
Response
SOF
Response_flags
CRC16
Response
EOF
8 bits
16 bits
Response parameter:
● No parameter.
Table 79. Lock-sector Password response format when Error_flag is set
Response Response_
SOF
flags
Error code
CRC16
Response
EOF
8 bits
8 bits
16 bits
98/126
Doc ID 15170 Rev 9