English
Language : 

MC9S12NE64CPVE Datasheet, PDF (417/554 Pages) Freescale Semiconductor, Inc – MC9S12NE64 Device Overview
Table 15-15. Access Type vs. Bus Control Pins
LSTRB
1
0
1
AB0
1
0
1
R/W
Type of Access
1
16-bit read of an odd address
(low/high data swapped)
0
16-bit write to an even address
0
16-bit write to an odd address
(low/high data swapped)
Functional Description
15.4.2 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 in the MMC sub-block
of the core 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 data would already be driven onto the data bus so the length of time write data is valid is extended
in the case of a stretched bus cycle. Read data would not be captured by the system 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 chip selects, and R/W signals remain valid during the period of
stretching (throughout the stretched E high time).
NOTE
The address portion of the bus cycle is not stretched.
15.4.3 Modes of Operation
The operating mode out of reset is determined by the states of the MODC, MODB, and MODA pins during
reset (Table 15-16). The MODC, MODB, and MODA bits in the MODE register show the current
operating mode and provide limited mode switching during operation. The states of the MODC, MODB,
and MODA pins are latched into these bits on the rising edge of the reset signal.
MODC
0
0
0
0
1
1
1
1
MODB
0
0
1
1
0
0
1
1
Table 15-16. Mode Selection
MODA
0
1
0
1
0
1
0
1
Mode Description
Special Single Chip, BDM allowed and ACTIVE. BDM is allowed in all
other modes but a serial command is required to make BDM active.
Emulation Expanded Narrow, BDM allowed
Special Test (Expanded Wide), BDM allowed
Emulation Expanded Wide, BDM allowed
Normal Single Chip, BDM allowed
Normal Expanded Narrow, BDM allowed
Peripheral; BDM allowed but bus operations would cause bus conflicts
(must not be used)
Normal Expanded Wide, BDM allowed
MC9S12NE64 Data Sheet, Rev. 1.1
Freescale Semiconductor
417