Go Down

Topic: Fast internal timer/interrupt (Read 927 times) previous topic - next topic



I'm at the very beginning and just try to get a feeling for the Arduino Due - with a focus to what I plan to do with it. So to find a starting point I'm asking this possibly stupid question:

I need a timer/cyclic internal interrupt that executes a function repeatedly with a clock of 4 MHz (should be possible on a Due with 84 MHz). My question: how can I do that? Are there any useful code examples out there?



With only 21 clock cycles between interrupts, minus some overhead
getting into the interrupt and out again, is there enough time
to do what you want to do?

What is the overhead going in, and going out?
Cheers, Gary
Due for controlling Electric car charging.
Nissan LEAF - Mini Quick Charge (mQC)


Read this thread from beginning to end. Things might get cleared to ya.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131