E2E1024-27-Y4 ¡ Semiconductor MSM85C154HVS ¡ Semiconductor This version: Jan. 1998 MSM85C154HVS Previous version: Nov. 1996 MSM83C154S Piggy Back GENERAL DESCRIPTION The MSM85C154HVS is an 8-bit microcontroller that has been developed assuming that it is used for evaluation of programs of MSM83C154S. ES (Engineering Sample) only. FEATURES • Operating range Operating frequency Operating voltage Operating temperature • Fully static circuit • On-chip program memory • On-chip data memory • External program memory address space • External data memory address space • I/O port (Port 1, 2, 3, impedance programmable) • 16-bit timer/counters • Multifunctional serial port : 1 to 22 MHz (16 to 22 MHz is recommended for program development) : 4.75 to 5.25 V (Use MSM85C154VS for 1 to 16 MHz) : Room temperature : : : : 16K ¥ 8-bit ROM (EPROM) 256 ¥ 8-bit RAM 64 Kbytes 64 Kbytes : : : : 4 ports ¥ 8 bits 3 I/O Expansion mode UART mode (featuring error detection) • 6-source 2-priority level Interrupt and multi-level Interrupt available by programming IP and IE registers • Memory-mapped special function registers • Bit addressable data memory and SFRs • Minimum instruction cycle : 545 ns @ 22 MHz operation • "Multiply"/"divide" instruction cycle : 2.18 ms @ 22 MHz operation • Standby functions : Power-down mode (oscillator stop) Activated by software or hardware; providing ports with floating or active status The software power-down stet mode is terminated by interrupt signal enabling execution from the interrupted address. • Package 40-pin ceramic Piggyback (ADIP40-C-600-2.54) (Product name: MSM85C154HVS) 1/15 DPH P2.7 CONTROL SIGNAL R/W EPROM PORT 0 A0-A13 P0.0 PCHL P0.7 XTAL1 ALE PSEN D0-7 SP IR AIR C-ROM IOCON EA PCL PCON OSC AND TIMING XTAL2 PLA SPECIAL FUNCTION REGISTER ADDRESS DECODER 16K words ¥ 8 bits PCLL PCH DPL SIGNAL ¡ Semiconductor PORT 2 SOCKET BLOCK DIAGRAM P2.0 T2CON RESET TL2 TH2 R/W AMP ACC 256 words ¥ 8 bits P1.0 PORT 1 TIMER/ COUNTER 2 RCAP2L TR1 TR2 RAMDP RCAP2H BR PSW ALU P1.7 PORT 3 P3.7 TH1 TL1 TH0 TL0 TIMER/COUNTER 0 & 1 TMOD TCON IE INTERRUPT IP SBUF(T) SBUF(R) SERIAL IO SCON 2/15 MSM85C154HVS P3.0 ¡ Semiconductor MSM85C154HVS PIN CONFIGURATION (TOP VIEW) P1.0/T2 1 P1.1/T2EX 2 A12 P1.2 3 A7 P1.3 4 P1.4 5 P1.5 P1.6 VCC 40 VCC (VCC) PGM 39 P0.0 A13 38 P0.1 A6 A8 37 P0.2 A5 A9 36 P0.3 6 A4 A11 35 P0.4 7 A3 VSS (OE) 34 P0.5 P1.7 8 A2 A10 33 P0.6 RESET 9 A1 CE 32 P0.7 P3.0/RXD 10 P3.1/TXD 11 A0 O7 O0 O6 31 30 EA ALE P3.2/INT0 12 O1 O5 29 PSEN P3.3/INT1 13 O2 O4 28 P2.7 GND (VSS) O3 VPP (VCC) 27 P2.6 P3.5/T1/HPDI 15 26 P2.5 P3.6/WR 16 25 P2.4 P3.7/RD 17 XTAL2 18 24 23 P2.3 P2.2 XTAL1 19 22 P2.1 VSS 20 21 P2.0 0.46±0.10 f 0.25 M 2.54 2.54MIN 0.95MIN 7.6MAX P3.4/T0 14 40-Pin Package (Piggy back) 3/15 ¡ Semiconductor MSM85C154HVS ABSOLUTE MAXIMUM RATINGS Parameter Power Supply Voltage Input Voltage Storage Temperature Symbol Condition Rating Unit VCC Ta=25°C –0.5 to 7 V VI Ta=25°C –0.5 to VCC+0.5 V TSTG — –55 to +150 °C RECOMMENDED OPERATING CONDITIONS Parameter Power Supply Voltage *1 Oscillation Frequency External Clock Operating Frequency Ambient Temperature Symbol Condition Range Unit VCC See below. 4.75 to 5.25 V VOSC See below. 1 to 22 MHz fEXTCLK See below. 0 to 22 MHz Ta — room temp °C *1 Depends on the specification for crystal or ceramic resonator. 1 12 5 4 tCY (ms) 3 3 2 6 1 12 0.6 0.545 20 22 2 2.2 3 4 4.75 5 5.25 fOSC fEXTCLK (MHz) 6 Power Supply Voltage VCC (V) 4/15 ¡ Semiconductor MSM85C154HVS ELECTRICAL CHARACTERISTICS DC Characteristics Parameter Input Low Voltage Symbol VIL Condition — Except XTAL1, EA, (VCC=4.75 to 5.25V, VSS=0V, Ta=room temp) MeasMin. Typ. Max. Unit uring circuit –0.5 — 0.2 VCC–0.1 V 0.2 VCC+0.9 — VCC+0.5 V Input High Voltage VIH Input High Voltage VIH1 XTAL1, RESET and EA 0.7 VCC — VCC+0.5 V VOL IOL=1.6 mA — — 0.45 V VOL1 IOL=3.2 mA — — 0.45 V Output Low Voltage (PORT 1, 2, 3) Output Low Voltage (PORT 0, ALE, PSEN) and RESET IOH=–60 mA Output High Voltage (PORT 1, 2, 3) VOH 2.4 — — V IOH=–30 mA 0.75 VCC — — V IOH=–10 mA 0.9 VCC — — V 2.4 — — V IOH=–150 mA 0.75 VCC — — V IOH=–40 mA 0.9 VCC — — V –5 –60 –80 mA VCC=5 V±10% IOH=–400 mA Output High Voltage (PORT 0, ALE, PSEN) Logical 0 Input Current/ Logical 1 Output Current/ (PORT 1, 2, 3) Logical 1 to 0 Transition Current (PORT 1, 2, 3) Input Leakage Current (PORT 0 floating, EA) RESET Pulldown Resistor VOH1 IIL / IOH 1 VCC=5 V±10% VI=0.45V VO=0.45V 2 ITL VIL=2.0V — –240 –500 mA ILI VSS < VI < VCC — — ±10 mA 3 RRST — 20 40 125 kW 2 — — 10 pF — — 1 50 mA 4 Pin Capacitance CIO Power Down Current IPD Ta=25°C, f=1 MHz (except XTAL1) — 5/15 ¡ Semiconductor MSM85C154HVS Maximum power supply current normal operation ICC (mA) VCC 4.75V 5V 5.25V 1 MHz 2.2 3.1 4.1 3 MHz 3.9 5.2 7.0 12 MHz 15.0 16.0 17.0 16 MHz 19.0 20.0 22.0 22 MHz 25.0 27.0 29.0 Freq Maximum power supply current idle mode ICC (mA) VCC 4.75V 5V 5.25V 1 MHz 0.8 1.2 1.6 3 MHz 1.2 1.7 2.3 12 MHz 4.1 4.4 4.8 16 MHz 5.1 5.5 6.0 22 MHz 6.5 7.0 7.5 Freq Note: The values of Power-down current, operating current, and IDLE current do not include the current dissipated by EPROM. 6/15 ¡ Semiconductor MSM85C154HVS Measuring circuits 1 2 A IO VCC INPUT V (*1) OUTPUT VIL (*2) OUTPUT INPUT VIH (*3) VCC V A VSS VSS 3 4 A A VIL OUTPUT V INPUT INPUT VSS VCC VIH (*3) (*2) OUTPUT VIL (*3) VCC VIH VSS *1: Repeated for specified input pins. *2: Repeated for specified output pins. *3: Input logic for specified status. 7/15 ¡ Semiconductor MSM85C154HVS AC Characteristics External program memory access AC characteristics VCC = 4.75 to 5.25V, VSS = 0V, Ta = room temp PORT 0, ALE, and PSEN connected with 100 pF load, other connected with 80 pF load Variable clock from*1 Parameter Symble Unit 1 to 22 MHz Min. Max. XTAL1, XTAL 2 Oscillation Cycle tCLCL 45.5 1000 ns ALE Signal Width tLHLL 2tCLCL-40 — ns tAVLL 1tCLCL-15 — ns tLLAX 1tCLCL-35 — ns tLLPL — 4tCLCL-100 ns tLLPL 1tCLCL-30 — ns tPLPH 3tCLCL-35 — ns tPLIV — 3tCLCL-45 ns tPXIX 0 — ns tPXIZ — 1tCLCL-20 ns tAVIV — 5tCLCL-105 ns tAZPL 0 — ns tPXAV 1tCLCL-20 — ns Address Setup Time (to ALE Falling Edge) Address Hold Time (from ALE Falling Edge) Instruction Data Read Time (from ALE Falling Edge) From ALE Falling Edge to PSEN Falling Edge PSEN Signal Width Instruction Data Read Time (from PSEN Falling Edge) Instruction Data Hold Time (from PSEN Rising Edge) Bus Floating Time after Instruction Data Read (from PSEN Rising Edge) Instruction Data Read Time (from Address Output) Bus Floating Time(PSEN Rising Edge from Address float) Address Output Time from PSEN Rising Edge *1 The variable check is from 0 to 22 MHz when the external check is used. 8/15 ¡ Semiconductor MSM85C154HVS External program memory read cycle tLHLL ALE tAVLL tLLPL tPLPH tLLIV tPLIV PSEN tPXAV tPXIZ tLLAX tAZPL PORT0 tPXIX INSTR IN A0 to A7 A0 to A7 tAVIV PORT2 A8 to A15 A8 to A15 A8 to A15 9/15 ¡ Semiconductor MSM85C154HVS External data memory access AC characteristics VCC = 4.75 to 5.25V, VSS = 0V, Ta = room temp PORT 0, ALE, and PSEN connected with 100 pF load, other connected with 80 pF load Variable clock from*1 Parameter Symble Unit 1 to 22 MHz Min. Max. XTAL1, XTAL2 Oscillator Cycle tCLCL 45.5 1000 ns ALE Signal Width tLHLL 2tCLCL-40 — ns tAVLL 1tCLCL-15 — ns tLLAX 1tCLCL-35 — ns RD Signal Width tRLRL 6tCLCL-100 — ns WR Signal Width tWLWH 6tCLCL-100 — ns tRLDV — 5tCLCL-105 ns tRHDX 0 — ns tRHDZ — 2tCLCL-70 ns tLLDV — 8tCLCL-100 ns tAVDV — 9tCLCL-105 ns tLLWL 3tCLCL-40 3tCLCL+40 ns tAVWL 4tCLCL-70 — ns WR Output Time from Data Output tQVWX 2tCLCL-40 — ns Time from Data to WR Rising Edge tQVWH 7tCLCL-105 — ns tWHQX 2tCLCL-50 — ns tRLAZ 0 — ns tWHLH 1tCLCL-30 1tCLCL+40 ns Address Setup Time (to ALE Falling Edge) Address Hold Time (from ALE Falling Edge) RAM Data Read Time (from RD Signal Falling Edge) RAM Data Read Hold Time (from RD Signal Rising Edge) Data Bus Floating Time (from RD Signal Rising Edge) RAM Data Read Time (from ALE Signal Falling Edge) RAM Data Read Time (from Address Output) RD/WR Output Time from ALE Falling Edge RD/WR Output Time from Address Output Data Hold Time (from WR Rising Edge) Time from to Address Float RD Output Time from RD/WR Rising Edge to ALE Rising Edge *1 The variable check is from 0 to 22 MHz when the external check is used. 10/15 ¡ Semiconductor MSM85C154HVS External data memory read cycle tWHLH tLHLL ALE PSEN tLLDV tLLWL tRLRH RD tRHDZ tAVLL tLLAX tRLDV tRHDX tAZRL PORT 0 PORT 2 INSTR IN PCH A0 to A7 PCL A0 to A7 Rr or DPL tAVWL A8 to A15 PCH A0 to A7 PCL DATA IN tAVDV P2.0 to P2.7 DATA or A8 to A15 DPH A8 to A15 PCH External data memory write cycle tWHLH tLHLL ALE PSEN tLLWL tWLWH WR tAVLL tLLAX tQVWH tQVWX PORT 0 INSTR IN A0 to A7 PCL A0 to A7 Rr or DPL tWHQX DATA (ACC) A0 to A7 PCL tAVWL PORT 2 A8 to A15 PCH A8 to A15 PCH P2.0 to P2.7 DATA or A8 to A15 DPH A8 to A15 PCH 11/15 ¡ Semiconductor MSM85C154HVS Serial port (I/O extension mode) AC characteristics (VCC = 4.75 to 5.25V, VSS = 0V, Ta = room temp) Parameter Symbol Min. Max. Unit tXLXL 12tCLCL — ns Output Data Setup to Clock Rising Edge tQVXH 10tCLCL-133 — ns Output Data Hold After Clock Rising Edge tXHQX 2tCLCL-75 — ns Input Data Hold After Clock Rising Edge tXHDX 0 — ns Clock Rising Edge to Input Data Valid tXHDV — 10tCLCL-133 ns Serial Port Clock Cycle Time 12/15 ¡ Semiconductor MACHINE CYCLE ALE tXLXL SHIFT CLOCK tQVXH tXHQX OUTPUT DATA tXHDX tXHDV VALID VALID VALID VALID VALID VALID VALID VALID 13/15 MSM85C154HVS INPUT DATA ¡ Semiconductor MSM85C154HVS AC characteristics measuring conditions 1. Input/output signal VOH VIH VOH VIH TEST POINT VIL VOL * VIL VOL The input signals in AC test mode are either VOH (logic "1") or VOL (logic "0") input signals where logic "1" corresponds to a CPU output signal waveform measuring point in excess of VIH, and logic "0" to a point below VIL. 2. Floating VOH VOL * Floating VIH VIH VIL VIL VOH VOL The port 0 floating interval is measured from the time the port 0 pin voltage drops below VIH after sinking to GND at 2.4 mA when switching to floating status from a "1" output, and from the time the port 0 pin voltage exceeds VIL after connecting to a 400 mA source when switching to floating status from a "0" output. XTAL1 external clock input waveform conditions Parameter Symbol Min. Max. Unit 1/tCLCL 0 22 MHz Clock Pulse width 1 tCHCx 15 — ns Clock Pulse width 2 tCLCX 15 — ns Rise Time tCLCH — 5 ns Fall Time tCHCL — 5 ns External Clock Freq. External clock drive waveform VCC - 0.5 0.45 V 0.7VCC 0.2VCC - 0.1 tCHCX tCHCL tCLCX tCLCH tCLCL NC EXTERNAL OSCILLATOR SIGNAL XTAL2 XTAL1 VSS 14/15 ¡ Semiconductor MSM85C154HVS PACKAGE DIMENSIONS (Unit : mm) ADIP40-C-600-2.54 Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 15/15