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

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 20. Timer 2 in Auto Reload mode (DCEN = 1)
OSC
T2 pin
6.6.3 Programmable clock-out
6
In
T2EX to control the direction of count. When a logic ‘1’ is applied at pin T2EX Timer 2 will
count up. Timer 2 will overflow at 0FFFFH and set the TF2 flag, which can then generate
an interrupt, if the interrupt is enabled. This timer overflow also causes the 16-bit value in
RCAP2L and RCAP2H to be reloaded into the timer registers TL2 and TH2.
When a logic 0 is applied at pin T2EX this causes Timer 2 to count down. The timer will
underflow when TL2 and TH2 become equal to the value stored in RCAP2L and
RCAP2H. Timer 2 underflow sets the TF2 flag and causes 0FFFFH to be reloaded into
the timer registers TL2 and TH2. The external flag EXF2 toggles when Timer 2 underflows
or overflows. This EXF2 bit can be used as a 17th bit of resolution if needed.
A 50 % duty cycle clock can be programmed to come out on pin T2 (P1[0]). This pin,
besides being a regular I/O pin, has two additional functions. It can be programmed:
To configure the Timer/Counter 2 as a clock generator, bit C/T2 (in T2CON) must be
cleared and bit T20E in T2MOD must be set. Bit TR2 (T2CON.2) also must be set to start
the timer.
The Clock-Out frequency depends on the oscillator frequency and the reload value of
Timer 2 capture registers (RCAP2H, RCAP2L) as shown in
Where (RCAP2H,RCAP2L) = the content of RCAP2H and RCAP2L taken as a 16-bit
unsigned integer.
In the Clock-Out mode Timer 2 rollovers will not generate an interrupt. This is similar to
when it is used as a baud rate generator.
---------------------------------------------------------------------------------------- -
2
1. To input the external clock for Timer/Counter 2, or
2. To output a 50 % duty cycle clock ranging from 122 Hz to 8 MHz at a 16 MHz
Figure
operating frequency.
65536
OscillatorFrequency
C/T2 = 0
C/T2 = 1
20, DCEN = 1 and Timer 2 is enabled to count up or down. This mode allows pin
RCAP2H RCAP2L
Rev. 03 — 10 November 2008
TR2
control
(down-counting reload value)
(up-counting reload value)
RCAP2L RCAP2H
(8-bits)
80C51 with 512 B/1 kB/2 kB RAM, dual I
FFH
TL2
(8-bits)
FFH
TH2
underflow
overflow
P89V660/662/664
T2EX pin
Equation
count direction
1 = up
0 = down
toggle
TF2
2:
© NXP B.V. 2008. All rights reserved.
002aaa525
EXF2
timer 2
interrupt
2
C-bus, SPI
46 of 89
(2)

Related parts for P89V662FBC,557