P89CV51RC2FA NXP Semiconductors, P89CV51RC2FA Datasheet - Page 34

no-image

P89CV51RC2FA

Manufacturer Part Number
P89CV51RC2FA
Description
MCU 8-Bit 89C 80C51 CISC 32KB Flash 5V 44-Pin PLCC Tube
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89CV51RC2FA

Package
44PLCC
Device Core
80C51
Family Name
89C
Maximum Speed
40 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
32
Interface Type
SPI/UART
Number Of Timers
3
Ram Size
1 KB
Program Memory Size
32 KB
Program Memory Type
Flash
Operating Temperature
-40 to 85 °C

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89CV51RC2FA
Manufacturer:
HITACHI
Quantity:
20 000
Part Number:
P89CV51RC2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89CV51RC2FA,512
Manufacturer:
FSC
Quantity:
149
Part Number:
P89CV51RC2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
P89CV51RB2_RC2_RD2_3
Product data sheet
6.5.3 Programmable clock-out
6.5.4 Baud rate generator mode
A 50 % duty cycle clock can be programmed to come out on pin T2 (P1[0], Clock-out
mode). 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 T2OE 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 roll-overs will not generate an interrupt. This is similar to
when it is used as a baud rate generator.
Bits TCLK and/or RCLK in T2CON allow the UART transmit and receive baud rates to be
derived from either Timer 1 or Timer 2; see
1 is used as the UART transmit baud rate generator. When TCLK = 1, Timer 2 is used as
the UART transmit baud rate generator. RCLK has the same effect for the UART receive
baud rate. With these two bits, the serial port can have different receive and transmit baud
rates, Timer 1 or Timer 2.
Figure 14
------------------------------------------------------------------------------------------
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
Fig 14. Timer 2 in Baud rate generator mode
operating frequency.
65536
T2 pin
OSC
OscillatorFrequency
shows Timer 2 in Baud rate generator mode:
T2EX pin
RCAP2H RCAP2L
2
transition
detector
Rev. 03 — 25 August 2009
C/T2 = 0
C/T2 = 1
EXEN2
control
TR2
P89CV51RB2/RC2/RD2
control
Section 6.6
EXF2
RCAP2L RCAP2H
(8-bits)
timer 2
interrupt
TL2
for details. When TCLK = 0, Timer
(8-bits)
Equation
TH2
80C51 with 1 kB RAM, SPI
reload
2:
© NXP B.V. 2009. All rights reserved.
TX/RX baud rate
002aaa526
34 of 76
(2)

Related parts for P89CV51RC2FA