I-24
EPSON
S1C6S3N2 TECHNICAL HARDWARE
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Resetting Watchdog Timer)
Resetting Watchdog Timer
The S1C6S3N2 Series incorporates a watchdog timer as the
source oscillator for OSC1 (clock timer 2 Hz signal). The
watchdog timer must be reset cyclically by the software. If
reset is not executed in at least 3 or 4 seconds, the initial
reset signal is output automatically for the CPU.
Figure 4.2.1 is the block diagram of the watchdog timer.
The watchdog timer, configured of a three-bit binary counter
(WD0–WD2), generates the initial reset signal internally by
overflow of the MSB.
Watchdog timer reset processing in the program's main
routine enables detection of program overrun, such as when
the main routine's watchdog timer processing is bypassed.
Ordinarily this routine is incorporated where periodic
processing takes place, just as for the timer interrupt rou-
tine.
The watchdog timer operates in the halt mode. If the halt
status continues for 3 or 4 seconds, the initial reset signal
restarts operation.
You can select whether or not to use the watchdog timer
with the mask option. When "Not use" is chosen, there is no
need to reset the watchdog timer.
4.2
Configuration of
watchdog timer
Mask option
Clock timer
TM0–TM3
2 Hz
Watchdog timer
WD0–WD2
Initial reset
signal
OSC1 demultiplier
(256 Hz)
Watchdog timer reset signal
Fig. 4.2.1
Watchdog timer
block diagram
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......