PIC32CX1025MTSH128 CMCC1 registers

The 11 registers of CMCC1 (Cortex-M Cache Controller), from 0x4600C000, with their reset value and every field. The PIC32CX1025MTSH128 has 2920 registers in 63 peripherals, one page each.

CMCC1 Cortex-M Cache Controller

CMCC_TYPECache Controller Type Register

Address
0x4600C000
Reset
0x00000000
Access
read only
Size
32-bit
9 fields
FieldBitsWhat it does
CLSIZE13:11Cache LIne Size
  • 0 Cache line size is 4 bytes
  • 1 Cache line size is 8 bytes
  • 2 Cache line size is 16 bytes
  • 3 Cache line size is 32 bytes
CSIZE10:8Data Cache Size
  • 0 Cache size is 1 Kbyte
  • 1 Cache size is 2 Kbytes
  • 2 Cache size is 4 Kbytes
  • 3 Cache size is 8 Kbytes
  • 4 Cache size is 16 Kbytes
  • 5 Cache size is 32 Kbytes
  • 6 Cache size is 64 Kbytes
LCKDOWN7Lockdown Supported
WAYNUM6:5Number of Ways
  • 0 Direct Mapped Cache
  • 1 2-way set associative
  • 2 4-way set associative
  • 3 8-way set associative
RRP4Random Selection Policy Supported
LRUP3Least Recently Used Policy Supported
RANDP2Random Selection Policy Supported
GCLK1Dynamic Clock Gating Supported
AP0Access Port Access Allowed

CMCC_CFGConfiguration Register

Address
0x4600C004
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
LOCK8Configuration Lock Until Next System Reset (Write-once)
PRGCSIZE6:4Programmable Cache Size
DCDIS2Data Caching Disable
ICDIS1Instruction Caching Disable
GCLKDIS0Disable Clock Gating

CMCC_CTRLControl Register

Address
0x4600C008
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
FieldBitsWhat it does
LOCK8Control Lock Until Next System Reset (Write-once)
CEN0Cache Controller Enable

CMCC_SRStatus Register

Address
0x4600C00C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
CSTS0Cache Controller Status

CMCC_MAINT0Maintenance Register 0

Address
0x4600C020
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
INVALL0Cache Controller Invalidate All

CMCC_MAINT1Maintenance Register 1

Address
0x4600C024
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
FieldBitsWhat it does
INDEX10:4Invalidate Index
WAY31:30Invalidate Way
  • 0 Way 0 is selection for index invalidation.
  • 1 Way 1 is selection for index invalidation.
  • 2 Way 2 is selection for index invalidation.
  • 3 Way 3 is selection for index invalidation.

CMCC_MCFGMonitor Configuration Register

Address
0x4600C028
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
MODE1:0Cache Controller Monitor Counter Mode
  • 0 Cycle counter
  • 1 Instruction hit counter, only relevant for unified cache and instruction cache architecture
  • 2 Data hit counter, only relevant for unified cache and data cache architecture

CMCC_MENMonitor Enable Register

Address
0x4600C02C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
MENABLE0Cache Controller Monitor Enable

CMCC_MCTRLMonitor Control Register

Address
0x4600C030
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
SWRST0Monitor

CMCC_MSRMonitor Status Register

Address
0x4600C034
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
EVENT_CNT31:0Monitor Event Counter

CMCC_WPMRWrite Protection Mode Register

Address
0x4600C0E4
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
WPCR2Write Protection Control Enable
WPCFG0Write Protection Configuration Enable
WPKEY31:8Write Protection Key
  • 4410691 Writing any other value in this field aborts the write operation of the WPCFG and WPCR bits. Always reads as 0.