cancel
Showing results for 
Search instead for 
Did you mean: 

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

DS.4
Senior II

Hi,

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

This discussion is locked. Please start a new topic to ask your question.
18 REPLIES 18
Brian TIDAL
ST Employee

Sorry my question was ambiguous: On Card Emulation side, do you plan to change the content of the emulated tag. I mean do you want to use the emulated tag as a kind of mail box? At then end, is your use case related to an NFC peer to peer communication between 2 devices?

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
DS.4
Senior II

Yes, p2p, is just about right.

Can the Card Emulated side write to another mailbox for that? it is a reader, so I guess it can?

Also, does the reader have to be configured in that mode to have a mailbox?

Is there a .dll I can use for the PC side?

Any examples I can use?

Thanks

Hi,

if low level P2P would also be an option for you then inside the aforementioned ST25 embedded NFC lib you will find an example of Active P2P (NFC Forum ACM). Also the ST25R3916-DISCO and ST25R3911B-DISCO should be usable for you by means of its DLL and its nfc*() functions which are implementing P2P.

BR, Ulysses

DS.4
Senior II

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?

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.4
Senior II

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?

Ulysses HERNIOSUS
ST Employee

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.4
Senior II

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.

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