The 104 registers of CRU, from 0x44000A00, with their reset value and every field. The PIC32CX2051BZ66048 has 3597 registers in 73 peripherals, one page each.
CRU
OSCCONCRU OSCILLATOR CONTROL REGISTER
Address
0x44000A00
Reset
0x00200001
Access
read/write
Size
32-bit
10 fields
Field
Bits
What it does
FRCDIV
26:24
Fast RC Clock Divider bits
0 FRC Divide by 1
1 FRC Divide by 2
2 FRC Divide by 4
3 FRC Divide by 8
4 FRC Divide by 16
5 FRC Divide by 32
6 FRC Divide by 64
7 FRC Divide by 256
DRMEN
23
Enable Dream Mode bit
0 DMA transfer has no effect
1 When the cpu_si_sleep input is asserted and SLPEN = 1, DMA transfer complete causes SLEEP Mode to be entered
WAKE2SPD
21
2-Speed startup enabled in Sleep mode bit
0 When the device EXITS Sleep Mode, the sys_clk will be from the selected clock.
1 When the device EXITS Sleep Mode, the sys_clk will be from FRC until the selected clock is ready
COSC
15:12
Current Oscillator Selection bits (Read-only)
0 Fast RC Oscillator (FRC) divided by OSCCON.FRCDIV (Supports FRC/16 and FRC/1)
1 System PLL (SPLL1 Module) (input clock and divider set by SPLLCON)
2 Primary Oscillator- POSC
3 Secondary Oscillator (SOSC)
4 Low Power RC Oscillator (LPRC)
5 Ethernet PLL Clock-2 (EPLL Module) (input clock and divider set by APLLCON)
6 USB PLL Clock (UPLL Module) (input clock and divider set by UPLLCON)
NOSC
11:8
New Oscillator Selection bits
0 Fast RC Oscillator (FRC) divided by OSCCON.FRCDIV ( Supports FRC/16 and FRC/1)
1 System PLL (SPLL1 Module) (input clock and divider set by SPLLCON)
2 Primary Oscillator
3 Secondary Oscillator (SOSC)
4 Low Power RC Oscillator (LPRC)
5 Ethernet PLL Clock-2 (EPLL Module) (input clock and divider set by APLLCON)
6 USB PLL Clock (UPLL Module) (input clock and divider set by UPLLCON)
CLKLOCK
7
Clock Lock Enabled bit
0 Clock and PLL selection registers are not locked, configurations may be modified
1 All clock and PLL configuration registers are locked. These include OSCCON, OSCTRIM, SPLLCON, UPLLCON, PBxDIV
SLPEN
4
Enable SLEEP Mode bit
0 When a WAIT instruction is executed device will enter IDLE Mode
1 When a WAIT Instruction is executed device will enter SLEEP Mode
CF
3
Clock Fail Detect bit (Read / writable / Clearable by application)
0 FSCM has not detected clock failure
1 FSCM has detected clock failure
SOSCEN
1
32 kHz Secondary (LP) Oscillator Enable bit
0 Disable Secondary Oscillator
1 Enable Secondary Oscillator
OSWEN
0
Oscillator Switch Enable bit
0 Oscillator switch is complete
1 Request oscillator switch to selection specified by NOSC[3:0] bits
OSCCONCLR
Address
0x44000A04
Reset
0x00000000
Access
read/write
Size
32-bit
OSCCONSET
Address
0x44000A08
Reset
0x00000000
Access
read/write
Size
32-bit
OSCCONINV
Address
0x44000A0C
Reset
0x00000000
Access
read/write
Size
32-bit
OSCTUNCRU OSCILLATOR TRIMMING REGISTER
Address
0x44000A10
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
TUN
5:0
Internal Fast RC (FRC) Oscillator Tuning bits
0 Center Frequency, oscillator is running at calibrated frequency
31 Maximum Frequency
32 Minimum Frequency
OSCTUNCLR
Address
0x44000A14
Reset
0x00000000
Access
read/write
Size
32-bit
OSCTUNSET
Address
0x44000A18
Reset
0x00000000
Access
read/write
Size
32-bit
OSCTUNINV
Address
0x44000A1C
Reset
0x00000000
Access
read/write
Size
32-bit
SPLLCONSPLL CONTROL REGISTER
Address
0x44000A20
Reset
0xC0010008
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
SPLLPOSTDIV2
19:16
SPLL Clock 2 Divide Value, 1 to 15
0 Disable
1 Second post divide by 1
2 Second post divide by 2
3 Second post divide by 3
4 Second post divide by 4
5 Second post divide by 5
6 Second post divide by 6
7 Second post divide by 7
8 Second post divide by 8
9 Second post divide by 9
10 Second post divide by 10
11 Second post divide by 11
12 Second post divide by 12
13 Second post divide by 13
14 Second post divide by 14
15 Second post divide by 15
SPLLPOSTDIV1
15:8
SPLL Clock 1 Divide Value, 1 to 255
SPLLRST
5
System PLL Reset
0 De-assert the reset to the SPLL
1 Assert the reset to the SPLL
SPLLFLOCK
4
System PLL Force Lock
0 Do not force the SPLL lock signal to be asserted
1 Force the SPLL lock signal to be asserted
SPLLPWDN
3
PLL Power Down Register bit
0 PLL is active
1 PLL is powered down
SPLL_BYP
31:30
SPLL Clock 2 Source
0 SPLL3 (RFPLL) Clock is the clock source for ADC CP Clock Generation.
2 POSC is used as clock source for ADC CP Clock Generation.
3 FRC is used as clock source for ADC CP Clock Generation.
SPLLCONCLR
Address
0x44000A24
Reset
0x00000000
Access
read/write
Size
32-bit
SPLLCONSET
Address
0x44000A28
Reset
0x00000000
Access
read/write
Size
32-bit
SPLLCONINV
Address
0x44000A2C
Reset
0x00000000
Access
read/write
Size
32-bit
UPLLCONUPLL CONTROL REGISTER
Address
0x44000A30
Reset
0x80000808
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
UPLLREFDIV
27:22
Reference Frequency Divide in between 1 and 63, value of 0 is unused.
UPLLFBDIV
21:12
PLL feedback divider in between 16 and 1023, values of 0 to 15 are unused
UPLLRST
11
USB PLL Reset
0 De-assert the reset to the UPLL
1 Assert the reset to the UPLL
UPLLFLOCK
10
USB PLL Force Lock
0 Do not force the SPLL lock signal to be asserted
1 Force the UPLL lock signal to be asserted
UPLLPOSTDIV1
9:4
First Post Divide Value in between 1 and 63, value of 0 is unused.
UPLLPWDN
3
UPLL Power Down Register bit
0 UPLL is active
1 UPLL is powered down
UPLLBSWSEL
2:0
UPLL Bandwidth Select
1 UPLL closed loop bandwith 400KHz
2 UPLL closed loop bandwith 1MHz
3 UPLL closed loop bandwith 2MHz
4 UPLL closed loop bandwith 3MHz
UPLL_BYP
31
The input clock REF bypasses PLL to PLLOUTx
0 The input clock dont bypass
1 UPLL Bypass; when this bit is set, the input clock REF bypasses PLL to PLLOUTx
UPLLCONCLR
Address
0x44000A34
Reset
0x00000000
Access
read/write
Size
32-bit
UPLLCONSET
Address
0x44000A38
Reset
0x00000000
Access
read/write
Size
32-bit
UPLLCONINV
Address
0x44000A3C
Reset
0x00000000
Access
read/write
Size
32-bit
EPLLCONEPLL CONTROL REGISTER
Address
0x44000A40
Reset
0x80000808
Access
read/write
Size
32-bit
9 fields
Field
Bits
What it does
ECLKOUTEN
28
Ethernet Clock Out pin Enable
0 ETH_CLK_OUT Pin is disabled
1 ETH_CLK_OUT Pin is enabled
EPLLREFDIV
27:22
Reference Frequency Divide in between 1 and 63, value of 0 is unused.
EPLLFBDIV
21:12
PLL feedback divider in between 16 and 1023, values of 0 to 15 are unused
EPLLRST
11
Ethernet PLL Reset
0 De-assert the reset to the EPLL
1 Assert the reset to the EPLL
EPLLFLOCK
10
Ethernet PLL Force Lock
0 Do not force the SPLL lock signal to be asserted
1 Force the EPLL lock signal to be asserted
EPLLPOSTDIV1
9:4
First Post Divide Value in between 1 and 63, value of 0 is unused.
EPLLPWDN
3
EPLL Power Down Register bit
0 EPLL is active
1 EPLL is powered down
EPLLBSWSEL
2:0
EPLL Bandwidth Select
1 EPLL closed loop bandwith 400KHz
2 EPLL closed loop bandwith 1MHz
3 EPLL closed loop bandwith 2MHz
4 EPLL closed loop bandwith 3MHz
EPLL_BYP
31
The input clock REF bypasses PLL to PLLOUTx
0 The input clock dont bypass
1 EPLL Bypass; when this bit is set, the input clock REF bypasses PLL to PLLOUTx
EPLLCONCLR
Address
0x44000A44
Reset
0x00000000
Access
read/write
Size
32-bit
EPLLCONSET
Address
0x44000A48
Reset
0x00000000
Access
read/write
Size
32-bit
EPLLCONINV
Address
0x44000A4C
Reset
0x00000000
Access
read/write
Size
32-bit
APLLCONAPLL CONTROL REGISTER
Address
0x44000A50
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
EPLLPOSTIDIV2
5:0
EPLL Post Divider bits for controlling second PLL clock output, value of 0 is unused.
APLLCONCLR
Address
0x44000A54
Reset
0x00000000
Access
read/write
Size
32-bit
APLLCONSET
Address
0x44000A58
Reset
0x00000000
Access
read/write
Size
32-bit
APLLCONINV
Address
0x44000A5C
Reset
0x00000000
Access
read/write
Size
32-bit
REFO1CONREFERENCE OSCILLATOR 1 CONTROL REGISTER
Address
0x44000AA0
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
Field
Bits
What it does
RODIV
30:16
Reference Clock Divider bits
0 REFO1 clock is same frequency as Base clock (no divider)
1 REFO1 clock is Base clock frequency divided by 2 (1*2)
2 REFO1 clock is Base clock frequency divided by 4 (2*2)
32767 REFO1 clock is Base clock frequency divided by 65,534 (32,767 *2)
ON
15
Output Enable bit
0 Reference Oscillator Module disabled
1 Reference Oscillator Module enabled
FRZ
14
Freeze in Debug mode bit
0 When emulator is in Debug mode, module continues operation
1 When emulator is in Debug mode, module freezes operation
SIDL
13
Peripheral Stop in Idle Mode bit
0 Continue module operation in Idle mode
1 Discontinue module operation when device enters Idle mode
OE
12
Reference Clock Output Enable bit
0 Reference clock is not driven out on REFO1 pin.
1 Reference clock is driven out on REFO1 pin
RSLP
11
Reference Oscillator Run in Sleep bit
0 Reference Oscillator output is disabled in Sleep
1 Reference Oscillator output continues to run in Sleep
DIVSWEN
9
Clock RODIV/ROTRIM switch enabled.
0 Clock Divider Switch has completed.
1 Clock Divider Switching currently in progress.
ACTIVE
8
Reference Clock Request Status bit
0 Reference clock request is not active (User can update this REFOCON register)
1 Reference clock request is active (User should not update this REFOCON register)