Skip to main content
Explorer
January 18, 2023
Solved

Is there a porting guide for the ST25R NFC libraries?

  • January 18, 2023
  • 1 reply
  • 730 views

Hello,

I have an application where we are using a couple of the ST25R3916B in a design but with a different processor. I've looked through the forum posts and gleaned some information here and there, but is there a guide on how to port this library to a different processor? It is the MSP430F5xx series. Or I don't suppose you have any example code that is already ported for this processor?

We will be reading either the ISO15693 or ISO 14443 tags; that hasn't been decided yet.

I'm using ST25NFC_Embedded_Lib_ST25R3916_1.4. I will be using the basic polling example.

Ideally the porting guide would include:

  • How to set up the directory tree so that everything is found
  • Which files I will need to port to my own hardware
  • How to test that we are communicating with the ST253916 successfully.
  • Which middleware I need to include
  • Any "gotchas" or information that is important to know when porting

Thank you,

Derek

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

    Hi Derek,

    I would recommend the reading of UM2890 RF/NFC abstraction layer (RFAL) that provides many answers. In addition, ST25NFCLib\Middlewares\ST\RFAL\doc\rfal.chm will also provides some answers.

    Regarding some of your questions:

    • How to test that we are communicating with the ST253916 successfully.
      • See ST25R_SELFTEST and ST25R_SELFTEST_TIMER in the UM2890 and also in various posts on this community. These 2 macros are really helpful when porting to a new MCU.
    • Which middleware I need to include
      • The various demos from the ST25 embedded NFC library are described in the Documentation tab of this library. This includes a description of the middleware being used.
      • if your application is based on a basic polling, only the RFAL is needed
      • Feel free to share more details about your application so that we can help you to select the relevant middleware.
    • Support of MSP430F5xx series
      • Our demos are based on ST MCU. Support of non-ST MCU is not provided in our demos but many customers use such MCU in their applications.

    Feel free to post any questions during your porting and to report to us the issues you encounter.

    Rgds

    BT

    1 reply

    Technical Moderator
    January 19, 2023

    Hi Derek,

    I would recommend the reading of UM2890 RF/NFC abstraction layer (RFAL) that provides many answers. In addition, ST25NFCLib\Middlewares\ST\RFAL\doc\rfal.chm will also provides some answers.

    Regarding some of your questions:

    • How to test that we are communicating with the ST253916 successfully.
      • See ST25R_SELFTEST and ST25R_SELFTEST_TIMER in the UM2890 and also in various posts on this community. These 2 macros are really helpful when porting to a new MCU.
    • Which middleware I need to include
      • The various demos from the ST25 embedded NFC library are described in the Documentation tab of this library. This includes a description of the middleware being used.
      • if your application is based on a basic polling, only the RFAL is needed
      • Feel free to share more details about your application so that we can help you to select the relevant middleware.
    • Support of MSP430F5xx series
      • Our demos are based on ST MCU. Support of non-ST MCU is not provided in our demos but many customers use such MCU in their applications.

    Feel free to post any questions during your porting and to report to us the issues you encounter.

    Rgds

    BT