WFI32E01 CRU registers

The 3 registers of CRU (Oscillator and clocks), from 0xBF801240, with their reset value and every field. The WFI32E01 has 1091 registers in 66 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

CRU Oscillator and clocks

BTPLLCONBTPLL CONTROL REGISTER

Address
0xBF801240
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
FieldBitsWhat it does
BTPLLCLK30Source Input Clock Selection bit
  • 0 POSC is the BTPLL input clock source.
  • 1 FRC is the BTPLL input clock source.
BTLOCK29BT PLL Lock Status bit (Read-only)
  • 0 Indicates that BTPLL is out of lock, start-up timer is in progress, or is turned-off.
  • 1 Indicates that BTPLL is in lock.
BTCLKOUTEN28BT Clock Out pin Enable Bit
  • 0 BT_CLK_OUT Pin is disabled
  • 1 BT_CLK_OUT Pin is enabled
BTPLLREFDIV27:22Reference Frequency Divide
BTPLLFBDIV21:12PLL feedback divider
BTPLLRST11BT PLL Reset
  • 0 De-assert the reset to the BTPLL
  • 1 Assert the reset to the BTPLL
BTPLLFLOCK10BT PLL Force Lock
  • 0 Do not force the BTPLL lock signal to be asserted
  • 1 Force the BTPLL lock signal to be asserted
BTPLLPOSTDIV19:4First Post Divide Value. 1 to 63
BTPLLPWDN3PLL Power Down Register bit
  • 0 PLL is active
  • 1 PLL is powered down
BTPLLBSWSEL2:0PLL Bandwidth Select
BTPLL_BYP31BTPLL Bypass
  • 0 input clock REF does not bypass PLL to PLLOUTx
  • 1 input clock REF bypasses PLL to PLLOUTx

EWPLLCONEWPLL CONTROL REGISTER

Address
0xBF801250
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
FieldBitsWhat it does
EWPLLICLK30Source Input Clock Selection bit
  • 0 POSC is the EWPLL input clock source.
  • 1 FRC is the EWPLL input clock source.
EWLOCK29EW PLL Lock Status bit (Read-only)
  • 0 Indicates that EWPLL is out of lock, start-up timer is in progress, or is turned-off.
  • 1 Indicates that EWPLL is in lock.
ETHCLKOUTEN28Ethernet Clock Out pin Enable Bit
  • 0 ETH_CLK_OUT Pin is disabled
  • 1 ETH_CLK_OUT Pin is enabled
EWPLLREFDIV27:22Reference Frequency Divide
EWPLLFBDIV21:12PLL feedback divider
EWPLLRST11EW PLL Reset
  • 0 De-assert the reset to the EWPLL
  • 1 Assert the reset to the EWPLL
EWPLLFLOCK10EW PLL Force Lock
  • 0 Do not force the EWPLL lock signal to be asserted
  • 1 Force the EWPLL lock signal to be asserted
EWPLLPOSTDIV19:4First Post Divide Value
EWPLLPWDN3PLL Power Down Register bit
  • 0 PLL is active
  • 1 PLL is powered down
EWPLLBSWSEL2:0PLL Bandwidth Select
EWPLL_BYP31EWPLL Bypass
  • 0 the input clock REF does not bypass PLL to PLLOUTx
  • 1 the input clock REF bypasses PLL to PLLOUTx

CLKDIAGUSER CLK DIAGNOSTICS CONTROL REGISTER

Address
0xBF8013B0
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
FieldBitsWhat it does
ETHPLLSTOP6UPLL Clock Stop Control value
  • 0 EWPLL clock source runs as normal
  • 1 EWPLL clock source is stopped
UPLLSTOP5UPLL Clock Stop Control value
  • 0 UPLL clock source runs as normal
  • 1 UPLL clock source is stopped
SPLLSTOP4SPLL Clock Stop Control value
  • 0 SPLL clock source runs as normal
  • 1 SPLL clock source is stopped
LPRCSTOP3LPRC Clock Stop Control value
  • 0 LPRC clock source runs as normal
  • 1 LPRC clock source is stopped
FRCSTOP2FRC Clock Stop Control value
  • 0 FRC clock source runs as normal
  • 1 FRC clock source is stopped
SOSCSTOP1SOSC Clock Stop Control value
  • 0 SOSC clock source runs as normal
  • 1 SOSC clock source is stopped
POSCSTOP0POSC Clock Stop Control value
  • 0 POSC clock source runs as normal
  • 1 POSC clock source is stopped