Skip to main content
Visitor II
October 24, 2003
Question

problem with Watchdog in Lite29

  • October 24, 2003
  • 2 replies
  • 748 views
Posted on October 24, 2003 at 10:42

problem with Watchdog in Lite29

    This topic has been closed for replies.

    2 replies

    czubak_pAuthor
    Visitor II
    October 18, 2003
    Posted on October 18, 2003 at 11:39

    I have a problem with watchdog in Lite29:

    1. When it is configured as software in option byte, and when I turn it on (bit WDGA = 1 in WDGCR register) and do not refresh the counter, it doesn't reset the mcu.

    2. When it is configured as hardware in option byte it resets the mcu every time (every 2ms) and refresh the counter register WDGCR doesn't have an effect.

    It looks like the write to the WDGCR register doesn't work.

    (Address is correct and is 002Eh).
    czubak_pAuthor
    Visitor II
    October 24, 2003
    Posted on October 24, 2003 at 10:42

    Problem solved

    if we work with crystal rezonator, and we set in option byte

    RC oscillator = disabled

    PLL32OFF = disabled

    PLLOFF = disabled

    then we must set

    PLLx4x8 = x8

    then Watchdog work correct

    when this option is set x4 then Watchdog is not working