Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:27 13 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM+ CPU  Speed TIME$ Anomaly

Author Message
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 10:30am 24 Dec 2019
Copy link to clipboard 
Print this post

On a 470 Micromite running MMBasic 5.05.02, when the CPU is set to 5MHz, the timer and time$ functions run fast with time$ gaining about 11 seconds per minute.

All other CPU speeds appear OK. Has anyone else seen this problem?

Code below was used to test -


SETTICK 60000, tickint
CPU 5
DO
LOOP

SUB TICKING
 PRINT "Time is -", TIME$
END SUB


Comparing with a known correct time, the MM thinks it is interrupting every 60 seconds but in fact does so every 48 or 49 seconds with the MM+ thus having the wrong time.

panky.
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 01:45pm 24 Dec 2019
Copy link to clipboard 
Print this post

That sounds like a serious issue.  I will setup a test rig and report back.

Geoff
Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025