SIM Programming and Configuration
MOTOROLA
System Integration Module
9-5
The following example shows how to set the MBAR to location $10000000 using the D0 register. A “1” in
the least significant bit validates the MBAR location. This example assumes that all accesses are valid:
move.1 #$10000001,DO
movec DO,MBAR
9.3.2
DEVICE ID
The DeviceID register is a read only register that allows the software to determine which hardware it is
running on. The register contains the part number in the upper 24 bits, the mask revision number in the
lower 8 bits, and is read as 0x005448rr, where rr is the revision number.
This register allows developers the flexibility to write code to run on more than one device. The revision
number allows developers to distinguish between different mask versions that may have minor changes or
V
This bit defines when the base address is valid:
0 = MBAR address space not visible by CPU
1 = MBAR address space visible by CPU
Table 9-5 Second Module Base Address Register (MBAR2)
BITS
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FIELD
BA31
BA30
--------------
RESET
0
--------------
R/W
BITS
15
14
13
12
11
10
9876543210
FIELD
LS7
LS6
LS5
LS4
LS3
LS2
LS1
V
RESET
--------
00000000
R/W
Table 9-6 Second Module Base Address Bit Descriptions
BIT NAME
DESCRIPTION
BA[31:30]
The Base Address field defines the base address for a 1024-MByte address range. If V-bit in
MBAR2 is set, address range Base Address to BaseAddress + $3FFF FFFF are mapped to
MBAR2 space, and cannot be used for MBAR, SDRAM or Chip Select.
LS[7:1]
If interrupts both “primary” and the “secondary” interrupt controller have interrupt level 7
pending, bit LS7 determines which interrupt controller gets priority. If this bit is cleared, the
primary interrupt controller gets priority. If this bit is set, the secondary interrupt controller
gets priority. There are 7 LSn bits, one for each interrupt level.
V
The Valid bit defines if the CPU can access the MBAR2 mapped peripherals
0 = MBAR2 address space not visible by CPU.
1 = MBAR2 address space visible by CPU
Table 9-4 Module Base Address Bit Descriptions (Continued)
BIT NAME
DESCRIPTION
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
..
.