...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
132
www.silabs.com
Figure 11.3. CMU Switching from HFRCO to HFXO after HFXO is ready
00
02
00
HFXO
CMU_STATUS.HFXORDY
CMU_STATUS.HFXOENS
CMU_STATUS.HFXOSEL
HFRCO
HFCLK
HFXO t im e- out period
CMU_STATUS.HFRCORDY
CMU_STATUS.HFRCOENS
CMU_STATUS.HFRCOSEL
CMU_OSCENCMD.HFXOEN
CMU_OSCENCMD.HFXODIS
c
lo
c
k
s
CMU_CMD.HFCLKSEL
CMU_OSCENCMD.HFRCOEN
CMU_OSCENCMD.HFRCODIS
c
o
m
m
a
n
d
s
ta
tu
s
Switching clock source for LFACLK and LFBCLK is done by setting the LFA and LFB fields in
CMU_LFCLKSEL. To ensure no stalls in the Low Energy Peripherals, the clock source should be ready
before switching to it.
Note
To save energy, remember to turn off all oscillators not in use.
11.3.3 Oscillator Configuration
11.3.3.1 HFXO and LFXO
The crystal oscillators are by default configured to ensure safe startup and operation of the most common
crystals. In order to optimize startup margin, startup time and power consumption for a given crystal, it is
possible to adjust the gain in the oscillator. HFXO gain can be increased by setting HFXOBOOST field
in CMU_CTRL, LFXO gain can be increased by setting LFXOBOOST field in CMU_CTRL or reduced
by setting REDLFXOBOOST field in EMU_AUXCTRL. It is important that the boost settings, along with
the crystal load capacitors are matched to the crystals in use. Correct values for these parameters can
be found using the energyAware Designer.
The HFXO crystal is connected to the HFXTAL_N/HFXTAL_P pins as shown in Figure 11.4 (p. 132)
Figure 11.4. HFXO Pin Connection
Similarly, the LFXO crystal is connected to the LFXTAL_N/LFXTAL_P pins as shown in Figure 11.5 (p.
133)
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......