deep sleep interrupt VS regular interrupt

grators
Posts: 1
Joined: Sat Aug 24, 2019 5:50 am

deep sleep interrupt VS regular interrupt

Postby grators » Thu Oct 10, 2019 7:54 am

Hello,
i have an issue with the deep sleep interrupt.
i have sensor that sends pulse each time it sens liquid flow.
when implementing with regular interrupt : attachInterrupt(digitalPinToInterrupt(GPIO_NUM_27), isr, RISING);
the interrupt works as accepted.
but when i'm implementing with deep sleep mode :esp_sleep_enable_ext0_wakeup(GPIO_NUM_27,1); and then
esp_deep_sleep_start(); - it interrupted all the time and it's behavior is unexpected.
for example on regular interrupt it get interrupted 3 times and in deep sleep interrupt it get interrupted 364 times - for the same scenario.

can anyone have an idea why is that ? is the deep sleep wakeup is more sensitive ? can't find why is that happening...

Who is online

Users browsing this forum: ardiehl and 7 guests