03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CLOCK GENERATION AND POWER MANAGEMENT<br />

5.2.2.2 Leaving Powerdown Mode<br />

An NMI, unmasked interrupt, or reset returns the processor to Active mode. Unlike other 80C186<br />

Modular Core family members, the processor does not have clocked logic in the Interrupt Control<br />

Unit.<br />

If the device leaves Powerdown mode by an NMI or unmasked interrupt, a delay must follow the<br />

interrupt request to allow the crystal oscillator to stabilize before gating it to the internal phase<br />

clocks. An external timing pin sets this delay as described below. Leaving Powerdown by an unmasked<br />

interrupt or NMI does not clear the PWRDN bit in the Power Control Register. A reset<br />

also takes the processor out of Powerdown mode. Since the oscillator is off, the user should follow<br />

the oscillator cold start guidelines (see “Reset and Clock Synchronization” on page 5-6).<br />

The Powerdown timer circuit (Figure 5-13) has a PDTMR pin. Connecting this pin to an external<br />

capacitor gives the user control over the gating of the crystal oscillator to the internal clocks. The<br />

strong P-channel device is always on except during exit from Powerdown mode. This pullup<br />

keeps the powerdown capacitor C PD charged up to V CC . When the processor detects an interrupt<br />

or NMI, the weak N-channel device turns on and the P-channel turns off. Leaving Powerdown by<br />

an unmasked interrupt or NMI does not clear the PWRDN bit in the Power Control Register. C PD<br />

discharges slowly. At the same time, the circuit turns on the feedback inverter on the crystal oscillator<br />

and oscillation starts.<br />

The Schmitt trigger connected to the PDTMR pin asserts the internal OSC_OK signal when the<br />

voltage at the pin drops below its switching threshold. The OSC_OK signal gates the crystal oscillator<br />

output to the internal clock circuitry. One CLKOUT cycle runs before the internal clocks<br />

turn back on. It takes two additional CLKOUT cycles for an NMI request to reach the CPU and<br />

another six clocks for the vector to be fetched. An unmasked interrupt request reaches the CPU<br />

two clocks after the Interrupt Control Unit resolution time, and the first INTA cycle starts six<br />

clocks later.<br />

5-18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!