CMU_RFFPLL_Init_TypeDef Struct Reference

RFF PLL initialization structure.

#include <em_cmu.h>

Data Fields

uint32_t frequency
Host target frequency.
bool disOnDemand
Disable on-demand requests.
bool forceEn
Force oscillator enable.
bool regLock
Enable register lock.
uint8_t dividerY
Divider Y for digital.
uint8_t dividerX
Divider X for Radio.
uint8_t dividerN
Feedback divider N.

RFF PLL initialization structure.

When using this structure you need to modify the X, Y and N factor and the desired host target frequency to match the components placed on the board (namely the RFFPLL reference clock). X, Y, N values for a 39MHz HFXO:

  • Formula for host clock output: frequency = (freq HFXO * dividerN / 2) / dividerY
  • Formula for radio clock output: freq = (freq HFXO * dividerN / 2) / (dividerX / 2)

Field Documentation

frequency

uint32_t CMU_RFFPLL_Init_TypeDef::frequency

Host target frequency.


disOnDemand

bool CMU_RFFPLL_Init_TypeDef::disOnDemand

Disable on-demand requests.

forceEn

bool CMU_RFFPLL_Init_TypeDef::forceEn

Force oscillator enable.


regLock

bool CMU_RFFPLL_Init_TypeDef::regLock

Enable register lock.


dividerY

uint8_t CMU_RFFPLL_Init_TypeDef::dividerY

Divider Y for digital.


dividerX

uint8_t CMU_RFFPLL_Init_TypeDef::dividerX

Divider X for Radio.


dividerN

uint8_t CMU_RFFPLL_Init_TypeDef::dividerN

Feedback divider N.