Skip to main content
Graduate
June 18, 2024
Solved

ST25R3916B Passive Target Sample Code

  • June 18, 2024
  • 2 replies
  • 2236 views

Is there any example code for ISO14443A passive target mode, which is supported on the ST25R3916B? I'm prototyping basic functionality before fully implementing our application, and it would be nice to do a proof of concept without having to grapple with the RFAL. I'm using the X-NUCLEO-NFC08A1 with an STM32L476RG_NUCLEO.

To that note, if there are any instructions on using the RFAL (which headers to modify, any other configurations to set), I would appreciate being pointed to them.

    This topic has been closed for replies.
    Best answer by Ulysses HERNIOSUS

    Hi,

    I am not aware that what you are looking for actually exists. For sure NFC Forum does not define such devices (Reader with harvested power tag emulation).

    I think mobiles are implementing a similar functionality to what you are describing by never completely draining the battery to be still able to support card emulation for some extended time. I think this is needed for things like having your Car Key on the mobile, etc.

    Ulysses

    2 replies

    Technical Moderator
    June 18, 2024

    Hi LltWc,

    ST25 Embedded NFC lib contains a pairing example project which presents and NDEF on an emulated T3T/T4T to e.g. a mobile.

    Ulysses

    LltWcAuthor
    Graduate
    June 18, 2024

    Got it, I just tried that out. I'm specifically seeking to test passive target mode, in which the ST25R3916B acting as PICC without an external power source will respond to a phone or other NFC device acting as PCD initiating a connection. That pairing example did pull up a Bluetooth pairing request, but only when the ST25R3916B was powered. Is there an example project that will show that passive target mode functionality?

    Technical Moderator
    June 18, 2024

    Unfortunately ST25R3916 is a reader chip with additional tag emulation functionality. It cannot work from harvested power. You should be looking at a tag chip: ST25DV or ST25TA or ST25TV.

    BR, Ulysses

    Technical Moderator
    June 19, 2024

    Hi

    clause 4.18 of the ISO/IEC 18092 defines the Passive Communication Mode. ISO/IEC 18092 defines as well Initiator (clause 4.7) and Target (4.23). But Passive Target mode is not defined in the ISO/IEC 18092. This is an ambiguous terminology. This is a device acting as a target in passive communication mode.

    Having passive communication mode defining that the Target responds in a load modulation schemes does not imply that the target operates without a power supply. 

    NFC readers are devices operating with a power supply; when they are configured in Card Emulation mode they are still operating with a power supply.

    If your device is a tag storing ID, why does a power supply is needed? Maybe what you need is simply a dynamic tag such as ST25DV. Feel free to explain in more details your use cases.

    Rgds

    BT

    LltWcAuthor
    Graduate
    June 19, 2024

    The intention is to have a device that can scan NFC tags to store IDs, then be out in remote operation for a period of hours to days without necessarily being recharged. When the device is found, still out in the field and out of power, it should still be possible to read the list of IDs without having to recharge it. The device includes other functionality that will use the battery much more quickly than NFC.

    The complication is that I require both NFC reader and NFC energy-harvesting tag functionality. The ST25DV is only an NFC tag. While it's possible to include separate reader and tag chips, it would increase design complexity, so I would prefer to avoid that.

    Technical Moderator
    June 19, 2024

    Hi,

    I am not aware that what you are looking for actually exists. For sure NFC Forum does not define such devices (Reader with harvested power tag emulation).

    I think mobiles are implementing a similar functionality to what you are describing by never completely draining the battery to be still able to support card emulation for some extended time. I think this is needed for things like having your Car Key on the mobile, etc.

    Ulysses