Initialization/Application Information - Freescale Semiconductor ColdFire MCF52210 ColdFire MCF52211 ColdFire MCF52212 ColdFire MCF52213 Reference Manual

Coldfire integrated microcontroller
Table of Contents

Advertisement

Field
11–10
Priority Bit. PRIU determines if DMA or CPU has priority in the upper 16K bank of memory. PRIL determines
PRIU
if DMA or CPU has priority in the lower 16K bank of memory. If a bit is set, the CPU has priority. If a bit is
PRIL
cleared, DMA has priority. Priority is determined according to the following table:
Note: The recommended setting (maximum performance) for the priority bits is 00.
9
Secondary port valid. Allows access by DMA.
SPV
0 DMA access to memory is disabled.
1 DMA access to memory is enabled.
Note: The SPV bit in the second RAMBAR register must also be set to allow dual port access to the SRAM.
For more information, see
8
Write Protect. Allows only read accesses to the SRAM. When this bit is set, any attempted write access
WP
from the core generates an access error exception to the ColdFire processor core.
0 Allows core read and write accesses to the SRAM module
1 Allows only core read accesses to the SRAM module
Note: This bit does not affect non-core write accesses.
7–6
Reserved, must be cleared.
5–1
Address Space Masks (ASn). These five bit fields allow types of accesses to be masked or inhibited from
C/I, SC, SD, UC,
accessing the SRAM module. The address space mask bits are:
UD
C/I = CPU space/interrupt acknowledge cycle mask
SC = Supervisor code address space mask
SD = Supervisor data address space mask
UC = User code address space mask
UD = User data address space mask
For each address space bit:
0 An access to the SRAM module can occur for this address space
1 Disable this address space from the SRAM module. If a reference using this address space is made, it
is inhibited from accessing the SRAM module and is processed like any other non-SRAM reference.
These bits are useful for power management as detailed in
applications, the C/I bit is set
0
Valid. When set, this bit enables the SRAM module; otherwise, the module is disabled. A hardware reset
V
clears this bit.
0 Contents of RAMBAR are not valid
1 Contents of RAMBAR are valid
5.3

Initialization/Application Information

After a hardware reset, the SRAM module contents are undefined. The valid bit of the RAMBAR is
cleared, disabling the processor port into the memory. If the SRAM requires initialization with instructions
or data, perform the following steps:
1. Load the RAMBAR, mapping the SRAM module to the desired location within the address space.
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
Table 5-2. RAMBAR Field Descriptions (continued)
PRIU,PRIL
Upper Bank Priority
00
01
10
11
Section 12.5.2, "Memory Base Address Register (RAMBAR)."
Description
Lower Bank Priority
CPU
CPU
Section 5.3.2, "Power Management."
Static RAM (SRAM)
CPU
CPU
In most
5-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf52212Coldfire mcf52211Coldfire mcf52213

Table of Contents