P89V51RC2FN,112 NXP Semiconductors, P89V51RC2FN,112 Datasheet - Page 30

IC 80C51 MCU FLASH 32K 40-DIP

P89V51RC2FN,112

Manufacturer Part Number
P89V51RC2FN,112
Description
IC 80C51 MCU FLASH 32K 40-DIP
Manufacturer
NXP Semiconductors
Series
89Vr
Datasheet

Specifications of P89V51RC2FN,112

Program Memory Type
FLASH
Program Memory Size
32KB (32K x 8)
Package / Case
40-DIP (0.600", 15.24mm)
Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
P89V5x
Core
80C51
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
SPI, UART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
32
Number Of Timers
3
Operating Supply Voltage
5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
622-1017 - BOARD 44-ZIF PLCC SOCKET622-1001 - USB IN-CIRCUIT PROG 80C51ISP
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
568-2430-5
935278782112
P89V51RC2FN
NXP Semiconductors
P89V51RB2_RC2_RD2_5
Product data sheet
6.4.3 Mode 2
6.4.4 Mode 3
Mode 2 configures the Timer register as an 8-bit Counter (TLn) with automatic reload, as
shown in
contents of THn, which must be preset by software. The reload leaves THn unchanged.
Mode 2 operation is the same for Timer 0 and Timer 1.
When timer 1 is in mode 3 it is stopped (holds its count). The effect is the same as setting
TR1 = 0.
Timer 0 in mode 3 establishes TL0 and TH0 as two separate 8-bit counters. The logic for
mode 3 and Timer 0 is shown in
T0GATE, TR0, INT0, and TF0. TH0 is locked into a timer function (counting machine
cycles) and takes over the use of TR1 and TF1 from Timer 1. Thus, TH0 now controls the
‘Timer 1’ interrupt.
Mode 3 is provided for applications that require an extra 8-bit timer. With Timer 0 in
mode 3, the P89V51RB2/RC2/RD2 can look like it has an additional Timer.
Note: When Timer 0 is in mode 3, Timer 1 can be turned on and off by switching it into
and out of its own mode 3. It can still be used by the serial port as a baud rate generator,
or in any application not requiring an interrupt.
Fig 9. Timer/counter 0 or 1 in mode 1 (16-bit counter)
Fig 10. Timer/counter 0 or 1 in mode 2 (8-bit auto-reload)
INTn pin
TnGate
INTn pin
Tn pin
osc/6
TnGate
TRn
Tn pin
osc/6
TRn
Figure
10. Overflow from TLn not only sets TFn, but also reloads TLn with the
Rev. 05 — 12 November 2009
C/T = 0
C/T = 1
C/T = 0
C/T = 1
Figure
11. TL0 uses the Timer 0 control bits: T0C/T,
control
control
P89V51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
(8-bits)
TLn
(8-bits)
(8-bits)
TLn
THn
reload
(8-bits)
THn
overflow
overflow
TFn
© NXP B.V. 2009. All rights reserved.
TFn
interrupt
002aaa521
002aaa520
interrupt
30 of 80

Related parts for P89V51RC2FN,112