Page 1 of 1

Main program Task Priority

Posted: Wed Sep 15, 2021 8:48 am
by gregobac
Hello,

I encounter a difficulty with the ESP32 real time in FC9.
I make a simple program to generate a 1 khz signal on the GPIO1
Image


Every 5sec and during 40ms the signal is interrupted
Image
Image
Image

I tried the same program with using interrupt on timer 0, 1 or 2 , the problem is same.

I tried the same code in IDE Arduino :
Image
I have no interrupt of the 1 Khz signal

Is this problem due to FreeRTOS? And how to disable it?

Thank you for your help
Best regards

Re: Main program Task Priority

Posted: Wed Sep 15, 2021 1:19 pm
by BenR
Hello,

Probably a watchdog timeout kicking in and causing a reset.

Try this fix posted here.

https://www.flowcode.co.uk/forums/viewt ... 3568#p3568

Re: Main program Task Priority

Posted: Wed Sep 15, 2021 1:42 pm
by gregobac
Hello Ben,

Thank you very much !

Image

Its works perfectly :D