Radio#

Functions#

sl_status_t
sl_si91x_transmit_test_start(sl_si91x_request_tx_test_info_t *tx_test_info)

Start the transmit test.

sl_status_t

Stop the transmit test.

sl_status_t
sl_si91x_frequency_offset(const sl_si91x_freq_offset_t *frequency_calibration)

Used to provide feedback of Frequency error in KHz.

sl_status_t
sl_si91x_set_device_region(sl_si91x_operation_mode_t operation_mode, sl_si91x_band_mode_t band, sl_si91x_region_code_t region_code)

Set the device region.

sl_status_t
sl_si91x_calibration_write(sl_si91x_calibration_write_t calib_write)

This API will command the firmware to update the existing Flash/EFuse calibration data.

sl_status_t
sl_si91x_calibration_read(sl_si91x_calibration_read_t target, sl_si91x_calibration_read_t *calibration_read)

This API reads the calibration data from the Flash/EFuse storage.

sl_status_t
sl_si91x_evm_offset(const sl_si91x_evm_offset_t *evm_offset)

Application that offers feedback on the error caused by the EVM offset.

sl_status_t
sl_si91x_evm_write(const sl_si91x_evm_write_t *evm_write)

This API will command the firmware to update the existing Flash/EFuse calibration data.

sl_status_t
sl_si91x_dpd_calibration(const sl_si91x_get_dpd_calib_data_t *dpd_calib_data)

This API updates Flash/Efuse DPD data.

sl_status_t
sl_si91x_efuse_read(sl_si91x_efuse_read_t *efuse_read, uint8_t *efuse_read_buf)

This API will command the firmware to get the data from the Efuse memory location.

Function Documentation#

sl_si91x_transmit_test_start#

sl_status_t sl_si91x_transmit_test_start (sl_si91x_request_tx_test_info_t * tx_test_info)

Start the transmit test.

Parameters
[in]tx_test_info

sl_si91x_request_tx_test_info_t Configurable Tx test mode request structure

This is a blocking API.

  • Pre-conditions:

Returns


Definition at line 297 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_transmit_test_stop#

sl_status_t sl_si91x_transmit_test_stop (void )

Stop the transmit test.

Parameters
[in]

This is a blocking API.

  • Pre-conditions:

Returns


Definition at line 308 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_frequency_offset#

sl_status_t sl_si91x_frequency_offset (const sl_si91x_freq_offset_t * frequency_calibration)

Used to provide feedback of Frequency error in KHz.

Parameters
[in]frequency_calibration

Frequency in KHz of type sl_si91x_freq_offset_t.

This is a blocking API.

  • Pre-conditions:

Returns


Definition at line 321 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_set_device_region#

sl_status_t sl_si91x_set_device_region (sl_si91x_operation_mode_t operation_mode, sl_si91x_band_mode_t band, sl_si91x_region_code_t region_code)

Set the device region.

Parameters
[in]operation_mode

sl_si91x_operation_mode_t Operation mode of the device.

[in]band

sl_si91x_band_mode_t Operational band of the device.

[in]region_code

sl_si91x_region_code_t Region code to be set in the device.

Returns


Definition at line 338 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_calibration_write#

sl_status_t sl_si91x_calibration_write (sl_si91x_calibration_write_t calib_write)

This API will command the firmware to update the existing Flash/EFuse calibration data.

Parameters
[in]calib_write

Write calibration configuration of type sl_si91x_calibration_write_t

This is a blocking API.

  • Pre-conditions:

    • sl_wifi_init, sl_si91x_transmit_test_start and sl_si91x_frequency_offset should be called before this API.

Returns


Definition at line 353 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_calibration_read#

sl_status_t sl_si91x_calibration_read (sl_si91x_calibration_read_t target, sl_si91x_calibration_read_t * calibration_read)

This API reads the calibration data from the Flash/EFuse storage.

Parameters
[in]target

0 - READ_FROM_EFUSE (read calibration data from the EFuse) 1 - READ_FROM_FLASH (read calibration data from the Flash)

[out]calibration_read

Read the calibration configuration of type sl_si91x_calibration_read_t

This is a blocking API.

  • Pre-conditions:

Returns


Definition at line 369 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_evm_offset#

sl_status_t sl_si91x_evm_offset (const sl_si91x_evm_offset_t * evm_offset)

Application that offers feedback on the error caused by the EVM offset.

Parameters
[in]evm_offset

evm offset of type sl_si91x_evm_offset_t

This is a blocking API.

  • Pre-conditions:

Returns


Definition at line 383 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_evm_write#

sl_status_t sl_si91x_evm_write (const sl_si91x_evm_write_t * evm_write)

This API will command the firmware to update the existing Flash/EFuse calibration data.

Parameters
[in]evm_write

Write the evm calibration configuration of type sl_si91x_evm_write_t

This is a blocking API.

Returns


Definition at line 396 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_dpd_calibration#

sl_status_t sl_si91x_dpd_calibration (const sl_si91x_get_dpd_calib_data_t * dpd_calib_data)

This API updates Flash/Efuse DPD data.

Parameters
[in]dpd_calib_data

Write DPD calibration data of type sl_si91x_get_dpd_calib_data_t

This is a synchronous API

Returns


Definition at line 409 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_efuse_read#

sl_status_t sl_si91x_efuse_read (sl_si91x_efuse_read_t * efuse_read, uint8_t * efuse_read_buf)

This API will command the firmware to get the data from the Efuse memory location.

Parameters
[in]efuse_read

efuse read structure, which contains efuse read address offset and read data length of type sl_si91x_efuse_read_t

[out]efuse_read_buf

efuse read buffer

This is a blocking API.

  • Pre-conditions:

Returns


Definition at line 424 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h