Sign in to follow this  

External clock-source for ZPUino timer(s)?

Recommended Posts

Seems like a good idea. Is there a way to do it? I.e. is there a way to either have a schematic component or an external pin drive the counter in the timer?

Old VLSI timers like the M6840 have external clock and gate pins for the internal timers, and are also capable of generating interrupts.

I've been thinking, if one could clock one of the timers externally, and preload the internal counter with, say "1", the thing would then count down once on an external signal event and interrupt the ZPUino! Instant external ZPUino interrupt hack!

Two digital birds with one stone!

Also, is there any ZPUino SOC example sketch which actually uses the timers, and timer interrupts?



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this