One thing to be careful with hardware watchdogs: Most have a cyclic behavior, so if your MCU locks up, the hardware watchdog might output a square wave that causes motor to turn on, off, on, off, rapidly, instead of killing it.
On Mon, Feb 20, 2023 at 9:44 AM Simon Filgis <si...@ingenieurbuero-filgis.de> wrote: > > Hi Tomek, > I mean MCU peripheral watchdog just for clarification. Not a sw-watchdog > flow control. But is that available in the nuttx codebase btw? > :) > > -- > Hard- and Softwaredevelopment Consultant > Ingenieurbüro-Filgis > USt-IdNr.: DE305343278 > > > On Mon, Feb 20, 2023 at 3:24 PM Tomek CEDRO <to...@cedro.info> wrote: > > > On Mon, Feb 20, 2023 at 3:12 PM Simon Filgis wrote: > > > 1s keepalive can also be addressed with sw-watchdog. It may be easier > > than > > > flipflopping. > > > > Thanks Simon! I was also thinking about custom NuttX driver as Nathan > > suggested.. I need to see how complex is that.. always want to learn > > new stuff.. I will start from reading the sw-watchdog code :-) :-) > > > > -- > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > >