[time-nuts] precision timing pulse

Chris Caudle chris at chriscaudle.org
Wed Nov 16 15:07:27 EST 2016


On Wed, November 16, 2016 10:17 am, Chris Albertson wrote:
> I'm wondering why everyone seems to be assuming a PIC is the right
> processor.

You could use AVR (arduino), but once you get to most of the ARM
processors it is harder to make them deterministic because of caches.  You
want a processor where the number of clocks is constant for all or almost
all instructions, and is easy enough that you can code the loops by hand.
Code like TVB's divider probably doesn't even use interrupts, it's just a
tight loop where the number of instructions is counted to give the
behavior wanted.

-- 
Chris Caudle






More information about the time-nuts mailing list