Esp32S3 : Questions concerning the WatchDogs
Posted: Fri Jun 23, 2023 12:49 pm
Good afternoon,
I have some questions concerning the WatchDogs. Could you please help me on the subject ?
In the Esp32S3 Technical Reference manual, in the WatchDog Timers chapter, I can see
that there are 4 Watchdogs :
1) Main System Watchdog Timer 0.
2) Main System Watchdog Timer 1.
3) RTC Watchdog Timer.
4) Super Watchdog.
Then, it is written that during the Flash Boot : MWDT in Timer Group 0 et RWDT are automatically enabled.
Stage0 for MWDT is configured for resetting the Core and stage0 form RWDT is configured for resetting the System (Main System and RTC). It is also written that two registers must be cleared to stop the protection procedure (After that, MWDT and RWDT can be configured by software) !!
First question : Could you please explain me how are used these two watchdogs ? Why two watchdogs are configured ? Is there any explaination (Why not just one ?) ?
Second question : On the Espressif Website, it is written that there are 3 watchdogs (IWDT, TWDT and XTWDT). Moreover, it is written that IWDT is based on (Watchdog Timer in group 1) and TWDT is based on (Watchdog Timer in Group 0). Here, there is no reference to RWDT (That is mentioned in the Technical Reference Manual). So I am a little bit lost...
Finally, what are the Watchdogs that are automatically started when the Firmware is started ??
Thank you for your answers !
Best regards,
Thomas TRUILHE
I have some questions concerning the WatchDogs. Could you please help me on the subject ?
In the Esp32S3 Technical Reference manual, in the WatchDog Timers chapter, I can see
that there are 4 Watchdogs :
1) Main System Watchdog Timer 0.
2) Main System Watchdog Timer 1.
3) RTC Watchdog Timer.
4) Super Watchdog.
Then, it is written that during the Flash Boot : MWDT in Timer Group 0 et RWDT are automatically enabled.
Stage0 for MWDT is configured for resetting the Core and stage0 form RWDT is configured for resetting the System (Main System and RTC). It is also written that two registers must be cleared to stop the protection procedure (After that, MWDT and RWDT can be configured by software) !!
First question : Could you please explain me how are used these two watchdogs ? Why two watchdogs are configured ? Is there any explaination (Why not just one ?) ?
Second question : On the Espressif Website, it is written that there are 3 watchdogs (IWDT, TWDT and XTWDT). Moreover, it is written that IWDT is based on (Watchdog Timer in group 1) and TWDT is based on (Watchdog Timer in Group 0). Here, there is no reference to RWDT (That is mentioned in the Technical Reference Manual). So I am a little bit lost...
Finally, what are the Watchdogs that are automatically started when the Firmware is started ??
Thank you for your answers !
Best regards,
Thomas TRUILHE