PIC32MX575F256H PCACHE registers

The 12 registers of PCACHE (Prefetch cache), from 0xBF884000, with their reset value and every field. The PIC32MX575F256H has 554 registers in 62 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 Control Register

Address
0xBF884000
Reset
0x00000007
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
CHECOH16Cache Coherency Setting on a PFM Program Cycle bit
  • 0 Invalidate all data lines and instruction lines that are not locked
  • 1 Invalidate all data and instruction lines
DCSZ9:8Data Cache Size in Lines bits
  • 0 Disable data caching
  • 1 Enable data caching with a size of 1 Line
  • 2 Enable data caching with a size of 2 Lines
  • 3 Enable data caching with a size of 4 Lines
PREFEN5:4Predictive Prefetch Enable bits
  • 0 Disable predictive prefetch
  • 1 Enable predictive prefetch for cacheable regions only
  • 2 Enable predictive prefetch for non-cacheable regions only
  • 3 Enable predictive prefetch for both cacheable and non-cacheable regions
PFMWS2:0PFM Access Time Defined in Terms of SYSLK Wait States bits
  • 0 Zero Wait state
  • 1 One Wait state
  • 2 Two Wait states
  • 3 Three Wait states
  • 4 Four Wait states
  • 5 Five Wait states
  • 6 Six Wait states
  • 7 Seven Wait states

CHEACCCache Access Register

Address
0xBF884010
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
CHEIDX3:0Cache Line Index bits
  • 0 Select cache line 0 for reading or writing
  • 1 Select cache line 1 for reading or writing
  • 2 Select cache line 2 for reading or writing
  • 3 Select cache line 3 for reading or writing
  • 4 Select cache line 4 for reading or writing
  • 5 Select cache line 5 for reading or writing
  • 6 Select cache line 6 for reading or writing
  • 7 Select cache line 7 for reading or writing
  • 8 Select cache line 8 for reading or writing
  • 9 Select cache line 9 for reading or writing
  • 10 Select cache line 10 for reading or writing
  • 11 Select cache line 11 for reading or writing
  • 12 Select cache line 12 for reading or writing
  • 13 Select cache line 13 for reading or writing
  • 14 Select cache line 14 for reading or writing
  • 15 Select cache line 15 for reading or writing
CHEWEN31Cache Access Enable bits for registers CHETAG
  • 0 The cache line selected by CHEIDX(3:0) is not writeable
  • 1 The cache line selected by CHEIDX(3:0) is writeable

CHETAGCache TAG Register

Address
0xBF884020
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
LTAG4
LVALID3Line Valid bit
  • 0 The line is not valid and is not compared to the physical address for hit detection
  • 1 The line is valid and is compared to the physical address for hit detection
LLOCK2Line Lock bit
  • 0 The line is not locked and can be replaced
  • 1 The line is locked and will not be replaced
LTYPE1Line Type bit
  • 0 The line caches data words
  • 1 The line caches instruction words
LTAGBOOT31Line TAG Address Boot bit
  • 0 The line is in the 0x1FC00000 (physical) area of memory
  • 1 The line is in the 0x1D000000 (physical) area of memory

CHEMSKCache TAG Mask Register

Address
0xBF884030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LMASK15:5Line Mask bits
  • 0 Only writeable for values of CHEIDX(3:0) bits (CHEACC(3:0)) equal to 0x0A and 0x0B. Disables mask logic.
  • 1 Enables mask logic to force a match on the corresponding bit position in the LTAG(19:0) bits (CHETAG(23:4)) and the physical address.

CHEW0Cache Word 0

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

CHEW1Cache Word 1

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

CHEW2Cache Word 2

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

CHEW3Cache Word 3

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

CHELRUCache LRU Register

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

CHEHITCache Hit Statistics Register

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

CHEMISCache Miss Statistics Register

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

CHEPFABTPrefetch Cache Abort Statistics Register

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