Skip to main content
Graduate II
February 10, 2022
Solved

Does ST NFC readers have an emulation mode to behave like a tag?

  • February 10, 2022
  • 14 replies
  • 1802 views

Hi,

I am interested in a device that can do both, read and be read.

    This topic has been closed for replies.
    Best answer by Brian TIDAL

    Hi,

    Card Emulation mode is supported in both ST25R3916 and ST25R95 devices. The recommended device is ST25R3916. Full demo code for ST25R3916 is available in the ST25 Embedded NFC library.

    Rgds

    BT

    14 replies

    DS.4Author
    Graduate II
    December 18, 2022

    Have a little bit more info now.

    We will be using the tag only - ST25DV04K. Would like to establish as you said a general purpose peer to peer communication between the tag and a reader. ( Is that what you referred to as a mailbox?)

    Regarding the reader, Is the  ST25R3916 still a good recommendation ? Does it come with some sort of pc tool? Is there an example for p2p communication with an X-NUCLEO-NFC04A1? ( on a NUCLEO board with stm32wb55) , and finally Is it similar to ST25DV04K in emulation tag mode?

    Technical Moderator
    December 19, 2022

    Hi,

    Well peer to peer is as it says - between two same/similar devices. Maybe you rather mean bi-directional? Of course ST25R3916 and an ST25DV04K can communicate bi-directionally through the mailbox of the ST25DV. Please consult the DS of the ST25DV for details about its mailbox.

    ST25DV04K does not support a tag emulation mode as it is already a tag, with its mailbox it builds a dynamic tag for bi-directional communication. Tag emulation refers to reader chip which additionally support a mode where they can behave like a tag.

    Please check the different demos available for ST25R3916 (or the newer ST25R3916B).

    I would like to recommend to you studying especially the FTM demo inside ST25Embedded NFC lib (an5512-st25-fast-transfer-mode-embedded-library-stmicroelectronics:( It showcases exactly above mode X-NUCLE-NFC06A1 communicating with X-NUCLEO-NFC04A1.

    Unfortunately only for STM32L476 and not the STM32WB55 but porting should not be difficult.

    Best Regards, Ulysses

    DS.4Author
    Graduate II
    December 19, 2022

    In case the reader will be an android device, is there any specific protocol/configuration I must use with ST25DV04K?

    Was curious about a peer to peer passive connection, is that something you have an example for?

    Technical Moderator
    December 19, 2022

    Hi,

    the real P2P (NFC Forum Active/Passive Communication Mode with NFCDEP, LLCP and SNEP is basically dead.

    If you want bi-directional Android <-> ST25DV comm then this will only work by having a dedicated app on Android being open. The Android app can fill and empty the mailbox on ST25DV.

    I think that the ST25 Android app has an example for handling the FTM.

    Best Regards, Ulysses

    DS.4Author
    Graduate II
    December 20, 2022

    Can you please explain the middleware / libraries used by the ST25FTM?

    Found this project: https://www.st.com/en/embedded-software/x-cube-nfc4.html

    are they the same?

    Regarding ST25R3916 DiSCO, couldn't find it in stock.

    But after watching https://www.youtube.com/watch?v=1hyIbbKycAg&ab_channel=STMicroelectronics I was wondering if ST25R3911B nowadays still a valid option to test FTM ?

    And if you could provide the source code for: https://www.st.com/content/st_com/en/products/embedded-software/st25-nfc-rfid-software/stsw-st25003.html?icmp=tt13596_gl_lnkon_dec2019

    (android and discovery). I am not getting a response for my request.

    Technical Moderator
    December 20, 2022

    Hi,

    x-cube-nfc4 is essentially the same but probably a little bit older code base.

    ST25R3911B can also be used with FTM (ST25 Embedded Nfc lib provides demo projects (for nfc5<->nfc4).

    Not sure if the cryto demo is available in source. If so you will need to go through official channels.

    Ulysses