Watchdog Timer; Introduction; Features; Functional Description - Wiznet W7500 Reference Manual

Internet offload processor
Hide thumbs Also See for W7500:
Table of Contents

Advertisement

20

Watchdog timer

20.1

Introduction

The watchdog is based on a 32-bit down-counter that is initialized from the Reload Register,
WDTLoad. The watchdog generates a regular interrupt depending on a programmed value.
The counter decreases by one on each positive clock edge of watchdog clock.
The watchdog monitors the interrupt and asserts a reset request signal when the counter
reaches 0 and the counter is stopped. On the next enabled watchdog clock edge, the
counter is reloaded from the WDTLoad Register and the countdown sequence continues. The
watchdog reasserts the reset signal if the interrupt is not cleared by the time the counter
next reaches 0.
The watchdog applies a reset to a system in the event of a software failure to provide a way
to recover from software crashes. Users can enable or disable the watchdog unit as required.
20.2

Features

-
32-bit down counter.
-
Internally resets chip if not periodically reloaded.
-
The watchdog timer has lock register to prevent rogue software from disabling the
watchdog timer functionality.
-
The watchdog timer clock(WDTCLK) and system clock(PCLK) are synchronous.
20.3

Functional description

20.3.1 Clock

The watchdog timer contains PCLK and WDTCLK clock inputs.
PCLK is the main APB system clock and is used by the register interface.

20.3.2 Interrupt and reset request

An interrupt is generated when the counter reaches 0 and is only cleared when the
interrupt clear register is accessed.
The register holds the value until the interrupt is cleared.
Reset request is asserted when the counter reaches 0 repeatedly and is not
reprogrammed.
W7500 Datasheet Version1.0.0
406 / 512

Advertisement

Table of Contents
loading

Table of Contents