Skip to main content
fangelin
Associate II
October 2, 2009
Question

IWDG enable before setting?

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

IWDG enable before setting?

    This topic has been closed for replies.

    2 replies

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

    Exactly...

    fangelin
    fangelinAuthor
    Associate 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!