32KHz Internal Oscillator (OSC32K) Control
Bit31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
Access | |||||||
Reset | |||||||
Bit23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
CALIB[6:0] | |||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
WRTLOCK | STARTUP[2:0] | ||||||
Access | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | |||
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ONDEMAND | RUNSTDBY | EN1K | EN32K | ENABLE | |||
AccessR/W | R/W | R/W | R/W | R/W | |||
Reset1 | 0 | 0 | 0 | 0 |
Oscillator Calibration
These bits control the oscillator calibration. The calibration values must be loaded by the user from the NVM Software Calibration Area.
Write Lock
This bit locks the OSC32K register for future writes, effectively freezing the OSC32K configuration.
Value | Description |
---|---|
0 | The OSC32K configuration is not locked. |
1 | The OSC32K configuration is locked. |
Oscillator Start-Up Time
These bits select start-up time for the oscillator.
The OSCULP32K oscillator is used as input clock to the start-up counter.
STARTUP[2:0] | Number of OSC32K clock cycles | Approximate Equivalent Time [ms] |
---|---|---|
0x0 | 3 | 0.092 |
0x1 | 4 | 0.122 |
0x2 | 6 | 0.183 |
0x3 | 10 | 0.305 |
0x4 | 18 | 0.549 |
0x5 | 34 | 1.038 |
0x6 | 66 | 2.014 |
0x7 | 130 | 3.967 |
On Demand Control
This bit controls how the OSC32K behaves when a peripheral clock request is detected. For details, refer to OSC32K Sleep Behavior.
Run in Standby
This bit controls how the OSC32K behaves during standby sleep mode. For details, refer to OSC32K Sleep Behavior.
1KHz Output Enable
Value | Description |
---|---|
0 | The 1KHz output is disabled. |
1 | The 1KHz output is enabled. |
32KHz Output Enable
Value | Description |
---|---|
0 | The 32KHz output is disabled. |
1 | The 32KHz output is enabled. |
Oscillator Enable
Value | Description |
---|---|
0 | The oscillator is disabled. |
1 | The oscillator is enabled. |