Skip to main content
edware
Associate III
May 7, 2008
Question

STM32 WWDG timeout formula

  • May 7, 2008
  • 1 reply
  • 804 views
Posted on May 07, 2008 at 02:35

STM32 WWDG timeout formula

    This topic has been closed for replies.

    1 reply

    edware
    edwareAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:34

    The value given for the WWDG timeout in the RM0008 reference manual is

    Quote:

    Twwdg = TPCLK1 x 4096 x 2^WDGTB x (T[5:0] + 1)

    It seems to me it would be better to describe the timeout as a time range, due to the comment elsewhere in RM0008 about the timeout value:

    Quote:

    The timing varies between a minimum and a maximum value due to the unknown status of the prescaler when writing to the WWDG_CR register

    It would seem to me that the time range below is a more accurate way of describing the WWDG timeout value.

    Twwdg = TPCLK1 x 4096 x 2^WDGTB x (T[5:0])

     

    to

     

    Twwdg = TPCLK1 x 4096 x 2^WDGTB x (T[5:0] + 1)

     

    Can ST confirm this is the case?

    Thanks