Skip to main content
Visitor II
October 2, 2009
Question

IWDG enable before setting?

  • October 2, 2009
  • 2 replies
  • 638 views
Posted on October 02, 2009 at 08:34

IWDG enable before setting?

    This topic has been closed for replies.

    2 replies

    fangelinAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:04

    It seems to me that you can't write access both PR and RLR register of IWDG before enabling it...I.e. you must first load 0xCC (ENABLE_KEY) in KR, then 0x55 (ACCESS_KEY) again in KR, and finally write the prescaler and reload values.

    In fact you must enable the WDG before configure it!

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:04

    Exactly...