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
Every 5sec and during 40ms the signal is interrupted
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 :
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
Main program Task Priority
-
- Posts: 9
- http://meble-kuchenne.info.pl
- Joined: Fri Sep 10, 2021 8:59 am
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 609 times
Re: Main program Task Priority
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
Probably a watchdog timeout kicking in and causing a reset.
Try this fix posted here.
https://www.flowcode.co.uk/forums/viewt ... 3568#p3568
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel