P89C52UFBB Philips Semiconductors, P89C52UFBB Datasheet

no-image

P89C52UFBB

Manufacturer Part Number
P89C52UFBB
Description
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89C52UFBB
Manufacturer:
PHILIPS
Quantity:
391
Semiconductors
Product specification
Replaces Datasheets 89C51 of 1999 Apr 01 and 89C52/89C54/89C58 of 1999 Apr 01
hilips
89C51/89C52/89C54/89C58
80C51 8-bit microcontroller family
4K/8K/16K/32K Flash
INTEGRATED CIRCUITS
1999 Oct 27

Related parts for P89C52UFBB

P89C52UFBB Summary of contents

Page 1

Flash Product specification Replaces Datasheets 89C51 of 1999 Apr 01 and 89C52/89C54/89C58 of 1999 Apr 01 hilips Semiconductors INTEGRATED CIRCUITS 1999 Oct 27 ...

Page 2

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash DESCRIPTION The 89C51/89C52/89C54/89C58 contain a non-volatile FLASH program memory that is parallel programmable. For devices that are serial programmable (In System Programmable (ISP) with a boot loader), see the 89C51RC+/89C51RD+ datasheet. Both families are Single-Chip 8-bit Microcontrollers manufactured in advanced CMOS process and are derivatives of the 80C51 microcontroller family ...

Page 3

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash BLOCK DIAGRAM RAM ADDR RAM REGISTER B ACC REGISTER PSEN ALE TIMING AND EAV PP CONTROL RST PD OSCILLATOR XTAL1 XTAL2 1999 Oct 27 89C51/89C52/89C54/89C58 P0.0–P0.7 P2.0–P2.7 PORT 0 PORT 2 DRIVERS DRIVERS PORT 0 PORT 2 LATCH LATCH ...

Page 4

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash LOGIC SYMBOL XTAL1 XTAL2 RST EA/V PP PSEN ALE/PROG RxD TxD INT0 INT1 PIN CONFIGURATIONS Dual In-Line Package Pin Functions T2/P1 T2EX/P1 P0.0/AD0 P1 P0.1/AD1 P1 P0.2/AD2 P1 P0.3/AD3 P1 P0.4/AD4 34 P0.5/AD5 P1 P1.7 8 P0.6/AD6 RST 9 32 P0.7/AD7 DUAL ...

Page 5

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash PIN DESCRIPTIONS PIN NUMBER MNEMONIC DIP LCC QFP TYPE NAME AND FUNCTION P0.0–0.7 39–32 43–36 37–30 I/O P1.0–P1.7 1–8 2–9 40–44, I/O 1– I P2.0–P2.7 21–28 24–31 18–25 I/O P3.0–P3.7 10– ...

Page 6

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Table 1. 89C51/89C52/89C54/89C58 Special Function Registers DIRECT SYMBOL DESCRIPTION ADDRESS ACC* Accumulator E0H AUXR# Auxiliary 8EH AUXR1# Auxiliary 1 A2H B* B register F0H DPTR: Data Pointer (2 bytes) DPH Data Pointer High 83H DPL Data Pointer Low ...

Page 7

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash FLASH EPROM MEMORY General Description The 89C51/89C52/89C54/89C58 FLASH reliably stores memory contents even after 100 erase and program cycles. The cell is designed to optimize the erase and programming mechanisms. In addition, the combination of advanced tunnel oxide processing and low internal electric fields for erase and programming operations produces reliable cycling ...

Page 8

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 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 RAM and Special Function Registers retain their values. This mode allows step-by-step utilization and permits reduced system power consumption by lowering the clock frequency down to any value ...

Page 9

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 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* 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 ...

Page 10

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Table 3. Timer 2 Operating Modes RCLK + TCLK CP/RL2 OSC Pin Transition Detector T2EX Pin EXEN2 T2MOD Address = 0C9H Not Bit Addressable — — Bit 7 6 Symbol Function — Not implemented, reserved for future use.* T2OE Timer 2 Output Enable bit ...

Page 11

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash OSC PIN TRANSITION DETECTOR T2EX PIN EXEN2 Figure 4. Timer 2 in Auto-Reload Mode (DCEN = 0) OSC PIN TR2 1999 Oct 27 89C51/89C52/89C54/89C58 TL2 TH2 (8-BITS) (8-BITS) CONTROL TR2 RELOAD RCAP2L RCAP2H CONTROL (DOWN COUNTING RELOAD VALUE) ...

Page 12

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash NOTE: OSC. Freq. is divided by 2, not 12. OSC Pin Transition Detector T2EX Pin EXEN2 Note availability of additional external interrupt. Table 4. Timer 2 Generated Commonly Used Baud Rates Baud Rate Ba d Rate Osc Freq Osc Freq ...

Page 13

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash When Timer the baud rate generator mode, one should not try to read or write TH2 and TL2 baud rate generator, Timer 2 is incremented every state time (osc/2) or asynchronously from pin T2; under these conditions, a read or write of TH2 or TL2 may not be accurate ...

Page 14

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 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 addition the UART can perform framing error detect by looking for missing stop bits, and automatic address recognition ...

Page 15

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 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 when an invalid stop bit is detected. The FE bit is not cleared by valid frames but should be cleared by software. The SMOD0 bit must be set to enable access to the FE bit. ...

Page 16

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash D0 START BIT SM0 / FE SMOD1 SMOD0 0 : SCON.7 = SM0 1 : SCON RECEIVED ADDRESS PROGRAMMED ADDRESS IN UART MODE 2 OR MODE 3 AND SM2 = 1: INTERRUPT IF REN=1, RB8=1 AND “RECEIVED ADDRESS” = “PROGRAMMED ADDRESS” – WHEN OWN ADDRESS RECEIVED, CLEAR SM2 TO RECEIVE DATA BYTES – ...

Page 17

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Interrupt Priority Structure The 89C51/89C52/89C54/89C58 have a 6-source four-level interrupt structure. There are 3 SFRs associated with the four-level interrupt. They are the IE, IP, and IPH. (See Figures 10, 11, and 12.) The IPH (Interrupt Priority High) register makes the four-level interrupt structure possible ...

Page 18

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 7 IP (0B8H) — — Priority Bit = 1 assigns higher priority Priority Bit = 0 assigns lower priority BIT SYMBOL FUNCTION IP.7 — Not implemented, reserved for future use. IP.6 — Not implemented, reserved for future use. ...

Page 19

... Philips Semiconductors 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. Reduced EMI Mode AUXR (8EH – – – – – – AUXR.0 AO Turns off ALE output. Dual DPTR The dual DPTR structure (see Figure 13 way by which the chip will specify the address of an external data memory location ...

Page 20

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash ABSOLUTE MAXIMUM RATINGS PARAMETER Operating temperature under bias Storage temperature range Voltage on EA/V pin Voltage on any other pin Maximum I per I/O pin OL Power dissipation (based on package heat transfer limitations, not device power consumption) NOTES: 1 ...

Page 21

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash DC ELECTRICAL CHARACTERISTICS + – + 10%; V amb SYMBOL SYMBOL PARAMETER PARAMETER V Input low voltage IL V Input high voltage (ports EA Input high voltage, XTAL1, RST IH1 V Output low voltage, ports Output low voltage, port 0, ALE, PSEN ...

Page 22

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash AC ELECTRICAL CHARACTERISTICS + – + amb CC SYMBOL FIGURE PARAMETER 1/t 14 Oscillator frequency CLCL Speed versions ALE pulse width LHLL t 14 Address valid to ALE low AVLL t 14 Address hold after ALE low LLAX t 14 ALE low to valid instruction in ...

Page 23

... Philips Semiconductors 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 ‘t’ (= time). The other characters, depending on their positions, indicate the name of a signal or the logical status of that signal. The designations are: A – ...

Page 24

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 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 t QVXH OUTPUT DATA 0 WRITE TO SBUF t XHDV INPUT DATA VALID CLEAR 0.45V 1999 Oct 27 89C51/89C52/89C54/89C58 t WHLH ...

Page 25

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 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 a logic ‘0’. CC Timing measurements are made at V min for a logic ‘1’ and V IH Figure 19 ...

Page 26

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash V CC RST (NC) XTAL2 CLOCK SIGNAL XTAL1 V SS Figure 22. I Test Condition, Active Mode CC All other pins are disconnected V CC 0.45V Figure 24. Clock Signal Waveform for I Figure 25. I 1999 Oct 27 89C51/89C52/89C54/89C58 (NC) CLOCK SIGNAL SU00719 Figure 23. I – ...

Page 27

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 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 89C51/89C52/89C54/89C58 has 3 programmable security lock bits that will provide different levels of protection for the on-chip code and data (see Table 8) ...

Page 28

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash PLCC44: plastic leaded chip carrier; 44 leads 1999 Oct 27 89C51/89C52/89C54/89C58 28 Product specification SOT187-2 ...

Page 29

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash DIP40: plastic dual in-line package; 40 leads (600 mil) 1999 Oct 27 89C51/89C52/89C54/89C58 29 Product specification SOT129-1 ...

Page 30

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash QFP44: plastic quad flat package; 44 leads 1999 Oct 27 89C51/89C52/89C54/89C58 30 Product specification ...

Page 31

... Philips Semiconductors 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash 1999 Oct 27 89C51/89C52/89C54/89C58 NOTES 31 Product specification ...

Page 32

... Philips Semiconductors for any damages resulting from such application. Right to make changes — Philips Semiconductors reserves the right to make changes, without notice, in the products, including circuits, standard cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no ...

Related keywords