TS87C54X2 Temic Semiconductors, TS87C54X2 Datasheet - Page 30

no-image

TS87C54X2

Manufacturer Part Number
TS87C54X2
Description
8-bit CMOS Microcontroller 0-60 MHz
Manufacturer
Temic Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TS87C54X2-LCA
Manufacturer:
CYPRESS
Quantity:
13
Part Number:
TS87C54X2-LCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C54X2-LCC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C54X2-LCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C54X2-LIB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C54X2-LIC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C54X2-MCB
Manufacturer:
ATMEL
Quantity:
500
Part Number:
TS87C54X2-MCB
Manufacturer:
TEMIC
Quantity:
20 000
Part Number:
TS87C54X2-MCC
Manufacturer:
TEMIC
Quantity:
245
Part Number:
TS87C54X2-MCC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
TS87C54X2-MCE
Manufacturer:
ATMEL
Quantity:
5
Part Number:
TS87C54X2-MIB
Manufacturer:
ATMEL
Quantity:
27
TS80C54X2/C58X2
TS87C54X2/C58X2
6.8 Hardware Watchdog Timer
The WDT is intended as a recovery method in situations where the CPU may be subjected to software upset. The
WDT consists of a 14-bit counter and the WatchDog Timer ReSeT (WDTRST) SFR. The WDT is by default
disabled from exiting reset. To enable the WDT, user must write 01EH and 0E1H in sequence to the WDTRST,
SFR location 0A6H. When WDT is enabled, it will increment every machine cycle while the oscillator is running
and there is no way to disable the WDT except through reset (either hardware reset or WDT overflow reset). When
WDT overflows, it will drive an output RESET HIGH pulse at the RST-pin.
6.8.1 Using the WDT
To enable the WDT, user must write 01EH and 0E1H in sequence to the WDTRST, SFR location 0A6H. When
WDT is enabled, the user needs to service it by writing to 01EH and 0E1H to WDTRST to avoid WDT overflow.
The 14-bit counter overflows when it reaches 16383 (3FFFH) and this will reset the device. When WDT is enabled,
it will increment every machine cycle while the oscillator is running. This means the user must reset the WDT at
least every 16383 machine cycle. To reset the WDT the user must write 01EH and 0E1H to WDTRST. WDTRST
is a write only register. The WDT counter cannot be read or written. When WDT overflows, it will generate an
output RESET pulse at the RST-pin. The RESET pulse duration is 96 x T
, where T
= 1/F
. To make
OSC
OSC
OSC
the best use of the WDT, it should be serviced in those sections of code that will periodically be executed within
the time required to prevent a WDT reset.
7
To have a more powerful WDT, a 2
counter has been added to extend the Time-out capability, ranking from
16ms to 2s @ F
= 12MHz. To manage this feature, refer to WDTPRG register description, Table 16. (SFR0A7h).
OSC
Table 15. WDTRST Register
WDTRST Address (0A6h)
7
6
5
4
3
2
1
Reset value
X
X
X
X
X
X
X
Write only, this SFR is used to reset/enable the WDT by writing 01EH then 0E1H in sequence.
30
Rev. B - Aug. 31, 1999

Related parts for TS87C54X2