HFXO Initialization
Description
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
Functions | |
sl_status_t | sl_device_init_hfxo (void) |
Initialize HFXO. | |
Function Documentation
◆ sl_device_init_hfxo()
sl_status_t sl_device_init_hfxo | ( | void |
| ) |
Initialize HFXO.
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