timer ticks ARM BASIC vs BASIC stamp

basically miscellaneous, if it doesn't fit another sub-forum enter it here, we might even promote it to its own sub-forum
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

timer ticks ARM BASIC vs BASIC stamp

Post by YahooArchive »

Hi all,

With the BASIC stamp the actual CLK tics need to be truncated-scaled as in (from
PERL code):


$true_secs_per_tic = ($secs_per_tic/2)*2.304;
$num_tics = int ( ($num_tics/$true_secs_per_tic) + 1 );

Are there any issues for CLK adjustment timings I should be aware of with the
ARMmite?

thanks,
t



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: timer ticks ARM BASIC vs BASIC stamp

Post by YahooArchive »

The TIMER in BASIC is set to increment every microsecond, no adjustment
necessary.

However, the time base for the ARMmite, PRO and ARMexpress is based on a ceramic
resonator which is 1% accurate.

The PROplus and SuperPRO use the internal oscillator which is trimmed to 1% at
NXP. But they also allow an external crystal to be added for better accuracy.

The DINkit uses an external crystal for 200 ppm accuracy.

Post Reply