p89c51rc+jn NXP Semiconductors, p89c51rc+jn Datasheet

no-image

p89c51rc+jn

Manufacturer Part Number
p89c51rc+jn
Description
P89c51rc+; P89c51rd+ 80c51 8-bit Flash Microcontroller Family 32k/64k Isp Flash With 512-1k Ram
Manufacturer
NXP Semiconductors
Datasheet
Semiconductors
Product specification
Replaces 89C51RC+/RD+ of 1999 Apr 01
Supersedes data of 1999 Apr 01
IC28 Data Handbook
hilips
(see Notes 1 and 2 on page 2)
P89C51RC+/P89C51RD+
80C51 8-bit Flash microcontroller family
32K/64K ISP FLASH with 512–1K RAM
INTEGRATED CIRCUITS
1999 Oct 27

Related parts for p89c51rc+jn

p89c51rc+jn Summary of contents

Page 1

P89C51RC+/P89C51RD+ 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Product specification Replaces 89C51RC+/RD+ of 1999 Apr 01 (see Notes 1 and 2 on page 2) Supersedes data of 1999 Apr 01 IC28 Data Handbook hilips Semiconductors INTEGRATED ...

Page 2

... MEMORY SIZE MEMORY SIZE P89C51RC+IN P89C51RD+IN P89C51RC+IA P89C51RD+IA P89C51RC+IB P89C51RD+IB P89C51RC+JN P89C51RD+JN P89C51RC+JA P89C51RD+JA P89C51RC+JB P89C51RD+JB NOTE: 1. SOT not assigned for this package outline. 1999 Oct 27 FEATURES 80C51 Central Processing Unit On-chip FLASH Program Memory with In-System Programming ...

Page 3

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM ORDERING INFORMATION DEVICE NUMBER (P89C51RC+) P89C51RC+ (FLASH) P89C51RD+ (FLASH) BLOCK DIAGRAM RAM ADDR RAM REGISTER B ACC REGISTER PSEN ALE TIMING AND EAV ...

Page 4

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM LOGIC SYMBOL XTAL1 XTAL2 RST EA/V PP PSEN ALE/PROG RxD TxD INT0 INT1 PIN CONFIGURATIONS DUAL IN-LINE PACKAGE PIN ...

Page 5

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM PIN DESCRIPTIONS PIN NUMBER MNEMONIC DIP LCC QFP TYPE NAME AND FUNCTION P0.0–0.7 39–32 43–36 ...

Page 6

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM PIN DESCRIPTIONS (Continued) PIN NUMBER MNEMONIC DIP LCC QFP TYPE NAME AND FUNCTION PSEN EA XTAL1 19 21 ...

Page 7

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Table 1. Special Function Registers DIRECT SYMBOL DESCRIPTION ADDRESS ACC* Accumulator E0H AUXR# Auxiliary 8EH 2 AUXR1# Auxiliary 1 A2H B* B register F0H CCAP0H# Module 0 ...

Page 8

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Table 1. 89C51RC+/RD+ Special Function Registers (Continued) DIRECT SYMBOL DESCRIPTION ADDRESS PSW* Program Status Word D0H RACAP2H# Timer 2 Capture High CBH RACAP2L# Timer 2 Capture Low ...

Page 9

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM LOW POWER MODES Stop Clock Mode The static design enables the clock speed to be reduced down to 0 MHz (stopped). When the oscillator is stopped, the ...

Page 10

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM TIMER 2 OPERATION Timer 2 Timer 16-bit Timer/Counter which can operate as either an event timer or an event counter, as selected by C/T2* ...

Page 11

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Table 3. Timer 2 Operating Modes RCLK + TCLK CP/RL2 OSC ...

Page 12

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM OSC PIN TRANSITION DETECTOR T2EX PIN EXEN2 Figure 4. Timer 2 in Auto-Reload Mode (DCEN = 0) OSC 12 ...

Page 13

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM NOTE: OSC. Freq. is divided by 2, not 12. OSC Pin Transition Detector T2EX Pin EXEN2 Note availability of ...

Page 14

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM When Timer the baud rate generator mode, one should not try to read or write TH2 and TL2 baud rate generator, Timer ...

Page 15

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Enhanced UART The UART operates in all of the usual modes that are described in the first section of Data Handbook IC20, 80C51-Based 8-Bit Microcontrollers . In ...

Page 16

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM SCON Address = 98H Bit Addressable SM0/FE SM1 Bit (SMOD0 = 0/1)* Symbol Function FE Framing Error bit. This bit is set by the receiver ...

Page 17

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM D0 START BIT SM0 / FE SMOD1 SMOD0 0 : SCON.7 = SM0 1 : SCON RECEIVED ADDRESS PROGRAMMED ADDRESS ...

Page 18

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Interrupt Priority Structure The 89C51RC+/RD+ have a 7-source four-level interrupt structure (see Table 7). There are 3 SFRs associated with the four-level interrupt. They are the IE, ...

Page 19

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM 7 IP (0B8H) — PPC Priority Bit = 1 assigns high priority Priority Bit = 0 assigns low priority BIT SYMBOL FUNCTION IP.7 — Not implemented, reserved ...

Page 20

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Reduced EMI Mode The AO bit (AUXR.0) in the AUXR register when set disables the ALE output. Reduced EMI Mode AUXR (8EH ...

Page 21

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Programmable Counter Array (PCA) The Programmable Counter Array, available on the 89C51RX special 16-bit Timer that has five 16-bit capture/compare modules associated with it. Each ...

Page 22

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM OSC/12 OSC/4 TIMER 0 OVERFLOW EXTERNAL INPUT (P1.2/ECI) IDLE PCA TIMER/COUNTER MODULE 0 MODULE 1 MODULE 2 MODULE 3 MODULE 4 CMOD.0 ECF 1999 Oct 27 CH ...

Page 23

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM CMOD Address = OD9H CIDL WDTE Bit Symbol Function CIDL Counter Idle control: CIDL = 0 programs the PCA Counter to continue functioning during idle ...

Page 24

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM CCAPMn Address CCAPM0 0DAH CCAPM1 0DBH CCAPM2 0DCH CCAPM3 0DDH CCAPM4 0DEH Not Bit Addressable – ECOMn Bit Symbol Function – Not implemented, reserved for ...

Page 25

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM CF CR CEXn –– ECOMn 0 CF WRITE TO RESET CCAPnH CCAPnH WRITE TO CCAPnL 0 1 ENABLE 16–BIT COMPARATOR CH PCA TIMER/COUNTER –– 1999 Oct 27 ...

Page 26

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM WRITE TO RESET CCAPnH CCAPnH WRITE TO CCAPnL 0 1 ENABLE 16–BIT COMPARATOR CH PCA TIMER/COUNTER –– –– ECOMn 1999 Oct –– CCF4 CCF3 ...

Page 27

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM WRITE TO RESET CCAP4H WRITE TO CCAP4L 0 1 ENABLE Figure 25. PCA Watchdog Timer m(Module 4 only) PCA Watchdog Timer An on-board watchdog timer is available ...

Page 28

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM INIT_WATCHDOG: MOV CCAPM4, #4CH ; Module 4 in compare mode MOV CCAP4L, #0FFH ; Write to low byte first MOV CCAP4H, #0FFH ; Before PCA timer counts ...

Page 29

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Expanded Data RAM Addressing The 89C51RX+ has internal data memory that is mapped into four separate segments: the lower 128 bytes of RAM, upper 128 bytes of ...

Page 30

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM É É É É É 2FF (89C51RD+) É É É É É É É É É É É É É É É É É É É É ...

Page 31

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM ABSOLUTE MAXIMUM RATINGS PARAMETER Operating temperature under bias Storage temperature range Voltage on EA/V pin Voltage on any other pin ...

Page 32

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM DC ELECTRICAL CHARACTERISTICS + – + 10%; V amb SYMBOL SYMBOL PARAMETER PARAMETER V Input ...

Page 33

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM AC ELECTRICAL CHARACTERISTICS + – + amb CC SYMBOL FIGURE 1/t 29 Oscillator frequency CLCL Speed ...

Page 34

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM EXPLANATION OF THE AC SYMBOLS Each timing symbol has five characters. The first character is always ‘t’ (= time). The other characters, depending on their positions, indicate ...

Page 35

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM ALE PSEN t LLWL WR t LLAX t AVLL A0–A7 PORT 0 FROM RI OR DPL t AVWL PORT 2 INSTRUCTION 0 1 ALE t XLXL CLOCK ...

Page 36

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM 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 –0.5 for a logic ‘1’ and 0.45V for ...

Page 37

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM V CC RST (NC) XTAL2 CLOCK SIGNAL XTAL1 V SS Figure 37. I Test Condition, Active Mode CC All other pins are disconnected V CC 0.45V Figure ...

Page 38

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM FLASH EPROM MEMORY GENERAL DESCRIPTION The 89C51RX+ FLASH memory augments EPROM functionality with in-circuit electrical erasure and programming. The FLASH can be read and written as bytes. ...

Page 39

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM FFFF BLOCK 4 16k BYTES C000 BLOCK 3 16k BYTES PROGRAM 8000 ADDRESS BLOCK 2 16k BYTES 4000 BLOCK 1 8k BYTES 2000 BLOCK 0 8k BYTES ...

Page 40

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Figure 42. In-System Programming with a Minimum of Pins In-System Programming (ISP) The In-System Programming (ISP) is performed without removing the microcontroller from the system. The In-System ...

Page 41

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Table 8. Intel-Hex Records Used by In-System Programming RECORD TYPE 00 Program Data :nnaaaa00dd....ddcc Where number of bytes (hex) in record Aaaa = memory address ...

Page 42

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM RECORD TYPE 04 Display Device Data or Blank Check – Record type 04 causes the contents of the entire Flash array to be sent out the serial ...

Page 43

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM In Application Programming Method Several In Application Programming (IAP) calls are available for use by an application program to permit selective erasing and programming of Flash sectors. ...

Page 44

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM IAP CALL READ MANUFACTURER ID Input Parameters osc freq (integer 00h DPH = 00h DPL = 00h (manufacturer ID) Return Parameter ACC = ...

Page 45

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Security The security feature protects against software piracy and prevents the contents of the Flash from being read. The Security Lock bits are located in Flash. The ...

Page 46

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM DIP40: plastic dual in-line package; 40 leads (600 mil) 1999 Oct 27 P89C51RC+/P89C51RD+ 46 Product specification SOT129-1 ...

Page 47

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM PLCC44: plastic leaded chip carrier; 44 leads 1999 Oct 27 P89C51RC+/P89C51RD+ 47 Product specification SOT187-2 ...

Page 48

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM QFP44: plastic quad flat package; 44 leads 1999 Oct 27 P89C51RC+/P89C51RD+ 48 Product specification ...

Page 49

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM 1999 Oct 27 P89C51RC+/P89C51RD+ NOTES 49 Product specification ...

Page 50

Philips Semiconductors 80C51 8-bit Flash microcontroller family 32K/64K ISP FLASH with 512–1K RAM Data sheet status Data sheet Product Definition status status Objective Development This data sheet contains the design target or goal specifications for product development. specification Specification may ...

Related keywords