esp8266 gpio interrupt

roc2
Posts: 12
Joined: Tue Oct 25, 2016 3:57 pm

esp8266 gpio interrupt

Postby roc2 » Fri Dec 16, 2016 11:31 am

When calling a gpio interrupt handler, how to calculate the time of when a interrupt occur to start excuting the interrupt handler? :? :? :?
And how to decrease the time of gpio interrupt delay??

pratik

Re: esp8266 gpio interrupt

Postby pratik » Fri Dec 16, 2016 5:52 pm

The interrupt mechanism does not depend much on programming, it is hardware controlled. Are you getting a very long delay between ISR execution and interrupt input?
A way to measure this would be to set an output pin high in the ISR. Then measure the delay between triggering edge and the rising edge set in the ISR.

Who is online

Users browsing this forum: No registered users and 56 guests