Watchdog integration


#1

Hi all,

just a quick question. Is there any watchdog activated in the core module SW?

Thank you,

K.


#2

Hi, it is not implemented and used yet. It’s on our TODO list. Right now the firmwares are really stable but in future we will add bc_watchdog.

Would you like to use watchdog in your project with BigClown? We would help you in that case.

Martin


#3

Hi Martin,

thanks for the answer. Yes, I’m looking for watchdog since I want to use the BC to turn on/off heater and I want to make sure, the BC cannot freeze when heater is on. I am considering external solution like TPL5010QDDCTQ1 or integrated watchdog.

Thank you,

K.


#4

We still have STM32 HAL Library in the SDK. So you can use Watchdog functions here:

sdk/stm/hal/inc/stm32l0xx_hal_iwdg.h
sdk/stm/hal/src/stm32l0xx_hal_iwdg.c

And functions

HAL_IWDG_Init
HAL_IWDG_Refresh

Here is an example how to use them

https://os.mbed.com/users/batrado/code/Nucleo_IWDG/file/8d898804478b/main.cpp/

Martin