(rev) X-NUCLEO-NFC08A1 RF Field Control on STM32F401RE (with X-CUBE-NFC6 SPI Setup Issue)
Hello ST Community,
I'm currently trying to implement a simple function: turning the RF field ON and OFF for a desired duration using the X-NUCLEO-NFC08A1 board.
Here is my current setup and progress:
I’m using the STM32F401RE Nucleo board as the host MCU.
I've referred to UM3007 (Getting Started with X-NUCLEO-NFC08A1) and “Getting started with the X-CUBE-NFC6” documents.
I have installed the required X-CUBE-NFC6 software pack in STM32CubeIDE.
SPI1 is configured as per the documentation in .ioc .
However, after code generation, no SPI-related code is generated (e.g., no MX_SPI1_Init() function).
In the .ioc file's System View, the Middleware section shows nothing loaded — I suspect this may be part of the issue.
Overall, it feels like the NFC board is not properly interfacing with the MCU, but I can’t identify what’s wrong.
Additionally, my goal is only to generate the 13.56 MHz RF field with desired strength and timing — no tag detection or NDEF handling is needed. From the datasheet, I understand that the driver’s output resistance can be configured to control the transmit power. I would appreciate any guidance on how to do this via code — especially through st25r3916 functions.
Since this is my first time working with this kind of system, even small suggestions or tips would be incredibly helpful.
Thank you very much in advance!

