M24LR04E
M24LR04E
Contents
1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2 Signal descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.1 Serial clock (SCL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2 Serial data (SDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3 RF Write in progress / RF Busy (RF WIP/BUSY) . . . . . . . . . . . . . . . . . . . 15
2.4 Energy harvesting analog output (Vout) . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.5 Antenna coil (AC0, AC1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.5.1 Device reset in RF mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.6 VSS ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.7 Supply voltage (VCC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.7.1 Operating supply voltage VCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.7.2 Power-up conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.7.3 Device reset in I²C mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.7.4 Power-down conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
7 RF device operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.1 RF communication and energy harvesting . . . . . . . . . . . . . . . . . . . . . . . . 41
7.2 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7.3 Initial dialog for vicinity cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
7.3.1 Power transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
7.3.2 Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
7.3.3 Operating field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
17 M24LR04E-R states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
17.1 Power-off state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
17.2 Ready state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
17.3 Quiet state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
17.4 Selected state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
18 Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
18.1 Addressed mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
18.2 Non-addressed mode (general request) . . . . . . . . . . . . . . . . . . . . . . . . . 65
18.3 Select mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
19 Request format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
19.1 Request flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
20 Response format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
20.1 Response flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
20.2 Response error code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
21 Anticollision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
21.1 Request parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
25 Timing definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
25.1 t1: M24LR04E-R response delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
25.2 t2: VCD new request delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
25.3 t3: VCD new request delay when no response is received
from the M24LR04E-R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
26 Command codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
26.1 Inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
26.2 Stay Quiet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
List of tables
List of figures
1 Description
6&/
9RXW
6'$
0/5(5
$&
5):,3%86<
$&
966
069
I2C uses a two-wire serial interface, comprising a bidirectional data line and a clock line. The
devices carry a built-in 4-bit device type identifier code (1010) in accordance with the I2C
bus definition.
The device behaves as a slave in the I2C protocol, with all memory operations synchronized
by the serial clock. Read and Write operations are initiated by a Start condition, generated
by the bus master. The Start condition is followed by a device select code and Read/Write
bit (RW) (as described in Table 2), terminated by an acknowledge bit.
When writing data to the memory, the device inserts an acknowledge bit during the 9th bit
time, following the bus master’s 8-bit transmission. When data is read by the bus master,
the bus master acknowledges the receipt of the data byte in the same way. Data transfers
are terminated by a Stop condition after an Ack for Write, and after a NoAck for Read.
In the ISO15693/ISO18000-3 mode 1 RF mode, the M24LR04E-R is accessed via the
13.56 MHz carrier electromagnetic wave on which incoming data are demodulated from the
received signal amplitude modulation (ASK: amplitude shift keying). When connected to an
antenna, the operating power is derived from the RF energy and no external power supply is
required. The received ASK wave is 10% or 100% modulated with a data rate of 1.6 Kbit/s
using the 1/256 pulse coding mode or a data rate of 26 Kbit/s using the 1/4 pulse coding
mode.
Outgoing data are generated by the M24LR04E-R load variation using Manchester coding
with one or two subcarrier frequencies at 423 kHz and 484 kHz. Data are transferred from
the M24LR04E-R at 6.6 Kbit/s in low data rate mode and 26 Kbit/s high data rate mode. The
M24LR04E-R supports the 53 Kbit/s fast mode in high data rate mode using one subcarrier
frequency at 423 kHz.
The M24LR04E-R follows the ISO 15693 and ISO 18000-3 mode 1 recommendation for
radio-frequency power and signal interface.
The M24LR04E-R provides an Energy harvesting mode on the analog output pin Vout.
When the Energy harvesting mode is activated, the M24LR04E-R can output the excess
energy coming from the RF field on the Vout analog pin. In case the RF field strength is
insufficient or when Energy harvesting mode is disabled, the analog output pin Vout goes
into high-Z state and Energy harvesting mode is automatically stopped.
The M24LR04E-R features a user configurable digital out pin RF WIP/BUSY that can be
used to drive a micro controller interrupt input pin (available only when the M24LR04E-R is
correctly powered on the Vcc pin).
When configured in the RF write in progress mode (RF WIP mode), the RF WIP/BUSY pin is
driven low for the entire duration of the RF internal write operation. When configured in the
RF busy mode (RF BUSY mode), the RF WIP/BUSY pin is driven low for the entire duration
of the RF command progress.
The RF WIP/BUSY pin is an open drain output and must be connected to a pull-up resistor.
$& 5):,3%86<
$& 6&/
966 6'$
069
2 Signal descriptions
Figure 3. I2C Fast mode (fC = 400 kHz): maximum Rbus value vs. bus parasitic capacitance (Cbus)
"US LINE PULL UP RESISTOR
2 ON THE LEFT
BU
S §
#
BU 2BUS
(ERE 2BUS § #BUS NS S
K½ N
S
)£# BUS 3#,
-XXX
MASTER
3$!
P&
#BUS
"US LINE CAPACITOR P&
AIB
The M24LR04E-R is divided into four sectors of 32 blocks of 32 bits, as shown in Table 5.
Figure 6 shows the memory sector organization. Each sector can be individually read-
and/or write-protected using a specific password command. Read and write operations are
possible if the addressed data are not in a protected sector.
The M24LR04E-R also has a 64-bit block that is used to store the 64-bit unique identifier
(UID). The UID is compliant with the ISO 15963 description, and its value is used during the
anticollision sequence (Inventory). This block is not accessible by the user in RF device
operation and its value is written by ST on the production line.
The M24LR04E-R includes an AFI register that stores the application family identifier, and a
DSFID register that stores the data storage family identifier used in the anticollision
algorithm.
The M24LR04E-R has four 32-bit blocks that store an I2C password plus three RF password
codes.
((3520
5):,3%86<
$& /DWFK
6&/
5) /RJLF ,&
6'$
$&
9&&
5)9&& 3RZHUPDQDJHPHQW &RQWDFW9&&
966
069
6HFWRUVHFXULW\
6HFWRU $UHD
VWDWXV
.ELW((3520VHFWRU ELWV
.ELW((3520VHFWRU ELWV
.ELW((3520VHFWRU ELWV
.ELW((3520VHFWRU ELWV
,ð&SDVVZRUG 6\VWHP
5)SDVVZRUG 6\VWHP
5)SDVVZRUG 6\VWHP
5)SDVVZRUG
6\VWHP
ELW'6),'
ELW$), 6\VWHP
ELW8,' 6\VWHP
ELWFRQILJXUDWLRQ 6\VWHP
ELW,ð&:ULWH/RFNBELW 6\VWHP
ELW666 6\VWHP
069
Sector details
The M24LR04E-R user memory is divided into four sectors. Each sector contains 1024 bits.
The protection scheme is described in Section 4: System memory area.
In RF mode, a sector provides 32 blocks of 32 bits. Each read and write access is done by
block. Read and write block accesses are controlled by a Sector Security Status byte that
defines the access rights to the 32 blocks contained in the sector. If the sector is not
protected, a Write command updates the complete 32 bits of the selected block.
In I2C mode, a sector provides 128 bytes that can be individually accessed in Read and
Write modes. When protected by the corresponding I2C_Write_Lock bit, the entire sector is
write-protected. To access the user memory, the device select code used for any I2C
command must have the E2 Chip Enable address at 0.
When the Sector Lock bit is set to 1, for instance by issuing a Lock-sector command, the
two Read/Write protection bits (b1, b2) are used to set the Read/Write access of the sector
as described in Table 8.
The next two bits of the Sector security status byte (b3, b4) are the password control bits.
The value of these two bits is used to link a password to the sector, as defined in Table 9.
1 Password 1
2 Password 2
3 Password 3
• Present-sector password:
The Present-sector password command is used to present one of the three passwords
to the M24LR04E-R in order to modify the access rights of all the memory sectors
linked to that password (Table 8) including the password itself. If the presented
password is correct, the access rights remain activated until the tag is powered off or
until a new Present-sector password command is issued. If the presented password
value is not correct, all the access rights of all the memory sectors are deactivated.
• Sector security status byte area access conditions in I2C mode:
In I2C mode, read access to the sector security status byte area is always allowed.
Write access depends on the correct presentation of the I2C password (see
Section 5.16.1: I2C present password command description).
To access the Sector security status byte area, the device select code used for any I2C
command must have the E2 Chip Enable address at 1.
An I2C write access to a sector security status byte re-initializes the RF access
condition to the given memory sector.
When tied to 0, the RF WIP/BUSY signal returns to high-Z state if the RF field is cut-off.
During execution of I²C commands, the RF WIP/BUSY pin remains in high-Z state.
• RF Write in progress
When bit 3 of the Configuration byte is set to 1, the RF WIP/BUSY pin is configured in RF
Write in progress mode.
The purpose of this mode is to indicate to the I²C bus master that some data have been
changed in RF mode.
In this mode, the RF WIP/BUSY pin is tied to 0 for the duration of an internal write operation
(i.e. between the end of a valid RF write command and the beginning of the RF answer).
During execution of I²C write operations, the RF WIP/BUSY pin remains in high-Z state.
E2=1 2320 X(1) X(1) X(1) X(1) RF WIP/BUSY EH_mode EH_cfg1 EH_cfg0
1. Bit 7 to Bit 4 are don’t care bits.
E2=1 2336 T-Prog(1) 0(1) 0(1) 0(1) 0(1) 0(1) FIELD_ON(1) EH_enable
1. Bit 7 to Bit 1 are read-only bits.
– When set to 1, the EH_enable bit enables the Energy harvesting mode, meaning
that the Vout analog output signal is delivered when the PAC0-AC1_min and Isink_max
conditions corresponding to the chosen sink current configuration bit are met (see
Table 126).
– When set to 0, the EH_enable bit disable the Energy harvesting mode and the
analog output Vout remains in set in high-Z state.
– The T_Prog flag indicates a correct duration of the I²C write time (tw). This bit is
reset to 0 after POR and at the beginning of each writing cycle; it is set to 1 only
after a correct completion of the writing cycle.
• Energy harvesting default mode control
At power-up, in I²C or RF mode, the EH_enable bit is updated according to the value of the
EH_mode bit stored in the non-volatile Configuration byte (see Table 16). In other words,
the EH_mode bit is used to configure whether the Energy harvesting mode is enabled or not
by default.
0 1 enabled
1 0 disabled
The next byte stores the Configuration byte, at I²C location 2320. This Control register is
used to store the three energy harvesting configuration bits and the RF WIP/BUSY
configuration bit.
The next two bytes are used to store the AFI, at I2C location 2322, and the DSFID, at I2C
location 2323. These two values are used during the RF inventory sequence. They are
read-only in the I2C mode.
The next eight bytes, starting from location 2324, store the 64-bit UID programmed by ST on
the production line. Bytes at I2C locations 2332 to 2335 store the IC Ref and the Mem_Size
data used by the RF Get_System_Info command. The UID, Mem_Size and IC ref values are
read-only data.
The device supports the I2C protocol. This is summarized in Figure 4. Any device that sends
data to the bus is defined as a transmitter, and any device that reads data is defined as a
receiver. The device that controls the data transfer is known as the bus master, and the
other as the slave device. A data transfer can only be initiated by the bus master, which also
provides the serial clock for synchronization. The M24LR04E-R device is a slave in all
communications.
6&/
6'$
W67$57B287
6WDUWFRQGLWLRQ
069
Figure 8. Write mode sequences with I2C_Write_Lock bit = 1 (data write inhibited)
%\WH:ULWH
6WRS
5:
3DJH:ULWH
$&. $&. $&. 12$&. 12$&. 12$&. 12$&.
6WRS
5:
069
Figure 9. Write mode sequences with I2C_Write_Lock bit = 0 (data write enabled)
3TOP
27
0AGE 7RITE $EV 3ELECT "YTE ADDRESS "YTE ADDRESS $ATA IN $ATA IN $ATA IN .
3TART
3TOP
27
!)
:ULWHF\FOHLQSURJUHVV
6WDUWFRQGLWLRQ
'HYLFHVHOHFWZLWK5:
1R
$FNUHWXUQHG
)LUVWE\WHRILQVWUXFWLRQ <HV
ZLWK5: DOUHDG\
GHFRGHGE\WKHGHYLFH
1R 1H[WRSHUDWLRQLV <HV
DGGUHVVLQJWKHPHPRU\
6HQGDGGUHVV
DQG5HFHLYH$FN
5H6WDUW
1R <HV
6WDUWFRQGLWLRQ
6WRS
'DWDIRUWKH 'HYLFHVHOHFW
:ULWHRSHUDWLRQ ZLWK5:
&RQWLQXHWKH &RQWLQXHWKH
:ULWHRSHUDWLRQ 5DQGRP5HDGRSHUDWLRQ
069
6WRS
5:
6WDUW
6WRS
5: 5:
6WRS
5:
6WDUW
6WRS
5: 5:
069
1. The seven most significant bits of the device select code of a random read (in the first and fourth bytes)
must be identical.
27
$EVICE SELECT 0ASSWORD 0ASSWORD .EW PASSWORD .EW PASSWORD .EW PASSWORD .EW PASSWORD
CODE ADDRESS H ADDRESS H ;= ;= ;= ;=
3TART
27
The device is delivered with all bits set to 1 in the user memory array.
• User Memory content: FFh
• System bits delivery
• I2C write lock bits: 00h
• Sector Security Status: 00h
• I2C Password: 0000 0000h
• RF Password: 0000 0000h
• IC ref: 5Ah
• UID: E0 02 xx xx xx xxh
• DSFID: FFh
• AFI: 00h
• Memory size: 03 7Fh
• Energy Harvesting Configuration byte: F4h
• Bit 7 to bit 4: all set to 1
• Bit 3: set to 0 (RF BUSY mode on RF WIP/BUSY pin)
• Bit 2: set to 1 (Energy harvesting not activated by default)
• Bit 1 and bit 0: set to 0 (fan-out setting)
7 RF device operation
The M24LR04E-R is divided into four sectors of 32 blocks of 32 bits, as shown in Table 5.
Each sector can be individually read- and/or write-protected using a specific lock or
password command.
Read and Write operations are possible if the addressed block is not protected. During a
Write, the 32 bits of the block are replaced by the new 32-bit value.
The M24LR04E-R also has a 64-bit block that is used to store the 64-bit unique identifier
(UID). The UID is compliant with the ISO 15963 description, and its value is used during the
anticollision sequence (Inventory). This block is not accessible by the user in RF device
operation and its value is written by ST on the production line.
The M24LR04E-R also includes an AFI register in which the application family identifier is
stored, and a DSFID register in which the data storage family identifier used in the
anticollision algorithm is stored.
The M24LR04E-R has three 32-bit blocks in which the password codes are stored and a 8-
bit Configuration byte in which the Energy harvesting mode and RF WIP/BUSY pin
configuration is stored.
7.2 Commands
The M24LR04E-R supports the following commands:
• Inventory, used to perform the anticollision sequence.
• Stay quiet, used to put the M24LR04E-R in quiet mode, where it does not respond to
any inventory command.
• Select, used to select the M24LR04E-R. After this command, the M24LR04E-R
processes all Read/Write commands with Select_flag set.
• Reset to ready, used to put the M24LR04E-R in the ready state.
• Read block, used to output the 32 bits of the selected block and its locking status.
• Write block, used to write the 32-bit value in the selected block, provided that it is not
locked.
• Read multiple blocks, used to read the selected blocks and send back their value.
• Write AFI, used to write the 8-bit value in the AFI register.
• Lock AFI, used to lock the AFI register.
• Write DSFID, used to write the 8-bit value in the DSFID register.
• Lock DSFID, used to lock the DSFID register.
• Get system info, used to provide the system information value
• Get multiple block security status, used to send the security status of the selected
block.
• Initiate, used to trigger the tag response to the Inventory initiated sequence.
• Inventory initiated, used to perform the anticollision sequence triggered by the Initiate
command.
• Write-sector password, used to write the 32 bits of the selected password.
• Lock-sector, used to write the sector security status bits of the selected sector.
• Present-sector password, enables the user to present a password to unprotect the
user blocks linked to this password.
• Fast initiate, used to trigger the tag response to the Inventory initiated sequence.
• Fast inventory initiated, used to perform the anticollision sequence triggered by the
Initiate command.
• Fast read single block, used to output the 32 bits of the selected block and its locking
status.
• Fast read multiple blocks, used to read the selected blocks and send back their
value.
• ReadCfg, used to read the 8-bit Configuration byte and send back its value.
• WriteEHCfg, used to write the energy harvesting configuration bits into the
Configuration byte.
• WriteDOCfg, used to write the RF WIP/BUSY pin configuration bit into the
Configuration byte.
• SetRstEHEn, used to set or reset the EH_enable bit into the volatile Control register.
• CheckEHEn, used to send back the value of the volatile Control register.
7.3.2 Frequency
The ISO 15693 standard defines the carrier frequency (fC) of the operating field as
13.56 MHz ±7 kHz.
Communications between the VCD and the M24LR04E-R takes place using the modulation
principle of ASK (Amplitude shift keying). Two modulation indexes are used, 10% and
100%. The M24LR04E-R decodes both. The VCD determines which index is used.
The modulation index is defined as [a – b] / [a + b], where a and b are, respectively the peak
signal amplitude and the minimum signal amplitude of the carrier frequency.
Depending on the choice made by the VCD, a “pause” is created as shown in Figure 14 and
Figure 15.
The M24LR04E-R is operational for the 100% modulation index or for any degree of
modulation index between 10% and 30% (see Table 124).
D
ƚϮ
0LQ 0D[
W V V
W V W
E
W V V
W
W V V
7KHFORFNUHFRYHU\VKDOOEHRSHUDWLRQDODIWHUWPD[ 069
hr 0.1 x (a – b) max
hf 0.1 x (a – b) max
0LQ 0D[
W V V
\ DE
W V W
KIKU DE PD[
W V
0RGXODWLRQLQGH[
7KH9,&&VKDOOEHRSHUDWLRQDOIRUDQ\YDOXHRIPRGXODWLRQLQGH[EHWZHHQDQG
069
The data coding implemented in the M24LR04E-R uses pulse position modulation. Both
data coding modes that are described in the ISO15693 are supported by the M24LR04E-R.
The selection is made by the VCD and indicated to the M24LR04E-R within the start of
frame (SOF).
S
0ULSE
S
-ODULATED
#ARRIER
MS
!)
S
S
0ULSE
-ODULATED
#ARRIER
4IME 0ERIOD
ONE OF !)
S S
S
0ULSE POSITION FOR ,3"
S S
S
0ULSE POSITION FOR ,3"
S S
S S
S
!)
The M24LR04E-R has several modes defined for some parameters, owing to which it can
operate in various noise environments and meet various application requirements.
10.2 Subcarrier
The M24LR04E-R supports the one-subcarrier and two-subcarrier response formats. These
formats are selected by the VCD using the first bit in the protocol header. When one
subcarrier is used, the frequency fS1 of the subcarrier load modulation is 423.75 kHz (fC/32).
When two subcarriers are used, the frequency fS1 is 423.75 kHz (fC/32), and frequency fS2
is 484.28 kHz (fC/28). When using the two-subcarrier mode, the M24LR04E-R generates a
continuous phase relationship between fS1 and fS2.
Data bits are encoded using Manchester coding, according to the following schemes. For
the low data rate, same subcarrier frequency or frequencies is/are used. In this case, the
number of pulses is multiplied by four and all times increase by this factor. For the Fast
commands using one subcarrier, all pulse numbers and times are divided by 2.
S
AI
For the fast commands, a logic 0 starts with four pulses at 423.75 kHz (fC/32) followed by an
unmodulated time of 9.44 µs, as shown in Figure 24.
S
AI
A logic 1 starts with an unmodulated time of 18.88 µs followed by eight pulses at 423.75 kHz
(fC/32), as shown in Figure 25.
S
AI
For the Fast commands, a logic 1 starts with an unmodulated time of 9.44 µs followed by
four pulses of 423.75 kHz (fC/32), as shown in Figure 26.
S
AI
S
AI
For the Fast commands, a logic 0 starts with 16 pulses at 423.75 kHz (fC/32) followed by an
unmodulated time of 37.76 µs, as shown in Figure 28.
S
AI
A logic 1 starts with an unmodulated time of 75.52 µs followed by 32 pulses at 423.75 kHz
(fC/32), as shown in Figure 29.
S
AI
For the Fast commands, a logic 1 starts with an unmodulated time of 37.76 µs followed by
16 pulses at 423.75 kHz (fC/32), as shown in Figure 30.
S
AI
ϯϳ͘ϰϲђƐ
ĂŝϭϮϬϳϰ
A logic 1 starts with nine pulses at 484.28 kHz (fC/28) followed by eight pulses at
423.75 kHz (fC/32), as shown in Figure 32. Bit coding using two subcarriers is not supported
for the Fast commands.
ϯϳ͘ϰϲђƐ
ĂŝϭϮϬϳϯ
A logic 1 starts with 36 pulses at 484.28 kHz (fC/28) followed by 32 pulses at 423.75 kHz
(fC/32) as shown in Figure 34. Bit coding using two subcarriers is not supported for the Fast
commands.
Frames are delimited by an SOF and an EOF. They are implemented using code violation.
Unused options are reserved for future use. For the low data rate, the same subcarrier
frequency or frequencies is/are used. In this case, the number of pulses is multiplied by 4.
For the Fast commands using one subcarrier, all pulse numbers and times are divided by 2.
For the Fast commands, the SOF comprises an unmodulated time of 28.32 µs, followed by
12 pulses at 423.75 kHz (fC/32), and a logic 1 that consists of an unmodulated time of
9.44 µs followed by four pulses at 423.75 kHz, as shown in Figure 36.
Figure 36. Start of frame, high data rate, one subcarrier, fast commands
ϱϲ͘ϲϰђƐ ϭϴ͘ϴϴђƐ
ĂŝϭϮϬϳϵ
ϰϱϯ͘ϭϮђƐ ϭϱϭ͘ϬϰђƐ
ĂŝϭϮϬϴϬď
For the Fast commands, the SOF comprises an unmodulated time of 113.28 µs, followed by
48 pulses at 423.75 kHz (fC/32), and a logic 1 that includes an unmodulated time of 37.76
µs followed by 16 pulses at 423.75 kHz, as shown in Figure 38.
Figure 38. Start of frame, low data rate, one subcarrier, fast commands
ϭϭϮ͘ϯϵђƐ ϯϳ͘ϰϲђƐ
ĂŝϭϮϬϴϮ
ϰϰϵ͘ϱϲђƐ ϭϰϵ͘ϴϰђƐ
ĂŝϭϮϬϴϯ
For the Fast commands, the EOF comprises a logic 0 that includes four pulses at
423.75 kHz and an unmodulated time of 9.44 µs, followed by 12 pulses at 423.75 kHz
(fC/32) and an unmodulated time of 37.76 µs, as shown in Figure 42.
Figure 42. End of frame, high data rate, one subcarrier, fast commands
V V
069
For the Fast commands, the EOF comprises a logic 0 that includes 16 pulses at 423.75 kHz
and an unmodulated time of 37.76 µs, followed by 48 pulses at 423.75 kHz (fC/32) and an
unmodulated time of 113.28 µs, as shown in Figure 44.
Figure 44. End of frame, low data rate, one subcarrier, Fast commands
V V
069
V V
069
ϭϰϵ͘ϴϰђƐ ϰϰϵ͘ϱϲђƐ
ĂŝϭϮϬϴϵ
The M24LR04E-R is uniquely identified by a 64-bit unique identifier (UID). This UID
complies with ISO/IEC 15963 and ISO/IEC 7816-6. The UID is a read-only code and
comprises:
• eight MSBs with a value of E0h,
• the IC manufacturer code “ST 02h” on 8 bits (ISO/IEC 7816-6/AM1),
• a unique serial number on 48 bits.
63 56 55 48 47 0
With the UID, each M24LR04E-R can be addressed uniquely and individually during the
anticollision loop and for one-to-one exchanges between a VCD and an M24LR04E-R.
The AFI (application family identifier) represents the type of application targeted by the VCD
and is used to identify, among all the M24LR04E-Rs present, only the M24LR04E-Rs that
meet the required application criteria.
,QYHQWRU\UHTXHVWUHFHLYHG
1R
$),IODJVHW"
<HV
1R
$),YDOXH "
<HV $),YDOXH 1R
,QWHUQDOYDOXH"
<HV
$QVZHUJLYHQE\WKH0/5(5
1RDQVZHU
WRWKH,QYHQWRU\UHTXHVW
069
The AFI is programmed by the M24LR04E-R issuer (or purchaser) in the AFI register. Once
programmed and locked, it cannot be modified any longer.
The most significant nibble of the AFI is used to code one specific or all application families.
The least significant nibble of the AFI is used to code one specific or all application
subfamilies. Subfamily codes different from 0 are proprietary.
See ISO 15693-3 documentation.
The data storage format identifier indicates how the data is structured in the M24LR04E-R
memory. The logical organization of data can be known instantly using the DSFID. It can be
programmed and locked using the Write DSFID and Lock DSFID commands.
15.1 CRC
The CRC used in the M24LR04E-R is calculated as per the definition in ISO/IEC 13239. The
initial register contents are all ones: “FFFF”.
The two-byte CRC is appended to each request and response, within each frame, before
the EOF. The CRC is calculated on all the bytes after the SOF up to the CRC field.
Upon reception of a request from the VCD, the M24LR04E-R verifies that the CRC value is
valid. If it is invalid, the M24LR04E-R discards the frame and does not answer to the VCD.
Upon reception of a response from the M24LR04E-R, it is recommended that the VCD
verifies whether the CRC value is valid. If it is invalid, actions to be performed are left to the
discretion of the VCD designer.
The CRC is transmitted least significant byte first. Each byte is transmitted least significant
bit first.
The transmission protocol (or simply “the protocol”) defines the mechanism used to
exchange instructions and data between the VCD and the M24LR04E-R in both directions.
It is based on the concept of “VCD talks first”.
This means that an M24LR04E-R does not start transmitting unless it has received and
properly decoded an instruction sent by the VCD. The protocol is based on an exchange of:
• a request from the VCD to the M24LR04E-R,
• a response from the M24LR04E-R to the VCD.
Each request and each response are contained in a frame. The frame delimiters (SOF,
EOF) are described in Section 12: M24LR04E-R to VCD frames.
Each request consists of:
• a request SOF (see Figure 20 and Figure 21),
• flags,
• a command code,
• parameters depending on the command,
• application data,
• a 2-byte CRC,
• a request EOF (see Figure 22).
Each response consists of:
• an answer SOF (see Figure 35 to Figure 40),
• flags,
• parameters depending on the command,
• application data,
• a 2-byte CRC,
• an answer EOF (see Figure 41 to Figure 46).
The protocol is bit-oriented. The number of bits transmitted in a frame is a multiple of eight
(8), that is an integer number of bytes.
A single-byte field is transmitted least significant bit (LSBit) first. A multiple-byte field is
transmitted least significant byte (LSByte) first and each byte is transmitted least significant
bit (LSBit) first.
The setting of the flags indicates the presence of the optional fields. When the flag is set (to
one), the field is present. When the flag is reset (to zero), the field is absent.
Request Request
VCD frame frame
(Table 23) (Table 23)
Response Response
M24LR04E-R frame frame
(Table 24) (Table 24)
17 M24LR04E-R states
3RZHURII
,QILHOG
2XW RI ILHOG
DIWHUW
5)B2))
$Q\RWKHU&RPPDQG
5HDG\ ZKHUH6HOHFWB)ODJ
LVQRWVHW
2XWRI5)ILHOG
DIWHUW5)B2))
'
6H
DIWHUW 5)B2))
OH
LHW
FW
X
5H HOH HFW
8
T
6 HO
VH FWB GLII
D\
,'
\
6
DG
WW )O HU
6W
R DJ HQ
UH
UH LV W
R
DG V 8,
WW
\ HW '
VH
ZK R
5H
HU U
H
6HOHFW 8,'
4XLHW
6WD\TXLHW 8,' 6HOHFWHG
$Q\RWKHUFRPPDQGZKHUHWKH
$GGUHVVB)ODJLVVHW$1' $Q\RWKHUFRPPDQG
ZKHUH,QYHQWRU\B)ODJLVQRWVHW
$,E
1. The M24LR04E-R returns to the Power Off state if the tag is out of the RF field for at least tRF_OFF. Refer to
application note AN4125 for more information.
2. The intention of the state transition method is that only one M24LR04E-R should be in the Selected state at
any given time.
18 Modes
The term “mode” refers to the mechanism used in a request to specify the set of
M24LR04E-Rs that answers the request.
19 Request format
20 Response format
0 No error
Bit 1 Error_flag
1 Error detected. Error code is in the “Error” field.
Bit 2 RFU 0 -
Bit 3 RFU 0 -
Bit 4 Extension flag 0 No extension
Bit 5 RFU 0 -
Bit 6 RFU 0 -
Bit 7 RFU 0 -
Bit 8 RFU 0 -
21 Anticollision
The purpose of the anticollision sequence is to inventory the M24LR04E-Rs present in the
VCD field using their unique ID (UID).
The VCD is the master of communications with one or several M24LR04E-Rs. It initiates
M24LR04E-R communication by issuing the Inventory request.
The M24LR04E-R sends its response in the determined slot or does not respond.
In the example provided in Table 34 and Figure 50, the mask length is 11 bits. Five 0-bits
are added to the mask value MSB. The 11-bit mask and the current slot number are
compared to the UID.
Figure 50. Principle of comparison between the mask, the slot number and the UID
-3" ,3"
-ASK VALUE RECEIVED IN THE )NVENTORY COMMAND B BITS
-3" ,3"
4HE -ASK VALUE LESS THE PADDING S IS LOADED B BITS
INTO THE 4AG COMPARATOR
B 5)$ B
4HE CONCATENATED RESULT IS COMPARED WITH XXXX XXXX XXXX XXXX X XXX XXXX XXXX XXXX B BITS
THE LEAST SIGNIFICANT BITS OF THE 4A G 5)$
"ITS IGNORED #OMPARE
!)
Upon reception of a valid request, the M24LR04E-R performs the following algorithm:
• NbS is the total number of slots (1 or 16)
• SN is the current slot number (0 to 15)
• LSB (value, n) function returns the n Less Significant Bits of value
• MSB (value, n) function returns the n Most Significant Bits of value
• “&” is the concatenation operator
• Slot_Frame is either an SOF or an EOF
SN = 0
if (Nb_slots_flag)
then NbS = 1
SN_length = 0
endif
else NbS = 16
SN_length = 4
endif
label1:
if LSB(UID, SN_length + Mask_length) =
LSB(SN,SN_length)&LSB(Mask,Mask_length)
then answer to inventory request
endif
wait (Slot_Frame)
if Slot_Frame = SOF
then Stop Anticollision
decode/process request
exit
endif
if Slot_Frame = EOF
if SN < NbS-1
then SN = SN + 1
goto label1
exit
endif
endif
Figure 51 summarizes the main possible cases that can occur during an anticollision
sequence when the number of slots is 16.
The sequence of steps is as follows:
• The VCD sends an Inventory request, in a frame terminated by an EOF. The number of
slots is 16.
• M24LR04E-R_1 transmits its response in Slot 0. It is the only one to do so, therefore no
collision occurs and its UID is received and registered by the VCD.
• The VCD sends an EOF in order to switch to the next slot.
• In Slot 1, two M24LR04E-Rs, M24LR04E-R_2 and M24LR04E-R_3 transmit a
response, thus generating a collision. The VCD records the event and registers that a
collision was detected in Slot 1.
• The VCD sends an EOF in order to switch to the next slot.
• In Slot 2, no M24LR04E-R transmits a response. Therefore the VCD does not detect
any M24LR04E-R SOF and switches to the next slot by sending an EOF.
• In Slot 3, another collision occurs due to responses from M24LR04E-R_4 and
M24LR04E-R_5.
• The VCD sends a request (for instance a Read Block) to M24LR04E-R_1 whose UID
has already been correctly received.
• All M24LR04E-Rs detect an SOF and exit the anticollision sequence. They process this
request and since the request is addressed to M24LR04E-R_1, only M24LR04E-R_1
transmits a response.
• All M24LR04E-Rs are ready to receive another request. If it is an Inventory command,
the slot numbering sequence restarts from 0.
Note: The decision to interrupt the anticollision sequence is made by the VCD. It could have
continued to send EOFs until Slot 16 and only then sent the request to M24LR04E-R.
6 ( ( ( ( 6 (
,QYHQWRU\ 5HTXHVWWR
9&' 2 2 2 2 2 2 2
5HTXHVW -,2% 2?
) ) ) ) ) ) )
5HVSRQVH 5HVSRQVH
5HVSRQVHIURP
0/5(5V -,2% 2?
DocID022208 Rev 11
7LPLQJ W W W W W W W
1R 1R
&RPPHQW &ROOLVLRQ &ROOLVLRQ
FROOLVLRQ UHVSRQVH
7LPH
069
M24LR04E-R
M24LR04E-R Inventory Initiated command
The M24LR04E-R provides a special feature to improve the inventory time response of
moving tags using the Initiate_flag value. This flag, controlled by the Initiate command,
allows tags to answer to Inventory Initiated commands.
For applications in which multiple tags are moving in front of a reader, it is possible to miss
tags using the standard inventory command. The reason is that the inventory sequence has
to be performed on a global tree search. For example, a tag with a particular UID value may
have to wait the run of a long tree search before being inventoried. If the delay is too long,
the tag may be out of the field before it has been detected.
Using the Initiate command, the inventory sequence is optimized. When multiple tags are
moving in front of a reader, the ones which are within the reader field are initiated by the
Initiate command. In this case, a small batch of tags answers to the Inventory Initiated
command, which optimizes the time necessary to identify all the tags. When finished, the
reader has to issue a new Initiate command in order to initiate a new small batch of tags
which are new inside the reader field.
It is also possible to reduce the inventory sequence time using the Fast Initiate and Fast
Inventory Initiated commands. These commands allow the M24LR04E-Rs to increase their
response data rate by a factor of 2, up to 53 Kbit/s.
25 Timing definition
26 Command codes
The M24LR04E-R supports the commands described in this section. Their codes are given
in Table 36.
26.1 Inventory
When receiving the Inventory request, the M24LR04E-R runs the anticollision sequence.
The Inventory_flag is set to 1. The meaning of flags 5 to 8 is shown in Table 29.
The request contains:
• the flags,
• the Inventory command code (see Table 36),
• the AFI if the AFI flag is set,
• the mask length,
• the mask value,
• the CRC.
The M24LR04E-R does not generate any answer in case of error.
During an Inventory process, if the VCD does not receive an RF M24LR04E-R response, it
waits for a time t3 before sending an EOF to switch to the next slot. t3 starts from the rising
edge of the request EOF sent by the VCD.
• If the VCD sends a 100% modulated EOF, the minimum value of t3 is:
t3min = 4384/fC (323.3µs) + tSOF
• If the VCD sends a 10% modulated EOF, the minimum value of t3 is:
t3min = 4384/fC (323.3µs) + tNRT
where:
• tSOF is the time required by the M24LR04E-R to transmit an SOF to the VCD,
• tNRT is the nominal response time of the M24LR04E-R.
tNRT and tSOF are dependent on the M24LR04E-R-to-VCD data rate and subcarrier
modulation mode.
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF
starting the inventory command to the end of the M24LR04E-R response. If the M24LR04E-
R does not receive the corresponding slot marker, the RF WIP/BUSY pin remains at 0 until
the next RF power-off.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
6ORW 6ORWQ
6 ,QYHQWRU\ ( ( ( (
2 2 2 2 2
FRPPDQG 6 (
) ) ) ) ) ,UHSO\
2 2
0/5(5
) )
5)B%XV\
6ORWQQHYHURFFXUV5)B%XV\LVRQO\UHOHDVHGE\3RZHURII
5)B%XV\
9&'VHQGVD9DOLGFRPPDQGEHIRUHVORWQ5)B%XV\LVUHOHDVHGDIWHU0/5(5UHVSRQVH
6ORW
6 ,QYHQWRU\ ( ( 6 ,1HZ (
2 2 2 2 2
FRPPDQG FRPPDQG ) 6 ,UHSO\ (
) ) ) )
2 2
0/5(5
) )
5)B%XV\
6ORW
6 ,QYHQWRU\ ( ( 6 ,%DG (
2 2 2 2 2
FRPPDQG FRPPDQG
) ) ) ) )
5)B%XV\
069
The Stay Quiet command must always be executed in Addressed mode (Select_flag is reset
to 0 and Address_flag is set to 1).
Figure 53. Stay Quiet frame exchange between VCD and M24LR04E-R
Stay Quiet
VCD SOF EOF
request
M24LR04E-R
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 during the Stay
Quiet command.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Request parameters:
• Request flags
• UID (optional)
• Block number
Table 41. Read Single Block response format when Error_flag is NOT set
Sector
Response Response
Response_flags security Data CRC16
SOF EOF
status(1)
Response parameters:
• Sector security status if Option_flag is set (see Table 42)
• Four bytes of block data
Reserved for future Password Read / Write 0: Current sector not locked
use. All at 0. control bits protection bits 1: Current sector locked
Table 43. Read Single Block response format when Error_flag is set
Response Response_ Response
Error code CRC16
SOF flags EOF
Response parameter:
• Error code as Error_flag is set
– 10h: the specified block is not available
– 15h: the specified block is read-protected
Figure 54. Read Single Block frame exchange between VCD and M24LR04E-R
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Read Single Block command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Request parameters:
• Request flags
• UID (optional)
• Block number
• Data
Table 45. Write Single Block response format when Error_flag is NOT set
Response SOF Response_flags CRC16 Response EOF
- 8 bits 16 bits -
Response parameter:
• No parameter. The response is send back after the writing cycle.
Table 46. Write Single Block response format when Error_flag is set
Response Response_ Response
Error code CRC16
SOF flags EOF
Response parameter:
• Error code as Error_flag is set:
– 0Fh: error with no information given
– 10h: the specified block is not available
– 12h: the specified block is locked and its contents cannot be changed
– 13h: the specified block was not successfully programmed
Figure 55. Write Single Block frame exchange between VCD and M24LR04E-R
Write Single
VCD SOF EOF
Block request
Write Single Write sequence when
M24LR04E-R <-t1-> SOF EOF
Block response error
Write Single
M24LR04E-R <------------------- Wt ---------------> SOF EOF
Block response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Write Single Block command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
duration of the internal write cycle (from the end of a valid write single block command to the
beginning of the M24LR04E-R response).
:W
6 :ULWH (
2 2
FRPPDQG 6 (
) ) ,UHSO\
2 2
0/5(5
) )
5)B%XV\
0/5(5UHSOLHVZKHQ2SWLRQIODJLVVHW5)B%XV\LVUHOHDVHGDIWHU0/5(5UHVSRQVH
:W
6 :ULWH ( (
2 2 2 W 6 ,UHSO\ (
FRPPDQG
) ) ) 2 2
0/5(5
) )
5)B%XV\
9&'VHQGVDIRUELGGHQ:ULWH
VHFWRUORFNSDVVZRUGSURWHFWHG 5)B%XV\LVUHOHDVHGDIWHU0/5(5FRPPDQG
W
6 :ULWH (
2 2
FRPPDQG 6 ,UHSO\ (
) )
2 2
0/5(5
) )
5)B%XV\
069
When configuring in the RF Write in progress mode, the RF WIP/BUSY pin is tied to 0
during the Write & verify sequence, as shown in Figure 57.
0/5(5UHSOLHV5)B:LSLVUHOHDVHGDIWHU0/5(5UHVSRQVH
:W
6 :ULWH (
2 2
FRPPDQG 6 (
) ) ,UHSO\
2 2
0/5(5
) )
5)B:LS
0/5(5UHSOLHVZKHQ2SWLRQIODJLVVHW5)B:LSLVUHOHDVHGDIWHU0/5(5UHVSRQVH
:W
6 :ULWH ( (
2 2 2 W 6 ,UHSO\ (
FRPPDQG
) ) ) 2 2
0/5(5
) )
5)B:LS
9&'VHQGVDIRUELGGHQ:ULWH
VHFWRUORFNSDVVZRUGSURWHFWHG 5)B:LSUHPDLQVDWDKLJKLPSHGDQFH
W
6 :ULWH (
2 2
FRPPDQG 6 ,UHSO\ (
) )
2 2
0/5(5
) )
5)B:LS
069
Request parameters:
• Request flags
• UID (optional)
• First block number
• Number of blocks
Table 48. Read Multiple Block response format when Error_flag is NOT set
Sector
Response Response_ Response
security Data CRC16
SOF flags EOF
status(1)
Response parameters:
• Sector security status if Option_flag is set (see Table 49)
• N blocks of data
Table 50. Read Multiple Block response format when Error_flag is set
Response SOF Response_flags Error code CRC16 Response EOF
Response parameter:
• Error code as Error_flag is set:
– 0Fh: error with no information given
– 10h: the specified block is not available
– 15h: the specified block is read-protected
Figure 58. Read Multiple Block frame exchange between VCD and M24LR04E-R
Read Multiple
VCD SOF EOF
Block request
Read Multiple
M24LR04E-R <-t1-> SOF EOF
Block response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Read Multiple Block command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
26.6 Select
When receiving the Select command:
• If the UID is equal to its own UID, the M24LR04E-R enters or stays in the Selected
state and sends a response.
• If the UID does not match its own, the selected M24LR04E-R returns to the Ready
state and does not send a response.
The M24LR04E-R answers an error code only if the UID is equal to its own UID. If not, no
response is generated. If an error occurs, the M24LR04E-R remains in its current state.
Request parameter:
• UID
Table 52. Select Block response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• No parameter
Response parameter:
• Error code as Error_flag is set:
– 03h: the option is not supported
Select
VCD SOF EOF
request
Select
M24LR04E-R <-t1-> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Select command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Request parameter:
• UID (optional)
Table 55. Reset to Ready response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• No parameter
Response parameter:
• Error code as Error_flag is set:
– 03h: the option is not supported
Figure 60. Reset to Ready frame exchange between VCD and M24LR04E-R
Reset to
VCD SOF Ready EOF
request
Reset to
M24LR04E-R <-t1-> SOF Ready EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Reset to ready command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Request parameter:
• Request flags
• UID (optional)
• AFI
Table 58. Write AFI response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• No parameter
Response parameter:
• Error code as Error_flag is set
– 12h: the specified block is locked and its contents cannot be changed
– 13h: the specified block was not successfully programmed
Figure 61. Write AFI frame exchange between VCD and M24LR04E-R
Write AFI
VCD SOF EOF
request
Write AFI Write sequence
M24LR04E-R <-t1-> SOF EOF
response when error
Write AFI
M24LR04E-R <------------------ Wt --------------> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Write AFI command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
duration of the internal write cycle (from the end of a valid Write AFI command to the
beginning of the M24LR04E-R response).
Request parameter:
• Request Flags
• UID (optional)
Table 61. Lock AFI response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• No parameter
Response parameter:
• Error code as Error_flag is set
– 11h: the specified block is already locked and thus cannot be locked again
– 14h: the specified block was not successfully locked
Figure 62. Lock AFI frame exchange between VCD and M24LR04E-R
Lock AFI
VCD SOF EOF
request
Lock AFI Lock sequence
M24LR04E-R <-t1-> SOF EOF
response when error
Lock AFI
M24LR04E-R <----------------- Wt -----------> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Lock AFI command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
entire duration of the internal write cycle (from the end of valid Lock AFI command to the
beginning of the M24LR04E-R response).
Request parameter:
• Request flags
• UID (optional)
• DSFID
Table 64. Write DSFID response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• No parameter
Response parameter:
• Error code as Error_flag is set
– 12h: the specified block is locked and its contents cannot be changed
– 13h: the specified block was not successfully programmed
Figure 63. Write DSFID frame exchange between VCD and M24LR04E-R
Write DSFID EO
VCD SOF
request F
SO Write DSFID EO Write sequence
M24LR04E-R <-t1->
F response F when error
SO Write DSFID
M24LR04E-R <---------------- Wt ----------> EOF
F response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Write DSFID command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
duration of the internal write cycle (from the end of a valid Write DSFID command to
beginning of the M24LR04E-R response).
Request parameter:
• Request flags
• UID (optional)
Table 67. Lock DSFID response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• No parameter.
Response parameter:
• Error code as Error_flag is set:
– 11h: the specified block is already locked and thus cannot be locked again
– 14h: the specified block was not successfully locked
.
Figure 64. Lock DSFID frame exchange between VCD and M24LR04E-R
Lock
VCD SOF DSFID EOF
request
Lock DSFID Lock sequence
M24LR04E-R <-t1-> SOF EOF
response when error
Lock
M24LR04E-R <----------------- Wt ------------> SOF DSFID EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Lock DSFID command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
duration of the internal write cycle (from the end of a valid Lock DSFID command to the
beginning of the M24LR04E-R response).
Request parameter:
• Request flags
• UID (optional)
Table 70. Get System Info response format when Protocol_extension_flag = 0 and
Error_flag is NOT set
Response Response Information Memory IC CRC Response
UID DSFID AFI
SOF _flags flags size ref. 16 EOF
64 16
- 00h 0Fh 8 bits 8 bits 037F 5A -
bits bits
Response parameters:
• Information flags set to 0Fh. DSFID, AFI, Memory Size and IC reference fields are
present.
• UID code on 64 bits
• DSFID value
• AFI value
• Memory size. The M24LR04E-R provides 128 blocks (7Fh) of four bytes (03h)
• IC reference: the 8 bits are significant.
Table 71. Get System Info response format when Error_flag is set
Response Response
Response_flags Error code CRC16
SOF EOF
Response parameter:
• Error code as Error_flag is set:
– 03h: Option not supported
Figure 65. Get System Info frame exchange between VCD and M24LR04E-R
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Get System Info command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Request parameter:
• Request flags
• UID (optional)
• First block number
• Number of blocks
Table 73. Get Multiple Block Security Status response format when Error_flag is NOT
set
Response Response_ Sector security Response
CRC16
SOF flags status EOF
Response parameters:
• Sector security status (see Table 74)
Reserved for future use. Password control Read / Write 0: Current sector not locked
All at 0. bits protection bits 1: Current sector locked
Table 75. Get Multiple Block Security Status response format when Error_flag is set
Response Response_ Response
Error code CRC16
SOF flags EOF
Response parameter:
• Error code as Error_flag is set:
– 03h: the option is not supported
– 10h: the specified block is not available
Figure 66. Get Multiple Block Security Status frame exchange between VCD and
M24LR04E-R
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Get Multiple Block Security Status command to the end of the M24LR04E-R
response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Request parameter:
• Request flags
• UID (optional)
• Password number (01h = Pswd1, 02h = Pswd2, 03h = Pswd3, other = Error)
• Data
Table 77. Write-sector Password response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• no parameter.
Response parameter:
• Error code as Error_flag is set:
– 10h: the password number is incorrect
– 12h: the session was not opened before the password update
– 13h: the specified block was not successfully programmed
– 0Fh: the presented password is incorrect
Figure 67. Write-sector Password frame exchange between VCD and M24LR04E-R
Write-
sector
VCD SOF EOF
Password
request
Write-sector
Write sequence
M24LR04E-R <-t1-> SOF Password EOF
when error
response
Write-
sector
M24LR04E-R <---------------- Wt -------------> SOF EOF
Password
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Write-sector Password command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
duration of the internal write cycle (from the end of a valid Write sector password command
to the beginning of the M24LR04E-R response).
26.15 Lock-sector
On receiving the Lock-sector command, the M24LR04E-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 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 command as all the blocks belonging to the same sector are automatically locked by
a single command.
The Protocol_extension_flag should be set to 0 for the M24LR04E-R to operate correctly.
During the RF write cycle Wt, there should be no modulation (neither 100% nor 10%),
otherwise, the M24LR04E-R may not correctly lock the memory block. The Wt time is equal
to t1nom + 18 × 302 µs.
Request parameters:
• Request flags
• (optional) UID
• Sector number
• Sector security status (refer to Table 80)
- 8 bits 16 bits -
Response parameter:
• No parameter
Response parameter:
• Error code as Error_flag is set:
– 10h: the specified block is not available
– 11h: the specified block is already locked and thus cannot be locked again
– 14h: the specified block was not successfully locked
Lock-sector
VCD SOF EOF
request
Lock-sector Lock sequence when
M24LR04E-R <-t1-> SOF EOF
response error
Lock-sector
M24LR04E-R <--------------- Wt -----------> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Lock-sector command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
duration of the internal write cycle (from the end of a valid Lock sector command to the
beginning of the M24LR04E-R response).
Request parameter:
• Request flags
• UID (optional)
• Password Number (0x01 = Pswd1, 0x02 = Pswd2, 0x03 = Pswd3, other = Error)
• Password
Table 84. Present-sector Password response format when Error_flag is NOT set
Response Response
Response_flags CRC16
SOF EOF
- 8 bits 16 bits -
Response parameter:
• No parameter. The response is send back after the write cycle.
Response parameter:
• Error code as Error_flag is set:
– 10h: the password number is incorrect
– 0Fh: the present password is incorrect
Figure 69. Present-sector Password frame exchange between VCD and M24LR04E-R
Present-
sector
password
VCD SOF response EOF
OR error
0F (bad
password)
Present-sector
sequence when
M24LR04E-R <-t1-> SOF password EOF
error
response
Present-
sector
M24LR04E-R <---------------- Wt ------------> SOF EOF
password
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Present Sector Password command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY remains in high-Z
state.
Request parameters:
• Request flags
• UID (optional)
• Block number
Table 87. Fast Read Single Block response format when Error_flag is NOT set
Sector
Response Response Response
security Data CRC16
SOF _flags EOF
status(1)
Response parameters:
• Sector security status if Option_flag is set (see Table 88)
• Four bytes of block data
Reserved for future used. Password control Read / Write 0: Current sector not locked
All at 0. bits protection bits 1: Current sector locked
Table 89. Fast Read Single Block response format when Error_flag is set
Response Response
Response_flags Error code CRC16
SOF EOF
Response parameter:
• Error code as Error_flag is set:
– 10h: the specified block is not available
– 15h: the specified block is read protected
Figure 70. Fast Read Single Block frame exchange between VCD and M24LR04E-R
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Fast Read Single block command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
During an Inventory process, if the VCD does not receive an RF M24LR04E-R response, it
waits for a time t3 before sending an EOF to switch to the next slot. t3 starts from the rising
edge of the request EOF sent by the VCD.
• If the VCD sends a 100% modulated EOF, the minimum value of t3 is:
t3min = 4384/fC (323.3µs) + tSOF
• If the VCD sends a 10% modulated EOF, the minimum value of t3 is:
t3min = 4384/fC (323.3µs) + tNRT
where:
• tSOF is the time required by the M24LR04E-R to transmit an SOF to the VCD
• tNRT is the nominal response time of the M24LR04E-R
tNRT and tSOF are dependent on the M24LR04E-R-to-VCD data rate and subcarrier
modulation mode.
When configured in the RF busy mode, the RF WIP/BUSY pin is driven to 0 from the SOF
starting the inventory command to the end of the M24LR04E-R response.If the M24LR04E-
R does not receive the corresponding slot marker, the RF WIP/BUSY pin remains at 0 till the
next RF power-off.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Figure 71. Fast Initiate frame exchange between VCD and M24LR04E-R
Fast Initiate
VCD SOF EOF
request
Fast Initiate
M24LR04E-R <-t1-> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Fast Initiate command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
Request parameters:
• Request flag
• UID (Optional)
• First block number
• Number of blocks
Table 95. Fast Read Multiple Block response format when Error_flag is NOT set
Sector
Response Response_ Response
security Data CRC16
SOF flags EOF
status(1)
Response parameters:
• Sector security status if Option_flag is set (see Table 96)
• N block of data
Table 97. Fast Read Multiple Block response format when Error_flag is set
Response SOF Response_flags Error code CRC16 Response EOF
Response parameter:
• Error code as Error_flag is set:
– 03h: the option is not supported
– 10h: block address not available
– 15h: block read-protected
Figure 72. Fast Read Multiple Block frame exchange between VCD and M24LR04E-R
Fast Read
VCD SOF Multiple Block EOF
request
Fast Read
M24LR04E-R <-t1-> SOF Multiple Block EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Fast Read Multiple Block command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
During an Inventory process, if the VCD does not receive an RF M24LR04E-R response, it
waits for a time t3 before sending an EOF to switch to the next slot. t3 starts from the rising
edge of the request EOF sent by the VCD.
• If the VCD sends a 100% modulated EOF, the minimum value of t3 is:
t3min = 4384/fC (323.3µs) + tSOF
• If the VCD sends a 10% modulated EOF, the minimum value of t3 is:
t3min = 4384/fC (323.3µs) + tNRT
where:
• tSOF is the time required by the M24LR04E-R to transmit an SOF to the VCD
• tNRT is the nominal response time of the M24LR04E-R
tNRT and tSOF are dependent on the M24LR04E-R-to-VCD data rate and subcarrier
modulation mode.
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF
starting the inventory command to the end of the M24LR04E-R response. If the M24LR04E-
R does not receive the corresponding slot marker, the RF WIP/BUSY pin remains at 0 till the
next RF power-off.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
26.22 Initiate
On receiving the Initiate command, the M24LR04E-R sets the internal Initiate_flag and
sends back a response only if it is in the ready state. The command has to be issued in the
Non Addressed mode only (Select_flag is reset to 0 and Address_flag is reset to 0). If an
error occurs, the M24LR04E-R does not generate any answer. The Initiate_flag is reset after
a power-off of the M24LR04E-R.
The request contains:
• No data
Initiate
VCD SOF EOF
request
Initiate
M24LR04E-R <-t1-> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the Initiate command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
26.23 ReadCfg
On receiving the ReadCfg command, the M24LR04E-R reads the Configuration byte and
sends back its 8-bit value in the response.
The Protocol_extension_flag should be set to 0 for the M24LR04E-R to operate correctly. If
the Protocol_extension_flag is at 1, the M24LR04E-R answers with an error code. The
Option_flag is not supported. The Inventory_flag must be set to 0.
Request parameters:
• UID (optional)
Response parameters:
• One byte of data: Configuration byte
Response parameter:
• Error code as Error_flag is set
– 03h: the option is not supported
– 0Fh: error with no information given
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the ReadCfg command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
26.24 WriteEHCfg
On receiving the WriteEHCfg command, the M24LR04E-R writes the data contained in the
request to the Configuration byte and reports whether the write operation was successful in
the response. The Protocol_extension_flag should be set to 0 for the M24LR04E-R to
operate correctly. If the Protocol_extension_flag is at 1, the M24LR04E-R answers with an
error code.
The Option_flag is supported, the Inventory_flag is not supported.
During the RF write cycle Wt, there should be no modulation (neither 100% nor 10%),
otherwise, the M24LR04E-R may not program correctly the data into the Configuration byte.
The Wt time is equal to t1nom + 18 × 302 µs.
Request parameters:
• Request flags
• UID (optional)
• Data: during WriteEHCfg command, bit 3 of the data is ignored (see Table 14).
- 8 bits 16 bits -
Response parameter:
• No parameter. The response is send back after the writing cycle.
Response parameter:
• Error code as Error_flag is set:
– 13h: the specified block was not successfully programmed
WriteEHCfg
VCD SOF EOF
request
WriteEHCfg WriteEHCfg sequence
M24LR04E-R <-t1-> SOF EOF
response when error
WriteEHCfg
M24LR04E-R <------------------- Wt --------------> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the WriteEHCfg command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
entire duration of the internal write cycle (from the end of a valid WriteEHCfg command to
the beginning of the M24LR04E-R response).
26.25 WriteDOCfg
On receiving the WriteDOCfg command, the M24LR04E-R writes the data contained in the
request to the Configuration byte and reports whether the write operation was successful in
the response. The Protocol_extension_flag should be set to 0 for the M24LR04E-R to
operate correctly. If the Protocol_extension_flag is at 1, the M24LR04E-R answers with an
error code.
The Option_flag is supported, the Inventory_flag is not supported.
During the RF write cycle Wt, there should be no modulation (neither 100% nor 10%),
otherwise, the M24LR04E-R may not program correctly the data into the Configuration byte.
The Wt time is equal to t1nom + 18 × 302 µs.
Request parameters:
• Request flag
• UID (optional)
• Data: during a WriteDOCfg command, bits 2 to 0 of the data are ignored (see Table 14).
- 8 bits 16 bits -
Response parameter:
• No parameter. The response is sent back after the writing cycle.
Response parameter:
• Error code as Error_flag is set:
– 13h: the specified block was not successfully programmed
WriteDOCfg
VCD SOF EOF
request
WriteDOCfg WriteDOCfg sequence
M24LR04E-R <-t1-> SOF EOF
response when error
WriteDOCfg
M24LR04E-R <----------------- Wt --------------> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the WriteEHCfg command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin is tied to 0 for the
entire duration of the internal write cycle (from the end of a valid WriteDOCfg command to
the beginning of the M24LR04E-R response).
26.26 SetRstEHEn
On receiving the SetRstEHEn command, the M24LR04E-R sets or resets the EH_enable bit
in the volatile Control register. The Protocol_extension_flag should be set to 0 for the
M24LR04E-R to operate correctly. If the Protocol_extension_flag is at 1, the M24LR04E-R
answers with an error code. The Option_flag and the Inventory_flag are not supported.
Request parameters:
• Request flags
• UID (optional)
• Data: during a SetRstEHEn command, bits 7 to 1 are ignored. Bit 0 is the EH_enable
bit.
- 8 bits 16 bits -
Response parameter:
• No parameter. The response is sent back after t1.
Response parameter:
• Error code as Error_flag is set:
– 03h: the option is not supported
SetRstEHEn
VCD SOF EOF
request
SetRstEHEn WriteEHCfg sequence
M24LR04E-R <-t1-> SOF EOF
response when no error
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the SetRstEHEn command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
26.27 CheckEHEn
On receiving the CheckEHEn command, the M24LR04E-R reads the Control register and
sends back its 8-bit value in the response.
The Protocol_extension_flag should be set to 0 for the M24LR04E-R to operate correctly. If
the Protocol_extension_flag is at 1, the M24LR04E-R answers with an error code. The
Option_flag is not supported. The Inventory_flag must be set to 0.
Request parameters:
• UID (optional)
Response parameters:
• One byte of data: volatile Control register (see Table 15)
Response parameter:
• Error code as Error_flag is set
– 03h: the option is not supported
CheckEHEn
M24LR04E-R <-t1-> SOF EOF
response
When configured in the RF busy mode, the RF WIP/BUSY pin is tied to 0 from the SOF that
starts the CheckEHEn command to the end of the M24LR04E-R response.
When configured in the RF write in progress mode, the RF WIP/BUSY pin remains in high-Z
state.
27 Maximum ratings
Stressing the device above the rating listed in Table 117 may cause permanent damage to
the device. These are stress ratings only and operation of the device at these or any other
conditions above those indicated in the operating sections of this specification is not implied.
Exposure to absolute maximum rating conditions for extended periods may affect the device
reliability.
This section summarizes the operating and measurement conditions, and the DC and AC
characteristics of the device in I2C mode. The parameters in the DC and AC characteristic
tables that follow are derived from tests performed under the measurement conditions
summarized in the relevant tables. Designers should check that the operating conditions in
their circuit match the measurement conditions when relying on the quoted parameters.
6##
6##
!)"
T8,8, T#(#,
T8(8( T#,#(
3#,
T$,#, T8,8,
3$! )N
3#,
3$! )N
T7
T#($( T#($8
3TOP 7RITE CYCLE 3TART
CONDITION CONDITION
T#(#,
3#,
!)E
TA≤ + 25 °C
- 1000000
Write cycle VCC(min) < VCC < VCC(max)
Ncycle (2) Write cycle
endurance(3) TA≤ + 85 °C
- 150000
VCC(min) < VCC < VCC(max)
1. A write cycle means the simultaneous writing of one byte, two bytes, three bytes or four bytes (one page).
2. Indicates the total number of write/erase cycles for one memory cell or the overall number of write/erase
cycles decoded by the whole memory.
3. Write cycle endurance is defined by characterization and qualification.
30 RF electrical parameters
This section summarizes the operating and measurement conditions, and the DC and AC
characteristics of the device in RF mode.
The parameters in the DC and AC Characteristic tables that follow are derived from tests
performed under the Measurement Conditions summarized in the relevant tables.
Designers should check that the operating conditions in their circuit match the measurement
conditions when relying on the quoted parameters.
Figure 81 shows an ASK modulated signal from the VCD to the M24LR04E-R. The test
condition for the AC/DC parameters are:
• Close coupling condition with tester antenna (1 mm)
• M24LR04E-R performance measured at the tag antenna
• M24LR04E-R synchronous timing, transmit and receive
W5))
$ % W5)5
I&&
W5)6%/
W0,1&'
-36
Table 126 summarizes respectively the minimum AC0-AC1 input power level PAC0-AC1_min
required for the Energy harvesting mode, the corresponding maximum current consumption
Isink_max, and variation of the analog voltage Vout for the various Energy harvesting fan-out
configurations defined by bits b0 and b1 of the Configuration byte.
2.7 V min
00 3.5 A/m 100 mW 1.7 V 6 mA
4.5 V max
2.7 V min
01 2.4 A/m 60 mW 1.9 V 3 mA
4.5 V max
2.7 V min
10 1.6 A/m 30 mW 2.1 V 1 mA
4.5 V max
2.7 V min
11 1.0 A/m 16 mW 2.3 V 300 µA
4.5 V max
1. Characterized only
2. Valid from -40 °C to +85 °C
3. Hmin characterized according to ISO10373-7 test method
4. Pmin calculated from DC measurements
Note: It is recommended to choose the Energy Harvesting Range in respect with the maximum
current requested by the application to avoid any disabling of Energy Harvesting mode (for
example, choose Range 01 for a max consumption of 2 mA).
7PVU
7
7
7
7
7
P$
:RUNLQJGRPDLQZKHQ
5DQJHLVVHOHFWHG
P$
P$
P$
069
P$
:RUNLQJGRPDLQZKHQ
5DQJHLVVHOHFWHG
P$
P$
P$
069
)DQRXW
$
P$
:RUNLQJGRPDLQZKHQ
5DQJHLVVHOHFWHG
P$
P$
P$
069
P$
P$
P$
069
31 Package information
H X
! !
C
CCC
B
E
PP
$ *$8*(3/$1(
K
% %
,
!
,
62$B9
Table 127. SO8N – 8-lead plastic small outline, 150 mils body width,
package mechanical data
millimeters inches(1)
Symbol
Min. Typ. Max. Min. Typ. Max.
A - - 1.750 - - 0.0689
A1 0.100 - 0.250 0.0039 - 0.0098
A2 1.250 - - 0.0492 - -
b 0.280 - 0.480 0.0110 - 0.0189
c 0.170 - 0.230 0.0067 - 0.0091
D 4.800 4.900 5.000 0.1890 0.1929 0.1969
E 5.800 6.000 6.200 0.2283 0.2362 0.2441
E1 3.800 3.900 4.000 0.1496 0.1535 0.1575
e - 1.270 - - 0.0500 -
h 0.250 - 0.500 0.0098 - 0.0197
k 0° - 8° 0° - 8°
L 0.400 - 1.270 0.0157 - 0.0500
Table 127. SO8N – 8-lead plastic small outline, 150 mils body width,
package mechanical data (continued)
millimeters inches(1)
Symbol
Min. Typ. Max. Min. Typ. Max.
L1 - 1.040 - - 0.0409 -
ccc - - 0.100 - - 0.0039
1. Values in inches are converted from mm and rounded to four decimal digits.
Figure 88. SO8N – 8-lead plastic small outline, 150 mils body width,
package recommended footprint
[
2B621B)3B9
' $ %
1
$
FFF
$
3LQ &
,'PDUNLQJ
( HHH &
6HDWLQJSODQH $
6LGHYLHZ
[ DDD &
[ DDD &
7RSYLHZ
' 'DWXP$
H E
/
/ / /
3LQ
,'PDUNLQJ (
H /
H 7HUPLQDOWLS
.
/ 'HWDLO³$´
(YHQWHUPLQDO
1'[ H
%RWWRPYLHZ 6HH'HWDLO³$´
=:EB0(B9
Table 128. UFDFN8 - 8-lead, 2 × 3 mm, 0.5 mm pitch ultra thin profile fine pitch
dual flat package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
Table 128. UFDFN8 - 8-lead, 2 × 3 mm, 0.5 mm pitch ultra thin profile fine pitch
dual flat package mechanical data (continued)
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
ϴ ϱ
Đ
ϭ
ϭ ϰ
ϭ >
Ϯ
W >ϭ
ď Ğ
76623$0B9
Table 129. TSSOP8 – 8-lead thin shrink small outline, 3 x 6.4 mm, 0.65 mm pitch,
package mechanical data
millimeters inches(1)
Symbol
Min. Typ. Max. Min. Typ. Max.
A - - 1.200 - - 0.0472
A1 0.050 - 0.150 0.0020 - 0.0059
A2 0.800 1.000 1.050 0.0315 0.0394 0.0413
b 0.190 - 0.300 0.0075 - 0.0118
c 0.090 - 0.200 0.0035 - 0.0079
CP - - 0.100 - - 0.0039
D 2.900 3.000 3.100 0.1142 0.1181 0.1220
e - 0.650 - - 0.0256 -
E 6.200 6.400 6.600 0.2441 0.2520 0.2598
E1 4.300 4.400 4.500 0.1693 0.1732 0.1772
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
α 0° - 8° 0° - 8°
1. Values in inches are converted from mm and rounded to four decimal digits.
32 Ordering information
Table 130. Ordering information scheme for bare die devices or packaged devices
Example: M24LR04E-R MN 6 T /2
Device type
M24LR = dynamic NFC/RFID tag IC
04 = memory size in Kbit
E = support for energy harvesting
Operating voltage
R = VCC = 1.8 to 5.5 V
Package
MN = SO8N (150 mils width)
MC = UFDFPN8 (MLP8)
DW = TSSOP8
UW20 = inkless, unsawn wafer, with no backgrinding(1)
SB12I = 120 µm ± 15 µm bumped and sawn
inkless wafer on 8-inch frame
Device grade(2)
6 = industrial: device tested with standard
test flow over –40 to 85 °C
Option(2)
T = Tape and reel packing
Capacitance
/2 = 27.5 pF
1. Delivery type: wafer tested, unsawn, without backgrinding. Wafer thickness: 725 µm ±20 µm.
Bad chip identification by STIF wafer maps provided by STMicroelectronics.
2. For packaged devices only.
Note: Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are
not yet qualified and therefore not approved for use in production. ST is not responsible for
any consequences resulting from such use. In no event will ST be liable for the customer
using any of these engineering samples in production. ST’s Quality department must be
contacted prior to any decision to use these engineering samples to run a qualification
activity.
The following pseudocode describes how anticollision could be implemented on the VCD,
using recursivity.
main_cycle:
mask = null
address = null
push (mask, address)
poll_loop(sub_address_size)
end_main_cycle
To add extra protection against shifting errors, a further transformation on the calculated
CRC is made. The one’s complement of the calculated CRC is the value attached to the
message for transmission.
To check received messages, the two CRC bytes are often also included in the re-
calculation, for ease of use. In this case, the expected value for the generated CRC is the
residue F0B8h.
void main()
{
unsigned int current_crc_value;
unsigned char array_of_databytes[NUMBER_OF_BYTES + 2] = {1, 2, 3, 4, 0x91,
0x39};
int number_of_databytes = NUMBER_OF_BYTES;
int calculate_or_check_crc;
int i, j;
calculate_or_check_crc = CALC_CRC;
// calculate_or_check_crc = CHECK_CRC;// This could be an other example
if (calculate_or_check_crc == CALC_CRC)
{
number_of_databytes = NUMBER_OF_BYTES;
}
else // check CRC
{
number_of_databytes = NUMBER_OF_BYTES + 2;
}
current_crc_value = PRESET_VALUE;
if (calculate_or_check_crc == CALC_CRC)
{
current_crc_value = ~current_crc_value;
{
printf ("Checked CRC is NOT ok (0x%04X)\n", current_crc_value);
}
}
}
The AFI (application family identifier) represents the type of application targeted by the VCD
and is used to extract from all the M24LR04E-Rs present only the M24LR04E-R meeting the
required application criteria.
It is programmed by the M24LR04E-R issuer (the purchaser of the M24LR04E-R). Once
locked, it cannot be modified.
The most significant nibble of the AFI is used to code one specific or all application families,
as defined in Table 133.
The least significant nibble of the AFI is used to code one specific or all application
subfamilies. Subfamily codes different from 0 are proprietary.
Revision history
Updated Features.
Updated Table 21: UID format and Table 117: Absolute maximum ratings.
10-May-2016 10 Updated Figure 51: Description of a possible anticollision sequence and
Figure 53: Stay Quiet frame exchange between VCD and M24LR04E-R.
Added Section 29: Write cycle definition.
Updated Figure 8: Write mode sequences with I2C_Write_Lock bit = 1
(data write inhibited), Figure 11: Read mode sequences, Figure 43: End
of frame, low data rate, one subcarrier, Figure 44: End of frame, low data
rate, one subcarrier, Fast commands, Figure 45: End of frame, high data
rate, two subcarriers, Figure 47: M24LR04E-R decision tree for AFI,
Figure 52: M24LR04E-R RF-Busy management following Inventory
command, Figure 56: M24LR04E-R RF_Busy management following
Write command and Figure 57: M24LR04E RF_Wip management
28-Jul-2017 11 following Write command.
Added footnote 4 to Figure 89: UFDFN8 - 8-lead, 2 × 3 mm, 0.5 mm pitch
ultra thin profile fine pitch dual flat package outline.
Updated caption of Figure 90: TSSOP8 – 8-lead thin shrink small outline,
3 x 6.4 mm, 0.65 mm pitch, package outline and of Table 129: TSSOP8 –
8-lead thin shrink small outline, 3 x 6.4 mm, 0.65 mm pitch, package
mechanical data.
Updated title of Section 32: Ordering information and added Note:.
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.