DS89C430-QNL+ Dallas Semiconductor, DS89C430-QNL+ Datasheet - Page 40

no-image

DS89C430-QNL+

Manufacturer Part Number
DS89C430-QNL+
Description
8BIT CISC 16KB FLASH 33MHZ 5V 44PLCC
Manufacturer
Dallas Semiconductor
Datasheet

Specifications of DS89C430-QNL+

Eeprom Memory
0 Bytes
Input Output
32
Interface
UART
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin PLCC
Programmable Memory
16K Bytes
Ram Size
1K Bytes
Speed
33 MHz
Timers
4-8-bit, 3-16-bit
Voltage, Range
4.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Watchdog Timer
The watchdog timer functions as the source of both the watchdog interrupt and the watchdog reset. When the clock
divider is set to 10b, the interrupt timeout has a default divide ratio of 2
watchdog reset set to time out 512 system clock cycles later. This results in a 33MHz crystal oscillator producing
an interrupt timeout every 3.9718ms, followed 15.5µs later by a watchdog reset. The watchdog timer is reset to the
default divide ratio following any reset. Using the WD0 and WD1 bits in the clock control (CKCON.6 and 7) register,
other divide ratios can be selected for longer watchdog interrupt periods.
settings and the timeout values. Note: All watchdog timer reset timeouts follow the programmed interrupt timeouts
by 512 system clock cycles, which equates to varying numbers of oscillator cycles depending on the clock divide
(CD1:0) and crystal multiplier settings.
Table 13. Watchdog Timeout Value (In Number of Oscillator Clocks)
A watchdog control (WDCON) SFR is used for programming the functions. EWT (WDCON.1) is the enable for the
watchdog timer-reset function and RWT (WDCON.0) is the bit used to restart the watchdog timer. Setting the RWT
bit restarts the timer for another full interval. If the watchdog timer-reset function is masked by the EWT bit and no
resets are issued to the timer through the RWT bit, the watchdog timer generates interrupt timeouts at a rate
determined by the programmed divide ratio. WDIF (WDCON.3) is the interrupt flag set at timer termination and
WTRF (WDCON.2) is the reset flag set following a watchdog reset timeout. Setting the EWDI bit (EIE.4) enables
the watchdog interrupt. The watchdog timer reset and interrupt timeouts are measured by counting system clock
cycles.
An independent watchdog timer functions as the crystal startup counter to count 65,536 crystal clock cycles before
allowing the crystal oscillator to function as the system clock. This warmup time is verified by the watchdog timer
following each power-up as well as each time the crystal is restarted following a stop mode. The watchdog is also
used to establish a startup time whenever the CTM in the PMR register is set to enable the crystal multiplier
(4X/2X).
One of the watchdog timer applications is for the watchdog to wake up the system from idle mode. The watchdog
interrupt can be programmed to allow a system to wake up periodically to sample the external world.
Internal System Reset
A software reset can be initiated by writing a system reset command to the flash control SFR. The reset state is
maintained for approximately 90 external clock cycles. During this time, the RST pin is driven to a logic high. Once
the reset is removed, the RST pin is driven low, and operation begins from address 0000h.
4X/ 2X
1
0
x
x
x
CD1:0
00
00
01
10
11
WD1:0 = 00 WD1:0 = 01 WD1:0 = 10 WD1:0 = 11
2
2
2
2
2
15
16
17
17
27
WATCHDOG INTERRUPT TIMEOUT
2
2
2
2
2
18
19
20
20
30
2
2
2
2
2
21
22
23
23
33
2
2
2
2
2
DS89C430/DS89C450 Ultra-High-Speed Flash Microcontrollers
24
25
26
26
36
40 of 48
2
WD1:0 = 00
27
2
2
2
2
15
16
17
17
+ 524,288
+ 128
+ 256
+ 512
+ 512
17
WATCHDOG RESET TIMEOUT
2
Table 13
WD1:0 = 01
30
2
2
2
2
of the crystal oscillator clock, with the
18
19
20
20
+ 524,288
+ 128
+ 256
+ 512
+ 512
summarizes the watchdog bits
2
WD1:0 = 10
33
2
2
2
2
21
22
23
23
+ 524,288
+ 128
+ 256
+ 512
+ 512
2
WD1:0 = 11
36
2
2
2
2
24
25
26
26
+ 524,288
+ 128
+ 256
+ 512
+ 512

Related parts for DS89C430-QNL+