10.12.1 CHECON - Prefetch Module Control Register

Name: CHECON
Offset: 0x00
Reset: 0x0700010F
Property: -

Bit 3130292827262524 
      ACHEENDCHEENICHEEN 
Access R/WR/WR/W 
Reset 111 
Bit 2322212019181716 
  ACHEINVDCHEINVICHEINV ACHECOHDCHECOHICHECOH 
Access R/S/HCR/S/HCR/S/HCR/WR/WR/W 
Reset 000000 
Bit 15141312111098 
    CHEPERF   ADRWS 
Access R/WR/W 
Reset 01 
Bit 76543210 
 PFMSECEN PREFEN[1:0]PFMWS[3:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0001111 

Bit 26 – ACHEEN Peripheral Data Cache Enable bit

ValueDescription
1

Caching enabled

0

Caching disabled (and all lines invalidated)

Bit 25 – DCHEEN Data Cache Enable bit

ValueDescription
1

Caching enabled

0

Caching disabled (and all lines invalidated)

Bit 24 – ICHEEN Instruction Data Cache Enable bit

ValueDescription
1

Caching enabled

0

Caching disabled (and all lines invalidated)

Bit 22 – ACHEINV Manual Invalidate Control for Peripheral Data Cache

Note: Hardware auto clears this bit when cache invalidate completes. Bits may clear at different times.
ValueDescription
1

Force invalidate cache/invalidate busy

0Cache invalidation follows ACHECOH/invalid complete

Bit 21 – DCHEINV Manual Invalidate Control for Data Cache

Note: Hardware auto clears this bit when cache invalidate completes. Bits may clear at different times.
ValueDescription
1

Force invalidate cache/invalidate busy

0Cache invalidation follows DCHECOH/invalid complete

Bit 20 – ICHEINV Manual Invalidate Control for Instruction Cache

Note:
  • Predictive Prefetch Buffer (PFB) is included with iCache invalidate.
  • Hardware auto clears this bit when cache invalidate completes. Bits may clear at different times.
ValueDescription
1

Force invalidate cache/invalidate busy

0Cache invalidation follows ICHECOH/invalid complete

Bit 18 – ACHECOH Auto Cache Coherency Control for Peripheral Data Cache

Note: ACHECOH must be stable before initiation of programming to ensure correct invalidation of data.
ValueDescription
1

Auto invalidate cache on a programming event

0No auto invalidated cache on a programming event

Bit 17 – DCHECOH Auto Cache Coherency Control for Data Cache

Note: DCHECOH must be stable before initiation of programming to ensure correct invalidation of data.
ValueDescription
1

Auto invalidate cache on a programming event

0No auto invalidated cache on a programming event

Bit 16 – ICHECOH Auto Cache Coherency Control for Instruction Cache

Note: ICHECOH must be stable before initiation of programming to ensure correct invalidation of data.
ValueDescription
1

Auto invalidate cache on a programming event

0No auto invalidated cache on a programming event

Bit 12 – CHEPERF Cache Performance Counters Enable

Note: Performance counters are reset on 0 to 1 transition of this bit.
ValueDescription
1

Enable performance counters

0Disable performance counters

Bit 8 – ADRWS Address Wait State Enable

Total Flash wait states are ADRWS + PFMWS.
Note: CPU hang is observed when CHECON.ADRWS configuration switches from ‘1’ to ‘0’ and a Flash read access. To Avoid CPU hangs, execute the CHECON configuration from SRAM or Boot ROM during system initialization until the configuration change is done, then resume execution from Flash after configuration is set.
ValueDescription
1

Add 1 address Wait state - Allowing for higher clock frequencies

0Add 0 address Wait states - Allowing for higher performance at lower clock frequencies

Bit 7 – PFMSECEN Flash Single-bit Error Corrected (SEC) Interrupt Enable bit

ValueDescription
1

Generate an interrupt when PFMSEC is set

0Do not generate an interrupt when PFMSEC is set

Bits 5:4 – PREFEN[1:0] Instruction Predictive Prefetch Enable

Note: Other values are unavailable.
ValueDescription
01

Instruction predictive prefetch enabled for cacheable regions only

00Instruction predictive prefetch disabled

Bits 3:0 – PFMWS[3:0] PFM Access Time Defined in Terms of SYSCLK Wait States bits

Total Flash Wait states are ADRWS + PFMWS.
Note:
  • This is not the Wait state seen by the CPU.
  • For the Wait states-to-SYSCLK relationship, see Electrical Characteristics from Related Links.
ValueDescription
1111

Fifteen Wait states

1110Fourteen Wait states
...
0001One Wait state
0000Zero Wait state