Page 1 of 1

timer ticks ARM BASIC vs BASIC stamp

Posted: Sun Feb 10, 2013 11:09 pm
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

Re: timer ticks ARM BASIC vs BASIC stamp

Posted: Sun Feb 10, 2013 11:10 pm
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.