Page 1 of 2
Automatic power saving mode configuration
As described on figure 1, a microprocessor has external RAM , ROM, and peripherals. When it is working normally, a lot of accesses can be seen from the microprocessor to those external devices , but when it is idle, the microprocessor accesses remain on the ROM in order to jump on it's current instructions. So, the idea of the invention is to count the number of external accesses to determine the state of the processor.
Figure 2 illustrates the invention: the RAM, Perif1 and Perif2 accesses increment the counter , while the ROM accesses decrement it. When the value of the counter is more than a predetermined threshold e.g., 50, it's output decode is set to 1 and the clock rate is set to its maximum value, but when the counter value is less than 50, the idle mode is detected, the power saving mode is set i.e., the microprocessor clock rate is divided by e.g., 2 and it's power supply value is decreased by e.g., 3 %. This process can save up to 50% of the power consumption.
cs
RO M
RAM
cs
M icroprocessor
cs0cs1
cs2 cs3
Perif 1
cs
cs
Perif 2
FIGURE 1
1
Page 2 of 2
Power Supply
cs
ROM
RAM
cs
div by
2
osc
cs0
cs3
Microprocessor
cs1 cs2
S E L
Perif 1
cs
cs
Perif 2
or
<50incCOUNTER dec
FIGURE 2
Disclosed by International Business Machines Corporation
2
[This page contains 3 pictures or other non-text objects]