
Multiplexed External Bus Interface (MEBI)
MC9S12T64Revision 1.1.1
162
Multiplexed External Bus Interface (MEBI)
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Stretched Bus
Cycles
In order to allow fast internal bus cycles to coexist in a system with
slower external memory resources, the HCS12 supports the concept of
stretched bus cycles (module timing reference clocks for timers and
baud rate generators are not affected by this stretching). Control bits in
the MISC register specify the amount of stretch (0, 1, 2, or 3 periods of
the internal bus-rate clock). While stretching, the CPU state machines
are all held in their current state. At this point in the CPU bus cycle, write
datawouldalreadybedrivenontothedatabussothelengthoftimewrite
data is valid is extended in the case of a stretched bus cycle. Read data
would not be captured by the MCU until the E clock falling edge. In the
case of a stretched bus cycle, read data is not required until the specified
setup time before the falling edge of the stretched E clock. The external
address and R/W signals remain valid during the period of stretching
(throughout the stretched E high time).
Internal Visibility
Internal visibility is available when the system is operating in expanded
wide modes, special test mode, or emulation narrow mode. It is not
available in single-chip, peripheral or normal expanded narrow modes.
Internal visibility is enabled by setting the IVIS bit in the MODE register.
If an internal access is made while E, R/W, and LSTRB are configured
as bus control outputs and internal visibility is off (IVIS=0), E will remain
low for the cycle, R/W will remain high, and address, data and the
LSTRB pins will remain at their previous state.
Table 30 Access Type vs. Bus Control Pins
LSTRB
1
0
1
0
0
A0
0
1
0
1
0
R/W
1
1
0
0
1
Type of Access
8-bit read of an even address
8-bit read of an odd address
8-bit write of an even address
8-bit write of an odd address
16-bit read of an even address
16-bit read of an odd address
(low/high data swapped)
16-bit write to an even address
16-bit write to an odd address
(low/high data swapped)
1
1
1
0
0
0
1
1
0
F
Freescale Semiconductor, Inc.
n
.