P89LV51RD2FA,512 NXP Semiconductors, P89LV51RD2FA,512 Datasheet - Page 54

IC 80C51 MCU 1024 RAM 44PLCC

P89LV51RD2FA,512

Manufacturer Part Number
P89LV51RD2FA,512
Description
IC 80C51 MCU 1024 RAM 44PLCC
Manufacturer
NXP Semiconductors
Series
89LVr
Datasheet

Specifications of P89LV51RD2FA,512

Core Processor
8051
Core Size
8-Bit
Speed
33MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-PLCC
Processor Series
P89LV5x
Core
80C51
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
SPI, UART
Maximum Clock Frequency
33 MHz
Number Of Programmable I/os
32
Number Of Timers
3
Operating Supply Voltage
2.4 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Minimum Operating Temperature
- 40 C
Package
44PLCC
Device Core
80C51
Family Name
89LV
Maximum Speed
40 MHz
For Use With
622-1017 - BOARD 44-ZIF PLCC SOCKET622-1008 - BOARD FOR LPC9103 10-HVSON
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details
Other names
935274176512
P89LV51RD2FA
P89LV51RD2FA

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LV51RD2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LV51RD2FA,512
Manufacturer:
NXP/恩智浦
Quantity:
20 000
NXP Semiconductors
P89LV51RB2_RC2_RD2_5
Product data sheet
6.9.5 PCA watchdog timer
module’s CCAPnL SFR the output will be LOW, when it is equal to or greater than, the
output will be HIGH. When CL overflows from FF to 00, CCAPnL is reloaded with the
value in CCAPnH. This allows updating the PWM without glitches. The PWMn and
ECOMn bits in the module’s CCAPMn register must be set to enable the PWM mode.
An on-board watchdog timer is available with the PCA to improve the reliability of the
system without increasing chip count. Watchdog timers are useful for systems that are
susceptible to noise, power glitches, or electrostatic discharge. Module 4 is the only PCA
module that can be programmed as a Watchdog. However, this module can still be used
for other modes if the Watchdog is not needed.
Watchdog works. The user pre-loads a 16-bit value in the compare registers. Just like the
other compare modes, this 16-bit value is compared to the PCA timer value. If a match is
allowed to occur, an internal reset will be generated. This will not cause the RST pin to be
driven HIGH.
User’s software then must periodically change (CCAP4H, CCAP4L) to keep a match from
occurring with the PCA timer (CH, CL). This code is given in the WATCHDOG routine
shown below.
In order to hold off the reset, the user has three options:
The first two options are more reliable because the watchdog timer is never disabled as in
option #3. If the program counter ever goes astray, a match will eventually occur and
cause an internal reset. The second option is also not recommended if other PCA
modules are being used. Remember, the PCA timer is the time base for all modules;
changing the time base for other modules would not be a good idea. Thus, in most
applications the first solution is the best option.
;CALL the following WATCHDOG subroutine periodically.
This routine should not be part of an interrupt service routine, because if the program
counter goes astray and gets stuck in an infinite loop, interrupts are still serviced and the
Watchdog continues to reset. Thus, the purpose of the Watchdog would be defeated.
Instead, call this subroutine from the main program within 2
CLR
MOV
MOV
SETB
RET
Periodically change the compare value so it will never match the PCA timer.
Periodically change the PCA timer value so it will never match the compare values.
Disable the Watchdog by clearing the WDTE bit before a match occurs and then
re-enable it.
EA
CCAP4L,#00
CCAP4H,CH
EA
Rev. 05 — 15 December 2009
;Hold off interrupts
;Next compare value is within 255 counts of
;Re-enable interrupts
current PCA timer value
P89LV51RB2/RC2/RD2
Figure 25
8-bit microcontrollers with 80C51 core
shows a diagram of how the
16
count of the PCA timer.
© NXP B.V. 2009. All rights reserved.
54 of 76

Related parts for P89LV51RD2FA,512