欢迎访问ic37.com |
会员登录 免费注册
发布采购

W77C032A40DL 参数 Datasheet PDF下载

W77C032A40DL图片预览
型号: W77C032A40DL
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT MICROCONTROLLER]
分类和应用: 微控制器
文件页数/大小: 78 页 / 547 K
品牌: WINBOND [ WINBOND ]
 浏览型号W77C032A40DL的Datasheet PDF文件第38页浏览型号W77C032A40DL的Datasheet PDF文件第39页浏览型号W77C032A40DL的Datasheet PDF文件第40页浏览型号W77C032A40DL的Datasheet PDF文件第41页浏览型号W77C032A40DL的Datasheet PDF文件第43页浏览型号W77C032A40DL的Datasheet PDF文件第44页浏览型号W77C032A40DL的Datasheet PDF文件第45页浏览型号W77C032A40DL的Datasheet PDF文件第46页  
W77C32/W77C032A
9. POWER MANAGEMENT
The W77C032 has several features that help the user to modify the power consumption of the device.
The power saving features are basically the POWER DOWN mode, ECONOMY mode and the IDLE
mode of operation.
9.1 Idle Mode
The user can put the device into idle mode by writing 1 to the bit PCON.0. The instruction that sets the
idle bit is the last instruction that will be executed before the device goes into Idle Mode. In the Idle
mode, the clock to the CPU is halted, but not to the Interrupt, Timer, Watchdog timer and Serial port
blocks. This forces the CPU state to be frozen; the Program counter, the Stack Pointer, the Program
Status Word, the Accumulator and the other registers hold their contents. The ALE and
PSEN
pins
are held high during the Idle state. The port pins hold the logical states they had at the time Idle was
activated. The Idle mode can be terminated in two ways. Since the interrupt controller is still active, the
activation of any enabled interrupt can wake up the processor. This will automatically clear the Idle bit,
terminate the Idle mode, and the Interrupt Service Routine (ISR) will be executed. After the ISR,
execution of the program will continue from the instruction which put the device into Idle mode.
The Idle mode can also be exited by activating the reset. The device can be put into reset either by
applying a high on the external RST pin, a Power on/fail reset condition or a Watchdog timer reset.
The external reset pin has to be held high for at least two machine cycles I.e. 8 clock periods to be
recognized as a valid reset. In the reset condition the program counter is reset to 0000h and all the
SFRs are set to the reset condition. Since the clock is already running there is no delay and execution
starts immediately. In the Idle mode, the Watchdog timer continues to run, and if enabled, a time-out
will cause a watchdog timer interrupt which will wake up the device. The software must reset the
Watchdog timer in order to preempt the reset which will occur after 512 clock periods of the time-out.
When the W77C032 is exiting from an Idle mode with a reset, the instruction following the one which
put the device into Idle mode is not executed. So there is no danger of unexpected writes.
9.2 Economy Mode
The power consumption of microcontroller relates to operating frequency. The W77C032 offers a
Economy mode to reduce the internal clock rate dynamically without external components. By default,
one machine cycle needs 4 clocks. In Economy mode, software can select 4, 64 or 1024 clocks per
machine cycle. It keeps the CPU operating at a acceptable speed but eliminates the power
consumption. In the Idle mode, the clock of the core logic is stopped, but all clocked peripherals such
as watchdog timer are still running at a rate of clock/4. In the Economy mode, all clocked peripherals
run at the same reduced clocks rate as in core logic. So the Economy mode may provide a lower
power consumption than idle mode.
Software invokes the Economy mode by setting the appropriate bits in the SFRs. Setting the bits
CD0(PMR.6), CD1(PMR.7) decides the instruction cycle rate as below:
CD1
0
0
1
1
CD0
0
1
0
1
Clocks/Machine Cycle
Reserved
4 (default)
64
1024
- 42 -