11.6.2 Initialization and Normal Operation
On reset, the cache controller data entries are all invalidated and the cache is disabled. The cache is transparent to processor operations. The user can activate the cache controller by using its configuration registers. The configuration interface is memory mapped in the APB bus.
Use the following sequence to enable the cache controller:
- Verify that the CMCC is disabled, reading the value of the SR.CSTS.
- Enable the CMCC by writing ‘
1
’ in CTRL.CEN. The MODULE is disabled by writing a ‘0
’ in CTRL.CEN.