Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

How to count time for between two GPIO interrupts?

mgolu
New Contributor II
1,004 Views

Question as in subject how to count time for between two GPIO interrupts?

0 Kudos
1 Solution
Jose_P_Intel
Employee
123 Views

Hi mark_kram,

Thank you for your interest in Intel Quark Microcontrollers.

One way to measure a interrupt is if you have a free timer, used it and read it during the interrupt and subtract the last reading to have the count between this two. You can implement this suggestion with your two interruptions in the GPIO, if this doesn't work please provide more information regarding what are you trying to achieve with this interrupts in order to assist you in a better way.

Have a nice day.

Best Regards

-Jose.

View solution in original post

1 Reply
Jose_P_Intel
Employee
124 Views

Hi mark_kram,

Thank you for your interest in Intel Quark Microcontrollers.

One way to measure a interrupt is if you have a free timer, used it and read it during the interrupt and subtract the last reading to have the count between this two. You can implement this suggestion with your two interruptions in the GPIO, if this doesn't work please provide more information regarding what are you trying to achieve with this interrupts in order to assist you in a better way.

Have a nice day.

Best Regards

-Jose.

Reply