P89V662FBC,557 NXP Semiconductors, P89V662FBC,557 Datasheet - Page 44

IC 80C51 MCU FLASH 32K 44-TQFP

P89V662FBC,557

Manufacturer Part Number
P89V662FBC,557
Description
IC 80C51 MCU FLASH 32K 44-TQFP
Manufacturer
NXP Semiconductors
Series
89Vr
Datasheet

Specifications of P89V662FBC,557

Program Memory Type
FLASH
Program Memory Size
32KB (32K x 8)
Package / Case
44-TQFP
Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
36
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
P89V6x
Core
80C51
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
I2C/UART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
3
Operating Supply Voltage
4.5 V to 5.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-1001 - USB IN-CIRCUIT PROG 80C51ISP
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
568-2435
935280832557
P89V662FBC

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89V662FBC,557
Manufacturer:
Maxim
Quantity:
260
Part Number:
P89V662FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
P89V660_662_664_3
Product data sheet
Fig 18. Timer 2 in Capture mode
OSC
T2 pin
6.6.1 Capture mode
T2EX pin
Table 35.
In the Capture mode there are two options which are selected by bit EXEN2 in T2CON. If
EXEN2 = 0 Timer 2 is a 16-bit timer or counter (as selected by C/T2 in T2CON) which
upon overflowing sets bit TF2, the Timer 2 overflow bit.
The capture mode is illustrated in
This bit can be used to generate an interrupt (by enabling the Timer 2 interrupt bit in the
IEN0 register). If EXEN2 = 1, Timer 2 operates as described above, but with the added
feature that a 1- to -0 transition at external input T2EX causes the current value in the
Timer 2 registers, TL2 and TH2, to be captured into registers RCAP2L and RCAP2H,
respectively.
In addition, the transition at T2EX causes bit EXF2 in T2CON to be set, and EXF2 like
TF2 can generate an interrupt (which vectors to the same location as Timer 2 overflow
interrupt). The Timer 2 interrupt service routine can interrogate TF2 and EXF2 to
determine which event caused the interrupt.
There is no reload value for TL2 and TH2 in this mode. Even when a capture event occurs
from T2EX, the counter keeps on counting T2 pin transitions or f
loaded contents of RCAP2L and RCAP2H registers are not protected, once Timer2
interrupt is signalled it has to be serviced before new capture event on T2EX pin occurs.
Otherwise, the next falling edge on T2EX pin will initiate reload of the current value from
TL2 and TH2 to RCAP2L and RCAP2H and consequently corrupt their content related to
previously reported interrupt.
6
Bit
7 to 2
1
0
transition
detector
C/T2 = 0
C/T2 = 1
T2MOD - Timer 2 mode control register (address C9H) bit description
Symbol
-
T2OE
DCEN
EXEN2
control
Rev. 03 — 10 November 2008
TR2
Description
Reserved for future use. Should be set to ‘0’ by user programs.
Timer 2 Output Enable bit. Used in programmable clock-out mode
only.
Down Count Enable bit. When set, this allows Timer 2 to be configured
as an up/down-counter.
control
capture
Figure
RCAP2L RCAP2H
80C51 with 512 B/1 kB/2 kB RAM, dual I
(8-bits)
TL2
18.
(8-bits)
TH2
P89V660/662/664
EXF2
TF2
osc
/ 6 pulses. Since once
© NXP B.V. 2008. All rights reserved.
002aaa523
interrupt
timer 2
2
C-bus, SPI
44 of 89

Related parts for P89V662FBC,557