Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

P87C51SBPN Datasheet(PDF) 10 Page - NXP Semiconductors

Part # P87C51SBPN
Description  80C51 8-bit microcontroller family 4 K/8 K OTP/ROM low voltage (2.7 V??.5 V)
Download  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P87C51SBPN Datasheet(HTML) 10 Page - NXP Semiconductors

Back Button P87C51SBPN Datasheet HTML 6Page - NXP Semiconductors P87C51SBPN Datasheet HTML 7Page - NXP Semiconductors P87C51SBPN Datasheet HTML 8Page - NXP Semiconductors P87C51SBPN Datasheet HTML 9Page - NXP Semiconductors P87C51SBPN Datasheet HTML 10Page - NXP Semiconductors P87C51SBPN Datasheet HTML 11Page - NXP Semiconductors P87C51SBPN Datasheet HTML 12Page - NXP Semiconductors P87C51SBPN Datasheet HTML 13Page - NXP Semiconductors P87C51SBPN Datasheet HTML 14Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 38 page
background image
Philips Semiconductors
Product specification
80C51/87C51/80C52/87C52
80C51 8-bit microcontroller family
4 K/8 K OTP/ROM low voltage (2.7 V–5.5 V),
low power, high speed (33 MHz), 128/256 B RAM
2000 Aug 07
10
Programmable Clock-Out
A 50% duty cycle clock can be programmed to come out on P1.0.
This pin, besides being a regular I/O pin, has two alternate
functions. It can be programmed:
1. to input the external clock for Timer/Counter 2, or
2. to output a 50% duty cycle clock ranging from 61 Hz to 4 MHz at
a 16 MHz operating frequency.
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 this equation:
Oscillator Frequency
4
(65536
* RCAP2H, RCAP2L)
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.
It is possible to use Timer 2 as a baud-rate generator and a clock
generator simultaneously. Note, however, that the baud-rate and the
Clock-Out frequency will be the same.
TIMER 2 OPERATION
Timer 2
Timer 2 is a 16-bit Timer/Counter which can operate as either an
event timer or an event counter, as selected by C/T2* in the special
function register T2CON (see Figure 1). Timer 2 has three operating
modes:Capture, Auto-reload (up or down counting) ,and Baud Rate
Generator, which are selected by bits in the T2CON as shown in
Table 3.
Capture Mode
In the capture mode there are two options which are selected by bit
EXEN2 in T2CON. If EXEN2=0, then 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. This bit can be used to
generate an interrupt (by enabling the Timer 2 interrupt bit in the
IE 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). The capture mode is
illustrated in Figure 2 (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 T2EX pin transitions or osc/12 pulses.).
Auto-Reload Mode (Up or Down Counter)
In the 16-bit auto-reload mode, Timer 2 can be configured (as either
a timer or counter (C/T2* in T2CON)) then programmed to count up
or down. The counting direction is determined by bit DCEN (Down
Counter Enable) which is located in the T2MOD register (see
Figure 3). When reset is applied the DCEN=0 which means Timer 2
will default to counting up. If DCEN bit is set, Timer 2 can count up
or down depending on the value of the T2EX pin.
Figure 4 shows Timer 2 which will count up automatically since
DCEN=0. In this mode there are two options selected by bit EXEN2
in T2CON register. If EXEN2=0, then Timer 2 counts up to 0FFFFH
and sets the TF2 (Overflow Flag) bit upon overflow. This causes the
Timer 2 registers to be reloaded with the 16-bit value in RCAP2L
and RCAP2H. The values in RCAP2L and RCAP2H are preset by
software means.
If EXEN2=1, then a 16-bit reload can be triggered either by an
overflow or by a 1-to-0 transition at input T2EX. This transition also
sets the EXF2 bit. The Timer 2 interrupt, if enabled, can be
generated when either TF2 or EXF2 are 1.
In Figure 5 DCEN=1 which enables Timer 2 to count up or down.
This mode allows pin 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. The EXF2 flag does not generate an interrupt in this mode
of operation.
Table 3. Timer 2 Operating Modes
RCLK + TCLK
CP/RL2
TR2
MODE
0
0
1
16-bit Auto-reload
0
1
1
16-bit Capture
1
X
1
Baud rate generator
X
X
0
(off)


Similar Part No. - P87C51SBPN

ManufacturerPart #DatasheetDescription
logo
NXP Semiconductors
P87C51SBPN PHILIPS-P87C51SBPN Datasheet
350Kb / 38P
   80C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless low voltage 2.7V.5.5V, low power, high speed 33 MHz
2000 Jan 20
More results

Similar Description - P87C51SBPN

ManufacturerPart #DatasheetDescription
logo
NXP Semiconductors
8XC51_8XC52 PHILIPS-8XC51_8XC52_15 Datasheet
263Kb / 38P
   80C51 8-bit microcontroller family 4 K/8 K OTP/ROM low voltage (2.7 V??.5 V), lowpower, high speed (33 MHz), 128/256 B RAM
2000 Aug 07
87C750 PHILIPS-87C750 Datasheet
137Kb / 16P
   80C51 8-bit microcontroller family 1K/64 OTP ROM, low pin count
1998 May 01
83C748 PHILIPS-83C748 Datasheet
131Kb / 18P
   80C51 8-bit microcontroller family 2K/64 OTP/ROM, low pin count
1999 Apr 15
83C750 PHILIPS-83C750 Datasheet
158Kb / 16P
   80C51 8-bit microcontroller family 1K/64 OTP ROM, low pin count
1998 May 01
87C748 PHILIPS-87C748 Datasheet
147Kb / 18P
   80C51 8-bit microcontroller family 2K/64 OTP/ROM, low pin count
1999 Apr 15
87C751 PHILIPS-87C751 Datasheet
172Kb / 24P
   80C51 8-bit microcontroller family 2K/64 OTP/ROM, I2C, low pin count
1998 May 01
83C751 PHILIPS-83C751 Datasheet
211Kb / 24P
   80C51 8-bit microcontroller family 2K/64 OTP/ROM, I2C, low pin count
1998 May 01
XA-S3 PHILIPS-XA-S3 Datasheet
295Kb / 52P
   XA 16-bit microcontroller 32 K/1 K OTP/ROM/ROMless, 8-channel 8-bit A/D, low voltage 2.7 V.5.5 V, I2C, 2 UARTs, 16 MB address range
2000 Dec 01
8XC54_51FX_51RX PHILIPS-8XC54_51FX_51RX_15 Datasheet
371Kb / 56P
   80C51 8-bit microcontroller family 8K??4K/256??K OTP/ROM/ROMless, low voltage (2.7V??.5V), low power, high speed (33 MHz)
2000 Aug 07
83C453 PHILIPS-83C453 Datasheet
188Kb / 26P
   80C51 8-bit microcontroller family 8K/256 OTP/ROM, expanded I/O
1998 Apr 23
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com