P89LPC938FA NXP Semiconductors, P89LPC938FA Datasheet - Page 42

IC, MCU 8BIT 80C51 8K FLASH, PLCC28

P89LPC938FA

Manufacturer Part Number
P89LPC938FA
Description
IC, MCU 8BIT 80C51 8K FLASH, PLCC28
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89LPC938FA

Controller Family/series
(8051) 8052
Core Size
8bit
No. Of I/o's
26
Program Memory Size
8KB
Eeprom Memory Size
512Byte
Ram Memory Size
768Byte
Cpu Speed
18MHz
Oscillator Type
External,
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC938FA
Manufacturer:
ST
Quantity:
760
Part Number:
P89LPC938FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89LPC938FA,129
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC938FAЈ¬129
Manufacturer:
NXP
Quantity:
1 503
Philips Semiconductors
9397 750 14051
Product data sheet
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
feed sequence.
watchdog
oscillator
MOV WFEED1, #0A5H
MOV WFEED2, #05AH
PCLK
7.26.1 Software reset
7.26.2 Dual data pointers
7.25 Watchdog timer
7.26 Additional features
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.
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
P89LPC938 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.
WDCON (A7H)
32
PRE2
PRESCALER
Rev. 01 — 25 February 2005
PRE1
PRE0
Figure 20
SHADOW REGISTER
-
8-bit microcontroller with 10-bit A/D converter
shows the watchdog timer in Watchdog mode.
-
8-BIT DOWN
WDL (C1H)
COUNTER
WDRUN
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
WDTOF
P89LPC938
WDCLK
002aaa905
reset
(1)
42 of 68

Related parts for P89LPC938FA