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]
Содержание LAPIS SEMICONDUCTOR ML620Q503
Страница 2: ...ML620Q503 Q504 User s Manual Issue Date Apr 16 2015 FEUL620Q504 01...
Страница 18: ...Chapter 1 Overview...
Страница 32: ...Chapter 2 CPU and Memory Space...
Страница 44: ...Chapter 3 Reset Function...
Страница 50: ...Chapter 4 Power Management...
Страница 70: ...Chapter 5 Interrupts...
Страница 134: ...Chapter 6 Clock Generation Circuit...
Страница 161: ...Chapter 7 Time Base Counter...
Страница 170: ...Chapter 8 Timers...
Страница 183: ...Chapter 9 Function Timer FTM...
Страница 231: ...Chapter 10 Watchdog Timer...
Страница 239: ...Chapter 11 Synchronous Serial Port SSIO...
Страница 251: ...Chapter 12 Synchronous Serial Port with FIFO SSIOF...
Страница 283: ...Chapter 13 UART...
Страница 303: ...Chapter 14 UART with FIFO UARTF...
Страница 327: ...Chapter 15 I2 C Bus Interface...
Страница 344: ...Chapter 16 Port XT...
Страница 350: ...Chapter 17 Port 0...
Страница 361: ...Chapter 18 Port 1...
Страница 368: ...Chapter 19 Port2...
Страница 379: ...Chapter 20 Port 3...
Страница 395: ...Chapter 21 Port 4...
Страница 410: ...Chapter 22 Port 5...
Страница 426: ...Chapter 23 Melody Driver...
Страница 439: ...Chapter 24 RC Oscillation type A D Converter RC ADC...
Страница 462: ...Chapter 25 Successive Approximation Type A D Converter SA ADC...
Страница 479: ...Chapter 26 Analog Comparator...
Страница 489: ...Chapter 27 Flash Memory Control...
Страница 505: ...Chapter 28 Voltage Level Supervisor VLS...
Страница 517: ...Chapter 29 LLD circuit...
Страница 519: ...Chapter 30 On Chip Debug Function...
Страница 522: ...Appendixes...
Страница 552: ...Revision History...