PIC32CX2051MTG64 SFR registers

The 9 registers of SFR (Special Function Register), from 0x40050410, with their reset value and every field. The PIC32CX2051MTG64 has 2801 registers in 57 peripherals, one page each.

SFR Special Function Register

SFR_SRAM0_SW_CFGSRAM0 Software Config Register

Address
0x40050410
Reset
0x00000000
Access
read/write
Size
32-bit
13 fields
FieldBitsWhat it does
CLKG_DIS16Clock Gating Disable
M512SD14512 KB Shutdown Mode
M512DS13512 KB Deep Sleep Mode
M512LS12512 KB Light Sleep Mode
M384SD10384 KB Shutdown Mode
M384DS9384 KB Deep Sleep Mode
M384LS8384 KB Light Sleep Mode
M256SD6256 KB Shutdown Mode
M256DS5256 KB Deep Sleep Mode
M256LS4256 KB Light Sleep Mode
M128SD2128 KB Shutdown Mode
M128DS1128 KB Deep Sleep Mode
M128LS0128 KB Light Sleep Mode

SFR_FLASHFlash Memory Configuration Register

Address
0x40050470
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
PATCH_BYPASS0

SFR_CORE_DEBUG_CFGCore Debug Configuration Register

Address
0x400504A0
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
XTRG02From Core 0 to Core 1 Cross Triggering
XTRG11From Core 1 to Core 0 Cross Triggering
SWV0SWV Selection

SFR_ERASE_FLASH_SRAMErase Flash/SRAM Register

Address
0x400504B0
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
SRAM01Erase SRAM0 Content
  • 0 If HW_ERASE = 1, and HW erase signal assertion occurs, SRAM0 content is not deleted.
  • 1 If HW_ERASE = 1, and HW erase signal assertion occurs, SRAM0 content is deleted.
HW_ERASE0PB2/Peripherals or Hardware Erase Signal Assignment
  • 0 Hardware erase signal disabled. PB2 pin can be used in GPIO or Peripheral IO mode.
  • 1 Hardware erase signal enabled. PB2 pin is assigned to Flash erase function.

SFR_PWM_DEBUGPWM Debug Register

Address
0x400504B4
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
CORE11Debug Information Propagation Mode
  • 0 Core x does not send the debug signal to the PWM.
  • 1 Core x sends the debug signal to PWM. Refer to "Debug Mode" in the section "Pulse Width Modulation Controller (PWM)" for details on configuring an action when the debug signal is active.
CORE00Debug Information Propagation Mode
  • 0 Core x does not send the debug signal to the PWM.
  • 1 Core x sends the debug signal to PWM. Refer to "Debug Mode" in the section "Pulse Width Modulation Controller (PWM)" for details on configuring an action when the debug signal is active.

SFR_WAIT_MODEImproved Wait Mode Register

Address
0x400504BC
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CONTROL0Improved Wait Mode Control

SFR_WPMRWrite Protection Mode Register

Address
0x400504E4
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
WPEN0Write Protection Enable
WPKEY31:8Write Protection Key
  • 5457490 Writing any other value in this field aborts the write operation of the WPEN bit. Always reads as 0.

SFR_WPSRWrite Protection Status Register

Address
0x400504E8
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
WPSRC23:8Write Protection Source
WPVS0Write Protection Violation Status