
• A cache address consists of a set address and a way select. The line command acts on
the specified cache line.
• Cache line commands with physical addresses first search both ways of the cache set
specified by bits [11:4] of the physical address. If they hit, the commands perform
their action on the hit way.
Cache line commands are specified using the upper bits in the CLCR register. Cache line
commands perform their operation on the cache independent of the cache enable bit
(CCR[ENCACHE]). Using a cache address, the command can be completely specified
using the CLCR register. Using a physical address, the command must also use the
CSAR register to specify the physical address.
A line cache command is initiated by setting the line command go bit (CLCR[LGO] or
CSAR[LGO]). This bit also acts a a busy bit for line commands. It stays set while the
command is active and is cleared by the hardware when the command completes.
The CLCR[27:24] bits select the line command as follows:
Table 14-3. Cache Line Commands
CLCR[27:24]
Command
LACC
LADSEL
LCMD
0
0
00
Search by cache address and way
0
0
01
Invalidate by cache address and way
0
0
10
Push by cache address and way
0
0
11
Clear by cache address and way
0
1
00
Search by physical address
0
1
01
Invalidate by physical address
0
1
10
Push by physical address
0
1
11
Clear by physical address
1
0
00
Write by cache address and way
1
0
01
Reserved, NOP
1
0
10
Reserved, NOP
1
0
11
Reserved, NOP
1
1
xx
Reserved, NOP
14.4.4.2.1 Executing a series of line commands using cache addresses
A series of line commands with incremental cache addresses can be performed by just
writing to the CLCR.
• Place the command in CLCR[27:24],
• Set the way (CLCR[WSEL]) and tag/data (CLCR[TDSEL]) controls as needed,
Chapter 14 Local Memory Controller (LMEM)
Kinetis KE1xF Sub-Family Reference Manual, Rev. 4, 06/2019
NXP Semiconductors
339
Summary of Contents for KE1xF Series
Page 2: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 2 NXP Semiconductors...
Page 138: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 138 NXP Semiconductors...
Page 360: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 360 NXP Semiconductors...
Page 490: ...Interrupts Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 490 NXP Semiconductors...
Page 562: ...Boot Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 562 NXP Semiconductors...
Page 706: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 706 NXP Semiconductors...
Page 736: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 736 NXP Semiconductors...
Page 866: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 866 NXP Semiconductors...
Page 1164: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1164 NXP Semiconductors...
Page 1178: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1178 NXP Semiconductors...
Page 1380: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1380 NXP Semiconductors...
Page 1472: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1472 NXP Semiconductors...
Page 1482: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1482 NXP Semiconductors...