-->
Page 1 of 3

Ultra-low latency GPIO interrupts?

PostPosted: Fri Jul 29, 2016 12:31 pm
by cnlohr
I just can't seem to figure out how the interrupt system works internally, and attaching the interrupts using the existing system ( ETS_GPIO_INTR_ATTACH(gpio_intr,NULL); ) Includes a pretty large delay between line change and my code getting called.

Does anyone have any idea how this works internally? For my application I need no more than 46 cycles between GPIO change and the start of my interrupt handler.

P.S. Can anyone guess what I'm trying to do? :-p

Re: Ultra-low latency GPIO interrupts?

PostPosted: Fri Jul 29, 2016 2:02 pm
by Pablo2048
cnlohr wrote:P.S. Can anyone guess what I'm trying to do? :-p

V-USB ? ;-)

Re: Ultra-low latency GPIO interrupts?

PostPosted: Fri Jul 29, 2016 2:56 pm
by cnlohr
First try. No need to keep this one under wraps... But, I do need me some quick GPIO interrupts :(.

I wonder if there's an NMI or something.

Re: Ultra-low latency GPIO interrupts?

PostPosted: Fri Jul 29, 2016 3:36 pm
by RichardS
I will try and get Espressif to help out.... I will send a message to them now....

RichardS