Post Reply 
HP calcs with clock
07-16-2014, 05:07 PM (This post was last modified: 07-16-2014 05:08 PM by Christoph Giesselink.)
Post: #12
RE: HP calcs with clock
Quote:What about 28C/S and 42S? Do they keep counting in the OFF mode?

In addition to Katie's reply some more information.

Yes, all three models (HP-28C, HP-28S and HP-42S) have a timer running with 8192Hz, even if the calculator is switched off. Because there's no possibilty to access this timer value on the HP42S only clock programs for the HP-28 are available.


Years ago I wrote two articles in the HP Articles Forum

275: HP28S: Hardware I/O basics
313: HP28C: Hardware I/O basics

and under section "Special considerations to master/slave operation" you can find some information about these timers.

The hardware timer is 32 bit wide and running @8192Hz, so the timer could hold values for (2^32)/8192Hz = 524288s = ~6d. That's of course too short for a clock with absolute time value. So the hardware timer is expanded by a 12 nibble (12*4 = 48bit) RAM area. To update the RAM content the interrupt capabilities of the timers are used. So the maximum timer time without an interrupt is reduced from 524288s to 524288s / 2 = 262144s = ~3d. So after maximum 3 days the CPU is awaked from sleep state (without turning display on) udpate the clock RAM, preset the timer for new interrupt and shutdown CPU again.

So only when you remove the batteries or put the calculator into "deep sleep" (aka. coma / storage) mode, the clock timer will stop. It's not recommended to put a HP-28 calculator into deep sleep mode, because of a hardware design bug the current drain is higher than in "off" mode.

At http://users.skynet.be/luc.pauwels/luc/H...clock.html is a clock program for the HP-28 series.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP calcs with clock - x34 - 07-16-2014, 07:31 AM
RE: HP calcs with clock - walter b - 07-16-2014, 08:32 AM
RE: HP calcs with clock - Joe Horn - 07-16-2014, 08:47 AM
RE: HP calcs with clock - rprosperi - 07-16-2014, 04:20 PM
RE: HP calcs with clock - x34 - 07-16-2014, 09:56 AM
RE: HP calcs with clock - Marcus von Cube - 07-16-2014, 10:34 AM
RE: HP calcs with clock - walter b - 07-16-2014, 10:51 AM
RE: HP calcs with clock - Mark Hardman - 07-16-2014, 05:28 PM
RE: HP calcs with clock - x34 - 07-17-2014, 08:33 AM
RE: HP calcs with clock - Les Bell - 07-16-2014, 10:30 AM
RE: HP calcs with clock - Garth Wilson - 07-16-2014, 04:55 PM
RE: HP calcs with clock - Katie Wasserman - 07-16-2014, 12:37 PM
RE: HP calcs with clock - x34 - 07-16-2014, 12:53 PM
RE: HP calcs with clock - Christoph Giesselink - 07-16-2014 05:07 PM
RE: HP calcs with clock - Mark Hardman - 07-16-2014, 05:50 PM
RE: HP calcs with clock - Katie Wasserman - 07-16-2014, 06:19 PM
RE: HP calcs with clock - Mark Hardman - 07-16-2014, 07:07 PM



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