11.6.4 Data Cache Disable
The instructions alone can be cached by disabling the data cache, as described in the following steps:
- Disable the cache controller by writing a ‘
0
’ to CTRL.CEN. - Check SR.CSTS to verify that the CMCC is successfully disabled.
- Write CFG.DCDIS =
1
. - Enable the CMCC by writing CTRL.CEN =
1
.