P87C51X2BBD NXP Semiconductors, P87C51X2BBD Datasheet - Page 22
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
P87C51X2BBD
Manufacturer Part Number
P87C51X2BBD
Description
MCU 8-Bit 87C 80C51 CISC 4KB EPROM 5V 44-Pin LQFP Tray
Manufacturer
NXP Semiconductors
Datasheet
1.P87C52X2BN112.pdf
(62 pages)
Specifications of P87C51X2BBD
Package
44LQFP
Device Core
80C51
Family Name
87C
Maximum Speed
33 MHz
Ram Size
128 Byte
Program Memory Size
4 KB
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Program Memory Type
EPROM
Number Of Programmable I/os
32
Interface Type
UART
Operating Temperature
0 to 70 °C
Number Of Timers
3
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
P87C51X2BBD
Manufacturer:
ENE
Quantity:
14
Company:
Part Number:
P87C51X2BBD,157
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Company:
Part Number:
P87C51X2BBDЈ¬157
Manufacturer:
NXP
Quantity:
10
Philips Semiconductors
Table 5.
Summary Of Baud Rate Equations
Timer 2 is in baud rate generating mode. If Timer 2 is being clocked
through pin T2(P1.0) the baud rate is:
If Timer 2 is being clocked internally, the baud rate is:
Where:
To obtain the reload value for RCAP2H and RCAP2L, the above
equation can be rewritten as:
2003 Jan 24
80C51 8-bit microcontroller family
4K/8K/16K/32K ROM/OTP, low voltage (2.7 to 5.5 V),
low power, high speed (30/33 MHz)
n = 16 in 6-clock mode, 32 in 12-clock mode.
f
12-clk
Baud Rate + Timer 2 Overflow Rate
Baud Rate +
RCAP2H, RCAP2L + 65536 *
mode
375 K
OSC
9.6 K
4.8 K
2.4 K
1.2 K
300
110
300
110
Baud Rate
= Oscillator Frequency
Timer 2 Generated Commonly Used
Baud Rates
19.2 K
mode
750 K
6-clk
9.6 K
4.8 K
2.4 K
[n
600
220
600
220
[65536 * (RCAP2H, RCAP2L)]]
Osc Freq
16
12 MHz
12 MHz
12 MHz
12 MHz
12 MHz
12 MHz
12 MHz
6 MHz
6 MHz
f
OSC
n
Baud Rate
f
RCAP2H
OSC
FD
FF
FF
FF
FF
FE
FB
F2
F9
Timer 2
RCAP2L
FF
D9
B2
C8
1E
AF
8F
64
57
22
1. Capture/reload occurs only on timer/counter overflow.
2. Capture/reload occurs on timer/counter overflow and a 1-to-0
Timer/Counter 2 Set-up
Except for the baud rate generator mode, the values given for
T2CON do not include the setting of the TR2 bit. Therefore, bit TR2
must be set, separately, to turn the timer on. See Table 6 for set-up
of Timer 2 as a timer. Also see Table 7 for set-up of Timer 2 as a
counter.
Table 6. Timer 2 as a Timer
Table 7. Timer 2 as a Counter
NOTES:
MODE
16-bit Auto-Reload
16-bit Capture
Baud rate generator receive
and transmit same baud rate
Receive only
Transmit only
MODE
16-bit
Auto-Reload
transition on T2EX (P1.1) pin except when Timer 2 is used in the
baud rate generator mode.
P80C3xX2; P80C5xX2;
INTERNAL
CONTROL
(Note 1)
00H
01H
34H
24H
14H
INTERNAL
CONTROL
(Note 1)
02H
03H
T2CON
TMOD
P87C5xX2
EXTERNAL
CONTROL
(Note 2)
08H
09H
36H
26H
16H
EXTERNAL
CONTROL
(Note 2)
Product data
0AH
0BH