MCF5307CFT66B Freescale Semiconductor, MCF5307CFT66B Datasheet - Page 122

no-image

MCF5307CFT66B

Manufacturer Part Number
MCF5307CFT66B
Description
IC MPU 32BIT 66MHZ COLDF 208FQFP
Manufacturer
Freescale Semiconductor
Series
MCF530xr
Datasheets

Specifications of MCF5307CFT66B

Core Processor
Coldfire V3
Core Size
32-Bit
Speed
66MHz
Connectivity
EBI/EMI, I²C, UART/USART
Peripherals
DMA, POR, WDT
Number Of I /o
16
Program Memory Type
ROMless
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
208-FQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Program Memory Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCF5307CFT66B
Manufacturer:
FREESCAL
Quantity:
154
Part Number:
MCF5307CFT66B
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Cache Management
4.11 Cache Management
The cache can be enabled and configured by using a MOVEC instruction to access CACR.
A hardware reset clears CACR, disabling the cache and removing all configuration
information; however, reset does not affect the tags, state information, and data in the cache.
Set CACR[CINVA] to invalidate the cache before enabling it.
The privileged CPUSHL instruction supports cache management by selectively pushing
and invalidating cache lines. The address register used with CPUSHL directly addresses the
cache’s directory array. The CPUSHL instruction flushes a cache line.
The value of CACR[DPI] determines whether CPUSHL invalidates a cache line after it is
pushed. To push the entire cache, implement a software loop to index through all sets and
through each of the four lines within each set (a total of 512 lines). The state of CACR[EC]
does not affect the operation of CPUSHL or CACR[CINVA]. Disabling the cache by setting
CACR[EC] makes the cache nonoperational without affecting tags, state information, or
contents.
The contents of An used with CPUSHL specify cache row and line indexes. This differs
from the MC68040 where a physical address is specified. Figure 4-10 shows the An format.
The following code example flushes the entire cache:
_cache_disable:
_cache_flush:
setloop:
4-24
31
nop
move.w
jsr
clr.l
movec
movec
move.l
movec
rts
nop
moveq.l
moveq.l
move.l
cpushl
add.l
addq.l
cmpi.l
bne
moveq.l
addq.l
0
Freescale Semiconductor, Inc.
For More Information On This Product,
#0x2700,SR
_cache_flush
d0
d0,ACR0
d0,ACR1
#0x01000000,d0
d0,CACR
#0,d0
#0,d1
d0,a0
bc,(a0)
#0x0010,a0
#1,d1
#128,d1
setloop
#0,d1
#1,d0
Figure 4-10. An Format
Go to: www.freescale.com
MCF5307 User’s Manual
11
10
;mask off IRQs
;flush the cache completely
;ACR0 off
;ACR1 off
;Invalidate and disable cache
;synchronize—flush store buffer
;initialize way counter
;initialize set counter
;initialize cpushl pointer
;push cache line a0
;increment set index by 1
;increment set counter
;are sets for this way done?
;set counter to zero again
;increment to next way
Set Index
4
3
Line Index
0

Related parts for MCF5307CFT66B