MC68HC912B32MFU8 MOTOROLA [Motorola, Inc], MC68HC912B32MFU8 Datasheet - Page 54

no-image

MC68HC912B32MFU8

Manufacturer Part Number
MC68HC912B32MFU8
Description
16-Bit Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
HPRIO — Highest Priority I Interrupt
9.4 Resets
9.4.1 Power-On Reset
9.4.2 External Reset
9.4.3 COP Reset
9.4.4 Clock Monitor Reset
9.5 Effects of Reset
9.5.1 Operating Mode and Memory Map
54
MOTOROLA
RESET:
Write only if I mask in CCR = 1 (interrupts inhibited). Read anytime.
To give a maskable interrupt source highest priority, write the low byte of the vector address to the
HPRIO register. For example, writing $F0 to HPRIO would assign highest maskable interrupt priority to
the real-time interrupt timer ($FFF0). If an unimplemented vector address or a non-I-masked vector ad-
dress (value higher than $F2) is written, then IRQ will be the default highest priority interrupt.
There are four possible sources of reset. Power-on reset (POR), and external reset on the RESET pin
share the normal reset vector. The computer operating properly (COP) reset and the clock monitor reset
each has a vector. Entry into reset is asynchronous and does not require a clock but the MCU cannot
sequence out of reset without a system clock.
A positive transition on V
external reset circuits, are the usual source of reset in a system. The POR circuit only initializes internal
circuitry during cold starts and cannot be used to force a reset as system voltage drops.
The CPU distinguishes between internal and external reset conditions by sensing whether the reset pin
rises to a logic one in less than eight E-clock cycles after an internal device releases reset. When a reset
condition is sensed, the RESET pin is driven low by an internal device for about 16 E-clock cycles, then
released. Eight E-clock cycles later it is sampled. If the pin is still held low, the CPU assumes that an
external reset has occurred. If the pin is high, it indicates that the reset was initiated internally by either
the COP system or the clock monitor.
To prevent a COP or clock monitor reset from being detected during an external reset, hold the reset
pin low for at least 32 cycles. An external RC power-up delay circuit on the reset pin is not recommended
— circuit charge time can cause the MCU to misinterpret the type of reset that has occurred.
The MCU includes a computer operating properly (COP) system to help protect against software fail-
ures. When COP is enabled, software must write $55 and $AA (in this order) to the COPRST register
in order to keep a watchdog timer from timing out. Other instructions may be executed between these
writes. A write of any value other than $55 or $AA or software failing to execute the sequence properly
causes a COP reset to occur.
If clock frequency falls below a predetermined limit when the clock monitor is enabled, a reset occurs.
When a reset occurs, MCU registers and control bits are changed to known start-up states, as follows.
Operating mode and default memory mapping are determined by the states of the BKGD, MODA, and
MODB pins during reset. The SMODN, MODA, and MODB bits in the MODE register reflect the status
of the mode-select inputs at the rising edge of reset. Operating mode and default maps can subsequent-
ly be changed according to strictly defined rules.
Bit 7
1
1
6
1
1
DD
causes a power-on reset (POR). An external voltage level detector, or other
PSEL5
5
1
PSEL4
4
1
PSEL3
3
0
PSEL2
2
0
PSEL1
1
1
MC68HC912B32TS/D
Bit 0
MC68HC912B32
0
0
$001F

Related parts for MC68HC912B32MFU8