
10-6
MCF5249UM
MOTOROLA
Programming Model
10.4.2
CHIP SELECT MODULE REGISTERS
The various chip select registers in the module are described as follows.
10.4.2.1 CHIP SELECT ADDRESS REGISTER
CSAR0 and CSAR1 determine the base address of the corresponding chip select pin, and are
read/writable. CSAR2 and CSAR3 determine the base address of the IDE and Flash Card interfaces.
These read/write registers are 32-bit in length. The value stored in each CSAR register corresponds
to A[31:16].
These registers are uninitialized by reset.
Table 10-4 shows the bit assignment for the base address.
10.4.2.2 CHIP SELECT MASK REGISTER
The chip select mask registers CSMR0 to CSMR3 are readable and writable. They determine the address
mask for CS0, CS1, DIOR/DIOW, SRE/SWE, respectively. In addition, CSMR[3:0] determines which type
of access is allowed for these signals. Each CSMR is a 32-bit read/write control register that physically
resides in the chip select module. With the exception of bit 0 (V-bit), which is initialized to 0 on reset, all
other bits in CSMR[3:0] are uninitialized by reset. The CSMR is illustrated in the following table.
Note: The SWE and SRE signals are only used on the 160 MAPBGA package.
Table 10-3 Chip Select Address Register (CSAR)
BITS
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FIELD
BA3
1
BA3
0
BA2
9
BA2
8
BA2
7
BA2
6
BA2
5
BA2
4
BA2
3
BA2
2
BA2
1
BA2
0
BA1
9
BA1
8
BA1
7
BA1
6
RESET
————————————
————
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
BITS
15
14
13
12
11
10
9876543210
FIELD
————————————
————
RESET
————————————
————
R/W
MBAR (0X80), MBAR (0X8C), MBAR (0X98), MBAR (0XA4),
Table 10-4 Chip Select Bit Descriptions
BIT NAME
DESCRIPTION
BA[31:16]
The Base Address field defines the base address location of memory dedicated to
chip select CS[3:0]. These bits are compared to bits 31–16 on the internal core
address bus to determine if the chip select memory is being accessed.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.