KW47: RF switching on wireless_ranging_bm example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KW47: RF switching on wireless_ranging_bm example

606 Views
alanlow
Contributor II

Hi,

Is there any RF switching when running wireless_ranging_bm example? If yes,

1) How are RF_GPIO_4(PTD1) and RF_GPIO_5(PTD2) got configured? I traced the code and did not discover any pin configuration for these 2 pins.

2) Who is controlling the switching? (ranging demo app or NBU)

Thanks 

0 Kudos
Reply
1 Reply

559 Views
sofiaurueta
NXP Employee
NXP Employee

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.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2321721%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EKW47%3A%20RF%20switching%20on%20wireless_ranging_bm%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2321721%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EIs%20there%20any%20RF%20switching%20when%20running%20wireless_ranging_bm%20example%3F%20If%20yes%2C%3C%2FP%3E%3CP%3E1)%20How%20are%20RF_GPIO_4(PTD1)%20and%20RF_GPIO_5(PTD2)%20got%20configured%3F%20I%20traced%20the%20code%20and%20did%20not%20discover%20any%20pin%20configuration%20for%20these%202%20pins.%3C%2FP%3E%3CP%3E2)%20Who%20is%20controlling%20the%20switching%3F%20(ranging%20demo%20app%20or%20NBU)%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2324016%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW47%3A%20RF%20switching%20on%20wireless_ranging_bm%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2324016%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EHope%20you%20are%20doing%20well.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EFor%20ranging%20operations%20that%20use%20antenna%20switching%2C%20the%20Ranging%20Sequence%20Manager%20(RSM)%20provides%20the%20switching%20triggers%20to%20the%20Localization%20Control%20(LCL)%20module.%20You%20can%20find%20more%20information%20in%20Chapter%2052.4.4.2%20Transceiver%20of%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2FKW47RM.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EKW47%20Reference%20Manual%3C%2FA%3E.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIn%20the%20wireless_ranging%20example%2C%20the%20RF%20switch%20pin%20configuration%20is%20defined%20in%20pin_mux.c%20function%20BOARD_InitRFSwitchControlPins().%20KW47-LOC%20uses%20a%20different%20set%20of%20RF_GPO%20and%20pin%E2%80%91mux%20settings%20(PTD1%2C%20PTD2%2C%20PTD3)%2C%20please%20refer%20to%20API%20PLATFORM_InitLcl%2C%20which%20sets%20the%20debug%20GPIOs%20and%20antenna%E2%80%91switching%20IOs%20for%20BLE%20localization%20applications.%20The%20setup%20for%20PTD1%2C%20PTD2%2C%20PTD3%20is%20included.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EAna%20Sofia.%3C%2FP%3E%3C%2FLINGO-BODY%3E