Bill Grundmann's Blog (http://billgrundmann.wordpress.com/2009/03/02/the-overhead-of-arduino-interrupts/) has a nice discussion of interrupt overhead on AVR 168. I ran a simple maple sketch with pin 13 tied to pin 12 to measure number of cycles (systick) to enter and exit an interrupt ISR using standard attachInterrupt() ISR and a version where I modified the core ISR handler. I ran similar sketches on DUE and teensy3. The results are in isrperf.txt and the DUE sketch is isrperf.ino at the following github site
maple interrupt latency
(1 post) (1 voice)-
Posted 2 years ago #
Reply
You must log in to post.