PIC32MK1024MCF064 PCACHE registers

The 3 registers of PCACHE (Prefetch cache), from 0xBF800800, with their reset value and every field. The PIC32MK1024MCF064 has 1848 registers in 120 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.

PCACHE Prefetch cache

CHECONCache Module Control Register

Address
0xBF800800
Reset
0x07000107
Access
read/write
Size
32-bit
13 fields
FieldBitsWhat it does
PERCHEEN26Peripheral Cache Enable bit
  • 0 Peripheral cache is disabled
  • 1 Peripheral cache is enabled
DCHEEN25Data Cache Enable bit
  • 0 Data cache is disabled
  • 1 Data cache is enabled
ICHEEN24Instruction Cache Enable bit
  • 0 Instruction cache is disabled
  • 1 Instruction cache is enabled
PERCHEINV22Peripheral Cache Invalidate bit
  • 0 Cache Invalidation follows CHECOH/invalid complete
  • 1 Force invalidate cache/invalidate busy
DCHEINV21Data Cache Invalidate bit
  • 0 Cache Invalidation follows CHECOH/invalid complete
  • 1 Force invalidate cache/invalidate busy
ICHEINV20Instruction Cache Invalidate bit
  • 0 Cache Invalidation follows CHECOH/invalid complete
  • 1 Force invalidate cache/invalidate busy
PERCHECOH18Peripheral Auto-cache Coherency Control bit
  • 0 Do not automatically invalidate cache on a programming event
  • 1 Automatically invalidate cache on a programming event
DCHECOH17Data Auto-cache Coherency Control bit
  • 0 Do not automatically invalidate cache on a programming event
  • 1 Automatically invalidate cache on a programming event
ICHECOH16Instruction Auto-cache Coherency Control bit
  • 0 Do not automatically invalidate cache on a programming event
  • 1 Automatically invalidate cache on a programming event
CHEPERFEN12Cache Performance Counters Enable bit
  • 0 Performance counters are disabled
  • 1 Performance counters are enabled
PFMAWSEN8PFM Address Wait State Enable bit
  • 0 Add no Wait States to the flash address setup (suggested for lower system clock frequencies to achieve higher performance)
  • 1 Add one more Wait State to flash address setup (suggested for higher system clock frequencies)
PREFEN5:4Predictive Prefetch Enable bits
  • 0 Disable predictive prefetch
  • 1 Enable predictive prefetch for CPU instructions only
  • 2 Disable predictive prefetch
  • 3 Disable predictive prefetch
PFMWS2:0PFM Access Time Defined in Terms of SYSCLK Wait States bits
  • 0 Zero Wait states
  • 1 One Wait state
  • 2 Two Wait states
  • 7 Seven Wait states

CHEHITCACHE Hit Status Register

Address
0xBF800820
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CHEHIT31:0

CHEMISCACHE Miss Status Register

Address
0xBF800830
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CHEMIS31:0