EasyManuals Logo

Holtek HT48R05A-1 User Manual

Default Icon
125 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #48 background imageLoading...
Page #48 background image
Watchdog Timer
The Watchdog Timer is provided to prevent program malfunctions or sequences from jumping to
unknown locations, due to certain uncontrollable external events such as electrical noise. It oper
-
ates by providing a ²chip reset² when the WDT counter overflows. The WDT clock is supplied by
one of two sources selected by configuration option: its own self-contained dedicated internal
WDT oscillator, or the instruction clock (system clock divided by 4). Note that if the WDT configura
-
tion option has been disabled, then any instruction relating to its operation will result in no opera
-
tion.
The internal
WDT
oscillator has an approximate period of 65ms at a supply voltage of 5V. If se
-
lected, it is first divided by 256 via an 8-stage counter to give a nominal period of 17ms. Note that
this period can vary with VDD, temperature and process variations. For longer WDT time-out peri
-
ods the WDT prescaler can be utilized. By writing the required value to bits 0, 1 and 2 of the WDTS
register, known as WS0, WS1 and WS2, longer time-out periods can be achieved. With WS0,
WS1 and WS2 all equal to 1, the division ratio is 1:128 which gives a maximum time-out period of
about 2.1s. The high nibble and bit 3 of the WDTS are reserved for user defined flags, which can
be used to indicate some specified status.
The WDT oscillator can be disabled and the WDT clock source can be supplied from the instruc
-
tion clock (system clock divided by 4). If the instruction clock is used as the clock source it should
be noted that when the system enters the Power Down Mode, then the instruction clock is stopped
and the WDT will lose its protecting purposes. In such cases the system can only be restarted via
external logic. For systems that operate in noisy environments, the internal WDT oscillator is
strongly recommended.
Chapter 1 Hardware Structure
41
W S 2
W D T S R e g i s t e r
b 7 b 0
W D T p r e s c a l e r r a t e s e l e c t
W S 2
0
0
0
0
1
1
1
1
W S 1
0
0
1
1
0
0
1
1
W S 0
0
1
0
1
0
1
0
1
W D T R a t e
1 : 1
1 : 2
1 : 4
1 : 8
1 : 1 6
1 : 3 2
1 : 6 4
1 : 1 2 8
N o t u s e d , u s e r a c c e s s i b l e
W S 1
W S 0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Holtek HT48R05A-1 and is the answer not in the manual?

Holtek HT48R05A-1 Specifications

General IconGeneral
BrandHoltek
ModelHT48R05A-1
CategoryI/O Systems
LanguageEnglish