13.5.8.2 Cache Invalidate All Operation

Use the following sequence to invalidate all cache entries.

  1. Disable the cache controller by writing a zero to the Cache Enable bit in the Cache Control register (CTRL.CEN).
  2. Check SR.CSTS to verify that the CMCC is successfully disabled.
  3. Perform a full invalidate operation by writing a '1' to the Cache Controller Invalidate All bit in the Cache Maintenance 0 register (MAINT0.INVALL).
  4. Enable the CMCC by writing a '1' to CTRL.CEN.