11.6.4 Data Cache Disable

The instructions alone can be cached by disabling the data cache, as described in the following steps:

  1. Disable the cache controller by writing a ‘0’ to CTRL.CEN.
  2. Check SR.CSTS to verify that the CMCC is successfully disabled.
  3. Write CFG.DCDIS = 1.
  4. Enable the CMCC by writing CTRL.CEN = 1.