P87C51RB2BBD NXP Semiconductors, P87C51RB2BBD Datasheet
P87C51RB2BBD
Specifications of P87C51RB2BBD
Available stocks
Related parts for P87C51RB2BBD
P87C51RB2BBD Summary of contents
Page 1
P87C51RA2/RB2/RC2/RD2 80C51 8-bit microcontroller family 8KB/16KB/32KB/64KB OTP, 512B/512B/512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Product data Supersedes data of 2002 Oct 28 hilips Semiconductors INTEGRATED CIRCUITS 2003 Jan 24 ...
Page 2
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) DESCRIPTION The devices are Single-Chip 8-Bit Microcontrollers manufactured in an advanced CMOS process and are derivatives of the 80C51 ...
Page 3
... ORDERING INFORMATION PHILIPS MEMORY (EXCEPT NORTH AMERICA PART ORDER NUMBER OTP PART MARKING P87C51RA2BA 8 KB P87C51RA2FA 8 KB P87C51RA2BBD 8 KB P87C51RB2BA 16 KB P87C51RB2FA 16 KB P87C51RB2BBD 16 KB P87C51RB2BN 16 KB P87C51RB2FN 16 KB P87C51RC2BA 32 KB P87C51RC2FA 32 KB P87C51RC2BBD 32 KB P87C51RC2BN 32 KB P87C51RC2FN 32 KB P87C51RD2BA 64 KB P87C51RD2FA ...
Page 4
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) BLOCK DIAGRAM 16K / 32K / 64 KBYTE CODE OTP 512 / 1024 BYTE DATA RAM ...
Page 5
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) BLOCK DIAGRAM (CPU-ORIENTED RAM ADDR RAM REGISTER B ACC REGISTER PSEN ALE TIMING AND EAV ...
Page 6
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) LOGIC SYMBOL XTAL1 XTAL2 RST EA/V PP PSEN ALE/PROG RxD TxD INT0 INT1 T0 T1 ...
Page 7
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) PIN DESCRIPTIONS PIN NUMBER MNEMONIC MNEMONIC PDIP PLCC LQFP ...
Page 8
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) PIN NUMBER MNEMONIC MNEMONIC PDIP PLCC LQFP PSEN EA XTAL1 19 21 ...
Page 9
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) SPECIAL FUNCTION REGISTERS DIRECT SYMBOL DESCRIPTION ADDRESS ACC* Accumulator E0H AUXR# Auxiliary 8EH AUXR1# Auxiliary 1 A2H B* B ...
Page 10
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) SPECIAL FUNCTION REGISTERS (Continued) DIRECT SYMBOL DESCRIPTION ADDRESS PSW* Program Status Word D0H RCAP2H# Timer 2 Capture High CBH ...
Page 11
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) CLOCK CONTROL REGISTER (CKCON) This device allows control of the 6-clock/12-clock mode by means of both an SFR bit ...
Page 12
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) LOW POWER MODES Stop Clock Mode The static design enables the clock speed to be reduced down to 0 ...
Page 13
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) TIMER 0 AND TIMER 1 OPERATION Timer 0 and Timer 1 The “Timer” or “Counter” function is selected by ...
Page 14
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) OSC d* Tn Pin TRn Timer n Gate bit INTn Pin * 6-clock mode ...
Page 15
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) OSC d* Tn Pin TRn Timer n Gate bit INTn Pin * 6-clock mode ...
Page 16
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) TIMER 2 OPERATION Timer 2 Timer 16-bit Timer/Counter which can operate as either an event timer ...
Page 17
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Table 3. Timer 2 Operating Modes RCLK + TCLK CP/RL2 OSC ...
Page 18
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) OSC PIN TRANSITION DETECTOR T2EX PIN EXEN2 * ...
Page 19
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz 6-clock mode 12-clock mode OSC n C/ C/T2 = ...
Page 20
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) When Timer the baud rate generator mode, one should not try to read or write TH2 ...
Page 21
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) FULL-DUPLEX ENHANCED UART Standard UART operation The serial port is full duplex, meaning it can transmit and receive simultaneously. ...
Page 22
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) SCON Address = 98H Bit Addressable SM0 Where SM0, SM1 specify the serial port mode, as follows: SM0 SM1 ...
Page 23
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) shifted to the left one position. The value that comes in from the right is the value that was ...
Page 24
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Write to SBUF Serial Port Interrupt REN ...
Page 25
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Timer 1 Overflow Write 2 to SBUF SMOD = 1 SMOD = 0 16 Serial Port Interrupt Sample 1-to-0 ...
Page 26
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Write to SBUF Phase 2 Clock (1 OSC Mode 2 16 SMOD = 1 Serial 2 Port ...
Page 27
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Timer 1 Overflow Write 2 to SBUF SMOD = 1 SMOD = 0 16 Serial Port Interrupt Sample 1-to-0 ...
Page 28
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Enhanced Features The UART operates in all of the usual modes that are described in the first section of ...
Page 29
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) D0 START BIT SM0 / FE SMOD1 SMOD0 0 : SCON.7 = SM0 1 : SCON ...
Page 30
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Interrupt Priority Structure The P87C51RA2/RB2/RC2/RD2 has a 7 source four-level interrupt structure (see Table 7). There are 3 SFRs ...
Page 31
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz (0B8H) – PPC Priority Bit = 1 assigns high priority Priority Bit = 0 assigns low priority ...
Page 32
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Reduced EMI Mode The AO bit (AUXR.0) in the AUXR register when set disables the ALE output unless the ...
Page 33
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Programmable Counter Array (PCA) The Programmable Counter Array available on the P87C51RA2/RB2/RC2/RD2 is a special 16-bit Timer that has ...
Page 34
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) OSC/6 (6 CLOCK MODE) OR OSC/12 (12 CLOCK MODE) OSC/2 (6 CLOCK MODE) OR OSC/4 (12 CLOCK MODE) TIMER ...
Page 35
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) CMOD Address = D9H CIDL WDTE Bit Symbol Function CIDL Counter Idle control: CIDL = 0 programs ...
Page 36
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) CCAPMn Address CCAPM0 0DAH CCAPM1 0DBH CCAPM2 0DCH CCAPM3 0DDH CCAPM4 0DEH Not Bit Addressable – ECOMn Bit: 7 ...
Page 37
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz CEXn –– ECOMn 0 CF WRITE TO RESET CCAPnH CCAPnH WRITE TO CCAPnL 0 1 ENABLE 16–BIT ...
Page 38
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) WRITE TO RESET CCAPnH CCAPnH WRITE TO CCAPnL 0 1 ENABLE 16–BIT COMPARATOR CH PCA TIMER/COUNTER –– –– ECOMn ...
Page 39
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) WRITE TO RESET CCAP4L WRITE TO CCAP4H 1 0 ENABLE Figure 30. PCA Watchdog Timer mode (Module 4 only) ...
Page 40
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) INIT_WATCHDOG: MOV CCAPM4, #4CH ; Module 4 in compare mode MOV CCAP4L, #0FFH ; Write to low byte first ...
Page 41
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Expanded Data RAM Addressing The P87C51RA2/RB2/RC2/RD2 has internal data memory that is mapped into four separate segments: the lower ...
Page 42
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) ERAM 256 or 768 BYTES 100 Figure 33. Internal and External Data Memory Address Space with EXTRAM = 0 ...
Page 43
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz ABSOLUTE MAXIMUM RATINGS PARAMETER Operating temperature under bias Storage temperature range Voltage on EA/V pin to ...
Page 44
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) DC ELECTRICAL CHARACTERISTICS + – + amb CC ...
Page 45
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) DC ELECTRICAL CHARACTERISTICS + – + amb CC ...
Page 46
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) AC ELECTRICAL CHARACTERISTICS (12-CLOCK MODE 10% OPERATION + –40 C ...
Page 47
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) AC ELECTRICAL CHARACTERISTICS (12-CLOCK MODE, 2 5.5 V OPERATION + ...
Page 48
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) AC ELECTRICAL CHARACTERISTICS (6-CLOCK MODE 10% OPERATION + –40 C ...
Page 49
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) AC ELECTRICAL CHARACTERISTICS (6-CLOCK MODE, 2 5.5 V OPERATION + ...
Page 50
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) EXPLANATION OF THE AC SYMBOLS Each timing symbol has five characters. The first character is always ‘t’ (= time). ...
Page 51
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) ALE PSEN t LLWL WR t LLAX t AVLL A0–A7 PORT 0 FROM RI OR DPL t AVWL PORT ...
Page 52
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) V –0.5 CC 0.2V +0.9 CC 0.2V –0.1 CC 0.45V NOTE: AC inputs during testing are driven at V ...
Page 53
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz as31 version V2. source file: idd_ljmp1.asm ## list file: idd_ljmp1.lst ## ########################################################## #0000 # ...
Page 54
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz RST (NC) XTAL2 CLOCK SIGNAL XTAL1 V SS Figure 43. I Test Condition, Active Mode CC All ...
Page 55
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) EPROM CHARACTERISTICS All these devices can be programmed by using a modified Improved Quick-Pulse Programming algorithm. It differs from ...
Page 56
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Table 8. EPROM Programming Modes MODE RST Read signature 1 Program code data 1 Verify code data 1 Pgm ...
Page 57
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) A0– 4–6MHz A8–A15 are programming addresses (not external memory addresses per device pin out) 5 PULSES ...
Page 58
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) EPROM PROGRAMMING AND VERIFICATION CHARACTERISTICS + 10 ...
Page 59
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) MASK ROM DEVICES Security Bits With none of the security bits programmed the code in the program memory can ...
Page 60
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) ROM CODE SUBMISSION FOR 16K ROM DEVICES (87C51RB2) When submitting ROM code for the 16K ROM devices, the following ...
Page 61
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) ROM CODE SUBMISSION FOR 32K ROM DEVICES (87C51RC2) When submitting ROM code for the 32K ROM devices, the following ...
Page 62
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) ROM CODE SUBMISSION FOR 64K ROM DEVICE (87C51RD2) When submitting ROM code for the 64K ROM devices, the following ...
Page 63
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) DIP40: plastic dual in-line package; 40 leads (600 mil) 2003 Jan 24 8KB/16KB/32KB/64KB OTP 63 Product data P87C51RA2/RB2/RC2/RD2 SOT129-1 ...
Page 64
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) PLCC44: plastic leaded chip carrier; 44 leads 2003 Jan 24 8KB/16KB/32KB/64KB OTP 64 Product data P87C51RA2/RB2/RC2/RD2 SOT187-2 ...
Page 65
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) LQFP44: plastic low profile quad flat package; 44 leads; body 1.4 mm 2003 Jan 24 ...
Page 66
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) REVISION HISTORY Rev Date Description _3 20030124 Product data (9397 750 10994); ECN 853-2391 29335 dated 07 Jan 2003. ...
Page 67
Philips Semiconductors 80C51 8-bit microcontroller family with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high speed (30/33 MHz) Data sheet status Product [1] Level Data sheet status [2] [3] status I Objective data Development II Preliminary data ...