6 years, 2 months ago.

Watchdog for Nucleo L432KC

Hi,

I would like to use a Watchdog timer with the Nucleo L432KC, unfortunately I can not find a way to use It. I found this: https://os.mbed.com/cookbook/WatchDog-Timer but the software doesn't work with my board.

How can I use a watchdog timer with my board ?

Regards

You can use ST's provided HAL layer drivers. They have modules for the internal watchdog time IWDG. There are reasonably good comments in the file and you can probably find code examples covering at least the general approach if you search for IWDG specifically.

https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_iwdg.c

posted by Graham S. 27 Feb 2018
Be the first to answer this question.