2026-03-23 5:35 PM - last edited on 2026-03-24 5:35 AM by Andrew Neil
Hi,
Our company bought a steval-25r200a for me and I need to develop a application that we can get the information from a nfc card or tag.
For an example.
There is a nfc tag which installed in a 3d printer filament.
We need to get the the size and the color of the filament.
Does sT25R200 can get the data from nfc tag?
If that information stored at block 1 , where should I start my Application?
Is there any document about the uART command from the example.
I don't know what should i do if i need to get the block count from a nfc tag and i don't how to read a data from the nfc.
I have got the uid of the nfc card by sending these commands
AA 00 02 20 00
AA 00 a9 20 02 xx xx...
AA 00 02 20 04
AA 00 02 20 06
But I don't how to get anything from block of tag.
Cloud you please show me a details sequence of getting data from blocks and getting the count of block.
I have no idea where should i start.
Please give me an example and a direction for developing
Solved! Go to Solution.
2026-03-24 8:40 AM
Hi JonnyChan,
looking around I find a variety of protocols for NFC tags on filaments. Ranging from writing raw parameters directly on blocks, some using NFC Forum Tags with NDEF and others simply putting an URI with the filament information to be read from a website.
To name a few: OpenPrintTag, QIDI, Creality, Anycubic, OpenSpool, OpenTag, SimplyPrint (found with additional explanations and links in an article named "All about NFC / RFID for filament spools")
Most of these tags are directly supported by the ST25R200 module. A caveat here are Mifare Classic tags used by some of these "data standards". Mifare Classic would require additional host side cryptography.
If you want to implement some of the above mentioned standards you will need to study the standards and also a bit on the tags they are based on.
For the ST25TN you will find the commands for reading blocks in its DataSheet. NDEF is also available but not part of the STEVAL-25R200 demonstration. It could be retrieved from STSW-ST25RLIB004 - either then done on host side or done inside adapted firmware.
The STEVAL-25R200 is not a ready-made NFC reader but a kit which allows a user to evaluate the ST25R200 features and functionality. ST provides a basic software but not a full application.
BR, Ulysses
2026-03-24 1:31 AM
Hi JonnyChan,
the module is not a full reader with all higher level protocols. Typically you would rfalNfcSelect() one of the found tags and then perform rfalNfcDataExchange..().
What type of commands to send is up to the user application, it will also depend on which kind of tag you are addressing and how the data is organized on the tag.
BR, Ulysses
2026-03-24 5:21 AM
Hi Ulysses,
Q: what type of commands to send is up to the user application,
A: user application:
Our application is that it can read data from a nfc card's block.
Such as we need to read the data from block 0.
Q: which kind of tag you are addressing
I have a nfc tag named ST25TN01K.
A: NFC type
Q: how the data is organized on the tag
A: I have no idea about that, can you tell me where can I find the data structure of that tag?
Does ST25R200 support my Application?
If it supports my Application, how can I start with the command from the Demo from that develop board.
If it doesn't support that application, which module should I buy?
And which one is a full reader with all higher level protocols?
2026-03-24 8:40 AM
Hi JonnyChan,
looking around I find a variety of protocols for NFC tags on filaments. Ranging from writing raw parameters directly on blocks, some using NFC Forum Tags with NDEF and others simply putting an URI with the filament information to be read from a website.
To name a few: OpenPrintTag, QIDI, Creality, Anycubic, OpenSpool, OpenTag, SimplyPrint (found with additional explanations and links in an article named "All about NFC / RFID for filament spools")
Most of these tags are directly supported by the ST25R200 module. A caveat here are Mifare Classic tags used by some of these "data standards". Mifare Classic would require additional host side cryptography.
If you want to implement some of the above mentioned standards you will need to study the standards and also a bit on the tags they are based on.
For the ST25TN you will find the commands for reading blocks in its DataSheet. NDEF is also available but not part of the STEVAL-25R200 demonstration. It could be retrieved from STSW-ST25RLIB004 - either then done on host side or done inside adapted firmware.
The STEVAL-25R200 is not a ready-made NFC reader but a kit which allows a user to evaluate the ST25R200 features and functionality. ST provides a basic software but not a full application.
BR, Ulysses
2026-03-24 9:03 AM
Hi Ulysses,
Most of these tags are directly supported by the ST25R200 module.
That's a good news.
Thank you so much.
I am going to download STSW-ST25RLIB004 and check the datasheet of ST25TN.
I think it is very helpful for us to learn a open source project which created by ST.
If you have lots of open source board then many people will copy it and many people can buy your module.
The esp32 did a great job about this.
I need to spend more time to check the datasheet and do a lots of meaningless testing with stm32.
And I'm not sure I can do the right thing at the first time.
If I get the data from nfc by ST25R200 then I will tell you about that.
Thanks.