ML620Q503/Q504 User’s Manual
Chapter 10 Watchdog Timer
FEUL620Q504 10–5
10.3 Description of Operation
The WDT counter starts counting after the system reset has been released and the low-speed clock(LSCLK) oscillation
start.
Write "5AH" when the internal pointer (WDP) is "0"and then the WDT counter is cleared by writing "0A5H" when
WDP is "1".
WDP is reset to “0” at the time of system reset or when the WDT counter overflows and is inverted whenever data is
written to WDTCON.
When the WDT counter cannot be cleared within the WDT counter overflow period (TWOV), a watchdog timer
interrupt (WDTINT) occurs. If the WDT counter is not cleared even by the software processing performed following
the watchdog timer interrupt and overflow occurs again, WDT reset occurs and the mode shifts to a system reset mode.
For the overflow period TWOV) of the WDT counter, one of 125ms, 500ms, 2s, and 8s can be selected by the
watchdog mode register (WDTMOD).
Clear the WDT counter within the clear period of the WDT counter shown in Table 10-1.
Table 10-1 Clear Period of WDT Counter
WDT1
WDT0
T
WOV
T
WCL
0
0
4096 counts at LSCLK (125 ms*)
3968 counts at LSCLK (Approx. 121 ms*)
0
1
16384 counts at LSCLK (500 ms*)
16256 counts at LSCLK (Approx. 496 ms*)
1
0
65536 counts at LSCLK (2000 ms*)
65408 counts at LSCLK (Approx. 1996 ms*)
1
1
262144 counts at LSCLK (8000 ms*)
262016 count at LSCLK (Approx. 7996 ms*)
*: where LSCLK = 32.768kHz. T
WOV
and T
WCL
depends on a frequency of the LSCLK.
[Note]
WDT counter clock is T256HZ that is divided by 128 of LSCLK. Therfor, keep on supply the LSCLK during not reset
and STOP-mode conditions.
・
The time of Table 10-1 is changed with the frequency of the LSCLK to be used. It is calculable by the frequency of
low speed crystal oscillator to be used as follows.
Ex)Operate by LSCLK=32.768kHz (set WDT1/WDT0=00)
T
WOV
: 1 / ((32.768[kHz]) / 128 [dividing]) * 32 [clock] = 125 [msec]
Summary of Contents for LAPIS SEMICONDUCTOR ML620Q503
Page 2: ...ML620Q503 Q504 User s Manual Issue Date Apr 16 2015 FEUL620Q504 01...
Page 18: ...Chapter 1 Overview...
Page 32: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 50: ...Chapter 4 Power Management...
Page 70: ...Chapter 5 Interrupts...
Page 134: ...Chapter 6 Clock Generation Circuit...
Page 161: ...Chapter 7 Time Base Counter...
Page 170: ...Chapter 8 Timers...
Page 183: ...Chapter 9 Function Timer FTM...
Page 231: ...Chapter 10 Watchdog Timer...
Page 239: ...Chapter 11 Synchronous Serial Port SSIO...
Page 251: ...Chapter 12 Synchronous Serial Port with FIFO SSIOF...
Page 283: ...Chapter 13 UART...
Page 303: ...Chapter 14 UART with FIFO UARTF...
Page 327: ...Chapter 15 I2 C Bus Interface...
Page 344: ...Chapter 16 Port XT...
Page 350: ...Chapter 17 Port 0...
Page 361: ...Chapter 18 Port 1...
Page 368: ...Chapter 19 Port2...
Page 379: ...Chapter 20 Port 3...
Page 395: ...Chapter 21 Port 4...
Page 410: ...Chapter 22 Port 5...
Page 426: ...Chapter 23 Melody Driver...
Page 439: ...Chapter 24 RC Oscillation type A D Converter RC ADC...
Page 462: ...Chapter 25 Successive Approximation Type A D Converter SA ADC...
Page 479: ...Chapter 26 Analog Comparator...
Page 489: ...Chapter 27 Flash Memory Control...
Page 505: ...Chapter 28 Voltage Level Supervisor VLS...
Page 517: ...Chapter 29 LLD circuit...
Page 519: ...Chapter 30 On Chip Debug Function...
Page 522: ...Appendixes...
Page 552: ...Revision History...