cancel
Showing results for 
Search instead for 
Did you mean: 

Development with X-NUCLEO-NFC08A1 and X-CUBE-NFC6

StarryLiu
Associate II

Hi,

I recently purchased the X-NUCLEO-NFC08A1 and the NUCLEO-F411RE boards. I have successfully run the example application (`PollingTagDetect`) provided in the X-CUBE-NFC6 software expansion on this platform. Moving forward, I would like to develop additional programs based on this platform for testing purposes. However, I have encountered some issues and questions, and I would greatly appreciate your guidance:

1. Is there a more straightforward tutorial available that explains how to use the relevant libraries? While X-CUBE-NFC6 provides documentation, the extensive and complex nature of the documents makes it difficult to identify the key points.

2. What is the relationship between X-CUBE-NFC6 and RFAL? It is clear that X-CUBE-NFC6 includes RFAL, but what are the differences and advantages of developing with X-CUBE-NFC6? I noticed that RFAL seems to provide more intuitive guidance (https://www.st.com/resource/en/user_manual/um2890-rfnfc-abstraction-layer-rfal-stmicroelectronics.pdf).

My goal is to implement a reader demo program that can simultaneously read the UID of multiple ISO-15693 tags (not including memory read operations). This program should continuously perform the inventory operation, with the inventory speed optimized as much as possible. I would like to test the inventory speed of the ISO-15693 protocol under different numbers of tags. If you could kindly provide some guidance on which key functions I should focus on or how I might modify the `PollingTagDetect` program to achieve this goal, I would be very grateful.

Thank you in advance for your help!

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

 

Hi,

The RFAL is the RF Abstraction Layer middleware that provides the application programming interface (API) for various near field communication (NFC) activities and services. The RFAL is included in the X-CUBE-NFC6 package, which provides several demonstration applications built on top of the RFAL. Additionally, X-CUBE-NFC6 includes the NDEF middleware. The RFAL is documented in the UM2890 User Manual, while the APIs are documented in the rfal.chm file located in the X-CUBE-NFC6\3.1.0\Middlewares\ST\rfal\Doc\ folder of the package.

For your application, call the following functions in sequence:

  1. rfalInitialize
  2. rfalNfcvPollerInitialize()
  3. rfalFieldOnAndStartGT()

Then, loop on rfalNfcvPollerCollisionResolution().

Rgds

BT

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.

View solution in original post

2 REPLIES 2
Brian TIDAL
ST Employee

 

Hi,

The RFAL is the RF Abstraction Layer middleware that provides the application programming interface (API) for various near field communication (NFC) activities and services. The RFAL is included in the X-CUBE-NFC6 package, which provides several demonstration applications built on top of the RFAL. Additionally, X-CUBE-NFC6 includes the NDEF middleware. The RFAL is documented in the UM2890 User Manual, while the APIs are documented in the rfal.chm file located in the X-CUBE-NFC6\3.1.0\Middlewares\ST\rfal\Doc\ folder of the package.

For your application, call the following functions in sequence:

  1. rfalInitialize
  2. rfalNfcvPollerInitialize()
  3. rfalFieldOnAndStartGT()

Then, loop on rfalNfcvPollerCollisionResolution().

Rgds

BT

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.

Thank you for your help!