Intel 8XC196MC Benutzerhandbuch

Seite von 579
8XC196MC, MD, MH USER’S MANUAL
14-6
14.4.2 Entering Powerdown Mode
Before entering powerdown, complete the following tasks:
Complete all serial port transmissions or receptions. Otherwise, when the device exits
powerdown, the serial port activity will continue where it left off and incorrect data may be
transmitted or received. 
Complete all analog conversions. If powerdown occurs during the conversion, the result
will be incorrect.
If the watchdog timer (WDT) is enabled, clear the WATCHDOG register just before issuing
the powerdown instruction. This ensures that the device can exit powerdown cleanly.
Otherwise, the WDT could reset the device before the oscillator stabilizes. (The WDT
cannot reset the device during powerdown because the clock is stopped.)
Put all other peripherals into an inactive state.
After completing these tasks, execute the IDLPD #2 instruction to enter powerdown mode. 
NOTE
To prevent an accidental return to full power, hold the external interrupt pin 
(EXTINT) low while the device is in powerdown mode.
14.4.3 Exiting Powerdown Mode
The device will exit powerdown mode when any of the following events occurs:
an external device drives the V
PP
 pin low for at least 50 ns
a hardware reset is generated
a transition occurs on the external interrupt pin
14.4.3.1
Driving the V
PP
 Pin Low 
If the design uses an external clock input signal rather than the on-chip oscillator, the fastest way
to exit powerdown mode is to drive the V
PP
 pin low for at least 50 ns. Use this method only when
using an external clock input because the internal CPU and peripheral clocks will be enabled, but
the internal oscillator will not.
14.4.3.2
Generating a Hardware Reset
The device will exit powerdown if RESET# is asserted. If the design uses an external clock input
signal rather than the on-chip oscillator, RESET# must remain low for at least 16 state times. If
the design uses the on-chip oscillator, then RESET# must be held low until the oscillator has sta-
bilized.