mc68hc916y3 Freescale Semiconductor, Inc, mc68hc916y3 Datasheet - Page 148

no-image

mc68hc916y3

Manufacturer Part Number
mc68hc916y3
Description
Mc68hc16y3 16 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
5.7 Reset
5.7.1 Reset Exception Processing
5.7.2 Reset Control Logic
5-40
MOTOROLA
SIZ[1:0] signals reflect bus allocation during show cycles. Only the appropriate portion
of the data bus is valid during the cycle. During a byte write to an internal address, the
portion of the bus that represents the byte that is not written reflects internal bus con-
ditions, and is indeterminate. During a byte write to an external address, the data mul-
tiplexer in the SCIM2 causes the value of the byte that is written to be driven out on
both bytes of the data bus.
Reset occurs when an active low logic level on the RESET pin is clocked into the
SCIM2. The RESET input is synchronized to the system clock. If there is no clock
when RESET is asserted, reset does not occur until the clock starts. Resets are
clocked to allow completion of write cycles in progress at the time RESET is asserted.
Reset procedures handle system initialization and recovery from catastrophic failure.
The MCU performs resets with a combination of hardware and software. The SCIM2
determines whether a reset is valid, asserts control signals, performs basic system
configuration and boot ROM selection based on hardware mode-select inputs, then
passes control to the CPU16.
The CPU16 processes resets as a type of asynchronous exception. An exception is
an event that preempts normal processing, and can be caused by internal or external
events. Exception processing makes the transition from normal instruction execution
to execution of a routine that deals with an exception. Each exception has an assigned
vector that points to an associated handler routine. These vectors are stored in the
exception vector table. The exception vector table consists of 256 four-byte vectors
and occupies 512 bytes of address space. The exception vector table can be relocated
in memory by changing its base address in the vector base register (VBR). The CPU16
uses vector numbers to calculate displacement into the table. Refer to 4.13 Exceptions
for more information.
Reset is the highest-priority CPU16 exception. Unlike all other exceptions, a reset oc-
curs at the end of a bus cycle, and not at an instruction boundary. Handling resets in
this way prevents write cycles in progress at the time the reset signal is asserted from
being corrupted. However, any processing in progress is aborted by the reset excep-
tion, and cannot be restarted. Only essential reset tasks are performed during excep-
tion processing. Other initialization tasks must be accomplished by the exception
handler routine. Refer to 5.7.9 Reset Processing Summary for details on exception
processing.
SCIM2 reset control logic determines the cause of a reset, synchronizes request
signals to CLKOUT, and asserts reset control signals. Reset control logic can drive
three different internal signals.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
MC68HC16Y3/916Y3
USER’S MANUAL

Related parts for mc68hc916y3