KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) We are currently using the KW47-EVK, and we have a few questions regarding this compiler switch. Concerning the purpose of BOARD_LOCALIZATION_REVISION_SUPPORT, based on the comments in the SDK, we understand that it was introduced specifically for the KW47-LOC board. Could you please confirm whether this understanding is correct? When using the KW47-EVK, is it correct that BOARD_LOCALIZATION_REVISION_SUPPORT should be disabled? When BOARD_LOCALIZATION_REVISION_SUPPORT is disabled, the following pins are configured as Alt6(RF_GPO) in PLATFORM_InitLcl(). What is the purpose of this configuration? PTA18 PTA19 PTA20 Is this configuration intended only for debugging purposes? Or is it required that these pins remain configured as RF_GPO for proper operation of the device? The code below shows the location where these pins are configured. Best regards, Katsuya Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello, Hope you are doing well.
The BOARD_LOCALIZATION_REVISION_SUPPORT macro selects the localization-board RF-GPO routing and is used when the Localization board (KW47-LOC) is in use and needed only when the application uses the localization or external antenna-switch functionality. In this case, if you are using the KW47-EVK, the macro should be disabled, and the RF-GPO reconfiguration is not required for normal operation of the EVK default RF path.
When the BOARD_LOCALIZATION_REVISION_SUPPORT macro is enabled, PLATFORM_InitLcl() selects the RF_GPO[7:4] group on PTD (PTD1, PTD2, and PTD3) pins.
When disabled, it selects RF_GPO[3:0], and configures PTA18, PTA19, and PTA20 as Alt6, corresponding to RF_GPO_0, RF_GPO_1, and RF_GPO_2.
For furth reference you can see section 52.3.2.5 Radio Localization Antenna Select of the KW47 Reference Manual.
Best regards, Sofia. Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello Sofia Could you please provide information regarding the following? 3. When BOARD_LOCALIZATION_REVISION_SUPPORT is disabled, the following pins are configured as Alt6(RF_GPO) in PLATFORM_InitLcl(). What is the purpose of this configuration? PTA18 PTA19 PTA20 Is this configuration intended only for debugging purposes? Or is it required that these pins remain configured as RF_GPO for proper operation of the device? Best regards, Katsuya Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello @Katsuya ,
Since the unmodified KW47-EVK uses a single default antenna, antenna-selection RF_GPO routing is not required for normal RF operation. BOARD_LOCALIZATION_REVISION_SUPPORT should be disabled unless the application targets the KW47-LOC routing or an antenna diversity board. The RF_GPO configuration is used for localization or external antenna-switch control, not only for debugging.
If the application calls PLATFORM_InitLcl(), the SDK automatically configures PTA18, PTA19, and PTA20 as Alt6(RF_GPO), so no manual configuration is required. If PLATFORM_InitLcl() is not called, the pins retain their normal pin_mux.c configuration, and RF_GPO configuration is not required for the EVK default RF operation.
Best regards, Sofia. Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello Sofia, When operating normally, is my understanding correct that there is no need to configure PTA18, PTA19, and PTA20 as Alt6, and that this configuration is intended only for debugging purposes? Best regards, Katsuya
View full article