Usage And Examples; Functions And Operations Of Watchdog Timer - Fujitsu F2MC-8FX MB95200H/210H Series Application Note

8-bit microcontroller watchdog timer
Hide thumbs Also See for F2MC-8FX MB95200H/210H Series:
Table of Contents

Advertisement

4 Usage and Examples

Functions and examples for watchdog timer
This section describes the usage of watchdog timer and gives some examples.

4.1 Functions and Operations of watchdog timer

Please write certain values to NVR flash area address FFBE
watchdog timer operation mode. See Table 2-1 for detailed settings of mode choose.
The Watchdog Timer has two operate modes as below:
Software watchdog
1) Write "A596
FFBF
H
ID register WDTH/WDTL (0FEB
2) The watchdog timer is activated when "0101B" is written to the watchdog
control bits of the watchdog timer control register (WDTC: WTE3 to WTE0) for
the first time after a reset. The count clock switch bits of the watchdog timer
register (WDTC: CS1, CS0, CSP) should also be set at the same time.
3) Once the watchdog timer is activated, a reset is the only way to stop its
operation. Please clear watchdog counter in a specified intervals regularly
depend on the setting of WDTC: CS1, CS0, CSP. Refer to Table 3-1 for
detailed interval time.
Hardware watchdog
1) Write "A597
(WDT is enabled in every mode) except than "A596
address FFBE
watchdog timer selection ID register WDTH/WDTL (0FEB
reset.
2) The hardware watchdog timer starts automatically after a reset and cannot be
stopped. Please clear its counter at specified intervals regularly to avoid
generates a watchdog timer reset.
3) This timer is cleared by reset and resumes operation after the reset.
Please note that the watchdog timer is cleared at the same time as the timer selected as the
count clock (timebase timer or watch prescaler) is cleared. For this reason, the watchdog
timer cannot function as such, if the software is set to clear the selected timer repeatedly
during the interval time of the watchdog timer
WATCHDOG TIMER V1.1
Chapter 4 Usage and Examples
" (enable software watchdog timer) to the address FFBE
H
on the flash memory, which are copied to the watchdog timer selection
" (WDT can be stopped in a standby mode) or any other value
H
and FFBF
H
H
MCU-AN-500013-E-11 – Page 9
H
/0FEC
) after a reset.
H
H
on the flash memory, which are copied to the
and FFBF
to choose the
H
H
" or "A597
" to the
H
H
/0FEC
) after a
H
H
and

Advertisement

Table of Contents
loading

Table of Contents