Post Reply 
Actual speed (CPU clock frequency) of 34S?
04-15-2014, 08:31 PM (This post was last modified: 04-15-2014 08:40 PM by Marcus von Cube.)
Post: #4
RE: Actual speed (CPU clock frequency) of 34S?
(04-15-2014 02:27 PM)Waon Shinyoe Wrote:  We know that 34s(or 30b) has the ARM7 core which clocks 32kHZ to 40MHz . But I wonder how fast it really is, since it's limited by the power supply?

You've answered the question yourself. When I first started the hardware port of WP 34S I just left power consumption out completely: No problem because my prototype device uses a wall wart as its power supply.

Things are completely different with two coin cells as the sole source of power. The software is constantly switching between the various oscillators and speeds, depending on the task the calculator is performing and the time already spent on it. When you look at a steady display without a program running, the processor is essentially switched off. A wake up call (through the keyboard) speeds it up slightly, just enough not to appear too sluggish in accepting key strokes. When a function is executed, speed is raised to about 20 MHz for a fraction of a second. If things are taking longer, speed is increased to the full 37MHz until the task is completed or the voltage drops too much which causes a speed decrease to some 20 MHz again.

As you can see, knowing the maximum specs of the chip doesn't give you enough information to judge the actual time a calculation will take.

The code itself isn't optimized for speed either. Many of the advanced functions are written as key code sequences in order to save valuable flash space. Adding the 34 digit accuracy of most functions to the mix may explain why some other calculator with a less powerful CPU can outperform the WP 34S in certain benchmark cases.

Edited to correct the actual speeds in use.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Actual speed (CPU clock frequency) of 34S? - Marcus von Cube - 04-15-2014 08:31 PM



User(s) browsing this thread: 1 Guest(s)