Issue: Hw Timer auto_reload=false take the control of all program

iotdeveloperfw
Posts: 10
Joined: Tue Sep 22, 2020 4:53 pm

Issue: Hw Timer auto_reload=false take the control of all program

Postby iotdeveloperfw » Wed Oct 14, 2020 5:08 pm

Hi everyone, I'm working with a hw timer 0 (from TMRG0), when I set the auto_reload=false, the others task (Wifi and others) that I have in my main don't run, but when I set auto_reload=true the others task run normally. So, it looks like the hw timer 0 took the control of all aplication and block the others task run. The error that appear is related to WDT timer got trigger.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: Issue: Hw Timer auto_reload=false take the control of all program

Postby ESP_Sprite » Thu Oct 15, 2020 2:26 am

Hard to say, possibly a situation where the timer interrupt is triggering over and over again starving other tasks? You should get a backtrace with the WDT timeout, what does that say?

Who is online

Users browsing this forum: No registered users and 168 guests