
Cache
5-2
Freescale Semiconductor
through to memory, the cache performs a bus cycle on the internal bus and correspondingly on the external
bus.
The device does not implement bus snooping; cache coherency with other possible bus masters must be
maintained in software.
5.2
Memory Map/Register Definition
This section describes the implementation of the cache registers.
5.2.1
Cache Control Register (CACR)
The CACR register contains bits for configuring the cache. It can be written by the MOVEC register
instruction and can be read or written from the debug facility. A hardware reset clears CACR, which
disables the cache; however, reset does not affect the tags, state information, or data in the cache.
Table 5-1. Cache Programming Model
BDM
1
1
The values listed in this column represent the Rc field used when accessing the core registers via the BDM port. For more
information see
Register
Width
(bits)
Access
Reset Value
Written with
MOVEC
Section/Page
0x002
Cache Control Register (CACR)
32
R/W
0x0000_0000
Yes
0x004
Access Control Register 0 (ACR0)
32
R/W
Undefined
Yes
0x005
Access Control Register 1 (ACR1)
32
R/W
Undefined
Yes
BDM: 0x002 (CACR)
Access: MOVEC write-only
Debug read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
EC
0
ESB
DPI
HLCK
0
0
CINVA
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
0
DNFB
DCM
0
0
DW
EUSP
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 5-2. Cache Control Register (CACR)
Table 5-2. CACR Field Descriptions
Field
Description
31
EC
Enable cache.
0 Cache disabled. The data cache is not operationa;l however, data and tags are preserved.
1 Cache enabled.
30
Reserved, should be cleared.
MCF5329 Reference Manual, Rev 3
Summary of Contents for MCF5329
Page 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...