P89C54X2BA NXP Semiconductors, P89C54X2BA Datasheet

P89C54X2BA

Manufacturer Part Number
P89C54X2BA
Description
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89C54X2BA

Cpu Family
89C
Device Core
80C51
Device Core Size
8b
Frequency (max)
20MHz
Interface Type
UART
Program Memory Type
Flash
Program Memory Size
16KB
Total Internal Ram Size
256Byte
# I/os (max)
32
Number Of Timers - General Purpose
3
Operating Supply Voltage (typ)
5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
4.5V
Instruction Set Architecture
CISC
Operating Temp Range
0C to 70C
Operating Temperature Classification
Commercial
Mounting
Surface Mount
Pin Count
44
Package Type
PLCC
Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
P89C54X2BA
Quantity:
70
Semiconductors
Preliminary data
Supersedes data of 2002 Feb 28
hilips
P89C51X2/52X2/54X2/58X2
80C51 8-bit Flash microcontroller family
4K/8K/16K/32K Flash
128B/256B RAM
INTEGRATED CIRCUITS
2002 Jun 05

Related parts for P89C54X2BA

P89C54X2BA Summary of contents

Page 1

P89C51X2/52X2/54X2/58X2 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash 128B/256B RAM Preliminary data Supersedes data of 2002 Feb 28 hilips Semiconductors INTEGRATED CIRCUITS 2002 Jun 05 ...

Page 2

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash DESCRIPTION The Philips microcontrollers described in this data sheet are high-performance static 80C51 designs. They are manufactured in an advanced CMOS process and contain a non-volatile Flash program memory. They support ...

Page 3

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash FEATURES 80C51 Central Processing Unit – 4 Kbytes Flash (P89C51X2) – 8 Kbytes Flash (P89C52X2) – 16 Kbytes Flash (P89C54X2) – 32 Kbytes Flash (P89C58X2) – 128 byte RAM (P89C51X2) – ...

Page 4

... P89C52X2FBD LQFP44 plastic low profile quad flat package; 44 leads P89C54X2 ORDERING INFORMATION (16 KBYTE FLASH) Type number Package Name Description P89C54X2BA PLCC44 plastic lead chip carrier; 44 leads P89C54X2BN DIP40 plastic dual in-line package; 40 leads (600 mil) P89C54X2BBD LQFP44 plastic low profile quad flat package; 44 leads ...

Page 5

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash PART NUMBER DERIVATION Memory P89C51X2 9 = Flash 1 = 128 BYTES RAM 4 KBYTES FLASH 2 = 256 BYTES RAM 8 KBYTES FLASH 4 = 256 BYTES RAM 16 KBYTES ...

Page 6

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash BLOCK DIAGRAM 16K / 32 KBYTE CODE FLASH 128 / 256 BYTE DATA RAM PORT 3 CONFIGURABLE I/Os PORT 2 CONFIGURABLE I/Os PORT 1 ...

Page 7

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash BLOCK DIAGRAM 2 (CPU-ORIENTED RAM ADDR RAM REGISTER B ACC REGISTER PSEN ALE/PROG TIMING AND CONTROL RST PD OSCILLATOR XTAL1 XTAL2 2002 Jun ...

Page 8

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash LOGIC SYMBOL XTAL1 XTAL2 RST EA/V PP PSEN ALE/PROG RxD TxD INT0 INT1 PLASTIC DUAL IN-LINE PACKAGE PIN CONFIGURATIONS T2/P1 ...

Page 9

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash PIN DESCRIPTIONS PIN NUMBER MNEMONIC DIP PLCC LQFP TYPE NAME AND FUNCTION P0.0-0.7 39–32 43–36 37–30 I/O P1.0–P1.7 1–8 ...

Page 10

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Table 1. Special Function Registers DIRECT SYMBOL DESCRIPTION ADDRESS ACC* Accumulator E0H AUXR# Auxiliary 8EH AUXR1# Auxiliary 1 A2H B* B register F0H CKCON Clock Control Register 8FH DPTR: Data Pointer ...

Page 11

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash FLASH EPROM MEMORY General Description The P89C51X2/P89C52X2/P89C54X2/P89C58X2 FLASH reliably stores memory contents even after 10,000 erase and program cycles. The cell is designed to optimize the erase and programming mechanisms. In ...

Page 12

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Power-Down Mode To save even more power, a Power Down mode (see Table 3) can be invoked by software. In this mode, the oscillator is stopped and the instruction that invoked ...

Page 13

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Mode 3 is provided for applications requiring an extra 8-bit timer on the counter. With Timer 0 in Mode 3, an 80C51 can look like it has three Timer/Counters. When Timer ...

Page 14

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash TCON Address = 88H Bit Addressable 7 TF1 TR1 BIT SYMBOL FUNCTION TCON.7 TF1 Timer 1 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when processor vectors to ...

Page 15

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash OSC d* T0 Pin TR0 Timer 0 Gate bit INT0 Pin OSC 6-clock mode 12-clock mode. Figure 5. Timer/Counter 0 Mode 3: ...

Page 16

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Table 4. Timer 2 Operating Modes RCLK + TCLK CP/RL2 T2CON Address = C8H Bit Addressable 7 6 TF2 EXF2 Symbol Position Name ...

Page 17

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash OSC Pin Transition Detector T2EX Pin Control EXEN2 * 6-clock mode 12-clock mode. T2MOD Address = ...

Page 18

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash OSC Pin TRANSITION DETECTOR T2EX PIN EXEN2 * 6-clock mode 12-clock mode. Figure 9. Timer 2 ...

Page 19

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash 6-clock mode 12-clock mode. OSC Pin Transition Detector T2EX Pin EXEN2 Note availability of additional ...

Page 20

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Table 5. Timer 2 Generated Commonly Used Baud Rates Baud Rate Osc Freq 12-clk 6-clk RCAP2H mode mode 375 K 750 K 12 MHz 9 MHz 4.8 ...

Page 21

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash FULL-DUPLEX ENHANCED UART Standard UART operation The serial port is full duplex, meaning it can transmit and receive simultaneously also receive-buffered, meaning it can commence reception of a second ...

Page 22

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash SCON Address = 98H Bit Addressable SM0 Where SM0, SM1 specify the serial port mode, as follows: SM0 SM1 Mode Description shift register 8-bit UART ...

Page 23

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash shifted to the left one position. The value that comes in from the right is the value that was sampled at the P3.0 pin at S5P2 of the same machine cycle. ...

Page 24

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Write to SBUF Serial Port Interrupt REN ...

Page 25

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Timer 1 Overflow Write 2 to SBUF SMOD = 1 SMOD = 0 16 Serial Port Interrupt Sample 1-to-0 Transition Detector RxD TX Clock Write to SBUF Send Data S1P1 Shift ...

Page 26

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Write to SBUF Phase 2 Clock (1 OSC 12-clock mode 6-clock OSC mode) Mode 2 16 SMOD = 1 Serial 2 Port Interrupt SMOD = 0 (SMOD ...

Page 27

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Timer 1 Overflow Write 2 to SBUF SMOD = 1 SMOD = 0 16 Serial Port Interrupt Sample 1-to-0 Transition Detector RxD TX Clock Write to SBUF Send Data S1P1 Shift ...

Page 28

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Enhanced UART operation In addition to the standard operation modes, the UART can perform framing error detect by looking for missing stop bits, and automatic address recognition. The UART also fully ...

Page 29

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash SCON Address = 98H Bit Addressable 7 6 SM0/FE SM1 (SMOD0 = 0/1)* Symbol Position Function FE SCON.7 Framing Error bit. This bit is set by the receiver when an invalid ...

Page 30

Philips Semiconductors 80C51 8-bit Flash 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 ...

Page 31

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Interrupt Priority Structure 0 INT0 IT0 IE0 1 TF0 0 IE1 INT1 IT1 1 TF1 TI RI TF2, EXF2 Figure 21. Interrupt Sources Interrupts The devices described in this data sheet ...

Page 32

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash IE Address = 0A8H Bit Addressable 7 EA — Enable Bit = 1 enables the interrupt. Enable Bit = 0 disables it. BIT SYMBOL FUNCTION IE.7 EA Global disable bit. If ...

Page 33

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash . . . . . . . . . C1 S5P2 Interrupt Interrupt Goes Latched Active This is the fastest possible ...

Page 34

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash An interrupt will be serviced as long as an interrupt of equal or higher priority is not already being serviced interrupt of equal or higher level priority is being ...

Page 35

Philips Semiconductors 80C51 8-bit Flash 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 ...

Page 36

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash DC ELECTRICAL CHARACTERISTICS + – + amb CC SYMBOL PARAMETER 11 V Input low voltage IL V Input high voltage ...

Page 37

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash AC ELECTRICAL CHARACTERISTICS (12-CLOCK MODE + – + amb Symbol Figure Parameter 1/t 31 Oscillator frequency CLCL t 27 ...

Page 38

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash AC ELECTRICAL CHARACTERISTICS (6-CLOCK MODE + – + amb Symbol Figure Parameter 1/t 31 Oscillator frequency CLCL t 27 ...

Page 39

Philips Semiconductors 80C51 8-bit Flash 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 ...

Page 40

Philips Semiconductors 80C51 8-bit Flash 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 ...

Page 41

Philips Semiconductors 80C51 8-bit Flash 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 ...

Page 42

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash V CC RST (NC) XTAL2 CLOCK SIGNAL XTAL1 V SS Figure 35. I Test Condition, Active Mode CC All other pins are disconnected V CC 0.45V Figure 37. Clock Signal Waveform ...

Page 43

Philips Semiconductors 80C51 8-bit Flash 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 P89C51X2/P89C52X2/P89C54X2/P89C58X2 has 3 programmable ...

Page 44

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash DIP40: plastic dual in-line package; 40 leads (600 mil) 2002 Jun 06 P89C51X2/52X2/54X2/58X2 44 Preliminary data SOT129-1 ...

Page 45

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash PLCC44: plastic leaded chip carrier; 44 leads 2002 Jun 06 P89C51X2/52X2/54X2/58X2 45 Preliminary data SOT187-2 ...

Page 46

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash LQFP44: plastic low profile quad flat package; 44 leads; body 1.4 mm 2002 Jun 06 P89C51X2/52X2/54X2/58X2 46 Preliminary data SOT389-1 ...

Page 47

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash REVISION HISTORY Date CPCN 2002 Jun 06 9397 750 09928 2002 Feb 28 9397 750 09537 2002 Jun 06 P89C51X2/52X2/54X2/58X2 Description Added device comparison table Initial release 47 Preliminary data ...

Page 48

Philips Semiconductors 80C51 8-bit Flash microcontroller family 4K/8K/16K/32K Flash Data sheet status Product Definitions [1] Data sheet status [2] status Objective data Development This data sheet contains data from the objective specification for product development. Philips Semiconductors reserves the right ...

Related keywords