mcf5407 Freescale Semiconductor, Inc, mcf5407 Datasheet - Page 130

no-image

mcf5407

Manufacturer Part Number
mcf5407
Description
Mcf5407 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf5407AI162
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mcf5407AI162
Manufacturer:
FREESCAL
Quantity:
132
Part Number:
mcf5407AI162
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5407AI162
Manufacturer:
ALTERA
0
Part Number:
mcf5407AI220
Manufacturer:
freescaie
Quantity:
6
Part Number:
mcf5407AI220
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mcf5407AI220
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mcf5407AI220
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5407AI220
Manufacturer:
NXP
Quantity:
25
Part Number:
mcf5407CAI162
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Power Management
; +0
; +4
; +8
; +12
; +16
; +20
; +24
loop:
4.6 Power Management
Because processor memory references may be simultaneously sent to an SRAM module
and cache, power can be minimized by configuring RAMBAR address space masks as
precisely as possible. For example, if an SRAM is mapped to the internal instruction bus
and contains instruction data, setting the ASn mask bits associated with operand references
can decrease power dissipation. Similarly, if the SRAM contains data, setting ASn bits
associated with instruction fetches minimizes power.
Table 4-2 shows typical RAMBAR configurations.
4.7 Cache Overview
This section describes the MCF5407 cache implementation, including organization,
configuration, and coherency. It describes cache operations and how the cache interacts
with other memory structures.
4-6
.
move.l
movec.l
move.l
lea.l
add.l
move.l
asr.l
.align
movem.l
movem.l
lea.l
lea.l
subq.l
bne.b
movem.l
lea.l
rts
saved d2
saved d3
saved d4
returnPc
pointer to source operand
destinationOffset
bytesToMove
Table 4-2. Examples of Typical RAMBAR Settings
Code only
Data only
Both code and data
Data Contained in SRAM
RAMBASE+RAMFLAGS,a0
a0,rambar0
16(a7),a0
RAMBASE,a1
20(a7),a1
24(a7),d4
#4,d4
4
(a0),#0xf
#0xf,(a1)
16(a0),a0
16(a1),a1
#1,d4
loop
(a7),#0x1c
12(a7),a7
MCF5407 User’s Manual
;define RAMBAR0 contents
;load it
;load argument defining *src
;memory pointer to RAM base
;include destinationOffset
;load byte count
;divide by 16 to convert to loop count
;force loop on 0-mod-4 address
;read 16 bytes from source
;store into RAM destination
;increment source pointer
;increment destination pointer
;decrement loop counter
;if done, then exit, else continue
;restore d2/d3/d4 registers
;deallocate temporary space
RAMBAR[5–0]
0x2B
0x35
0x21

Related parts for mcf5407