Skip to main content
Visitor II
February 13, 2025
Solved

Example code for ST25R3916B

  • February 13, 2025
  • 2 replies
  • 893 views

This is my first time developing a project to read NFC using the ST25R3916B (I bought the Discovery kit for testing). The first thing I did was open CubeMX, but unfortunately, the ST25R3916B is not listed as a supported device for code generation. Then, I downloaded the sample code for the dev kit, but according to the documentation I read, the ST25R3916B chip is on the Daughter board, while the sample code is for controlling the Mother board (without using the ST25R3916B).

Does anyone have sample code for the ST25R3916B, or can you suggest any software similar to CubeMX that can generate code for the ST25R3916B?

Thank you very much.

    This topic has been closed for replies.
    Best answer by AnhLD_HSPTEK

    OMG. Sorry for wasting everyone’s time. After reading the documentation, I realized that this is not a chip meant for programming but just an external module. I was so caught up in my usual way of thinking that I didn’t notice something so simple. T-T

    2 replies

    AnhLD_HSPTEKAuthorAnswer
    Visitor II
    February 13, 2025

    OMG. Sorry for wasting everyone’s time. After reading the documentation, I realized that this is not a chip meant for programming but just an external module. I was so caught up in my usual way of thinking that I didn’t notice something so simple. T-T

    Technical Moderator
    February 13, 2025

    Hi,

    you can use the X-CUBE-NFC6 package to generate the code running on STM32 MCU for driving the ST25R3916B.

    Typical setup: NUCLEO-L476RG (MCU)+  X-NUCLEO-NFC08A1 (ST25R3916B expansion board) + X-CUBE-NFC6 (FW package).

    X-CUBE-NFC6 is integrated in STM32CubeMX.

    Rgds

    BT