
4.2.4 ST25DV-I2C tag states demonstration
This menu illustrates the possibility to change the ST25DV-I2C tag state, for example the power save
demonstration. This demonstration proposes three different modes:
1. RF disabled mode: RF commands are interpreted but not executed. The ST25DV-I2C tag responds with the
error code 0x0F.
2. Sleep mode: all RF communications are disabled, the RF interface does not interpret the commands, but
minimizes consumption of RF interface.
3. Low-power down: the ST25DV-I2C tag is fully inactive from Host - I2C side, but the memory content is
accessible on the RF side.
For all above cases, the demonstration consists in writing an NDEF with the ST25 URL, and changing the
ST25DV-I2C tag state. A message is displayed that invites the user to try to read the content of the ST25DV-I2C
tag, and check that it is not possible.
The content of the ST25DV-I2C tag can be read again as soon as the demonstration screen is passed.
Note: For the Low-power mode, the ST25DXSPARE jumper must be present on the ST25DV64KC-DISCO board's
MCU pin, and a 12-pin package must be used for the ST25DV-I2C tag.
4.2.5 ST25DV-I2C tag multi area and password demonstration
The ST25DV-I2C tag defines up to four different areas in memory. Each area may have a custom security level,
requiring one of the three passwords to be provided in order to read and/or write the memory.
This demonstration sets two different areas:
1. "Area 1" contains an NDEF with a vCard. This area is readable by anyone, but can only be written after
presenting "password 1".
2. "Area 2" contains an NDEF with a different vCard. This area cannot be read without the "password 1", and
cannot be written even after the password presentation.
By default, all the passwords are set to 0000 0000 0000 0000. These values are only updated from the RF side.
To execute the demonstration, the user must first read the ST25DV-I2C tag without any specific application. The
phone displays the vCard stored in "Area 1".
Then the user opens the ST25 NFC application, and taps the tag again, the application detects two areas, and
displays the "Area "1 vCard.
The user may try to write a different NDEF to the "Area 1", and check that the write fails unless "password 1" is
presented.
If the user selects the "Area 2" NDEF, the application requests "password 1" before displaying the "Area 2" vCard.
The user may try to write a different NDEF in "Area 2", this does not work even after presenting "password 1".
This is expected, as the security level of "Area 2" prevents any write access to the memory.
Smart phone and multi areas
When the tag is configured in multi areas, the ST25 NFC application then handles the areas and presents areas
and content to the user. The user then chooses the desired area by selecting the corresponding menu in the
application drawer. This is illustrated in Figure 11.
In case special protection is needed, the application displays security status information. On click, a popup is
used to present the area password needed to access area content.
UM2949
Main menu
UM2949 - Rev 1 page 13/60