mcf5407 Freescale Semiconductor, Inc, mcf5407 Datasheet - Page 218

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
Programming Model
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:
6-4
Address
MBAR
Offset
0x04C
Reset
0x050
0x054
Field
1. MBAR
2. SRAM and caches
3. Chip select
R/W
31
UART0 (ICR4) [p. 9-3]
DMA2 (ICR8) [p. 9-3]
timer (ICR0) [p. 9-3]
Software watchdog
The MBAR region must be mapped to non-cacheable space.
W (supervisor only); R/W through debug module (only the debug module can read MBAR)
[31:24]
Figure 6-2. Module Base Address Register (MBAR)
Table 6-1. SIM Registers (Continued)
BA
UART1 (ICR5) [p. 9-3]
Timer0 (ICR1) [p. 9-3]
DMA3 (ICR9) [p. 9-3]
MCF5407 User’s Manual
[23:16]
NOTE:
CPU + 0x0C0F
Undefined
12 11 10 9
Timer1 (ICR2) [p. 9-3]
DMA0 (ICR6) [p. 9-3]
[15:8]
WP — AM C/I SC SD UC UD V
8
7
Reserved
Attribute Mask Bits
6
DMA1 (ICR7) [p. 9-3]
5
I
2
C (ICR3) [p. 9-3]
4
[7:0]
3
2
1
0
0

Related parts for mcf5407