Changing RF and System Configurations at Runtime

Changing RF and System Configurations at Runtime

Generally, system and RF-configurations can be tweaked with the Config Tool, and the configuration files can be exported by clicking "Generate C files". This will create ptxNSC_RfConfigVal.c and ptxNSC_RfConfigVal.h. Let’s suppose, the new configurations only change ptxNSC_RfConfig_Wavebank_19 and ptxNSC_RfConfig_RegsMisc. In that case, the configuration values can be applied at runtime like this (just an example, with default values):

image-2025-08-27-14-24-32-599.png

If only 1 item is to be updated:

image-2025-08-27-14-24-43-123.png

The IDs are listed in ptx_IOT_READER.h. Make sure ptxIoTRd_Update_ChipConfig() is called after ptxIoTRd_Init() and before ptxIoTRd_Initiate_Discovery().