This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Watchdog timer and general timer

Anonymous
Anonymous

Hi All,

I would like to ask some questions on timer.

On DM6437, according to page 28 and 19 of SPRU989, the register bit(s) TGCR.TIMMODE exists for all timer 0, 1 and 2.

  1. For general purpose timer 0 and 1, what happens if one sets TIMMODE to 2h?
  2. For timer 2 (watchdog only), what happens if one sets TIMMODE to 0, 1h and 3h?

 

 

 

Sincerely,

Zheng

 

  • Hi Zheng,

    1. Since this particular timer does not have the WDT functionality, it does not reset the part or generate the WDINT to the device when the counter registers match the period registers.

    2. In this case if WDEN bit is not set then the timer would behave like a general purpose timer, i.e. no device WDT reset or interrupt.

    Hope this helps.

    Thanks,

    Tai

  • Anonymous
    0 Anonymous in reply to Tai Nguyen

    Dear Tai,

    Got it. Many thanks.

     

    Zheng