External clock-source for ZPUino timer(s)?


sleat

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?

Cheers!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.