Page 1 of 1

Measure the duration of the wifi ISR

Posted: Fri May 22, 2020 10:32 pm
by nofavor
Hello,

I plan to measure the duration of the wifi ISR for an experiment, but sadly I have no clue on where to start. I couldn't find anything useful so far and i'd really appreciate it if you can give me hints or links on where to start. Thanks.

Re: Measure the duration of the wifi ISR

Posted: Sat May 23, 2020 12:52 pm
by ESP_Sprite
What is your purpose of measuring this? The 'WiFi ISR' is pretty much wrapped up in the WiFi driver itself, so it's probably not that useful to know...

Re: Measure the duration of the wifi ISR

Posted: Tue Jun 23, 2020 1:55 am
by jgustavoam
Hi,
If you really need to measure the duration of the WIFI or another ISR, you can use this method (used by me) :
Setup one GPIO pin as an output.
Before ISR, put this pin LOW. When ISR starts, put this pin HIGH (inside Interrupt handler). At the end of handler put this pin LOW.
An then with one cheap Logic analyzer, capture the times of that GPIO.