MAX32660 User Guide
Maxim Integrated Page 31 of 195
4.8.3 Flushing the ICC0 Cache
The System Configuration Register (GCR_SCON) includes a field for flushing ICC0. Setting GCR_SCON.ccache_flush to 1
performs a flush of ICC0. Set the ICC0_INVALIDATE register to 1 to invalidate the ICC0 cache
and force a cache flush. Read the ICC0_CACHE_CTRL.ready field until it returns 1 to determine when the flush is completed.
4.9 ICC0 Registers
The ICC0 base peripheral address is 0x4002 A000. Refer to Table 3-1: APB Peripheral Base Address Map for the addresses of
all APB mapped peripherals.
Table 4-7: Instruction Cache Controller Register Addresses and Descriptions
Cache Memory Size Register
Cache Invalidate Register
4.9.1 ICC0 Register Details
Table 4-8: ICC Cache ID Register
Reserved for Future Use
Do not modify this field.
Cache ID
Returns the Cache ID for this Cache instance.
Cache Part Number
Returns the part number indicator for this Cache instance.
Cache Release Number
Returns the release number for this Cache instance.
Table 4-9: ICC Memory Size Register
Addressable Memory Size
Indicates the size of addressable memory by this cache controller instance in 128KB
units.
Cache Size
Returns the size of the cache RAM memory in 1KB units.
16: 16KB Cache RAM