Module

Define

Values

Device Specific?

Description

ANTDIV

BSP_ANTDIV_NSEL_PIN

0-15

 

Complementary antenna select pin

ANTDIV

BSP_ANTDIV_NSEL_PORT

GPIO_Port_TypeDef

 

Complementary antenna select port

ANTDIV

BSP_ANTDIV_PRESENT

0 or 1

 

Antenna diversity present. SEL signal must be defined, NSEL is optional.

ANTDIV

BSP_ANTDIV_SEL_PIN

0-15

 

Antenna select pin

ANTDIV

BSP_ANTDIV_SEL_PORT

GPIO_Port_TypeDef

 

Antenna select port

ANTDIV

HAL_ANTDIV_ENABLE

0 or 1

 

Enable antenna diversity. SEL signal must be defined, NSEL is optional.

BTL_BUTTON

HAL_BTL_BUTTON_ENABLE

0 or 1

 

Enable bootloader entry via button press

BTL_BUTTON

HAL_BTL_BUTTON_PIN

0-15

 

Bootloader entry button pin

BTL_BUTTON

HAL_BTL_BUTTON_PORT

GPIO_Port_TypeDef

 

Bootloader entry button port

BUTTON

BSP_BUTTON_COUNT

uint8_t

 

Number of buttons available

BUTTON

BSP_BUTTON_GPIO_DOUT

HAL_GPIO_DOUT_LOW, HAL_GPIO_DOUT_HIGH

 

DOUT value of button pins. High/low for pullup/pulldown, high for filter on input only mode.

BUTTON

BSP_BUTTON_GPIO_MODE

HAL_GPIO_MODE_INPUT, HAL_GPIO_MODE_INPUT_PULL, HAL_GPIO_MODE_INPUT_PULL_FILTER

 

GPIO mode of button pins

BUTTON

BSP_BUTTON_INIT

{{HAL_BUTTON0_PORT,HAL_BUTTON0_PIN}, …{HAL_BUTTONn_PORT, HAL_BUTTONn_PIN}}

 

Array of button port and pin numbers. Must be BSP_BUTTON_COUNT length.

BUTTON

BSP_BUTTONn_PIN

0-15

 

Pin # of BUTTONn

BUTTON

BSP_BUTTONn_PORT

GPIO_Port_TypeDef

 

Port of BUTTONn

BUTTON

HAL_BUTTON_COUNT

uint8_t

 

Number of buttons to enable

BUTTON

HAL_BUTTON_ENABLE

{uint8_t, uint8_t … }

 

Array of button indicies to enable

CLK

BSP_CLK_HFXO_FREQ

uint32_t

 

HFXO frequency

CLK

BSP_CLK_HFXO_INIT

CMU_HFXOInit_TypeDef

 

HFXO initialization settings

CLK

BSP_CLK_HFXO_PRESENT

0 or 1

 

HFXO availability

CLK

BSP_CLK_LFXO_FREQ

uint32_t

 

LFXO frequency

CLK

BSP_CLK_LFXO_INIT

CMU_LFXOInit_TypeDef

 

LFXO initialization settings (optional)

CLK

BSP_CLK_LFXO_PRESENT

0 or 1

 

LFXO availability

CLK

HAL_CLK_HFCLK_SOURCE

HAL_CLK_HFCLK_SOURCE_HFRCO, HAL_CLK_HFCLK_SOURCE_HFXO

 

Oscillator source for the high frequency clock tree

CLK

HAL_CLK_LFCLK_SOURCE

HAL_CLK_LFCLK_SOURCE_LFRCO, HAL_CLK_LFCLK_SOURCE_LFXO

 

Oscillator source for the low frequency clock trees (LFA, LFB)

DCDC

BSP_DCDC_INIT

EMU_DCDCInit_TypeDef

EFR32

DCDC initialization options

DCDC

BSP_DCDC_PRESENT

0 or 1

EFR32

Power circuit configured for DCDC

DCDC

HAL_DCDC_BYPASS

0 or 1

EFR32

Override DCDC mode to bypass mode (when board is configured for DCDC)

EXTDEV

BSP_EXTDEV_CS_PIN

0-15

 

External device nSEL/CS pin

EXTDEV

BSP_EXTDEV_CS_PORT

GPIO_Port_TypeDef

 

External device nSEL/CS port

EXTDEV

BSP_EXTDEV_INT_PIN

0-15

 

External device interrupt pin

EXTDEV

BSP_EXTDEV_INT_PORT

GPIO_Port_TypeDef

 

External device interrupt port

EXTDEV

BSP_EXTDEV_SDN_PIN

0-15

 

External device shutdown pin

EXTDEV

BSP_EXTDEV_SDN_PORT

GPIO_Port_TypeDef

 

External device shutdown port

EXTDEV

HAL_EXTDEV_ENABLE

0 or 1

 

Enable external device driver

EXTFLASH

BSP_EXTFLASH_CS_PIN

0-15

 

Spiflash chip select pin

EXTFLASH

BSP_EXTFLASH_CS_PORT

GPIO_Port_TypeDef

 

Spiflash chip select port

EXTFLASH

BSP_EXTFLASH_HOLD_PIN

0-15

 

Spiflash hold pin

EXTFLASH

BSP_EXTFLASH_HOLD_PORT

GPIO_Port_TypeDef

 

Spiflash hold port

EXTFLASH

BSP_EXTFLASH_MISO_LOC

_USART_ROUTELOC0_RXLOC_LOCn

EFR32

Spiflash MISO location

EXTFLASH

BSP_EXTFLASH_MISO_PIN

0-15

 

Spiflash MISO pin

EXTFLASH

BSP_EXTFLASH_MISO_PORT

GPIO_Port_TypeDef

 

Spiflash MISO port

EXTFLASH

BSP_EXTFLASH_MOSI_LOC

_USART_ROUTELOC0_TXLOC_LOCn

EFR32

Spiflash MOSI location

EXTFLASH

BSP_EXTFLASH_MOSI_PIN

0-15

 

Spiflash MOSI pin

EXTFLASH

BSP_EXTFLASH_MOSI_PORT

GPIO_Port_TypeDef

 

Spiflash MOSI port

EXTFLASH

BSP_EXTFLASH_SCLK_LOC

_USART_ROUTELOC0_CLKLOC_LOCn

EFR32

Spiflash CLK location

EXTFLASH

BSP_EXTFLASH_SCLK_PIN

0-15

 

Spiflash CLK pin

EXTFLASH

BSP_EXTFLASH_SCLK_PORT

GPIO_Port_TypeDef

 

Spiflash CLK port

EXTFLASH

BSP_EXTFLASH_USART

USARTn

 

USART connected to spiflash

EXTFLASH

BSP_EXTFLASH_USART_CLK

CMU_Clock_TypeDef (USART only)

 

Clock for spiflash USART

EXTFLASH

BSP_EXTFLASH_WP_PIN

0-15

 

Spiflash write protect pin

EXTFLASH

BSP_EXTFLASH_WP_PORT

GPIO_Port_TypeDef

 

Spiflash write protect port

EXTFLASH

HAL_EXTFLASH_USART_BAUDRATE

uint32_t

 

Baudrate for spiflash USART

EZRADIOPRO

BSP_EZRADIOPRO_FREQ

uint8_t

 

PRO2+ SPI frequency in MHz

EZRADIOPRO

BSP_EZRADIOPRO_USART

USARTn

 

USART connected to the PRO2+ transceiver

EZRADIOPRO

HAL_EZRADIOPRO_SHUTDOWN_SLEEP

0 or 1

 

Shutdown PRO2+ when sleeping

LED

BSP_LED_COUNT

uint8_t

 

Number of LEDs available

LED

BSP_LED_INIT

{{HAL_LED0_PORT, HAL_LED0_PIN},
...{HAL_LEDn_PORT, HAL_LEDn_PIN}}

 

Array of LED port and pin numbers. Must be BSP_LED_COUNT length.

LED

BSP_LEDn_PIN

0-15

 

Pin # of LEDn

LED

BSP_LEDn_PORT

GPIO_Port_TypeDef

 

Port of LEDn

LED

HAL_LED_COUNT

uint8_t

 

Number of LEDs to enable

LED

HAL_LED_ENABLE

{uint8_t, uint8_t … }

 

Array of LED indicies to enable

PA

HAL_PA_2P4_ENABLE

0 or 1

EFR32

Enable 2.4GHz PA

PA

HAL_PA_2P4_OFFSET

int16_t

EFR32

Output power offset in dBm * 10(2.4GHz)

PA

HAL_PA_2P4_POWER

int16_t

EFR32

Desired output power in dBm * 10 (2.4GHz)

PA

HAL_PA_2P4_RAMP

int16_t

EFR32

Desired ramp time in us (2.4GHz)

PA

HAL_PA_2P4_VOLTMODE

RADIO_PAVoltMode

EFR32

2.4GHz PA voltage mode

PA

HAL_PA_SUBGIG_ENABLE

0 or 1

EFR32

Enable Sub-GHz PA

PA

HAL_PA_SUBGIG_OFFSET

int16_t

EFR32

Output power offset in dBm * 10(Sub-GHz)

PA

HAL_PA_SUBGIG_POWER

int16_t

EFR32

Desired output power in dBm (Sub-GHz)

PA

HAL_PA_SUBGIG_RAMP

int16_t

EFR32

Desired ramp time in us (Sub-GHz)

PA

HAL_PA_SUBGIG_VOLTMODE

RADIO_PAVoltMode

EFR32

Sub-GHz PA voltage mode

 

On to Table Part 2

 

Back to Migrating to the new HAL Config file format for EFR32

  • ZigBee and Thread
  • Thread SDK
  • Knowledge Base Articles