Datasheet
17.8.7 32kHz Internal Oscillator (OSC32K) Control
Name: OSC32K
Offset: 0x18
Reset: 0x003F0080
Property: Write-Protected
Bit 31 30 29 28 27 26 25 24
Access
Reset
Bit 23 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 1 1 1 1 1 1
Bit 15 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
Bit 7 6 5 4 3 2 1 0
ONDEMAND RUNSTDBY EN32K ENABLE
Access
R/W R/W R/W R/W
Reset 1 0 0 0
Bits 22:16 – CALIB[6:0] Oscillator Calibration
These bits control the oscillator calibration.
This value must be written by the user.
Factory calibration values can be loaded from the non-volatile memory.
Bit 12 – WRTLOCK Write Lock
This bit locks the OSC32K register for future writes to fix the OSC32K configuration.
Value Description
0
The OSC32K configuration is not locked.
1
The OSC32K configuration is locked.
Bits 10:8 – STARTUP[2:0] Oscillator Start-Up Time
These bits select start-up time for the oscillator.
The OSCULP32K oscillator is used as input clock to the startup counter.
SAM D21 Family
SYSCTRL – System Controller
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 216