¡ Semiconductor: MSM80C85AHRS/GS/JS
¡ Semiconductor: MSM80C85AHRS/GS/JS
¡ Semiconductor: MSM80C85AHRS/GS/JS
¡ Semiconductor
¡ Semiconductor MSM80C85AHRS/GS/JS
MSM80C85AHRS/GS/JS
8-Bit CMOS MICROPROCESSOR
GENRAL DESCRIPTION
The MSM80C85AH is a complete 8-bit parallel; central processor implemented in silicon gate C-MOS
technology and compatible with MSM80C85A.
It is designed with higher processing speed (max.5 MHz) and lower power consumption compared
with MSM80C85A and power down mode is provided, thereby offering a high level of system
integration.
The MSM80C85AH uses a multiplexed address/data bus. The address is split between the 8-bit
address bus and the 8-bit data bus. The on-chip address latch : of a MSM81C55-5 memory product
allows a direct interface with the MSM80C85AH.
FEATURES
35
MSM80C85AHRS/GS/JS ¡ Semiconductor
Power Down
Timing And Control
X1 CLK
GEN Control Status DMA Reset Data/Address
X2 Address Buffer (8)
Buffer (8)
CLK READY RD WR ALE S0 S1 IO / M HOLD HLDA RESET IN RESET OUT A15 - A8 AD7 - AD0
OUT Address Bus Address/Data Bus
36
¡ Semiconductor MSM80C85AHRS/GS/JS
AD4 16 25 A12
35 CLK(OUT)
34 RESET IN
AD5 17 24 A11
37 HOLD
36 HLDA
43 SOD
AD6 18 23 A10
38 VCC
44 SID
39 NC
41 X2
40 X1
AD7 19 22 A9
GND 20 21 A8
TRAP 1 33 READY
RST7.5 2 32 IO/M
RST6.5 3 31 S1
RST5.5 4 30 RD
INTR 5 29 WR
INTA 6 28 ALE
AD0 7 27 S0
AD1 8 26 A15
AD2 9 25 A14
AD3 10 24 A13 44 pin Plastic QFJ
NC 11 23 A12
5
4 RESET OUT
AD4 12
AD5 13
AD6 14
AD7 15
GND 16
VCC 17
A8 18
A9 19
A10 20
A11 21
NC 22
41 CLK(OUT)
40 RESET IN
43 HOLD
42 HLDA
5 SOD
44 VCC
6 SID
1 NC
3 X2
2 X1
TRAP 7 39 READY
RST7.5 8 38 IO/M
RST6.5 9 37 S1
RST5.5 10 36 RD
INTR 11 35 WR
NC 12 34 NC
INTA 13 33 ALE
AD0 14 32 S0
AD1 15 31 A15
AD2 16 30 A14
AD3 17 29 A13
AD4 18
NC 19
AD5 20
AD6 21
AD7 22
GND 23
A8 24
A9 25
A10 26
A11 27
A12 28
37
MSM80C85AHRS/GS/JS ¡ Semiconductor
Symbol Function
A8 - A15 Address Bus: The most significant 8-bits of the memory address or the 8-bits of the I/O address,
(Output, 3-state) 3-stated during Hold and Halt modes and during RESET.
A0 - A7 Multiplexed Address/Data Bus: Lower 8-bits of the memory address (or I/O address) appear on
(Input/Output) the bus during the first clock cycle (T state) of a machine cycle. It then becomes the data bus during
3-state the second and third clock cycles.
ALE Address Latch Enable: It occurs during the first clock state of a machine cycle and enables address to
(Output) get latched into the on-chip latch peripherals. The falling edge of ALE is set to guarantee setup and
hold times for the address information. The falling edge ALE can also be used to strobe the status
information ALE is never 3-state.
S0 , S1 , IO/M Machine cycle status:
(Output) IO/M S1 S0 States IO/M S1 S0 States
0 0 1 Memory write 1 1 1 Interrupt Acknowledge
0 1 0 Memory read . 0 0 Halt = 3-state
1 0 1 I/O write . ¥ ¥ Hold (high impedance)
1 1 0 I/O read . ¥
¥
Reset ¥ = unspecified
0 1 1 Opcode fetch
S1 can be used as an advanced R/W status. IO/M, S0 and S1 become valid at the beginning of
a machine cycle and remain stable throughout the cycle. The falling edge of ALE may be used to latch
the state of these lines.
RD READ control: A low level on RD indicates the selected memory or I/O device is to be read that
(Output, 3-state) the Data Bus is available for the data transfer, 3-stated during Hold and Halt modes and during RESET.
WR WRITE control: A low level on WR indicates the data on the Data Bus is to be written into the selected
(Output, 3-state) memory or I/O location. Data is set up at the trailing edge of WR, 3-stated during Hold and Halt
modes and during RESET.
READY If READY is high during a read or write cycle, it indicates that the memory or peripheral is ready to
(Input) send or receive data. If READY is low, the cpu will wait an integral number of clock cycles for READY
to go high before completing the read or write cycle READY must conform to specified setup and
hold times.
5 HOLD
(Input)
HOLD indicates that another master is requesting the use of the address and data buses.
The cpu, upon receiving the hold request, will relinquish the use of the bus as soon as the completion
of the current bus transfer. Internal processing can continue. The processor can regain the bus only
after the HOLD is removed. When the HOLD is acknowledged, the Address, Data, RD, WR, and IO/M
lines are 3-stated. And status of power down is controlled by HOLD.
HLDA HOLD ACKNOWLEDGE: Indicates that the cpu has received the HOLD request and that it will
(Output) relinquish the bus in the next clock cycle. HLDA goes low after the Hold request is removed.
The cpu takes the bus one half clock cycle after HLDA goes low.
INTR INTERRUPT REQUEST: Is used as a general purpose interrupt. It is sampled on during the next to
(Output) the last clock cycle of an instruction and during Hold and Halt states. If it is active, the Program
Counter (PC) will be inhibited from incrementing and an INTA will be issued. During this cycle
a RESTART or CALL instruction can be inserted to jump to the interrupt service routine.
The INTR is enabled and disabled by software. It is disabled by Reset and immediately after
an interrupt is accepted. Power down mode is reset by INTR.
INTA INTERRUPT ACKNOWLEDGE: Is used instead of (and has the same timing as) RD during
(Output) the instruction cycle after an INTR is accepted.
RST 5.5 RESTART INTERRUPTS: These three inputs have the same timing as INTR except they cause
RST 6.5 an internal RESTART to be automatically inserted.
RST 7.5 The priority of these interrupts is ordered as shown in Table 1. These interrupts have a higher priority
(Input) than INTR. In addition, they may be individually masked out using the SIM instruction.
Power down mode is reset by these interrupts.
TRAP Trap interrupt is a nonmaskable RESTART interrupt. It is recognized at the same timing as INTR or
(Input) RST 5.5 - 7.5. It is unaffected by any mask or Interrupt Disable. It has the highest priority of any
interrupt. (See Table 1.) Power down mode is reset by input of TRAP.
38
¡ Semiconductor MSM80C85AHRS/GS/JS
Symbol Function
Sets the Program Counter to zero and resets the Interrupt Enable and HLDA flip-flops and release
power down mode. The data and address buses and the control lines are 3-stated during RESET and
RESET IN because of the asynchronous nature of RESET IN, the processor's internal registers and flags may be
(Input) altered by RESET with unpredictable results. RESET IN is a Schmitt-triggered input, allowing
connection to an R-C network for power-on RESET delay. The cpu is held in the reset condition as
long as RESET IN is applied.
RESET OUT Indicated cpu is being reset. Can be used as a system reset. The signal is synchronized to
(Output) the processor clock and lasts an integral number of clock periods.
X1 and X2 are connected to a crystal to drive the internal clock generator. X1 can also be an external
X1, X2
clock input from a logic gate. The input frequency is divided by 2 to give the processor's internal
(Input)
operating frequency.
CLK
Clock Output for use as a system clock. The period of CLK is twice the X1, X2 input period.
(Output)
SID Serial input data line. The data on this line is loaded into accumulator bit 7 whenever a RIM instruction
(Input) is executed.
SOD
(Output) Serial output data line. The output SOD is set or reset as specified by the SIM instruction.
Notes: (1) The processor pushes the PC on the stack before branching to the indicated
address.
(2) The address branched to depends on the instruction provided to the cpu when
the interrupt is acknowledged.
39
MSM80C85AHRS/GS/JS ¡ Semiconductor
FUNCTIONAL DESCRIPTION
The MSM80C85AH is a complete 8-bit parallel central processor. It is designed with silicon gate C-
MOS technology and requires a single +5 volt supply. Its basic clock speed is 5 MHz, thus improving
on the present MSM80C85A's performance with higher system speed and power down mode. Also
it is designed to fit into a minimum system of two IC's: The CPU (MSM80C85AH), and a RAM/IO
(MSM81C55-5)
The MSM80C85AH has twelve addressable 8-bit register pairs. Six others can be used interchangeably
as 8-bit registers or 16-bit register pairs. The MSM80C85AH register set is as follows:
The MSM80C85AH uses a multiplexed Data Bus. The address is spilt between the higher 8-bit
Address Bus and the lower 8-bit Address/Data Bus. During the first T state (clock cycle) of a machine
cycle the low order address is sent out on the Address/Data Bus. These lower 8-bits may be latched
externally by the Address Latch Enable signal (ALE). During the rest of the machine cycle the data
bus is used for mamory or I/O data.
The MSM80C85AH provides RD, WR, S0, S1, and IO/M signals for bus control. An Interrupt
Acknowledge signal (INTA) is also provided. Hold and all Interrupts are synchronized with the
processor's internal clock. The MSM80C85AH also provides Serial Input Data (SID) and Serial
Output Data (SOD) lines for a simple serial interface.
5 In addition to these features, the MSM80C85AH has three maskable, vector interrupt pins, one
nonmaskable TRAP interrupt and power down mode with HALT and HOLD.
The MSM80C85AH has 5 interrupt inputs: INTR, RST 5.5 RST 6.5, RST 7.5, and TRAP. INTR is
identical in function to the 8080A INT. Each of the three RESTART inputs, 5.5, 6.5, and 7.5, has a
programmable mask. TRAP is also a RESTART interrupt but it is nonmaskable.
The three maskable interrupts cause the internal execution of RESTART ( saving the program
counter in the stack branching to the RESTART address) it the interrupts are enable and if the
interrupt mask is not set. The nonmaskable TRAP causes the internal execution of a RESTART vector
independent of the state of the interrupt enable or masks. (See Table 1.)
There are two different types of inputs in the restart interrupt. RST 5.5 and RST 6.5 are high level-
sensitive like INTR (and INT on the 8080A) and are recognized with the same timing as INTR. RST
7.5 is rising edge-sensitive.
40
¡ Semiconductor MSM80C85AHRS/GS/JS
For RST 7.5, only a pulse is required to set an internal flip-flop which generates the internal interrupt
request. The RST 7.5 request flip-flop remains set until the request is serviced. Then it is reset
automatically, This flip-flop may also be reset by using the SIM instruction or by issuing a RESET IN
to the MSM80C85AH. The RST 7.5 internal flip-flop will be set by a pulse on the RST 7.5 pin even
when the RST 7.5 interrupt is masked out.
The interrupts are arranged in a flixed priority that determines which interrupt is to be recognized
if more than one is pending, as follows: TRAP-highest priority, RST 7.5, RST 6.5, RST 5.5, INTR-
lowest priority. This priority scheme does not take into account the priority of a routine that was
started by a higher priority interrupt. RST 5.5 can interrupt an RST 7.5 routine if the interrupt are re-
enabled before the end of the RST 7.5 routine.
The TRAP interrupt is useful for catastrophic evens such as power failure or bus error. The TRAP
input is recognized just as any other interrupt but has the highest priority. It is not affected by any
flag or mask. The TRAP input is both edge and level sensitive. The TRAP input must go high and
remain high until it is acknowledged. It will not be recognized again until it goes low, then high again.
This avoids any false triggering due to noise or logic glitches. Figure 3 illustrates the TRAP interrupt
request circuitry within the MSM80C85AH. Note that the servicing of any interrupt (TRAP, RST 7.5,
RST 6.5, RST 5.5,INTR) disables all future interrupts (except TRAPs) until an El instruction is
executed.
The TRAP interrupt is special in that it disables interrupts, but preserves the previous interrupt
enable status. Performing the first RIM instruction following a TRAP interrupt allows you to
determine whether interrupts were enabled or disabled prior to the TRAP. All subsequent RIM
instructions provide current interrupt enable status. Performing a RIM instruction following INTR
or RST 5.5-7.5 will provide current interrupt Enable status, revealing that Interrupts are disabled.
The serial I/O system is also controlled by the RIM and SIM instructions. SID is read by RIM, and
SIM sets the SOD data.
RESET
RESET IN Schmitt TRAP
Trigger
+5 V D CLK Interrupt
Request
Q
D
F/F
Clear
Internal
TRAP F.F
TRAP
Acknowledge
41
MSM80C85AHRS/GS/JS ¡ Semiconductor
You may drive the clock inputs of the MSM80C85AH with a crystal, or an external clock source. The
driving frequency must be at least 1 MHz, and must be twice the desired internal clock frequency;
hence, the MSM80C85AH is operated with a 6 MHz crystal (for 3 MHz clock). If a crystal is used,
it must have the following characteristics:
Note the use of the capacitors between X1, X2 and ground. These capacitors are required to assure
oscillator startup at the correct frequency.
Figure 4 shows the recommended clock driver circuits. Note in B that a pull-up resistor is required
to assure that the high level voltage of the input is at least 4 V.
For driving frequencies up to and including 6 MHz you may supply the driving signal to X, and leave
X2 open-circuited (Figure 4B). To prevent self-oscillation of the MSM80C85AH, be sure that X2 is not
coupled back to X1 through the driving circuit.
X1 MSM80C85AH
X1
C1
CINT = 15 pF VIH > 0.8 VCC
High time > 40 ns
C2
Low time > 40 ns
5 X2 * X2
42
¡ Semiconductor MSM80C85AHRS/GS/JS
The MSM80C85AH has a multiplexed Data Bus. ALE is used as a strobe to sample the lower 8-bits
of address on the Data Bus. Figure 5 shows an instruction fetch, memory read and I/O write cycle
(as would occur during processing of the OUT instruction). Note that during the I/O write and read
cycle that the I/O port address is copied on both the upper and lower half of the address.
There are seven possible types of machine cycles. Which of these seven takes place is defined by the
status of the three status lines (IO/M, S1, S0) and the three control signals (RD, WR,and INTA). (See
Table 2.) The status line can be used as advanced controls (for device selection, for example), since
they become active at the T1 state, at the outset of each machine cycle. Control lines RD and WR
become active later, at the time when the transfer of data is to take place, so are used as command
lines.
A machine cycle normally consists of three T states, with the exception of OPCODE FETCH, which
normally has either four or six T states (unless WAIT or HOLD states are forced by the receipt of
READY or HOLD inputs). Any T state must be one of ten possible states, shown in Table 3.
Status Control
Machine Cycle
IO/M S1 S0 RD WR INTA
Opcode Fetch (OF) 0 1 1 0 1 1
Memory Read (MR) O 1 O O 1 1
Memory Write (MW) O 0 1 1 0 1
I/O Read (IOR) 1 1 O O 1 1
I/O Write (IOW) 1 0 1 1 0 1
Acknowledge of INTR (INA) 1 1 1 1 1 0 5
Bus Idle (BI): DAD 0 1 0 1 1 1
ACK. OF
RST, TRAP 1 1 1 1 1 1
HALT TS 0 0 TS TS 1
43
MSM80C85AHRS/GS/JS ¡ Semiconductor
M1 M2 M3
T1 T2 T3 T4 T1 T2 T3 T1 T2 T3 T
CLK
5
A8-15 PCH (High Order Address) (PC+1)H IO Port
RD
WR
IO/M
44
¡ Semiconductor MSM80C85AHRS/GS/JS
The MSM80C85AH is compatible with the MSM80C85A in function and POWER DOWN mode.
This reduces power consumption further.
There are two methods available for starting this POWER DOWN mode. One is through software
control by using the HALT command and the other is under hardware control by using the pin
HOLD. This mode is released by the HOLD, RESET, and interrupt pins (TRAP, RST7.5, RST6.5
RST5.5, or INTR). (See Table 4.)
Since the sequence of HALT, HOLD, RESET, and INTERRUPT is compatible with MSM80C85A,
every the POWER DOWN mode can be used with no special attention.
Start by means of Halt command Released by using pins RESET and INTERRUPT (not by pin HOLD)
Start by means of HOLD pin Released by using RESET and HOLD pins (not by interrupt pins)
45
MSM80C85AHRS/GS/JS ¡ Semiconductor
M1 M2 M1
T1 T2 T3 T4 T1 THLT TRESET T1 T2
CLK (OUT)
ALE
RESET IN
M1 M2 M1
T1 T2 T3 T4 T1 THLT T1 T2
CLK (OUT)
ALE
RST5.5
5
Figure 7 Started by HALT and Released by RST5.5
M1 M1
T1 T2 T3 T4 THOLD T1 T2
CLK (OUT)
ALE
HOLD
HLDA
46
¡ Semiconductor MSM80C85AHRS/GS/JS
Limits
Parameter Symbol Condition Units
MSM80C85AHRS MSM80C85AHGS MSM80C85AHJS
OPERATING RANGE
DC CHARACTERISTICS
47
MSM80C85AHRS/GS/JS ¡ Semiconductor
AC CHARACTERISTICS
(Ta = –40°C ~ 85°C, VCC = 4.5 V ~ 5.5 V)
Parameter Symbol Condition Min. Max. Unit
CLY Cycle Period tCYC 200 2000 ns
CLY Low Time t1 40 — ns
CLY High Time t2 70 — ns
CLY Rise and Fall Time tr, tf — 30 ns
X1 Rising to CLK Rising tXKR 25 120 ns
X1 Rising to CKK Falling tXKF 30 150 ns
A8~15 Valid to Leading Edge of Control (1) tAC 115 — ns
AD0~7 Valid to Leading Edge of Control tACL 115 — ns
AD0~15 Valid Data in tAD — 350 ns
Address Float After Leading Edge of RD INTA tAFR — 0 ns
A8~15 Valid Before Trailing Edge of ALE (1) tAL 50 — ns
AD0~7 Valid Before Trailing Edge of ALE tALL 50 — ns
READY Valid from Address Valid tARY — 100 ns
Address (A8~15) Valid After Control tCA 60 — ns
Width of Control Law (RD, WR, INTA) tCC 230 — ns
Trailing Edge of Control to Leading Edges of ALE tCL 25 — ns
Data Valid to Trailing Edge of WR tDW 230 — ns
HLDA to Bus Enable tHABE — 150 ns
Bus Float After HLDA tHABF tCYC=200 ns — 150 ns
HLDA Valid to Trailing Edge of CLK tHACK CL=150 pF 40 — ns
HOLD Hold Time tHDH 0 — ns
HOLD Step Up Time to Trailing Edge of CLK tHDS 120 — ns
INTR Hold Time tINH 0 — ns
5 INTR, RST and TRAP Setup Time to Falling Edge of CLK tINS 150 — ns
Address Hold Time After ALE tLA 50 — ns
Trailing Edge of ALE to Leading Edge of Control tLC 60 — ns
ALE Low During CLK High tLCK 50 — ns
ALE to Valid Data During Read tLDR — 270 ns
ALE to Valid Data During Write tLDW — 140 ns
ALE Width tLL 80 — ns
ALE to READY Stable tLRY — 30 ns
Trailing Edge of RD to Re-enabling of Address tRAE 90 — ns
RD (or INTA) to Valid Data tRD — 150 ns
Control Trailing Edge to Leading Edge of Next Control tRV 220 — ns
Data Hold Time After RD INTA (7) tRDH 0 — ns
READY Hold Time tRYH 0 — ns
READY Setup Time to Leading Edge of CLK tRYS 100 — ns
Data Valid After Trailing Edge of WR tWD 60 — ns
LEADING Edge of WR to Data Vaild tWDL — 20 ns
48
¡ Semiconductor MSM80C85AHRS/GS/JS
2.4
2.2 2.2
Test Points
0.8 0.8
0.45
49
MSM80C85AHRS/GS/JS ¡ Semiconductor
X1 INPUT
tr t2 tf
CLK
OUTPUT
tXKR t1
tXKF tCYC
READ OPERATION
T1 T2 T3 T1
CLK
tLCK tCA
A8-A15 Address
tAD tRAE
tRDH
AD0-AD7 Address Data In
tLL tLA
tAFR tCL
ALE tLDR
tAL tRD
tCC
RD / INTA tLC
tAC
5
WRITE OPERATION
T1 T2 T3 T1
CLK
tLCK
A8-A15 Address
tLDW tCA
AD0-AD7 Address Data Out
tLL tLA tDW tWD
tWDL
ALE
tAL
WR tLC tCC
tCL
tAC
50
¡ Semiconductor MSM80C85AHRS/GS/JS
T1 T2 TWAIT T3 T1
CLK
tLCK tCA
A8~A15 Address
tAD tRAE
tRDH
AD0~AD7 Address Data In
tLL tLA
tAFR tCL
ALE tLDR
tAL tRD
tCC
RD / INTA tCL
tAC
tARY tRYS tRYH
READY
tLRY
Note: READY must remain stable during setup and hold times.
HOLD OPERATION
T2 T3 THOLD THOLD T1
CLK
5
HOLD
tHDS tHACK
tHDH
HLDA
tHABF
tHABE
BUS (Address, Controls)
51
MSM80C85AHRS/GS/JS ¡ Semiconductor
T1 T2 T4 T5 T6 THOLD T1 T2
A8-15
RD
INTA
tHABE
INTR
tINS tINH
HOLD
tHDS tHDH
HLDA
tHACK tHABF
52
¡ Semiconductor MSM80C85AHRS/GS/JS
53
MSM80C85AHRS/GS/JS ¡ Semiconductor
54
¡ Semiconductor MSM80C85AHRS/GS/JS
55
MSM80C85AHRS/GS/JS ¡ Semiconductor
SUPPLEMENTARY EXPLANATION
(1) SIM instruction: The execution of the SIM instruction uses the contents of the accumulator to
mask MSM80C85AH’S interrupts.
R7.5 (Reset interrupt 7.5 Flip-flop): When this bit is set to 1, the edge detecting flip-flop of RST
7.5 interrupt is reset.
MSE (Mask Set Enable): When this bit is set to 1, the interrupt mask bits are valid.
M7.5 (Mask RST7.5): When this bit is set to 1 and MSE bit is set to 1, RST7.5 interrupt is masked.
M6.5 (Mask RST6.5): When this bit is set to 1 and MSE bit is set to 1, RST6.5 interrupt is masked.
M5.5 (Mask RST5.5): When this bit is set to 1 and MSE bit is set to 1, RST 5.5 interrupt is masked.
(2) RIM instruction: When the contents of the accumulator are read out after RIM instruction has
been executed, MSM80C85AH interrupt status can be known.
Bit 7 6 5 4 3 2 1 0
— 17.5 16.5 15.5 IE M7.5 M6.5 M5.5
17.5 (Pending RST7.5): When RST7.5 interrupt is pending, "1" is read out.
16.5 (Pending RST6.5): When RST6.5 interrupt is pending, "1" is read out.
5 15.5 (Pending RST5.5): When RST5.5 interrupt is pending, "1" is read out.
IE (Interrupt Enable Flag): When interrupt is Enable, "1" is read out.
M7.5 (Mask RST7.5): When RST7.5 interrupt is masked, "1" is read out.
M6.5 (Mask RST6.5): When RST6.5 interrupt is masked, "1" is read out.
M5.5 (Mask RST5.5): When RST5.5 interrupt is masked ,"1" is read out.
56