2023-03-02 11:52 PM
Hello, I am testing the st25r95 with the X-nucleo-nfc03a1 attached to a nucleo-g0b1re, I am successfully running the democycle and reading nfc tags.
In my application I have a limited amount of flash available (<20 Kb) and also,
I only need to detect tags which have the ISO14443A (NFC-A) protocol. To reduce
the amount of flash. One thing I have done (as suggested in another post “How
to minimize flash usage�?) is to set in platform.h -> RFAL FEATURES
CONFIGURATION -> RFAL_FEATURE_NFCV to false. That indeed reduces the flash
usage, but then the communication with the st25r95 stops.
With all the functions enable:
RFAL_FEATURE_NFCV to false:
Only initialization.
Can you give some advice about how to properly deactivate the protocols I don’t need?
Thank you in advance.
Solved! Go to Solution.
2023-03-03 12:43 AM
Hi,
I guess your application is based on X-CUBE-NFC3.
When a technology (RFAL_FEATURE_NFCV) is deactivated (set to false), one must make sure that the discParam.techs2Find does not include this technology in demoIni().
In your case, the discParam.techs2Find in demoIni should be modified to:
discParam.techs2Find = RFAL_NFC_POLL_TECH_A;
and the RFAL features should be modified to:
RFAL_FEATURE_NFCA true
RFAL_FEATURE_NFCB false
RFAL_FEATURE_NFCF false
RFAL_FEATURE_NFCV false
RFAL_FEATURE_T1T true
RFAL_FEATURE_T2T true
RFAL_FEATURE_T4T true
RFAL_FEATURE_ST25TB false
RFAL_FEATURE_ST25xV false
RFAL_FEATURE_DYNAMIC_ANALOG_CONFIG false
RFAL_FEATURE_DYNAMIC_POWER false
RFAL_FEATURE_ISO_DEP true
RFAL_FEATURE_ISO_DEP_POLL true
RFAL_FEATURE_ISO_DEP_LISTEN false
RFAL_FEATURE_NFC_DEP true
Rgds
BT
2023-03-03 12:43 AM
Hi,
I guess your application is based on X-CUBE-NFC3.
When a technology (RFAL_FEATURE_NFCV) is deactivated (set to false), one must make sure that the discParam.techs2Find does not include this technology in demoIni().
In your case, the discParam.techs2Find in demoIni should be modified to:
discParam.techs2Find = RFAL_NFC_POLL_TECH_A;
and the RFAL features should be modified to:
RFAL_FEATURE_NFCA true
RFAL_FEATURE_NFCB false
RFAL_FEATURE_NFCF false
RFAL_FEATURE_NFCV false
RFAL_FEATURE_T1T true
RFAL_FEATURE_T2T true
RFAL_FEATURE_T4T true
RFAL_FEATURE_ST25TB false
RFAL_FEATURE_ST25xV false
RFAL_FEATURE_DYNAMIC_ANALOG_CONFIG false
RFAL_FEATURE_DYNAMIC_POWER false
RFAL_FEATURE_ISO_DEP true
RFAL_FEATURE_ISO_DEP_POLL true
RFAL_FEATURE_ISO_DEP_LISTEN false
RFAL_FEATURE_NFC_DEP true
Rgds
BT
2023-03-03 01:04 AM
Thank you, modifying the discParam.techs2Find solved my issue.
Regards.
Joaquin.