MB95630H Series
100
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 8 HARDWARE/SOFTWARE WATCHDOG TIMER
8.1 Overview
8.1
Overview
The watchdog timer serves as a counter used to prevent programs from
running out of control.
■
Watchdog Timer Function
The watchdog timer functions as a counter used to prevent programs from running out of
control. Once the watchdog timer is activated, its counter needs to be cleared at specified
intervals regularly. A watchdog reset is generated if the timer is not cleared within a certain
amount of time due to a problem such as a program entering an infinite loop.
●
Count clock for the software/hardware watchdog timer
•
For the software watchdog timer, the output of the time-base timer or of the watch prescaler
or of the sub-CR timer can be used as the count clock.
•
For the hardware watchdog timer, only the output of the sub-CR timer can be used as the
count clock.
●
Activation of the software/hardware watchdog timer
•
The software/hardware watchdog timer is to be activated according to the values at the
addresses 0xFFBE and 0xFFBF on the Flash memory, which are copied to the watchdog
timer selection ID register (upper/lower) (WDTH/WDTL) (0x0FEB/0x0FEC).
•
In the case of software activation (software watchdog), the watchdog timer register
(WDTC) must be set to start the watchdog timer function.
•
In the case of hardware activation (hardware watchdog), the watchdog timer starts
automatically after a reset. It can also stop or run in stop mode according to the values at
the addresses 0xFFBE and 0xFFBF on the Flash memory, which are copied to the
watchdog timer selection ID register (upper/lower) (WDTH/WDTL) (0x0FEB/0x0FEC).
See "CHAPTER 26 NON-VOLATILE REGISTER (NVR) INTERFACE" for details of
the watchdog timer selection ID.
•
The intervals of the watchdog timer are shown in Table 8.1-1. If the counter of the
watchdog timer is not cleared, a watchdog reset is generated between the minimum time
and the maximum time. Clear the counter of the watchdog timer within the minimum time.
*1: X = 0 or 1
*2: CS[1:0] = 0b00, CSP = 1 (read-only)
Table 8.1-1 Interval Times of Watchdog Timer
Count clock type
Count clock switch bit
CS[1:0], CSP
Interval time
Minimum time
Maximum time
Time-base timer output
(main clock = 4 MHz)
0b000
(software watchdog timer)
524 ms
1.05 s
0b010
(software watchdog timer)
262 ms
524 ms
Watch prescaler output
(subclock = 32.768 kHz)
0b100
(software watchdog timer)
500 ms
1.00 s
0b110
(software watchdog timer)
250 ms
500 ms
Sub-CR timer
(sub-CR clock = 50 kHz -150 kHz)
0bXX1*
1
(software watchdog timer) or
hardware watchdog timer*
2
437 ms
2.62 s
Содержание MB95630H Series
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 20: ...xvi ...
Страница 106: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 282: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 642: ...MB95630H Series 622 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 644: ......