How vouch-opensource/zephyr-nfc08a1 works
This is Zephyr firmware for the X-NUCLEO-NFC08A1. Its main workflow initializes the NFC demo, repeatedly runs its discovery cycle, and demonstrates interactions with detected NFC devices; the README says SPI is the default, with I2C available through hardware and software reconfiguration. The code also includes card-emulation handlers and a chip register configuration table. The excerpts show the main loop and protocol examples, but not every dispatch or the configuration table’s runtime use, so those links are omitted or marked unverified.
Main entry points: demo_polling.c Discovery and polling · main.c Main loop · demo_ce.c Card emulation
Components 7
Firmware runtime
- Main loop
apps/nfc08a1/src/main.c
NFC capabilities
- Discovery and polling
apps/nfc08a1/src/demo_polling.c - Tag protocol demos
apps/nfc08a1/src/demo_polling.c - Card emulation
apps/nfc08a1/src/demo_ce.c
Chip configuration
- RF register table
apps/nfc08a1/src/analogConfigTbl_NFC08A1.c
Other components
- NFC tags/readers
- NFC08A1 hardware
Connections 5
- Main loop → Discovery and polling: initializes and cycles
apps/nfc08a1/src/main.c - Discovery and polling → NFC tags/readers: discovers devices
apps/nfc08a1/src/demo_polling.c - Tag protocol demos → NFC tags/readers: exchanges protocols
apps/nfc08a1/src/demo_polling.c - Card emulation → NFC tags/readers: emulates card
- NFC08A1 hardware → Discovery and polling: supports SPI default
README.md