UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
20 of 362
NXP Semiconductors
UM10208
Chapter 4: LPC2800 Cache
5.2 Cache Settings register (CACHE_SETTINGS, 0x8010 4004)
The CACHE_SETTINGS register controls the general setup of the cache, allows resetting
of the entire cache, and controls the cache performance analysis feature.
shows the bit definitions for the CACHE_SETTINGS register.
Table 6.
Cache Reset Status register (CACHE_RST_STAT, 0x8010 4000)
Bit
Symbol
Description
Reset
value
0
CACHE_STATUS
0: Cache reset is complete.
1: Cache reset is ongoing.
When the cache is reset, software should poll
CACHE_STATUS until it is 0.
0
31:1
-
Reserved. The value read from a reserved bit is not defined.
-
Table 7.
Cache Settings register (CACHE_SETTINGS, 0x8010 4004)
Bit
Symbol
Description
Reset
value
0
CACHE_RST
Cache controller reset control. This bit resets the cache
hardware internally, clearing all tags so that the entire
cache is considered empty. This takes 128 CPU clock
cycles to complete. The reset progress can be followed
by reading register CACHE_RST_STAT.
0 : De-assert reset to the Flash controller.
1 : Assert reset to the Flash controller.
Note: the cache MUST be reset before it is enabled. It is
recommended to include this procedure at system
startup.
0
1
DATA_ENABLE
Enables use of the cache for storing data.
0 : All storage of data in the cache is disabled. This
applies to all 16 pages.
1 : Storage of data in the cache is enabled. This applies
to all pages enabled via the CACHE_PAGE_CTRL
register.
0
2
INSTRUCTION_ENABLE Enables use of the cache for storing instructions.
0 : All storage of instructions in the cache is disabled.
This applies to all 16 pages.
1 : Storage of instructions in the cache is enabled. This
applies to all pages enabled via the
CACHE_PAGE_CTRL register.
0