Pages: [1]   Go Down
Author Topic: Arduino Due - External Clock Input  (Read 743 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,
I am trying to connect an external clock on Arduino Due for the timers in it. Timer interrupts are going to sense this external clock and  start a function periodically. How can I do this? Can anyone give me a sample code for this?
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See "[solved]Due interrupt not working" in this forum.  There is sample code for capturing external interrupts
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See "[solved]Due interrupt not working" in this forum.  There is sample code for capturing external interrupts
Thank you jstampfl.
I assume that you mentioned this post http://forum.arduino.cc/index.php?topic=201810.0. The code can't help me because the external signal that I was talking about is precise 13MHz TTL. High level Arduino IDE is very slow for my requirements. So I think I need an assembly code for doing this correctly.
Actually what I'm trying to do is, creating a 10us, 1kHz tunable puls generator synchronized with the main 13MHz TTL external clock. So I'm stuck here.
Logged

Pages: [1]   Go Up
Jump to: