Skip to main content
Gaston
Associate III
October 12, 2020
Solved

override AAT on ST25R3916

  • October 12, 2020
  • 1 reply
  • 825 views

Hi,

For production I don't want to use AAT_A and AAT_B features on ST25R3916 device. Can I leave these pins unconnected? What part of rfal should I remove to do this?

regards,

gaston

This topic has been closed for replies.
Best answer by Ulysses HERNIOSUS

Hi Gaston,

similar as for the CSI/CSO: st25r3916_aat.c contains the tuning algorithm. If you don't explicitly call it then there is no code added by linker. Besides you can remove it from the analog config: Currently defined in either rfal_analogConfigTbl.h or rfal_analog_config_custom.c (depending whether your application uses the default analog configs from RFAL). There you can delete/create your own copy where you remove the lines containing "__aat_en" and "ANT_TUNE_*", then also adjust the MODE_ENTRY number to cope with the removed entries.

Regards, Ulysses

1 reply

Ulysses HERNIOSUS
ST Technical Moderator
October 13, 2020

Hi Gaston,

similar as for the CSI/CSO: st25r3916_aat.c contains the tuning algorithm. If you don't explicitly call it then there is no code added by linker. Besides you can remove it from the analog config: Currently defined in either rfal_analogConfigTbl.h or rfal_analog_config_custom.c (depending whether your application uses the default analog configs from RFAL). There you can delete/create your own copy where you remove the lines containing "__aat_en" and "ANT_TUNE_*", then also adjust the MODE_ENTRY number to cope with the removed entries.

Regards, Ulysses