English
Language : 

C517A_99 Datasheet, PDF (200/218 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
Power Saving Modes
C517A
9.1 Hardware Enable for the Use of the Power Saving Modes
To provide power saving modes together with effective protection against unintentional entering of
these modes, the C517A has an extra pin disabling the use of the power saving modes. As this pin
will most likely be used only in critical applications it is combined with an automatic start of the
watchdog timer (see the description in chapter 8 “Fail Save Mechanisms”). This pin is called PE/
SWD (power saving enable/start watchdog timer) and its function is as follows:
PE/SWD = 1 (logic high level)
– Use of the power saving modes is not possible. The instruction sequences used for entering
these modes will not affect the normal operation of the device.
– lf and only if PE/SWD is held at high level during reset, the watchdog timer is started
immediately after reset is released.
PE/SWD = 0 (logic low level)
– All power saving modes can be activated as described in the following sections
– The watchdog timer has to be started by software if system protection is desired.
When left unconnected, the pin PE/SWD is pulled to high level by a weak internal pullup. This is
done to provide system protection by default.
The logic level applied to pin PE/SWD can be changed during program execution in order to allow
or block the use of the power saving modes without any effect on the on-chip watchdog circuitry;
(the watchdog timer is started only if PE/SWD is on high level at the moment when reset is released;
a change at PE/SWD during program execution has no effect on the watchdog timer; this only
enables or disables the use of the power saving modes. A change of the pin’s level is detected in
state 3, phase 1. A Schmitt trigger is used at the input to reduce susceptibility to noise.
In addition to the hardware enable/disable of the power saving modes, a double-instruction
sequence which is described in the corresponding sections is necessary to enter power down and
idle mode. The combination of all these safety precautions provide a maximum of system
protection.
9.2 Application Example for Switching Pin PE/SWD
For most applications in noisy environments, components external to the chip are used to give
warning of a power failure or a turn off of the power supply. These circuits could be used to control
the PE/SWD pin. The possible steps to go into power down mode could then be as follows:
– A power-fail signal forces the controller to go into a high priority interrupt routine. This interrupt
routine saves the actual program status. At the same time pin PE/SWD is pulled low by the
power-fail signal.
– Finally the controller enters power down mode by executing the relevant double-instruction
sequence.
Semiconductor Group
9-2