HFXO Initialization#
Initialize the HFXO oscillator.
Configure the HFXO for crystal or externally-generated waveform operation.
When operating in crystal mode, the value of the variable tuning capacitor Ctune is sourced from a prioritized list of locations:
Device-specific tuning value in Device Information page (factory calibrated PCB and SiP modules with integrated HFXO)
Device-specific tuning value in User Data page at offset 0x100 (manufacturing token
TOKEN_MFG_CTUNE
)Application-specific tuning value in configuration header
sl_device_init_hfxo_config.h
Default value in EMLIB initialization struct for HFXO
If using Simplicity Studio, this configuration header is also configurable through the Project Configurator by selecting the "Device Init: HFXO" configuration component.
Functions#
Initialize HFXO.
Function Documentation#
sl_device_init_hfxo#
sl_status_t sl_device_init_hfxo (void )
Initialize HFXO.
N/A |
Configure the HFXO for crystal or externally-generated waveform operation.
When operating in crystal mode, the value of the variable tuning capacitor Ctune is sourced from a prioritized list of locations:
Device-specific tuning value in Device Information page (PCB and SiP modules with integrated HFXO)
Device-specific tuning value in User Data page at offset 0x100 ("manufacturing token")
Application-specific tuning value in configuration header
sl_device_init_hfxo_config.h
Default value in EMLIB initialization struct for HFXO
Returns
Status code
Return values
SL_STATUS_OK: HFXO started successfully
77
of file platform/service/device_init/inc/sl_device_init_hfxo.h