RF Path Switch Utility#
RAIL RF Path Switch Utility#
This optional software component can be enabled to control a GPIO toggled switch based on RFPATH selection and radio state. An example usage of this component is toggling a switch on RFPATH0 to ground when RFPATH1 is in use to avoid spurious harmonics.
When using a Silicon Labs-developed board, the configuration options for this software component are set up automatically based on the selected board. When using a custom board, manually configure the configuration options.
Configuration Options#
The following configuration macros are available for modification:
RF Path Switch:
SL_RAIL_UTIL_RF_PATH_SWITCH_CONTROL_PORT: GPIO port for rfpath selection signal output.
SL_RAIL_UTIL_RF_PATH_SWITCH_CONTROL_PIN: GPIO pin for rfpath selection signal output.
SL_RAIL_UTIL_RF_PATH_SWITCH_INVERTED_CONTROL_PORT: GPIO port for logical NOT rfpath selection signal output.
SL_RAIL_UTIL_RF_PATH_SWITCH_INVERTED_CONTROL_PIN: GPIO pin for logical NOT rfpath selection signal output.
SL_RAIL_UTIL_RF_PATH_SWITCH_RADIO_ACTIVE_PORT: GPIO port for radio active signal output.
SL_RAIL_UTIL_RF_PATH_SWITCH_RADIO_ACTIVE_PIN: GPIO pin for radio active signal output.
SL_RAIL_UTIL_RF_PATH_SWITCH_RADIO_ACTIVE_MODE: Logical AND radio active signal output with CONTROL or INVERTED_CONTROL signal outputs if set to SL_RAIL_UTIL_RF_PATH_SWITCH_RADIO_ACTIVE_COMBINE.