Page 1
INTEGRATED CIRCUITS 89C51/89C52/89C54/89C58 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Product specification 1999 Oct 27 Replaces Datasheets 89C51 of 1999 Apr 01 and 89C52/89C54/89C58 of 1...
Page 2
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash DESCRIPTION FEATURES The 89C51/89C52/89C54/89C58 contain a non-volatile FLASH 80C51 Central Processi...
Page 3
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash BLOCK DIAGRAM P0.0–P0.7 IN IO P2.0–P2.7 PORT 0 PORT 2 DRIVERS DRIVERS RAM ADDR PORT 0 PORT 2 FLASH R...
Page 4
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash LOGIC SYMBOL Ceramic and Plastic Leaded Chip Carrier Pin Functions VSSVCC XTAL1 ADDRESS AND DATA BUS...
Page 5
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash PIN DESCRIPTIONS PIN NUMBER MNEMONIC DIP LCC QFP TYPE NAME AND FUNCTION VSS Ground: 0 V reference. V...
Page 6
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Table 1. 89C51/89C52/89C54/89C58 Special Function Registers DIRECT BIT ADDRESS, SYMBOL, OR ALTERNATI...
Page 7
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash FLASH EPROM MEMORY OSCILLATOR CHARACTERISTICS XTAL1 and XTAL2 are the input and output, respectively...
Page 8
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash LOW POWER MODES Design Consideration When the idle mode is terminated by a hardware reset, the devic...
Page 9
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash TIMER 2 OPERATION Figure 3). When reset is applied the DCEN=0 which means Timer 2 will default to co...
Page 10
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Table 3. Timer 2 Operating Modes RCLK + TCLK CP/RL2 TR2 MODE 16-bit Auto-reload 16-bit Capture Baud ...
Page 11
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash OSC ÷ 12 TL2 TH2 (8-BITS) (8-BITS) T2 PIN CONTROL RELOAD TRANSITION DETECTOR RCAP2L RCAP2H TIMER 2 I...
Page 12
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Timer 1 Overflow NOTE: OSC. Freq. is divided by 2, not 12. ÷ 2 OSC ÷ 2 C/T2 = 0 SMOD TL2 TH2 (8-bits...
Page 13
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash When Timer 2 is in the baud rate generator mode, one should not try If Timer 2 is being clocked inte...
Page 14
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Enhanced UART Slave 1 SADDR = 1100 0000 The UART operates in all of the usual modes that are describ...
Page 15
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash SCON Address = 98H Reset Value = 0000 0000B Bit Addressable SM0/FE SM1 SM2 REN TB8 RB8 Tl Rl Bit: (S...
Page 16
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash START DATA BYTE ONLY IN STOP BIT MODE 2, 3 BIT SET FE BIT IF STOP BIT IS 0 (FRAMING ERROR) SM0 TO UA...
Page 17
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Interrupt Priority Structure There are four interrupt levels rather than two as on the 80C51. An The...
Page 18
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash PT0PX1PT1PSPT2—— PX0IP (0B8H) Priority Bit = 1 assigns higher priority Priority Bit = 0 assigns lowe...
Page 19
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Reduced EMI Mode The AO bit (AUXR.0) in the AUXR register when set disables the ALE output. BIT0 Red...
Page 20
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash ABSOLUTE MAXIMUM RATINGS1, 2, 3 PARAMETER RATING UNIT Operating temperature under bias 0 to +70 or –...
Page 21
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash DC ELECTRICAL CHARACTERISTICS Tamb = 0°C to +70°C or –40°C to +85°C; 5 V ±10%; VSS = 0 V LIMITS SYMB...
Page 22
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash AC ELECTRICAL CHARACTERISTICS Tamb = 0°C to +70°C or –40°C to +85°C, VCC = 5 V ±10%, VSS = 0V1, 2, 3...
Page 23
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash EXPLANATION OF THE AC SYMBOLS Each timing symbol has five characters. The first character is always ...
Page 24
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash t WHLH t LLWL t WLWH t LLAX t AVLL t QVWX t WHQX t QVWH PORT 0 A0–A7 FROM RI OR DPL DATA OUT A0–A7 F...
Page 25
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash VCC–0.5 VLOAD+0.1V TIMING VOH–0.1V 0.2VCC+0.9 VLOAD REFERENCE 0.2VCC–0.1 POINTS VLOAD–0.1V VOL+0.1V ...
Page 26
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash VCC VCC ICC ICC VCC VCC VCC VCC RST VCC EA EA (NC) XTAL2 (NC) XTAL2 CLOCK SIGNAL XTAL1 CLOCK SIGNAL ...
Page 27
Philips Semiconductors Product specification 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Security The security feature protects against software piracy and prevents the contents of the FLAS...
Page 28
Philips Semiconductors Product specification 89C51/89C52/89C54/89C5880C51 8-bit microcontroller family 4K/8K/16K/32K Flash PLCC44: plastic leaded chip carrier; 44 leads SOT187-2 1999 Oct 27
Page 29
Philips Semiconductors Product specification 89C51/89C52/89C54/89C5880C51 8-bit microcontroller family 4K/8K/16K/32K Flash DIP40: plastic dual in-line package; 40 leads (600 mil) SOT129-1 1999 Oct 27
Page 30
Philips Semiconductors Product specification 89C51/89C52/89C54/89C5880C51 8-bit microcontroller family 4K/8K/16K/32K Flash QFP44: plastic quad flat package; 44 leads 1999 Oct 27
Page 31
Philips Semiconductors Product specification 89C51/89C52/89C54/89C5880C51 8-bit microcontroller family 4K/8K/16K/32K Flash NOTES 1999 Oct 27
Page 32
Philips Semiconductors Product specification 89C51/89C52/89C54/89C5880C51 8-bit microcontroller family 4K/8K/16K/32K Flash Data sheet status Data sheet Product Definition [1] status status Objective D...