Hello,
Hope you are doing well.
For ranging operations that use antenna switching, the Ranging Sequence Manager (RSM) provides the switching triggers to the Localization Control (LCL) module. You can find more information in Chapter 52.4.4.2 Transceiver of the KW47 Reference Manual.
In the wireless_ranging example, the RF switch pin configuration is defined in pin_mux.c function BOARD_InitRFSwitchControlPins(). KW47-LOC uses a different set of RF_GPO and pin‑mux settings (PTD1, PTD2, PTD3), please refer to API PLATFORM_InitLcl, which sets the debug GPIOs and antenna‑switching IOs for BLE localization applications. The setup for PTD1, PTD2, PTD3 is included.
Best regards,
Ana Sofia.