3.4.2.1 Cache Control Register
Note:
- After being set, this bit will be cleared by hardware after the cache and ISB invalidations are completed. Any automatic invalidation will also result in this bit being cleared.
- This setting is useful when programming non-program data into Flash (emulated EEPROM).
- After the event of software
set or software clear of the ON bit, all cache lines and all ISBs are
invalidated. This is true if the CP bit is
0or1. - Do not perform diagnostics on
the ISB that is currently in use by the PBU module. If ISBBUF is
0, do not execute diagnostics on ISBBUF_0. - ON
1≥0and CP1≥0at the same time, clearing the ON has priority. - The CP and ON bits are intended to be used independently. If the ON bit is toggled while paused, a cache invalidation occurs.
| Name: | CHECON |
| Offset: | 0x1E60 |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| ISBBUF | |||||||||
| Access | R/W | ||||||||
| Reset | 0 |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| ON | CHEINV | CHECOH | |||||||
| Access | R/W | R/S/HC | R/W | ||||||
| Reset | 1 | 1 | 1 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| FLTINJ | |||||||||
| Access | R/S/HC | ||||||||
| Reset | 1 |
Bit 16 – ISBBUF ISB Buffer Selection bit
| Value | Description |
|---|---|
| 1 | When ON
= 0 or (ON = 1 and CP =
1), ISB buffer 0 will be used for
prefetch. |
| 0 | When ON
= 0 or (ON = 1 and CP =
1), ISB buffer 1 will be used for
prefetch. |
Bit 15 – ON Cache ON bit
| Value | Description |
|---|---|
| 1 | Cache and all ISB slices are enabled. |
| 0 | All cache lines and ISB buffers, except for the first buffer slice, are invalidated. ISB operates with one buffer slice, creating a two-deep buffer (basic Prefetch mode). |
Bit 11 – CHEINV Manual Invalidate Control bit(1)
| Value | Description |
|---|---|
| 1 | Force invalidation of all cache and ISB lines. |
| 0 | Invalidation of the Instruction Cache and ISBs occurs according to the CHECOH bit. |
Bit 10 – CHECOH Cache Coherency Control bit(2)
| Value | Description |
|---|---|
| 1 | Invalidate the cache upon a Flash programming event. |
| 0 | Do not invalidate the cache on a Flash programming event. |
Bit 0 – FLTINJ Fault Inject Control bit
| Value | Description |
|---|---|
| 1 | Parity Fault injection enabled for one-time event; cache line will be invalidated and flushed when access occurs, and upbs_event[1] will be asserted to indicate an integrity error to the system. |
| 0 | Parity Fault injection disabled. |
