Hi,
which Firmware package have you downloaded from st.com?
- Sources of STM32L4 based firmware for ST25R3911B-DISCO STSW-ST25R002
- X-CUBE-NFC5
- The ST25 Embedded NFC library STSW-ST25R-LIB
1/ is intended for ST25R3911B-DISCO and has an USB communication with a host PC running a GUI
2/ and 3/ are intended for X-NUCLEO-NFC05A1 and demonstrate a NFC polling among other features. It is a good starting point for customer development.
ST25R devices are NFC frontend and therefore the NFC protocol layers have to run on a host MCU (i.e you cannot expect to simply get an interrupt and read the tag UID). The firmware provided in the various package is by default enabling all the NFC technologies. Through the platform.h file, you can disable the technologies you do not intend to use and this will reduce the code size. The embedded documentation provides the FLASH/RAM size for the various modules.
Feel free to provide more information about your application(e.g. which NFC technologies do you need to support) and your platform ( MCU type, FLASH/RAM size, etc.)
Rgds
B