English
Language : 

MCF5307AI90B Datasheet, PDF (184/484 Pages) Freescale Semiconductor, Inc – Integrated Microprocessor
Freescale Semiconductor, Inc.
Programming Model
MBAR
Offset
0x04C
0x050
0x054
Table 6-1. SIM Registers (Continued)
[31:24]
Software watchdog
timer (ICR0) [p. 9-3]
UART0 (ICR4) [p. 9-3]
DMA2 (ICR8) [p. 9-3]
[23:16]
Timer0 (ICR1) [p. 9-3]
UART1 (ICR5) [p. 9-3]
DMA3 (ICR9) [p. 9-3]
[15:8]
Timer1 (ICR2) [p. 9-3]
[7:0]
I2C (ICR3) [p. 9-3]
DMA0 (ICR6) [p. 9-3] DMA1 (ICR7) [p. 9-3]
Reserved
6.2.2 Module Base Address Register (MBAR)
The supervisor-level MBAR, Figure 6-2, specifies the base address and allowable access
types for all internal peripherals. It is written with a MOVEC instruction using the CPU
address 0xC0F. (See the ColdFire Family Programmer’s Reference Manual.) MBAR can
be read or written through the debug module as a read/write register, as described in
Chapter 5, “Debug Support.” Only the debug module can read MBAR.
The valid bit, MBAR[V], is cleared at system reset to prevent incorrect references before
MBAR is written; other MBAR bits are uninitialized at reset. To access internal peripherals,
write MBAR with the appropriate base address (BA) and set MBAR[V] after system reset.
All internal peripheral registers occupy a single relocatable memory block along 4-Kbyte
boundaries. If MBAR[V] is set, MBAR[BA] is compared to the upper 20 bits of the full
32-bit internal address to determine if an internal peripheral is being accessed. MBAR
masks specific address spaces using the address space fields. Attempts to access a masked
address space generate an external bus access.
Addresses hitting overlapping memory spaces take the following priority:
1. MBAR
2. SRAM and caches
3. Chip select
NOTE:
The MBAR region must be mapped to non-cacheable space.
Attribute Mask Bits
31
Field
Reset
R/W
Address
12 11 10 9 8 7 6 5 4 3 2 1 0
BA
— WP — AM C/I SC SD UC UD V
Undefined
0
W (supervisor only); R/W through debug module (only the debug module can read MBAR)
CPU + 0x0C0F
Figure 6-2. Module Base Address Register (MBAR)
6-4
MCF5307 User’s Manual
For More Information On This Product,
Go to: www.freescale.com