跳转到主内容
Knowledgebase
Home
Renesas Electronics China - Knowledgebase

How to set any value and change the underflow time of the Watchdog timer?

Latest Updated:03/07/2012

Question:

Is it possible to set any value to the Watchdog Timer? How can I change the underflow time of the Watchdog Timer?

[ About the R8C/1x Series and R8C/2x Series products, click here.]

Answer:

No, it is impossible to set any value to the Watchdog Timer. If any value is set to the WDTS Register, the value of the Watchdog Timer returns to “7FFFh”, regardless of the set value.

There are two ways to change the underflow time of the Watchdog Timer.

  • Change the count source of the Watchdog Timer by the WDT count source protective bit (PM22 bit of the PM2 Register)
  • Change the division ratio of the prescaler of the Watchdog Timer by the prescaler select bit (WDC7 bit of the WDC Register)

Refer to the hardware manual for detail.

Suitable Products
M32C/8A
M32C/88
M32C/87
M32C/85
M32C/84
M32C/83
M32C/80
M16C/62P
M16C/63
M16C/64A
M16C/64C
M16C/65
M16C/65C
M16C/6C
M16C/6N4, M16C/6N5
M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN
M16C/29
M16C/28
M16C/26A
M16C/1N