The 22 registers of OSCCTRL (Oscillators Control), from 0x40001000, with their reset value and every field. The ATSAME51N19A has 2732 registers in 67 peripherals, one page each.
OSCCTRL Oscillators Control
EVCTRLEvent Control
Address
0x40001000
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1CFDEO1
0CFDEO0
2 fields
Field
Bits
What it does
CFDEO1
1
Clock 1 Failure Detector Event Output Enable
CFDEO0
0
Clock 0 Failure Detector Event Output Enable
INTENCLRInterrupt Enable Clear
Address
0x40001004
Reset
0x00000000
Access
read/write
Size
32-bit
17 fields
Field
Bits
What it does
DPLL1LDRTO
27
DPLL1 Loop Divider Ratio Update Complete Interrupt Enable
DPLL1LTO
26
DPLL1 Lock Timeout Interrupt Enable
DPLL1LCKF
25
DPLL1 Lock Fall Interrupt Enable
DPLL1LCKR
24
DPLL1 Lock Rise Interrupt Enable
DPLL0LDRTO
19
DPLL0 Loop Divider Ratio Update Complete Interrupt Enable
DPLL0LTO
18
DPLL0 Lock Timeout Interrupt Enable
DPLL0LCKF
17
DPLL0 Lock Fall Interrupt Enable
DPLL0LCKR
16
DPLL0 Lock Rise Interrupt Enable
DFLLRCS
12
DFLL Reference Clock Stopped Interrupt Enable
DFLLLCKC
11
DFLL Lock Coarse Interrupt Enable
DFLLLCKF
10
DFLL Lock Fine Interrupt Enable
DFLLOOB
9
DFLL Out Of Bounds Interrupt Enable
DFLLRDY
8
DFLL Ready Interrupt Enable
XOSCFAIL1
3
XOSC 1 Clock Failure Detector Interrupt Enable
XOSCFAIL0
2
XOSC 0 Clock Failure Detector Interrupt Enable
XOSCRDY1
1
XOSC 1 Ready Interrupt Enable
XOSCRDY0
0
XOSC 0 Ready Interrupt Enable
INTENSETInterrupt Enable Set
Address
0x40001008
Reset
0x00000000
Access
read/write
Size
32-bit
17 fields
Field
Bits
What it does
DPLL1LDRTO
27
DPLL1 Loop Divider Ratio Update Complete Interrupt Enable
DPLL1LTO
26
DPLL1 Lock Timeout Interrupt Enable
DPLL1LCKF
25
DPLL1 Lock Fall Interrupt Enable
DPLL1LCKR
24
DPLL1 Lock Rise Interrupt Enable
DPLL0LDRTO
19
DPLL0 Loop Divider Ratio Update Complete Interrupt Enable
DPLL0LTO
18
DPLL0 Lock Timeout Interrupt Enable
DPLL0LCKF
17
DPLL0 Lock Fall Interrupt Enable
DPLL0LCKR
16
DPLL0 Lock Rise Interrupt Enable
DFLLRCS
12
DFLL Reference Clock Stopped Interrupt Enable
DFLLLCKC
11
DFLL Lock Coarse Interrupt Enable
DFLLLCKF
10
DFLL Lock Fine Interrupt Enable
DFLLOOB
9
DFLL Out Of Bounds Interrupt Enable
DFLLRDY
8
DFLL Ready Interrupt Enable
XOSCFAIL1
3
XOSC 1 Clock Failure Detector Interrupt Enable
XOSCFAIL0
2
XOSC 0 Clock Failure Detector Interrupt Enable
XOSCRDY1
1
XOSC 1 Ready Interrupt Enable
XOSCRDY0
0
XOSC 0 Ready Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address
0x4000100C
Reset
0x00000000
Access
read/write
Size
32-bit
17 fields
Field
Bits
What it does
DPLL1LDRTO
27
DPLL1 Loop Divider Ratio Update Complete
DPLL1LTO
26
DPLL1 Lock Timeout
DPLL1LCKF
25
DPLL1 Lock Fall
DPLL1LCKR
24
DPLL1 Lock Rise
DPLL0LDRTO
19
DPLL0 Loop Divider Ratio Update Complete
DPLL0LTO
18
DPLL0 Lock Timeout
DPLL0LCKF
17
DPLL0 Lock Fall
DPLL0LCKR
16
DPLL0 Lock Rise
DFLLRCS
12
DFLL Reference Clock Stopped
DFLLLCKC
11
DFLL Lock Coarse
DFLLLCKF
10
DFLL Lock Fine
DFLLOOB
9
DFLL Out Of Bounds
DFLLRDY
8
DFLL Ready
XOSCFAIL1
3
XOSC 1 Clock Failure Detector
XOSCFAIL0
2
XOSC 0 Clock Failure Detector
XOSCRDY1
1
XOSC 1 Ready
XOSCRDY0
0
XOSC 0 Ready
STATUSStatus
Address
0x40001010
Reset
0x00000000
Access
read only
Size
32-bit
19 fields
Field
Bits
What it does
DPLL1LDRTO
27
DPLL1 Loop Divider Ratio Update Complete
DPLL1TO
26
DPLL1 Timeout
DPLL1LCKF
25
DPLL1 Lock Fall
DPLL1LCKR
24
DPLL1 Lock Rise
DPLL0LDRTO
19
DPLL0 Loop Divider Ratio Update Complete
DPLL0TO
18
DPLL0 Timeout
DPLL0LCKF
17
DPLL0 Lock Fall
DPLL0LCKR
16
DPLL0 Lock Rise
DFLLRCS
12
DFLL Reference Clock Stopped
DFLLLCKC
11
DFLL Lock Coarse
DFLLLCKF
10
DFLL Lock Fine
DFLLOOB
9
DFLL Out Of Bounds
DFLLRDY
8
DFLL Ready
XOSCCKSW1
5
XOSC 1 Clock Switch
XOSCCKSW0
4
XOSC 0 Clock Switch
XOSCFAIL1
3
XOSC 1 Clock Failure Detector
XOSCFAIL0
2
XOSC 0 Clock Failure Detector
XOSCRDY1
1
XOSC 1 Ready
XOSCRDY0
0
XOSC 0 Ready
XOSCCTRL0External Multipurpose Crystal Oscillator Control
Address
0x40001014
Reset
0x00000080
Access
read/write
Size
32-bit
12 fields
Field
Bits
What it does
CFDPRESC
27:24
Clock Failure Detector Prescaler
0 48 MHz
1 24 MHz
2 12 MHz
3 6 MHz
4 3 MHz
5 1.5 MHz
6 0.75 MHz
7 0.3125 MHz
STARTUP
23:20
Start-Up Time
0 31 us
1 61 us
2 122 us
3 244 us
4 488 us
5 977 us
6 1953 us
7 3906 us
8 7813 us
9 15625 us
10 31250 us
11 62500 us
12 125000 us
13 250000 us
14 500000 us
15 1000000 us
SWBEN
17
Xosc Clock Switch Enable
CFDEN
16
Clock Failure Detector Enable
ENALC
15
Automatic Loop Control Enable
IMULT
14:11
Oscillator Current Multiplier
IPTAT
10:9
Oscillator Current Reference
LOWBUFGAIN
8
Low Buffer Gain Enable
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run in Standby
XTALEN
2
Crystal Oscillator Enable
ENABLE
1
Oscillator Enable
XOSCCTRL1External Multipurpose Crystal Oscillator Control
Address
0x40001018
Reset
0x00000080
Access
read/write
Size
32-bit
12 fields
Field
Bits
What it does
CFDPRESC
27:24
Clock Failure Detector Prescaler
0 48 MHz
1 24 MHz
2 12 MHz
3 6 MHz
4 3 MHz
5 1.5 MHz
6 0.75 MHz
7 0.3125 MHz
STARTUP
23:20
Start-Up Time
0 31 us
1 61 us
2 122 us
3 244 us
4 488 us
5 977 us
6 1953 us
7 3906 us
8 7813 us
9 15625 us
10 31250 us
11 62500 us
12 125000 us
13 250000 us
14 500000 us
15 1000000 us
SWBEN
17
Xosc Clock Switch Enable
CFDEN
16
Clock Failure Detector Enable
ENALC
15
Automatic Loop Control Enable
IMULT
14:11
Oscillator Current Multiplier
IPTAT
10:9
Oscillator Current Reference
LOWBUFGAIN
8
Low Buffer Gain Enable
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run in Standby
XTALEN
2
Crystal Oscillator Enable
ENABLE
1
Oscillator Enable
DFLLCTRLADFLL48M Control A
Address
0x4000101C
Reset
0x82
Access
read/write
7ONDEMAND
6RUNSTDBY
5–
4–
3–
2–
1ENABLE
0–
3 fields
Field
Bits
What it does
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run in Standby
ENABLE
1
DFLL Enable
DFLLCTRLBDFLL48M Control B
Address
0x40001020
Reset
0x00
Access
read/write
7WAITLOCK
6BPLCKC
5QLDIS
4CCDIS
3USBCRM
2LLAW
1STABLE
0MODE
8 fields
Field
Bits
What it does
WAITLOCK
7
Wait Lock
BPLCKC
6
Bypass Coarse Lock
QLDIS
5
Quick Lock Disable
CCDIS
4
Chill Cycle Disable
USBCRM
3
USB Clock Recovery Mode
LLAW
2
Lose Lock After Wake
STABLE
1
Stable DFLL Frequency
MODE
0
Operating Mode Selection
DFLLVALDFLL48M Value
Address
0x40001024
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
COARSE
15:10
Coarse Value
FINE
7:0
Fine Value
DIFF
31:16
Multiplication Ratio Difference
DFLLMULDFLL48M Multiplier
Address
0x40001028
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
FSTEP
23:16
Fine Maximum Step
MUL
15:0
DFLL Multiply Factor
CSTEP
31:26
Coarse Maximum Step
DFLLSYNCDFLL48M Synchronization
Address
0x4000102C
Reset
0x00
Access
read/write
7–
6–
5–
4DFLLMUL
3DFLLVAL
2DFLLCTRLB
1ENABLE
0–
4 fields
Field
Bits
What it does
DFLLMUL
4
DFLLMUL Synchronization Busy
DFLLVAL
3
DFLLVAL Synchronization Busy
DFLLCTRLB
2
DFLLCTRLB Synchronization Busy
ENABLE
1
ENABLE Synchronization Busy
DPLLCTRLA0DPLL Control A
Address
0x40001030
Reset
0x80
Access
read/write
7ONDEMAND
6RUNSTDBY
5–
4–
3–
2–
1ENABLE
0–
3 fields
Field
Bits
What it does
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run in Standby
ENABLE
1
DPLL Enable
DPLLRATIO0DPLL Ratio Control
Address
0x40001034
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
LDRFRAC
20:16
Loop Divider Ratio Fractional Part
LDR
12:0
Loop Divider Ratio
DPLLCTRLB0DPLL Control B
Address
0x40001038
Reset
0x00000020
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
DIV
26:16
Clock Divider
DCOEN
15
DCO Filter Enable
DCOFILTER
14:12
Sigma-Delta DCO Filter Selection
0 Capacitor(pF) = 0.5 and Bandwidth Fn (MHz) = 3.21
1 Capacitor(pF) = 1 and Bandwidth Fn (MHz) = 1.6
2 Capacitor(pF) = 1.5 and Bandwidth Fn (MHz) = 1.1
3 Capacitor(pF) = 2 and Bandwidth Fn (MHz) = 0.8
4 Capacitor(pF) = 2.5 and Bandwidth Fn (MHz) = 0.64
5 Capacitor(pF) = 3 and Bandwidth Fn (MHz) = 0.55
6 Capacitor(pF) = 3.5 and Bandwidth Fn (MHz) = 0.45
7 Capacitor(pF) = 4 and Bandwidth Fn (MHz) = 0.4
LBYPASS
11
Lock Bypass
LTIME
10:8
Lock Time
0 No time-out. Automatic lock
4 Time-out if no lock within 800us
5 Time-out if no lock within 900us
6 Time-out if no lock within 1ms
7 Time-out if no lock within 1.1ms
REFCLK
7:5
Reference Clock Selection
0 Dedicated GCLK clock reference
1 XOSC32K clock reference
2 XOSC0 clock reference
3 XOSC1 clock reference
WUF
4
Wake Up Fast
FILTER
3:0
Proportional Integral Filter Selection
0 Bandwidth = 92.7Khz and Damping Factor = 0.76
1 Bandwidth = 131Khz and Damping Factor = 1.08
2 Bandwidth = 46.4Khz and Damping Factor = 0.38
3 Bandwidth = 65.6Khz and Damping Factor = 0.54
4 Bandwidth = 131Khz and Damping Factor = 0.56
5 Bandwidth = 185Khz and Damping Factor = 0.79
6 Bandwidth = 65.6Khz and Damping Factor = 0.28
7 Bandwidth = 92.7Khz and Damping Factor = 0.39
8 Bandwidth = 46.4Khz and Damping Factor = 1.49
9 Bandwidth = 65.6Khz and Damping Factor = 2.11
10 Bandwidth = 23.2Khz and Damping Factor = 0.75
11 Bandwidth = 32.8Khz and Damping Factor = 1.06
12 Bandwidth = 65.6Khz and Damping Factor = 1.07
13 Bandwidth = 92.7Khz and Damping Factor = 1.51
14 Bandwidth = 32.8Khz and Damping Factor = 0.53
15 Bandwidth = 46.4Khz and Damping Factor = 0.75
DPLLSYNCBUSY0DPLL Synchronization Busy
Address
0x4000103C
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
Field
Bits
What it does
DPLLRATIO
2
DPLL Loop Divider Ratio Synchronization Status
ENABLE
1
DPLL Enable Synchronization Status
DPLLSTATUS0DPLL Status
Address
0x40001040
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
Field
Bits
What it does
CLKRDY
1
DPLL Clock Ready
LOCK
0
DPLL Lock Status
DPLLCTRLA1DPLL Control A
Address
0x40001044
Reset
0x80
Access
read/write
7ONDEMAND
6RUNSTDBY
5–
4–
3–
2–
1ENABLE
0–
3 fields
Field
Bits
What it does
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run in Standby
ENABLE
1
DPLL Enable
DPLLRATIO1DPLL Ratio Control
Address
0x40001048
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
LDRFRAC
20:16
Loop Divider Ratio Fractional Part
LDR
12:0
Loop Divider Ratio
DPLLCTRLB1DPLL Control B
Address
0x4000104C
Reset
0x00000020
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
DIV
26:16
Clock Divider
DCOEN
15
DCO Filter Enable
DCOFILTER
14:12
Sigma-Delta DCO Filter Selection
0 Capacitor(pF) = 0.5 and Bandwidth Fn (MHz) = 3.21
1 Capacitor(pF) = 1 and Bandwidth Fn (MHz) = 1.6
2 Capacitor(pF) = 1.5 and Bandwidth Fn (MHz) = 1.1
3 Capacitor(pF) = 2 and Bandwidth Fn (MHz) = 0.8
4 Capacitor(pF) = 2.5 and Bandwidth Fn (MHz) = 0.64
5 Capacitor(pF) = 3 and Bandwidth Fn (MHz) = 0.55
6 Capacitor(pF) = 3.5 and Bandwidth Fn (MHz) = 0.45