Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: GPIO interrupt latency seems long

$
0
0

thanks for the response.

 

here's the other thread - http://ez.analog.com/message/13724#13724.

 

You are correct GPIO4_TOGGLE is a macro that toggles a GPIO pin. I am measuring these times on a scope. I think I have figured out that the extra time I am seeing compared to that thread can be attributed to using the adi_int code which has to go through the interrupt dispatcher before my ISR is executed.

 

So using EX_INTERRUPT_HANDLER seems like it would help. I suppose this ISR just needs to be responsible for checking all the interrupts mapped to IVG7? Is there any other gotchas with using EX_INTERRUPT_HANDLER()?

 

I should also mention I am using CrossCore


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>