11.6.8.2 Cache Invalidate All Operation
Use the following sequence to invalidate all cache entries.
- Disable the cache controller by
writing ‘
0
’ to the Cache Enable bit in the Cache Control register (CTRL.CEN). - Check SR.CSTS to verify that the CMCC is successfully disabled.
- Perform a full invalidate operation by
writing ‘
1
’ to the Cache Controller Invalidate All bit in the Cache Maintenance 0 register (MAINT0.INVALL). - Enable the CMCC by writing
‘
1
’ to CTRL.CEN.