p89lpc932ba NXP Semiconductors, p89lpc932ba Datasheet - Page 40

no-image

p89lpc932ba

Manufacturer Part Number
p89lpc932ba
Description
P89lpc932 8-bit Microcontroller With Accelerated Two-clock 80c51 Core 8 Kb Flash With 512-byte Data Eeprom And 768-byte Ram
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC932BA
Manufacturer:
MAXIM
Quantity:
9
Part Number:
P89LPC932BA
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Company:
Part Number:
P89LPC932BA
Quantity:
2 300
Philips Semiconductors
9397 750 12379
Product data
Fig 20. Watchdog timer in watchdog mode (WDTE = ‘1’).
(1) Watchdog reset can also be caused by an invalid feed sequence, or by writing to WDCON not immediately followed by a
Watchdog
oscillator
feed sequence.
MOV WFEED1, #0A5H
MOV WFEED2, #05AH
PCLK
8.25.1 Software reset
8.25.2 Dual data pointers
8.24 Watchdog timer
8.25 Additional features
WDCON (A7H)
32
The Watchdog timer causes a system reset when it underflows as a result of a failure
to feed the timer prior to the timer reaching its terminal count. It consists of a
programmable 12-bit prescaler, and an 8-bit down counter. The down counter is
decremented by a tap taken from the prescaler. The clock source for the prescaler is
either the PCLK or the nominal 400 kHz Watchdog oscillator. The Watchdog timer
can only be reset by a power-on reset. When the watchdog feature is disabled, it can
be used as an interval timer and may generate an interrupt.
Watchdog timer in watchdog mode. Feeding the watchdog requires a two-byte
sequence. If PCLK is selected as the watchdog clock and the CPU is powered-down,
the watchdog is disabled. The Watchdog timer has a time-out period that ranges from
a few s to a few seconds. Please refer to the P89LPC932 User’s Manual for more
details.
The SRST bit in AUXR1 gives software the opportunity to reset the processor
completely, as if an external reset or watchdog reset had occurred. Care should be
taken when writing to AUXR1 to avoid accidental software resets.
The dual Data Pointers (DPTR) provides two different Data Pointers to specify the
address used with certain instructions. The DPS bit in the AUXR1 register selects
one of the two Data Pointers. Bit 2 of AUXR1 is permanently wired as a logic ‘0’ so
that the DPS bit may be toggled (thereby switching Data Pointers) simply by
incrementing the AUXR1 register, without the possibility of inadvertently altering other
bits in the register.
PRE2
PRESCALER
PRE1
Rev. 04 — 06 January 2004
CONTROL REGISTER
8-bit microcontroller with accelerated two-clock 80C51 core
PRE0
8-BIT DOWN
WDL (C1H)
COUNTER
WDRUN
WDTOF
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
WDCLK
Figure 20
P89LPC932
002aaa423
RESET
see note (1)
SHADOW
REGISTER
FOR WDCON
shows the
40 of 60

Related parts for p89lpc932ba