11.5.8.2 Cache Invalidate All Operation

Use the following sequence to invalidate all cache entries.

  • Disable the cache controller by writing a zero 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 a '1' to the Cache Controller Invalidate All bit in the Cache Maintenance 0 register (MAINT0.INVALL).
  • Enable the CMCC by writing a '1' to CTRL.CEN.