Skip to main content
Explorer
May 5, 2023
Solved

I want to send the ST25R3916B nfc tag readings to CAN bus.

  • May 5, 2023
  • 12 replies
  • 5420 views

I have program for CAN bus and NFC08a1 but when i combine i get several errors. All i want to do is get the reading from the nfc reader and send them on can. does anyone know how to do that?

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

    Issue solved.

    To ensure that the compiled driver meets the user intended device, it is required to add a pre-processor instruction defining the targeted ST25R device (e.g. ST25R3916B).

    This needs to be globally defined as a compiler define (i.e. the RFAL source code should ***not**** be modified to add this define at source file level).

    BT

    12 replies

    Technical Moderator
    May 15, 2023

    zip it and send it to me in private message

    NAkku.1Author
    Explorer
    May 15, 2023

    jusr send you in private message

    Technical Moderator
    May 22, 2023

    Issue solved.

    To ensure that the compiled driver meets the user intended device, it is required to add a pre-processor instruction defining the targeted ST25R device (e.g. ST25R3916B).

    This needs to be globally defined as a compiler define (i.e. the RFAL source code should ***not**** be modified to add this define at source file level).

    BT

    Graduate
    July 7, 2023

    @Brian TIDAL Could you please share exactly that define name? (to compile code for ST25R3916B instead of ST25R3916)

    Technical Moderator
    July 7, 2023

    Hi @Lex,

    the define is ST25R3916B. Make sure to use the latest RFAL package (STSW-ST25RFAL002) or the latest X-CUBE-NFC6 or the latest ST25 embedded NFC libraryX-CUBE-NFC6 and ST25 embedded NFC library come with demo projects for X-NUCLEO-NFC08A1 (ST25R3916B expansion board) that already contains the proper define.

    Rgds

    BT