Skip to main content
Visitor II
October 26, 2016
Question

How to stop IWDG in HALT mode on STM8S

  • October 26, 2016
  • 1 reply
  • 762 views
Posted on October 26, 2016 at 08:18

Hi guys,

I use STM8S105K4 in our project. For power saving, it should enter in HALT mode, but IWDG will run out and reset the MCU. STM8S doesn't have the IWDG_HALT bit in OPTION bytes, anyone knows how to stop IWDG before enter HALT mode on STM8S??

Thanks for any help!!!!

#stm8s-halt-iwdg
    This topic has been closed for replies.

    1 reply

    Visitor II
    October 23, 2017
    Posted on October 23, 2017 at 14:22

    I don't think you can do this. However, dependign on your requirements, one of these alternatives might work for you:

    1) Use the WWDG instead of the IWDG. Drawback: Less protection from hardware faults.

    2) Use the AWU to periodically wake up and kick the IWDG. Drawback: Increased power consumption.

    Philipp