12.6.6 OSCHF Control

Name: OSCHFCTRL
Offset: 0x24
Reset: 0x00000C80
Property: Local Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   FRQSEL[3:0] AUTOTUNE 
Access R/WR/WR/WR/WR/W 
Reset 00110 
Bit 76543210 
 ONDEMAND        
Access R/W 
Reset 1 

Bits 13:10 – FRQSEL[3:0] Frequency Select

This bit field controls the OSCHF frequency.

ValueNameDescription
0x00 1M 1 MHz output clock
0x01 2M 2 MHz output clock
0x02 3M 3 MHz output clock
0x03 4M 4 MHz output clock (default)
0x04 Reserved
0x05 8M 8 MHz output clock
0x06 12M 12 MHz output clock
0x07 16M 16 MHz output clock
0x08 20M 20 MHz output clock
0x09 24M 24 MHz output clock
0x0A - 0x0F Reserved

Bit 8 – AUTOTUNE Automatic oscillator tune

Enable automatic tuning using 32.768 kHz from XOSC32K.

ValueNameDescription
0 OFF Automatic oscillator frequency tune disabled
1 ON Automatic oscillator frequency tune enabled

Bit 7 – ONDEMAND On-Demand Operation

The On-Demand Operation (ONDEMAND) bit allows the OSCHF to be enabled or disabled depending on peripheral clock requests. If ONDEMAND is set, the OSCHF will only be running when requested by a peripheral. If there is no peripheral requesting the OSCHF clock source, the OSCHF will not be running.

For details, refer to the Sleep Mode Operations section.

ValueNameDescription
0 DISABLE The OSCHF is always running
1 ENABLE The OSCHF On-Demand Operation is enabled and the oscillator will be running when requested