Document
Philips Semiconductors
Product specification
ROMless 8-bit microcontroller
OM5202
DESCRIPTION
The OM5202 8-Bit ROMless Microcontroller is manufactured in an advanced CMOS process and is a derivative of the 80C51 microcontroller family. The OM5202 has the same instruction set as the 80C51. See also: – OM5232 — 8K bytes mask programmable ROM – OM5234 — 16k bytes mask programmable ROM – OM5238 — 32K bytes mask programmable ROM This device provides architectural enhancements that make it applicable in a variety of applications for general control systems. The OM5202 contains no read-only program memory, a volatile 256 × 8 read/write data memory, four 8-bit I/O ports, two 16-bit timer/event counters (identical to the timers of the 80C51), a multi-source, two-priority-level, nested interrupt structure, UART and on-chip oscillator and timing circuits. The OM5202 can be expanded with standard TTL compatible memories and logic. The device also functions as an arithmetic processor having facilities for both binary and BCD arithmetic plus bit-handling capabilities. The instruction set consists of over 100 instructions: 49 one-byte, 45 two-byte and 17 three-byte. With a 16MHz crystal, 58% of the instructions are executed in 0.75µs and 40% in 1.5µs. Multiply and divide instructions require 3µs.
PIN CONFIGURATIONS
P1.0 1 P1.1 2 P1.2 3 P1.3 4 P1.4 5 P1.5 6 P1.6 7 P1.7 8 RST 9 RxD/P3.0 10 TxD/P3.1 11 INT0/P3.2 12 INT1/P3.3 13 T0/P3.4 14 T1/P3.5 15 WR/P3.6 16 RD/P3.7 17 XTAL2 18 XTAL1 19 VSS 20 44 DIP 40 V DD 39 P0.0/AD0 38 P0.1/AD1 37 P0.2/AD2 36 P0.3/AD3 35 P0.4/AD4 34 P0.5/AD5 33 P0.6/AD6 32 P0.7/AD7 31 EA 30 ALE 29 PSEN 28 P2.7/A15 27 P2.6/A14 26 P2.5/A13 25 P2.4/A12 24 P2.3/A11 23 P2.2/A10 22 P2.1/A9 21 P2.0/A8
FEATURES
• 80C51 central processing unit • no internal ROM, externally up to 64k bytes • 256 × 8 RAM, expandable externally to 64k bytes • Two standard 16-bit timer/counters • Four 8-bit I/O ports • Two open drain I/O’s (P1.6, P1.7) • Full-duplex UART facilities • Power control modes
– Idle mode – Power-down mode
34
1
33
QFP (SOT307–2) 11 23
12
22
• Operating frequency range: 1.2 to 16 MHz • Operating ambient temperature range: 0 to +70°C
PART NUMBER SELECTION
PHILIPS PART ORDER NUMBER PART MARKING OM5202/FBP OM5202/FBB PACKAGE NUMBER SOT129 SOT307–2
SEE PAGE 2 FOR QFP PIN FUNCTIONS.
TEMPERATURE RANGE °C, PACKAGE 0 to +70, Plastic Dual In–line Package, 40 leads 0 to +70, Plastic Quad Flat Pack, 44 leads
FREQUENCY MHz 1.2 to 16 1.2 to 16
EQUIVALENT TYPES
Details are as specified by the data sheet for the equivalent type: OM5202 = P80C652 without I2C function. OM5232 = P83C652 without I2C function. OM5234 = P83C654 without I2C function. OM5238 = P83C528 without I2C function.
December 1994 1
Philips Semiconductors
Product specification
ROMless 8-bit microcontroller
OM5202
QFP PIN FUNCTIONS
44 34
LOGIC SYMBOL
VDDVSS ADDRESS AND DATA BUS ADDRESS BUS RST
1
33
QFP (SOT307–2) 11 23 ALTERNATE FUNCTIONS
XTAL1 XTAL2 EA PSEN ALE
12
22
Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Function P1.5 P1.6 P1.7 RST P3.0/RxD VSS4 P3.1/TxD P3.2/INT0 P3.3/INT1 P3.4/T0 P3.5/T1 P3.6/WR P3.7/RD XTAL2 XTAL1
Pin 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Function VSS1 NC P2.0/A8 P2.1/A9 P2.2/A10 P2.3/A11 P2.4/A12 P2.5/A13 P2.6/A14 P2.7/A15 PSEN ALE VSS2 EA/VPP P0.7/AD7
Pin 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Function P0.6/AD6 P0.5/AD5 P0.4/AD4 P0.3/AD3 P0.2/AD2 P0.1/AD1 P0.0/AD0 VDD VSS3 P1.0 P1.1 P1.2 P1.3 P1.4
RxD TxD INT0 INT1 T0 T1 WR RD
PORT 3
NOTE: 1. Due to EMC improvements, all VSS pins (6, 16, 28, 39) must be connected to VSS.
BLOCK DIAGRAM
FREQUENCY REFERENCE XTAL2 XTAL1 COUNTERS T0 T1
OSCILLATOR AND TIMING
DATA MEMORY (256 x 8 RAM)
TWO 16-BIT TIMER/EVENT COUNTERS
CPU
INTERNAL INTERRUPTS
64K BYTE BUS EXPANSION CONTRTOL
PROGRAMMABLE I/O
PROG SERIAL PORT FULL DUPLEX UART SYNCHRONOUS SHIFT
INT0
INT1
CONTROL
PARALLEL PORTS, ADDRESS/DATA BUS AND I/O PINS
SERIAL IN
SERIAL OUT
EXTERNAL INTERRUPTS
SHARED WITH PORT 3
December 1994
2
PORT 2
PORT 1
PORT 0
Philips Semiconductors
Product specification
ROMless 8-bit microcontroller
OM5202
PIN DESCRIPTIONS
PIN NUMBER MNEMONIC VSS VDD P0.0–0.7 DIP 20 40 39–32 QFP 6, 16, 28, 39 38 37–30 TYPE I I I/O NAME AND FUNCTION Ground: 0V reference. With the QFP package all VSS pins (VSS1 to VSS4) must be connected. Power Supply: This is the power supply voltage for normal, idle, and power-down operation. Port 0: Port 0 is an open-drain, bidirectional I/O port. Port 0 pins that have 1s written to them float and can be used as high-impedance inputs. Port 0 is also the multiplexed low-order address and data bus during accesses to external program and data memory. In this application, it uses strong internal pull-ups when emitting 1s. Port 1: Port 1 is an 8-bit bidirectional I/O port with internal pull-ups, except P1.6 and P1.7 which are open drain. Port 1 pins that have 1s written to them are pulled high by the internal pull-ups and can be us.