Intel iSBC 80/30 - progetto-SNAPS · The iSBC 80/30 Single Board Computer, which is a member of...
Transcript of Intel iSBC 80/30 - progetto-SNAPS · The iSBC 80/30 Single Board Computer, which is a member of...
iSBC 80/30 SINGLE BOARD COMPUTER
HARDWARE REFERENCE MANUAL
Manual Order Number: 9800611 A
l
Copyrightf 1978 Intel Corporation
I Intel Corporation. 3065 Bowers Avenue, Santa Clara, California 95051 I
ii
The information in this document is subject to change without notice.
Intel Corporation makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Intel Corporation assumes no responsibility for any errors that may appear in this document. Intel Corporation makes no commitment to update nor to keep current the information contained in this document.
No part of this document may be copied or reproduced in any form or by any means without the prior written consent of -Intel Corporation.
The following are trademarks of Intel Corporation and may be used only to describe Intel products:
ICE INSITE INTEL INTELLEC iSBC
LIBRARY MANAGER MCS MEGACHASSIS MICROMAP MULTI BUS
PROMPT RMX UPI "SCOPE
Printed in U.S.A./852/067817.5K TL
PREFACE
This manual provides general information, installation, programming information, principles of operation, and service information for the Intel iSBC 80/30 Single Board Computer. Additional information is available in the following documents:
• Intel MCS-85 User's Manual, Order No. 98-366
• Intel UPI-41 User's Manual, Order No. 9800504
• Intel 8080/8085 Assembly Language Programming Manual, Order No. 9800301
• Intel 8255A Programmable Peripheral Interface, Application Note AP-15
• Intel 8251 Universal Synchronous/Asynchronous Receiver/Transmitter, Application Note AP-16
• Intel MULTIBUS Interfacing, Application Note AP-28
• Intel 8259 Programmable Interrupt Controller, Application Note AP-31
iii
CHAPTER 1 GENERAL INFORMATION PAGE Introduction .............. : . . . . . . . . . . . . . . . . . . . . .. 1-1 Description ..................................... 1-1 System Software Development .............. ' ....... 1-3 Equipment Supplied . . . . . . . . . . . . ... . . . . . . . . . . . . . . .. 1-4 Equipment Required . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 1-4 Specifications ................................... 1-4
CHAPTER 2 PREPARATION FOR USE Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2-1 Unpacking and Inspection ......................... 2-1 Installation Considerations . . . . . . . . . . . . . . . . . . . . . . . .. 2-1
User-Furnished Components ..................... 2-1 Power Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . .. 2-1 Cooling Requirement .. . . . . . . . . . . . . . . . . . . . . . . . .. 2-1 Physical Dimensions ............................ 2-1
Component Installation ............................ 2-3 ROM/EPROM Chips ........................... 2-3 Universal Peripheral Interface .................... 2-4 Line Drivers and I/O Terminators . . . . . . . . . . . . . . . .. 2-4 Rise Time/Noise Capacitors ...................... 2-4
Jumper Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2-4 ROM/EPROM Configuration ..................... 2-4 On-Board RAM Addresses ...................... 2-4
On-Board 8085A Access ...................... 2-7 System Access .............................. 2-7
Priority Interrupts .............................. 2-8 8251A Port Configuration ....................... 2-12 8255A Port Configuration ....................... 2-12 8041/8741A Port Configuration ................... 2-12
Multibus Configuration ........................... 2-15 Signal Characteristics ........................... 2-15 Serial Priority Resolution ........................ 2-23 Parallel Priority Resolution ...................... 2-24
Power Fail/Memory Protect Configuration ............ 2-24 Parallel I/O Cabling .............................. 2-27 Serial I/O Cabling ................................ 2-27 Board Installation ................................ 2-29
CHAPTER 3 PROGRAMMING INFORMATION Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3-1 Failsafe Timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3-1 Memory Addressing .............................. 3-1 I/O Addressing .................................. 3-2 System Initialization .............................. 3-2 8251A USART Programming ...................... 3-3
Mode Instruction Format ........................ 3-3 Sync Characters ............................... 3-3 Command Instruction Format .................... 3-3 Reset ........................................ 3-4 Addressing ................................... 3-4 Initialization .................................. 3-4
iv
CONTENTS
PAGE Operation ..................................... 3-5
Data Input/Output ............................ 3-5 Status Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3-6
8253 PIT Programming ........................... 3-6 Mode Control Word and Count ................... 3-7 Addressing ................................... 3-10 Initialization .................................. 3-10 Operation ..................................... 3-11
Counter Read ............................... 3-11 Clock Frequency/Divide Ratio Selection .......... 3-11 Rate Generator/Interval Timer .................. 3-12 Interrupt Timer .............................. 3-12
8255A PPI Programming .......................... 3-13 Control Word Format ........................... 3-13 Addressing ................................... 3-14 Initialization .................................. 3 -14 Operation ..................................... 3-14
Read Operation .............................. 3-14 Write Operation ............................. 3-14
8259A PIC Programming .......................... 3-14 Interrupt Priority Modes ......................... 3-14
Fully Nested Mode ........................... 3-14 Auto-Rotating Mode .......................... 3-15 Specific Rotating Mode ....................... 3-15
Interrupt Mask ................................ 3-15 Status Read ................................... 3-15 Initialization Command Words ................... 3-15 Operation Command Words ...................... 3-16 Addressing ................................... 3-16 Initialization .................................. 3 -16 Operation ..................................... 3-16
8041/8741A UPI Programming ..................... 3-17 Interrupt Handling ............................... 3-22
TRAP Input ................................... 3-22 RST 7.5, 6.5, 5.5 Inputs ........................ 3-23 INTR Input ................................... 3 -23
CHAPTER 4 PRINCIPLES OF OPERATION Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-1 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-1
Clock Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-1 Central Processor Unit . . . . . . . . . . . . . . . . . . . . . . . . .. 4-1 Interval Timer. . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . .. 4-1 Serial I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-1 Parallel I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-1 Universal Peripheral Interface .. . . . . . . . . . . . . . . . . .. 4-2 Interrupt Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-2 ROM/EPROM Configuration. . . . . . . . . . . . . . . . . . . .. 4-2 RAM Configuration ............................ 4-2 Bus Interface .................................. 4-2 Dual-Port Control .............................. 4-2
Circuit Analysis ................... ' ............. ; .... '. 4-2
PAGE
Initialization ........ -.......................... 4-2 Clock Circuits ................................. 4-3 SOS5A CPU Timing .... '" ..................... 4-3
Instruction Timing ........................... 4-3 Opcode Fetch Timing. . . . . . . . . . . . . . . . . . . . . . . .. 4-4 Memory Read Timing ........................ 4-6 I/O Read Timing ............................. 4-6 Memory Write Timing ........................ 4-6 I/O Write Timing ............................ 4-7 Interrupt Acknowledge Timing ................. 4-7
Address Bus .................................. 4-9 Bus Time Out ................................. 4-9 Data Bus ..................................... '4-9 Read/Write Signal Generation . . . . . . . . . . . . . . . . . . .. 4-9
I/O Control Signals. . . . . . . . . . . . . . . . . . . . . . . . . .. 4-9 Memory Control Signals ...................... 4-9
_ Dual Port Control Logic. . . . . . . . . . . . . . . . . . . . . . . .. 4-9 Bus Access Timing .......................... .4-12 CPU Access Timing ......................... .4-12
Multibus Interface ............................. .4-12 I/O Operation ................................ .4-13
TABLE
1-1. 2-1. 2-2. 2-3. 2-4. 2-5. 2-6.
2-7. 2-8. 2-9. 2-10.
2-11. 2-12. 2-13. 2-14.
TITLE PAGE
Specifications ........................... 1-4 User-Furnished and Installed Components .... 2-2 User-Furnished Connector Details ........... 2-3 Line Driver and I/O Terminator Locations .... 2-4 Jumper Selectable Options. . . . . . . . . . . . . . . .. 2-5 ROM/EPROM Configuration Jumpers ....... 2-7 Jumper Configuration for On-Board
8085A CPU Access of On-Board RAM .... 2-7 65K Page System Memory Selection ........ 2-S SK/16K Block Selection Within 65K Page .... 2-S Priority Interrupt Jumper Matrix ............ 2-11 Connector 13 Pin Assignments Vs.
Jumper Configuration ................... 2-12 8255A Port Configuration Jumpers .......... 2-13 Multibus Connector PI Pin Assignments ..... 2-16 Multibus Signal Functions ................. 2-17 iSBC 80/30 DC Characteristics ............. 2-18
CONTENTS (Continued)
PAGE
On-Board I/O Operation ..................... .4-13 System I/O Operation ........................ .4-13
ROM/EPROM Operation ........ ' ............... .4-13 RAM Operation .............................. .4-14
RAM Controller ............................ .4-14 On-Board Read/Write Operation ............... .4-14 Bus Read/Write Operation .................... .4-14
Interrupt Operation ............................ .4-15
CHAPTER 5 SERVICE INFORMATION Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-1 Replaceable Parts ............................ ; ... 5-1 Service Diagrams ................................ 5-1 Service and Repair Assistance ...................... 5-1
APPENDIX A 8085 INSTRUCTION SET
APPENDIX B TELETYPEWRITER MODIFICATIONS
TABLE
2-15.
2-16. 2-17. 2-18.
2-19. 2-20. 2-21.
2-22. 3-1. 3-2. 3-3.
3-4.
TABLES
TITLE PAGE
lSBC 80/30 'At Characteristics (Master Mode) ........................ 2-21
iSBC SO/3~ AC Characteristics (Slave Mode) .2-21 AuxHiary Connector P2 Pin Assignments ..... 2-26 Auxiliary Signal (Connector P2)
DC Characteristics ..................... 2-26 Connector 11 Pin Assignments ............. 2-27 Connector 12 Pin Assignments ............. 2-27 Parallel I/O Signal (Connector 11/12)
DC Characteristics ..................... 2-2S Connector 13 Vs. RS232C Pin COITl!spondence2-29 On-Board Memory Address (for CPU Access) 3-1 I/O Address Assignments .........•........ 3-2 Typical USART Mode or Command
Instruction Subroutine .................. 3-5 Typical USART Data Character
Read Subroutine ....................... 3-6
v
TABLE
3-5.
3-6. 3-7. 3-8. 3-9. 3-10. 3-11.
3-12.
3-13. 3-14. 3-15. 3-16. 3-17.
FIGURE
1-1. 2-1.
2-2.
2-3. 2-4. 2-5. 2-6. 3-1.
3-2.
3-3.
3-4.
3-5. 3-6.
. 3-7. 3-8. 3-9. 3-10.
3-11.
vi
TITLE PAGE
Typical USART Data Character Write Subroutine ....................... 3-6
Typical USART Status Read Subroutine ..... 3-7 PIT Counter Operation Vs. Gate Inputs ...... 3-10 Typical PIT Control Word Subroutine ....... 3-10 Typical PIT Count Value Load Subroutine ... 3-11 Typical PIT Counter Read Subroutine ....... 3-11 PIT Count Value Vs. Rate Multiplier
for Each Baud Rate ................... .3-12 PIT Rate Generator Frequencies and
Timer Intervals .... c •••••••••••••••••••• 3-13 PIT Time Intervals Vs. Timer Counts ....... 3-13 Typical PPI Initialization Subroutine ......... 3-14 Typical PPI Port Read Subroutine ........... 3-14 Typical PPI Port Write Subroutine .......... 3 -15 PIC Device Address Insertion .............. 3-16
TITLE PAGE
iSBC 80/30 Single Board Computer . . . . . . . .. 1-1 Jumper Configuration for Multibus Access of
On-Board RAM (16-Bit Address System) .. 2-9 Jumper Configuration for Multibus Access of
On-Board RAM (20-Bit Address System) .. 2-10 Bus Exchange Timing (Master Mode) ....... 2-22 Bus Exchange Timing (Slave Mode) ......... 2-23 Serial Priority Resolution Scheme ........... 2-24 Parallel Priority Resolution Scheme ......... 2-25 USART Synchronous Mode Instruction
Word Format .......................... 3-3 USART Synchronous Mode Transmission
Format ............................... 3-3 USART Asynchronous Mode Instruction
Word Format .......................... 3-3 USART Asynchronous Mode Transmission
Format ............................... 3-4 USART Command Instruction Word Format .. 3-4 Typical USART Initialization and
I/O Data Sequence ..................... 3-5 USART Status Read Format ............... 3-7 PIT Mode Control Word Format ............ 3-8 PIT Programming Sequence Examples ....... 3-9 PIT Counter Register Latch Control
Word Format. ......................... 3-.12 PPI Control Word Format ................. 3-13
TABLE
3~18. 3-19. 3-20.
3-21.
3-22. 3-23. 3-24.
3-25. 3-26. 3-27. 4-1. 5-1. 5-2.
TABLES (Continued)
TITLE PAGE
Typical PIC Initialization Subroutine ........ 3'-17 PIC Operation Procedures ................. 3-19 Typical PIC Interrupt Request Register
Read Subroutine ....................... 3-20 Typical PIC In-Service Register
Read Subroutine ..... ' .. ' ................ 3-20 Typical PIC Set Mask Register Subroutine .... 3-20 Typical PIC Mask Register Read Subroutine .. 3-21 Typical PIC End-of-Interrupt
Command Subroutine ................... 3-21 Typical UPI Data Byte Read Subroutine ..... 3-22 Typical UPI Data Byte Write Subroutine ..... 3-22 8085A CPU Restart Interrupt V~ctors ........ 3-22 CPU Status and Control Lines. . . . . . . . . . . . .. 4-4 Replaceable Parts .......... ,............. 5-1 List of Manufacturers' Codes .............. 5-3
ILLUSTRATIONS
FIGURE TITLE PAGE
3-12.
3-13. 3-14. 3-15. 3-16.
4.-1.
4-2.
4-3. 4-4. 4-5. 4-6. 4-7. 4-8. 4-9.
4-10.
5-1. 5-2. 5-3. 5-4.
PPI Port C Bit Set/Reset Control Word Format .......................... 3-15
PIC Device Interrupt Addresses ............. 3-16 PIC Initialization Command Word Formats ... 3 -17 PIC Operation Control Word Formats ........ 3-18 UPI Data Bus Buffer and
Status Registers ........................ 3-21 iSBC 80/30 Input/Output and
Interrupt Block Diagram ............... .4-17 iSBC 80/30 ROM/EPROM and Dual Port
RAM Block Diagram .................. .4-19 Typical CPU Instruction Cycle ............. 4-4 Opcode Fetch Machine Cycle .............. 4-5 Opcode Fetch Machine Cycle (With Wait) .... 4-5 Memory Read (or I/O Read) Machine Cycles . 4-6 Memory Write (or I/O Write) Machine Cycles 4-7 Interrupt Acknowledge Machine Cycles ...... 4-8 Dual Port Control Bus Access Timing
With CPU Lockout .................... .4-10 Dual Port Control CPU Access Timing
With Bus Lockout .................... .4-11 iSBC 80/30 Parts Locations Diagram ........ 5-5 iSBC 80/30 Schematic Diagram ............ 5-7 iSBC 604 Schematic Diagram .............. 5-25 iSBC 614 Schematic Diagram .............. 5-27
1-1. INTRODUCTION
The iSBC 80/30 Single Board Computer, which is a member of Intel's complete line of iSBC 80 computer products, is a computer system on a single printedcircuit assembly. The iSBC 80/30 includes a central processor unit (CPU), 16K bytes of dynamic random access memory (RAM), one serial and three parallel I/O ports, a programmable timer~ priority interrupt logic, and Multibus control logic. Also included is dual port control logic to allow the iSBC 80/30 to act as a slave RAM device to other bus masters in the system. Provision is made for user-installation of masked or programmable read only memory (ROM or EPROM) and an Intel 8041 or 8741A Universal Peripheral Interface.
1-2. DESCRIPTION
The iSBC 80/30 Single Board Computer (figure 1-1) is controlled by an Intel 8085A Microprocessor (CPU), which includes six 8-bit general-purpose registers and an accumulator. The six general-purpose registers may be addressed individually or in pairs, which allows both single precision and double precision operations. The CPU has a 16-bit program counter which allows direct
CHAPTER 1 GENERAL INFORMATION
addressing of up to 65K of memory. An external stack, located within any portion of read/write memory, may be used as a last-in/first-out storage area for the contents of the program counter, flags, accumulator, and all six general-purpose registers. A 16-bit stack pointer controls the addressing of this external stack, which allows subroutine nesting that is bounded only by the 65K address limitation.
The iSBC 80/30 has an internal bus for all on-board memory and I/O operations and accesses the system bus (Multibus) for all external memory and I/O operations. Hence, local (on-board) operations do not involve the Multibus and allow true parallel processing when several bus masters (e.g., DMA devices and other single board computers) are used in a multimaster scheme.
The 16K of dynamic RAM is implemented with eight Intel 2717 chips and an Intel 8202 Dynamic RAM Controller. Dual port control logic is included to interface this 16K RAM with the Multibus so that the iSBC 80/30 can function as a slave RAM device when not in control of the Multibus. The CPU has priority when accessing on-board RAM. After the CPU completes its read or write operation, the controlling bus master is allowed to access RAM and complete its operation. Where both the CPU and the controlling bus master have the need to write or read
PARALLEL 1/0
OPTIONAL 8041/8741
1/0 SERIAL
1/0
(MULTIBUS) (AUXILIARY)
611-1 Figure 1-1. iSBC 80/30 Single Board Computer
1-1
General Information
several words to or from on-board RAM, their operations are interleaved. The slave RAM decode logic allows extended Multibus addressing so that bus masters having a 20-bit address capability can partition the iSBC 80/30 RAM into any 8K or 16K segment in a I-megabyte address space. The CPU, however, has only 16 address lines and memory must therefore reside in the 0-65K byte address space. There is no conflict in assigning RAM addresses for CPU access and slave access since separate decoding logic is used.
Jumpers are included to allow the user to reserve 8K bytes of on-board RAM for use by the 8085A CPU only. This reserved RAM address space is not accessible via the Multibus and does not occupy any system address space.
Two IC sockets are included to accommodate up to .8K of user-installed ROM or EPROM. Configuration jumpers allow ROM or EPROM to be installed in lK, 2K, or 4K increments. All on-board ROM/EPROM operations are performed at maximum processor speed.
The iSBC 80/30 includes 24 programmable parallel I/O lines implemented by means of an Intel 8255A Programmable Peripheral Interface (PPI). The system software is used to configure the I/O lines in any combination of unidirectional input/output and bidirectional ports. The I/O interface may be customized to meet specific peripheral requirements and, in order to take full advantage of the large number of possible I/O configurations, IC sockets are provided for interchangeable I/O line drivers and terminators. Hence, the flexibility of the parallel I/O interface is further enhanced by the capability of selecting the appropriate combination of optional line drivers and terminators to provide the required sink current, polarity, and drive/termination characteristi9s for each application. The 24 programmable I/O lines and signal ground lines are brought out to a 50-pin edge connector (11) that mates with flat, woven, or round cable.
Sockets are provided fora user-supplied Inte18041/8741A Universal Programmable Interface (UPI) and associated line drivers and terminators. The 8041/8741A is a singlechip microcomputer which contains a CPU, ) K bytes of ROM (8041) or EPROM (8741),64 bytes of RAM, 16 programmable I/O lines, and an 8-bit timer. Special interface registers are included in the chip which enable the UPI to function as a slave processor to the 8085A CPU. The UPI allows the user to specify algorithms for controlling user peripherals directly in the chip, thereby relieving the 8085A CPU for other system functions. An RS232C driver and an RS232C receiver are included so that the UPI may optionally be used to handle a simple serial I/O interface. In addiiion to providing the capability of user-supplied algorithms for the 8041/8741A the iSBC 80/30 supports all the preprogrammed 8041/8741A devices such as the Intel 8278 Keyboard Encoder, 8294 Data Encryption Controller, and 8295 Matrix Printer Driver.
1-2
iSBC 80/30
The RS232C compatible serial I/O port is controlled and interfaced by an Intel 8251A US ART (Universal Synchronous/Asynchronous Receiver/Transmitter) chip. The USART is individually programmable for operation in most synchronous or asynchronous serial data transmission formats (including IBM Bi-Sync).
In the synchronous mode the following are programmable:
a. Character length,
b. Sync character (or characters), and
c. Parity.
In the asynchronous mode the following are programmable:
a. Character length,
b. Baud rate factor (clock divide ratios of 1, 16, or 64).
c. Stop bits, and
d .. Parity.
In both the synchronous and asynchronous modes, the serial I/O port features half- or full-duplex, double-buffered transmit and receive capability. In addition, USART error detection circuits can check for parity, overrun, and framing errors. The USART transmit and receive clock rates are supplied by a programmable baud rate/time generator. These clocks may optionally be supplied from an external source. The RS232C command lines, serial data lines, and signal ground lines are brought. out to a 50-pin edge connector (13) that mates with flat or round cable.
Three independent, fully programmable 16-bit interval timer/event counters are provided by an Intel 8253 Programmable Interval Timer (PIT). Each counter is capable of operating in either BCD or binary modes; two of these counters are available to the systems designer to generate accurate time intervals under software control. Routing for the outputs and gate/trigger inputs of two of these counters is jumper-selectable; the outputs of these two counters may be independently routed to the 8259A Programmable Interrupt Controller (PIC), the I/O line drivers associated with the 8255A Programmable Peripheral Interface (PPI), the 8041/8741A Universal Programmable Interface, or used as inputs to the 8255A PPI and 8041/8741A (UPI). The gate/trigger inputs ofthe two counters may be routed to I/O terminators associated with the 8255A PPI or as output connections from the 8255A PPI. The third counter is used as a programmable baud rate generator for the serial I/O port. In utilizing the iSBC 80/30, the systems designer simply configures, via software, each counter independently to meet system requirements. Whenever a given time delay or count is needed, software commands to ·the 8253 PIT select the desired function. The contents of each counter may be read at any time during system operation with simple operations for event counting applications, and special commands are included so that the contents of each counter can be read "on the fly."
iSBC 80/30
The iSBC 80/30 provides vectoring for 12 interrupt levels, four of which are handled directly by the interrupt processing capability of the 8085A CPU. These four levels (TRAP, RST 7.5; RST 6.5, and RST 5.5) represent (in decreasing order of priority) the four highest priority interrupts of the iSBC 80/30. These four interrupts generate the following unique memory address: TRAP (24H), RST 7.5 (3CH), RST 6.5 (34H), and RST 5.5 (2CH). An 8085A JUMP instruction at each of these addresses then provides linkage to interrupt service routines located independently anywhere in the lower65K bytes of memory. All interrupt inputs with the exception of TRAP may be masked via software. The TRAP interrupt should be used for conditions such as power-down sequences which require immediate attention by the 8085A CPU.
An Intel 8259A Programmable Interrupt Controller (PIC) provides vectoring for the next eight interrupt levels. The PIC treats each true input signal condition as an interrupt request. After resolving the interrupt priority, the PIC issues a single interrupt request to the CPU. Interrupt priorities are independently programmable under software control. Similarly, an interrupt can be masked under software control. The programmable interrupt priority modes are:
a. Fully Nested Priority. Each interrupt request has a fixed priority: input 0 is highest, input 7 is lowest.
b. Auto-Rotating Priority. Each interrupt request has equal priority. Each level, after receiving service, becomes the lowest priority level until the next interrupt occurs.
c. Specific Priority. Software assigns lowest priority. Priority of all other levels is in numerical sequence based on lowest priority.
The PIC, which can be programmed to respond to edgesensitive or level-sensitive inputs, generates a unique memory address for each interrupt level. These addresses are equally spaced at intervals of 4 to 8 (software selectable) bytes. This 32- or 64-byte block may be located to begin at any 32- or 64-byte boundary in the 65,536 byte memory space. A single 8085A JUMP instruction at each of these addresses then provides linkage to locate each interrupt service routine independently anywhere in memory.
Interrupt requests may originate from 18 sources. Two jumper-selectable interrupt requests can be automatically generated by the Programmable Peripheral Interface (PPI) when a byte of information is ready to be transferred to the 8085A CPU (i.e., input buffer is full) or a byte of information has been transferred to a peripheral device (i.e., output buffer is empty). Two jumper-selectable interrupt requests can be automatically generated by the USART when a character is ready to be transferred to the 8085A CPU (i.e., receive channel buffer is full) or when a character is ready to be transmitted (i.e., transmit channel data buffer is empty). A jumper-selectable interrupt
General Information
request can be generated by two of the programmable counters and by the Universal Peripheral Interface (UPI). Eight additional interrupt request lines are available to the user for direct interfaces to user designated periphral devices via the Multibus, and two interrupt request lines may be jumper routed directly from peripherals via the parallel I/O driver/ terminator section.
Control logic is also included for generation of a PowerFail Interrupt, which works in conjunction with an AC LOW signal from an Intel iSBC 635 Power Supply or equivalent.
The iSBC 80/30 includes the resources for supporting a variety of OEM system requirements. For those applications requiring additional processing capacity and the benefits of multiprocessing (i.e., several CPU's and/or controllers logically sharing systems tasks with communication over the Multibus), the iSBC 80/30 provides full bus arbitration control logic . This control logic allows up to three bus masters (e.g., any combination of iSBC 80/30, iSBC 80/20, DMA controller, diskette cont~oller, etc.) to share the Multibus in serial (daisy-chain) fashion or up to 16 bus masters to share the Multibus using an external parallel priority resolving network.
The Multibus arbitration logic operates synchronously with the bus clock, which is derived either from the iSBC 80/30 or can be optionally generated by some other bus master. Data, however, is transferred via a handshake between the controlling master and the addressed slave module. This arrangement allows different speed controllers to share resources on the same bus, and transfers via the bus proceed asynchronously. Thus, the transfer speed is dependent on transmitting and receiving devices only. This design prevents slower master modules from being handicapped in their attempts to gain control of the bus, but does not restrict the speed at which faster modules can transfer data via the same bus. The most obvious applications for the master-slave capabilities of the bus are mUltiprocessor configurations, high-speed direct memory access (DMA) operations, and high-speed peripheral control, but are by no means limited to these three.
1-3. SYSTEM SOFTWARE DEVELOPMENT
Intel's RMX/80 Real-Time Multitasking Software, specifically designed for Intel iSBC 80 single board computers, provides the capability to monitor and control mUltiple asynchronous external events. The RMX/80 Executive, which synchronizes and controls the execution of multiple tasks, is provided as a linkable and relocatable module that requires only 2K bytes of memory. Optional linkage and relocatable modules for
1-3
General Information
teletypewriter and CRT control, diskette file system, high-speed mathematics unit, and analog subsystems are also available.
The development cycle of iSBC 80/30 based products may be significantly reduced using an Intel Intellec Microcomputer Development System. The resident macroassembler, text editor, and system monitor greatly simplify the design, development, and debug of iSBC 80/30 system software. An optional diskette operating system provides -a relocating macro assembler, relocating loader and linkage editor, and a library manager. A unique In-Circuit Emulator (lCE-85) option provides the capability of developing and debugging software directly on the iSBC 80/30.
Intel's high level programming language, PL/M, is also available as a resident Intellec Microcomputer Development System option. PL/M provides the capability to program in a natural, algorithmic language and eliminates the need to manage register usage or allocate memory. PL/M programs can be written in a much shorter time than assembly language programs for a given application.
iSBC 80/30
1-4. EQUIPMENT SUPPLIED
The following are supplied with the iSBC 80/30 Single Board Computer:
a. Schematic diagram, d,wg no. 2002132
b. Assembly drawing, dwg no. 1001576
1-5. EQUIPMENT REQUIRED
Because the iSBC 80/30 is designed to satisfy a variety of applications, the user must purchase and install only those components required to satisfy his particular needs. A list of components required to configure all the intended applications of the iSBC 80/30 is provided in table 2-1.
1-6. SPECIFICATIONS
Specifications of the iSBC 80/30 Single Board Computer are listed in table 1-1.
Table 1-1. Specifications
WORD SIZE Instruction: Data:
CYCLE TIME:
MEMORY CAPACITY On-Board ROMIE PROM:
1-4
On-Board RAM:
Off-Board Expansion:
MEMORY ADDRESSING On-Board ROM/EPROM:
On-Board RAM (CPU Access):
On-Board RAM (Multibus Access):
8, 16, or 24 bits. 8 bits.
1.44 f.Lsec ±0.1 % for fastest executable instruction; i.e., four clock cycles.
Up to 8K bytes; user installed in 1 K, 2K, or 4K increments.
16K bytes of dynamic RAM; integrity maintained during power failure with userfurnished batteries.
Up to 65K bytes of user-specified.combinations of RAM, ROM, and EPROM.
0-07FF (using 2708 or 2758 EPROM's or 8308 ROM's); O-OFFF (using 2716 EPROM's or 2316E ROM's); 0-1 FFF (using 2332 ROM's).
Jumpers allow on-board CPU to· access either 8K or 16K. For 8K RAM access, addresses may be set on 8K boundaries 2000, 4000, ... EOOO. For 16K access, addresses may be set on 16K boundaries 4000, 8000, or COOO. One or both 8K segments may be reserved for CPU use only.
Jumpers allow board to act as slave for 8K or 16K RAM access by another bus master; 16-bit or 20-bit addressing is accommodated and addresses are irrespective of addresses used for CPU access. For 16-bit addrljssing, boundaries may be set on any 8K or 16K segment of 65K byte address space. For 20-bit addressing, boundaries may be set on any 8K or 16K segment of 1 M byte address space.
iSBC 80/30
SERIAL COMMUNICATIONS Synchronous:
Asynchronous:
Sample Baud Rate:
INTERVAL TIMER AND BAUD RATE GENERATOR
Input Frequency (selectable):
Output Frequencies:
SYSTEM CLOCK (808SA CPU):
General Information
Table 1-1. Specifications (Continued)
S-, 6-, 7-, or 8-bit characters. Internal; 1 or 2 sync characters. Automatic sync insertion.
5-, 6-, 7-, or 8-bit characters. Break character generation. 1, 1 '12, or 2 stop bits. False start bit detection.
Baud Rate (Hz)2 Frequency'
(kHz, Software Selectable) Synchronous Asynchronous
+16 +64
153.6 - 9600 2400 76.8 - 4800 1200 38.4 38400 2400 600 19.2 19200 1200 300 9.6 9600 600 150 4.8 4800 300 75 2.4 2400 150 -1.76 1760 110 -
Notes: 1. Frequency selected by 1/0 writes of appropriate 16-bit frequency factor to Baud Rate Register.
2. Baud rates shown here are only a sample subset of possible softwareprogrammable rates available. Any frequency from 18.75 Hz to 614.4 kHz may be generated utilizing on-board crystal oscillator and 16-bit Programmable Interval Timer (used here as frequency divider).
2.46 MHz ±0.1% (0.41 /-Lsec period nominal), 1.23 MHz ±0.1% (0.82 /-Lsec period nominal), and 153.6 kHz ±0.1% (6.5 /-Lsec period nominal).
Function Single Timer
Min. Max.
Real-Time Interrupt 1.63/-Lsec 426 msec Interval
Rate
Dual Timers (Two Timers Cascaded)
Min. Max.
46528 3.26/-Lsec minutes
Generator 2.348 Hz 614.4 kHz 0.000036 Hz 307.2 kHz (Frequency)
2.7648 MHz ±0.1%.
1-5
General Information iSBC 80/30
Table 1-1. Specifications (Continued)
1-6
I/O ADDRESSING:
INTERFACE COMPATIBILITY Serial I/O:
Parallel I/O:
Optional I/O:
INTERRUPTS:
COMPATIBLE CONNECTORS/CABLES:
ENVIRONMENTAL REQUIREMENTS Operating Temperature:
Relative Humidity:
PHYSICAL CHARACTERISTICS Width: Depth: Thickness: Weight:
All communication to Parallel I/O and Serial I/O Ports, Timer, and Interrupt Controller is via read and write commands from on-board 8085A CPU. Refer to table 3-2.
EIA Standard RS232C signals provided and supported: Carrier Detect Receive Data Clear to Send Ring Indicator Data Set Ready Secondary Receive Data Data Terminal Ready Secondary Transmit Data Request to Send Transmit Clock Receive Clock Transmit Data
24 programmable lines (8 lines per port); one port includes bidirectional bus driver. IC sockets included for user installation of line drivers and/or I/O terminators as required for interface ports. Refer to table 2-1.
IC socket included for Intel 8041/8741 Universal Peripheral Interface (UPI). Also included are IC sockets for user installation of line drivers and/or I/O terminators as required for interface. Refer to table 2-1.
8085A CPU includes five interrupt inputs, each of which vectors processor to the following unique memory locations for entry point to service routine:
Interrupt Vector Priority Type Input Address
TRAP 24H Highest Non-maskable RST 7.5 3CH
t Maskable
RST 6.5 34H Maskable RST 5.5 2CH Maskable INTR Note Lowest Maskable
Note: INTR input provided by 8259A PIC, which is programmable to pro-vide vector CALL address of service routine for interrupting device.
Jumpers allow selection of 12 priority interrupts from 18 interrupt sources. PIC may be programmed to respond to edge-sensitive or level-sensitive inputs.
Refer to table 2-2 for compatible connector details. Refer to paragraphs 2-29 and 2-30 for recommended types and lengths of I/O cables.
To 90% without condensation.
30.48 cm (12.00 inches). 17.15 cm (6.75 inches). 1.27 cm (0.50 inch). 425 gm (15 ounces).
iSBC 80/30 General Information
Table 1-1. Specifications (Continued)
POWER REQUIREMENTS:
CONFIGURATION Vce = +5V±5% VDD = +12V±5% VSS = -5V±5% VAA = -12V±5%
Without EPROM' 3.5A 220 rnA - SOmA
With 8041/8741 UPI2 3.6A 220 rnA - SOmA
RAM Only3 350 rnA 20 rnA 2.5 rnA -
With iSSC 53Q4 3.5A 320 rnA - 150 rnA
With 2K EPROM5 4.4A 350 rnA 95 rnA 40 rnA
(using 8708)
With 2K EPROM5 4.6A 220 rnA 50 rnA (Using 8758) -
With 4K EPROM5 (4.6A ! (220 rnA \, (50 rnA) (Using 2716) -
With 8K ROM5 4.6A 220 rnA 50 rnA
(Using 2332) -
Notes: 1. Does not include power for optional ROM/EPROM, 8041/8741 UPI, I/O drivers, and I/O terminators.
2. Does not include power required for optional ROM/EPROM, I/O drivers and I/O terminators.
3. RAM chips powered via auxiliary power bus.
4. Does not include power for optional ROM/EPROM, 8041/8741 UPI, I/O drivers, and I/O terminators. PowerforiSSC530 is supplied via serial port connector.
5. Includes power required for two ROM/EPROM chips, 8041/8741 UPI, and I/O terminators installed for 341/0 lines; all terminator inputs low.
1-7/1-8'
2-1. INTRODUCTION
This chapter provides instructions for preparing the iSBC 80/30 Single Board Computer for use in the user-defined environment. It is advisable that the contents of Chapters 1 and 3 be fully understood before beginning the configuration and installation procedures provided in this chapter.
2-2. UNPACKING AND INSPECTION
Inspect the shipping carton immediately upon receipt for evidence of mishandling during transit. .If the shipping carton is severely damaged or waterstained, request that the carrier's agent be present when the carton is opened. If the carrier's agent is not present when the carton is opened and the contents of the carton are damaged, keep the carton and packing material for the agent's inspection.
For repairs to a product damaged in shipment, contact the Intel Technical Support Center (see paragraph 5-4) to obtain a Return Authorization Number and further instructions. A purchase order will be required to complete the repair. A copy of the purchase order should be submitted to the carrier with your claim.
It is suggested that salvageable shipping cartons and packing material be saved for future use in the event the product must be reshipped.
2-3. INSTALLATION CONSIDERATIONS
The iSBC 80/30 is designed for use in one of the following configurations:
a. Standalone (single-board) system.
b. Bus master in a single bus master system.
c. Bus master in a multiple bus master system.
CHAPTER 2 PREPARATION FOR USE
Important criteria for installing and interfacing the iSBC 80/30 in the above environments are presented in following paragraphs.
2-4. USER-FURNISHED COMPONENTS
Because the iSBC 80/30 is designed to satisfy a variety of applications, the user need purchase and install only those components required to satisfy his particular configuration. A list of components required to configure all the intended applications of the iSBC 80/30 are listed in table 2-1. Table 2-2 lists details, types, and vendors of those connectors referenced in table 2-1.
2-5. POWER REQUIREMENTS
The iSBC 80/30 requires +5V, -5V, + 12V, and -12V power supply inputs. The currents required from these supplies are listed in table 1-1. (The - 5 V supply is mandatory only if Intel 2708 EPROM chips are installed; an on-board regulator that operates off the -12V supply. can otherwise supply the -5V power.)
2-6. COOLING REQUIREMENT
The iSBC 80/30 dissipates 401 gram-calories/minute (1.62 Btu/minute) and adequate circulation of air must be provided to prevent a temperature rise above 55°C (131°F). The System 80 enclosures and the Intellec System include fans to provide adequate intake and exhaust of ventilating air.
2-7. PHYSICAL DIMENSIONS
Physical dimensions of the iSBC 80/30 are as follows:
a. Width:
b. Height:
c. Thickness:
30.48 cm (12.00 inches).
17.15 cm (6.75 inches).
1.25 cm (0.50 inch).
2-1
Preparation for Use iSBC 80/30
Table 2-1. User-Furnished and Installed Components
Item Item Description Use
No.
1 iSBC 604 Modular Backplane and Cardcage. In- Provides power input pins and Multibus cludes four slots with bus terminators. signal interface between iSBC 80/30 and
{See figure 5-3.} three additional boards in a multiple board system.
2 iSBC 614 Modular Backplane and Cardcage. In- Provides four-slot extension of iSBC 604. cludes four slots without bus terminators. {See figure 5-4.}
3 Connector See Multibus connector details in Power inputs and Multibus signal interface {mates with P1} table 2-2. Not required if iSBC 80/30 is installed in
in an iSBC 604/q14.
4 Connector See Auxiliary connector details in Auxiliary backup battery inputs and asso-{mates with P2} table 2-2. ciated memory protect functions.
5 Connector See parallel I/O connector details in Interfaces parallel I/O ports to Intel 8255A {mates with J1} table 2-2. Programmable Peripheral Interface {PPI}.
6 Connector See parallel I/O connector details in Interfaces I/O ports to optional Intel 8041/ {mates with J2} table 2-2. 8741A Universal Peripheral Interface
{UPI}.
7 Connector See serial I/O connector details in Interfaces serial I/O port to Intel. 8251A {mates with J3} table 2-2. Programmable Communications Interface
{USART}.
8 ROM/EPROM Chips One or two each of the following Intel On-board UV erasable PROM for program ROM/EPROM chips: development and/or dedicated program
use. Compatible ROM chips can also be ROM EPROM BITS employed. Use either ROM or EPROM;
do not mix. 8308 2708 1K x 8 - 2758 1K x 8
2316E 2716 2K x 8 2332 - 4K x 8
9 Intel 8041/8741 A Universal Peripheral Interface {UPI}. Single chip microcomputer with program memory, data memory, CPU, event timer, I/O, and clock oscillator. Inter-faces two 8-bit I/O ports; two additional input bits {TO and T1} for conditional branch and event timer functions.
10 Line Drivers Type Current Used for interface to Intel 8255A and optional Intel 8041/8741. Requires two
SN74031,OC 16 rnA line driver IC's for each 8-bit parallel SN7400 I 16 rnA output port. {Exception: refer to para-SN7408 NI 16 rnA graph 2-11.} SN7409 NI, OC 16 rnA
Types selected as typical; I = invert-ing, NI = noninverting, and OC = open collector.
11 I/O Terminators Intel iSBC 901 Divider or iSBC 902 Used for interface to Intel 8255A and Pull-Up: optional Intel 8041/8741A. Requires two
~ 901 's or two 902's for each 8-bit parallel
220 input port. {Exception: refer to paragraph iSBC 901 2-11.} Additional 901 or 902 required for
330 8041/8741 if TO and T1 inputs are used
iSBC 902 l~~v for conditional branch or event timer 0 0 functions.
12 Capacitors Seven capacitors as required. Rise time/noise capacitors for serial I/O port.
2-2
iSBC 80/30 Preparation for Use
Table 2-2. User-Furnished Connector Details
No. Of Palrsl Centers Connector Intel
Function Pins (Inches) Type Vendor Vendor Part No. Part No.
3M 3415-0000 WITH EARS Parallel 3M 3415-0001 WID EARS iSBC 956
I/O 25/50 0.1 Flat Crimp AMP 88083-1 Cable Connector ANSLEY 609-5015 Set
SAE S06750 SERIES
Parallel AMP 2-583485-6 I/O 25/50 0.1 Soldered VIKING 3VH25/1JV5 N/A
Connector TI H312125
Parallel TI H311125
I/O 25/50 0.1 Wirewrap1 VIKING 3VH25/1 JN05 N/A COC3 VPB01 B25000A 1 Connector ITICANNON EC4A050A1A
Serial 3M 3462-0001 iSBC 955 I/O 13/26 0.1 Flat Crimp AMP 88106-1 Cable
ANSLEY 609-2615 Connector SAE S06726 SERIES
Set
Serial TI H312113 I/O 13/26 0.1 Soldered N/A
Connector AMP 1-583485-5
Serial 1/0 13/26 0.1 Wirewrap1 TI H311113 N/A
Connector
COC3 VPB01 E43000A 1 Multibus
43/86 0.156 Soldered1 MICRO PLASTICS MP-0156-43-BW-4 N/A Connector ARCO AE443WP1 LESS EARS VIKING 2VH43/1AV5
Multibus COC3 VFB01 E43000A 1 or
Connector 43/86 0.156 Wirewrapl.2 COC3 VPB01 E43AOOA 1 MOS 985 VIKING 2VH43/1AV5
AUXiliary 30/60 0.1 Soldered1 TI H312130 N/A Connector VIKING 3VH30/1JN5
Auxiliary 30/60 0.1 Wirewrapl.2 COC3 VPB01 B30AOOA2 N/A Connector TI H311130
NOTES: 1. Connector heights are not guaranteed to conform to OEM packaging equipment. 2. Wirewrap pin lengths are not guaranteed to conform to OEM packaging equipment. 3. CDC VPB01 ... , VPB02 ... , VPB04 ... , etc. are identical connectors with different electroplating thicknesses or metal
surfaces.
2-8. COMPONENT INSTALLATION
Instructions for installing the optional ROM/EPROM, Intel 8041/8741A Universal Peripheral Interface, line drivers, VO terminators, and rise time/noise capacitors are given in following paragraphs. When installing the optional chips, be sure to orient pin 1 of the chip adjacent to the white dot located near pin 1 of the associated IC socket. The grid location on figure 5 -1 (parts location diagram) . and figure 5 -2 (schematic diagram) are specified for each user-installed component. Because the schematic diagram consists of nine sheets, grid references to figure 5 ... 2
consist of four alphanumeric characters. For example, grid reference 6ZD4 signifies sheet 6 Zone D4.
2-9. ROM/EPROM cmps Install the ROM/EPROM chips in IC sockets A25 and A37. (Refer to figure 5 -1 zone ZC3 and figure 5 -2 zone 3ZA3.) Sockets A25 and A37, respectively, accommodate the low order and high-order addresses of the ROM/EPROM chip pair. For instance, if two Intel 2716 EPROM chips are installed, the chip installed in IC socket A25 is assigned addresses 0000-07FF; the chip installed in IC socket A37 is assigned addresses 0800-0FFF.
2-3
Preparation for Use
The default (factory connected) jumpers are configured for Intel 2316E ROM or 2716 EPROM. If different type chips are installed, reconfigure the jumpers as described in paragraph 2 -14.
2-10. UNIVERSAL PERIPHERAL INTERFACE
Install the optional Inte18041/8741A Universal Peripheral Interface (UPI) chip in socket A20. (Refer to figure 5-1 zone ZC6 and figure 5-2. zone 5ZC4.)
2-11. LINE DRIVERS AND 110 TERMINATORS
Table 2-3 lists the I/O ports and the location of associated IC sockets for installing either line drivers or I/O terminators. (Refer to table 2 -1 items 10 and 11.) Port E8 is factory equipped with Intel 8226 Bidirectional Bus Drivers and requires no additional components. (Refer to paragraphs 2-22 and 2-23.)
2-12. RISE TIME/NOISE CAPACITORS
Eye pads are provided so that rise time/noise capacitors may be installed as required on the individual serial I/O pins. The selection of capacitor values is at the option of the user and is normally a function of the particular environment. The location of these eye pads are as follows:
Capacitor Fig. 5-1 Fig. 5-2
C11 Z04 6Z04 C12 Z04 6Z83 C13 Z03 6ZC4 C14 Z04 6Z04 C16 Z03 6Z06 C17 Z03 6ZC6 C18 Z03 6Z06
iSBC 80/30
2-13. JUMPER CONFIGURATION
The iSBC 80/30 includes a variety of jumper-selectable options to allow the user to configure the board for his parficular applicatio'n. Table 2-4 summarizes these jumper-selectable options and lists the- grid reference locations of the jumpers as shown in figure 5-1 (parts location diagram) and figure 5-2 (schematic diagram). Because the schematic consists of nine sheets, grid references to figure 5-2 consists of four alphanumeric characters. For example, grid reference 3ZB7 signifies sheet 3 Zone B7.
Study table 2-5 carefully while making reference to figures 5-1 and 5-2. If the default (factory configured) jumper wiring is appropriate for a particular function, no further actions is required for that function. If, however, a different configuration is required, remove the default jumper(s) and install an optional jumpers(s) as specified. For most options, the information in table 2-4 is sufficient for proper configuration. Additional information, where necessary for clarity, is described in subsequent paragraphs.
2-14. ROM/EPROM CONFIGURATION
Table 2-5 lists the jumper configurations and associated address block for the various 'types of compatible Intel ROM/EPROM chips.
2-15. ON-BOARD RAM ADDRESSES
This on-board RAM can be accessed by the on-board 8085A microprocessor (CPU) as well as by other bus masters in the system via the ~1ultibus. Addresses for onboard 8085A access and for system access are assigned as described in paragraph~ 2-16 and 2-17, respectively.
Table 2-3. Line Driver and 1/0 Terminator Locations
1/0 Driver/ Fig. 5·1 Fig. 5·2
Port Bits Terminator Grid Grid Ref. Ref
E8 0-7 None Required - -8255A E9 0-3 A5 Z06 4ZA3
PPI 4-7 A6 Z06 4ZA3 Interface
EA 0-3 A4 Z07 4ZC3 4-7 A3 Z07 4Z83
8041/8741 1 0-3 A7 Z06 5Z03 UPI 4-7 A8 Z06 5ZC3
Interface 0-3 (Optional) 2 A10 Z05 5Z83 4-7 A11 Z05 5Z83
- TO, T1 A9 Z05 5ZC3
2-4
iSBC 80/30 Preparation for Use
Table 2-4. Jumper Selectable Options
Function Fig. 5-1 Fig. 5-2 Description
Grid Ref. Grid Ref.
ROM/EPROM Six jumpers accommodate one of four types of user-installed ROM or Configuration EPROM chips. One jumper required between two posts in each of
the following six groups of posts:
ZC3 3ZB7 112 thru 114) ZC3 3ZC6 157 thru 159 Default jumpers accommodate Intel 2716 EPROM ZC3 3ZB4 153 thru 156 ZD2 3ZA3 84 thru 88 or 2316E ROM chips. Refer to paragraph 2-14 if
ZD2 3ZA4 99 thru 101 reconfiguration is required.
ZD2 3ZA3 102 thru 105
On-Board RAM ZD2 3ZD7,3ZD6 One jumper wire selects 8K or 16K access and one jumper wire selects (On-Board Access) base address for on-board 8085A access of on-board RAM. JumperW1
default position *A-B selects 16K access and default jumper *98-92 selects base address 4000H. Refer to paragraphs 2-15 and 2-16 if reconfiguration is required.
On-Board RA M 16-Bit Address System: Three jumper wires select base address for (System Access) system access:
ZB7 5ZC6 W5 (one): Must be set to position *K-L. ZB7 5ZB6 W4 (one): 8K or 16K access. ZB7 5ZB5 171 thru 180 (one): Base address.
Refer to paragraphs 2-17 and 2-18.
20-Bit Address System: Five jumper wires select base address for system access:
ZB7 5ZC7 W6 (two): Upper or lower 512K space. ZB7 5ZC6 W5 (one): 65K page select. ZB7 5ZB6 W4 (one): 8K or 16K access. ZB7 5ZB5 171 thru 180 (one): Base address.
Refer to paragraphs 2-17 and 2-19.
Bus Clock ZB7 5ZA4 Default jumper *165-166 routes Bus Clock signal BCLKI to the Multibus. (Refer to table 2-13.) Remove this jumper only if another bus master supplies this signal.
Constant Clock ZB7 5ZA4 Default jumper *167-168 routes Constant Clock signal CCLK/ to the Multibus. (Refer to table 2-13.) Remove this jumper only if another bus master supplies this signal.
Bus Priority Out ZB7 8ZD2 Default jum per * 169-170 routes Bus Priority Out signal BPRO/ to the Multibus (Refer to table 2-13.) Remove this jumper only in those systems employing a parallel priority bus resolution scheme. (Refer to paragraph 2-27.)
Bus Priority One jumper defines one of two modes of resolving bus contention in a Resolution multiple bus master system:
ZB7 8ZD6 *162-163: Can request Multibus as needed. 163-164: Always requesting Multibus; .should only be used when
iSBC 80/30 has lowest priority.
Auxiliary Backup ZB5 1ZC5,1ZB5 If auxiliary backup batteries are employed to sustain memory during ac Batteries power outages, remove default jumpers *W8, *W9, and *W10.
On-Board -5V ZB6 1ZB2 The 80/30 requires a -5V supply for Intel 2708 EPROM chips and a Regulator -5V AUX input for the on-board RAM chips. The system -5V supply
is mandatory only if Intel 2708 EPROM chips are employed. If Intel 2708 EPROM chips are not employed and no system -5V supply is available, the -5 AUX input to the on-board RAM chips can be supplied by the on-board -5V regulator or by an auxiliary backup battery. (The on-board -5V regulator operates from the system -12V supply.) If neither a system -5V supply nor an auxiliary backup battery is used, enable the -5V regulator by connecting jumper*W10.
2-5
Preparation for Use iSBC 80/30
Table 2-4. Jumper Selectable Options (Continued)
Function Fig. 5-1 Fig. 5-2 Description Grid Ref. Grid Ref.
Failsafe Timer ZC8 1ZC6 If the on-board 8085A CPU addresses either a system or an on-board memory or I/O device and that device does not return an acknow-ledge signal, the 8085A will hang up in a wait state. A failsafe timer is triggered during T1 of every machine cycle and, if not retriggered within 1 0 milli~econds, the resultant time-out pulse can be used to allow the 8085A to exit the wait state. If this feature is desired, connect jumper 115-116.
RAM Refresh The 8202 Memory Controller for on-board RAM is jumper selectable as follows to select the automatic or invisible refresh mode:
ZC4 2ZA3 *110-111: Automatic refresh (normal) mode. 110-106: Invisible refresh (on request) mode.
In the automatic refresh mode, a wait state can be imposed on the on-board 8085A if a memory access occurs while a memory refresh cycle is in progress. In this case, the 8085A is forced to wait until the refresh cycle is complete. In the invisible refresh mode, the 8202 works around memory accesses by refreshing memory during the instruction decode clock cycle which follows each instruction fetch.
Timer Input Input frequencies to the 8253 Programmable Interval Timer counters Frequency are jumper selectable as follows:
Counter 0 (8041/8741 Event Clock)
*47-52: Same as Counter 2. ZD5 7ZB3 47-51: 153.6 kHz.
47-48: External Event Clock (from Port EA).
Counter 1 (Count Out)
*46-54: 1.2288 MHz.
ZD5 7ZA4 46-52: Same as Counter 2. 46-50: Counter 0 output. 46-48: External Event Clock (from Port EA).
Jumper 46-50 effectively connects Counter 0 and 1 in series in which the output of Counter 0 serves as the input clock to Counter 1. This permits lower clock rates to Counter 1 and, in turn, Counter 1 provides longer time intervals.
Counter 2 (8251A Baud Rate Clock)
ZD5 7ZB5 *53-54: 1.2288 MHz. 53-49: 2.4576 MHz.
Event Clock The Event Clock is a jumper option for Port C (Port EA) of the 8255A PPI. The Event Clock may be provided by the following optional sources:
48-50: Same as PIT Counter 0 (8041/8741 Event Clock). ZD5 7ZB4 48-51: 153.6 kHz.
48-52: Same as PIT Counter 2 clock.
Priority Interrupt A jumper matrix provides a wide selection of interrupts to be interfaced to the on-board 8085A and ,the Multibus. The matrix includes the following jumpers (refer to paragraph 2-20):
ZC6 117 thru 134 ZC6 Sheet 7 136 thru 152 ZB6 181 thru 190
8251A Serial I/O - Sheet 6 Jumpers are used to input the serial I/O port transmit clock, receive Port Configuration clock, ring indicator, carrier detect, etc., from several sources. Refer
to paragraph 2-21.
8255A Parallel I/O - Sheet 4 Jumpers are used to configure Ports E8, E9, and EA for the desired Port Configuration operating mode. Refer to. paragraph 2-22.
8041·/8741 A Universal - Sheet 5 Jumpers are used to select various input and/or output signals depending Peripheral. Interface
on the application. Refer to paragraph 2-23.
*Default jumper connected at the factory.
2-6
iSBC 80/30
Table 2-5. ROM/EPROM Configuration Jumpers
ROM/EPROM Jumpers Address
Type Block
2708 112-113,158-159, 0000-07FF EPROM 100-101,104-105,
or 155-154, 86-84 8308 ROM
2758 112-113,158-159, 0000-07FF EPROM 100-101,104-103,
155-154,86-87
*2716 112-113, 157-158, OOOO-OFFF EPROM 100-101,104-103,
or 155-156,86-85 *2316E
ROM
2332 112-114,157-158, 0000-1 FFF ROM 100-99,104-102,
155-153,86-85
*Default jumpers are connected for type 2716 EPROM or 2316E ROM. Disconnect and reconfigure jumpers as necessary if installing different type ROM/EPROM.
2-16. ON-BOARD808SAACCESS. JumperWl position B-C allows the on-board SOS5A to access SK of the 16K RAM; jumper WI default position A-B allows access to all 16K. For SK access, the RAM address block may be configured on SK boundaries 2000, 4000, ... EOOO; for 16K access, the RAM address block may be configured on 16K boundaries 4000, SOOO, or COOO. (Address boundary 0000 is reserved for ROM/EPROM.) Default jumper 9S -92 selects boundary 4000 for both SK and 16K access. If only SK access is desired remove jumper WI from position A-B and install it id position B-C. If a different address boundary is desired, reconfigure the jumpers as listed in table 2-6.
2-17. SYSTEM ACCESS. The on-board RAM can be shared by other bus masters in the system via the Multibus. If one or more bus masters have a 20-bit address capability, the extended addressing jumpers allow the onboard RAM to reside anywhere within a I-megabyte address space. (The on-board SOS5A can only access memory in the lo~er 65K address space.) If it is not desired to have the on-board RAM s4ared by the system, leave default jumper IS0-179 installed. Otherwise~ configure the jumpers for 16-bit addressing or 20-bIt addressing as described in following paragraphs.
NOTE
Addresses for system access of on-board RAM are completely independent of addresses for onboard SOS5A access of on-board RAM.
Preparation for Use
Table 2-6. Jumper Configuration for On-Board 808SA Access of On-Board RAM
Jumper RAM Address Block1
8KAccess2 16K Access3
98-91 2000-3FFF
*98-92 4000-5FFF 4000-7FFF
98-93 6000-7FFF
98-94 8000-9FFF 8000-BFFF
98-95 AOOO-BFFF
98-96 COOO-DFFF COOO-FFFF
98-97 EOOO-FFFF
NOTES:
1. Address block 0000-1 FFF is reserved for ROM/EPROM.
2. Requires jumper W1 position B-C installed.
3. Requires jumper W1 position *A-B installed.
*Default jumper; disconnect if reconfiguration is required.
2-18. 16-BIT ADDRESS SYSTEMS. For system access, the ~n-board RAM is divided into eight 65K pages. In 1?~bIt add~ess systems, there is no page selection capabIlIty and Jumper W5 default position K-L restricts the addresses to Page 0 (the only page in a 16-bit system). (Refer to table 2 -7.)
As shown in table 2-S, the system can access either SK or 16K ~f t~e on-board RAM. Jumper W4 default posi~ion B-A lImIts the system to SK access; jumper W4 position B-C allows acce!tS of all 16K of on-board RAM.
One jumper wire places the on-board RAM in the desired SK or 16K segment of the selected 65K page. To access SK, for example, the SK segment can be placed on any SI< boundary 0000 (1st SK), 2000 (2nd SK), 4000 (3rd SK), ... EOOO (Sth SK). To access 16K, the 16K segment can be placed on any 16K boundary 0000 (1st 16K), 4000 (2nd 16K), SOOO (3rd 16K), or COOOO (4th 16K). Figure 2-1 illustrates a step-by-step sequence for establishing RAM addresses for 16-bit address systems.
2-19. 20-BIT ADDRESS SYSTEMS. In 20-bit address systems, the on-board RAM can reside anywhere within a I-megabyte address space. As shown in table 2-7 the RAM is first placed in the lower or upper 524K by ju~per W6. Jumper W5 then selects one of eight 65K pages within the upper or lower 524K bytes.
Next, referring to table 2-S, the system can access either SK or 16K of the on-board RAM. Default jumper W4 position B-A limits the system to SK access; jumper W4 position B-G allows access of all 16K of on-board RAM.
2-7
Preparation for Use
Table 2-7. 65K Page System Memory Selection
2-8
Low/(High)1 65K Address System Page No. Range1
Memory
N/A 0 OOOO-FFFF (Note 2) W5: *K-L
0-524K 0 OOOOO-OFFFF (525-1048K) W5: K-A (80000-8FFFF)
1 10000-1 FFFF W6: *B-C W5: K-B (90000-9FFFF)
*D-E 2 20000-2FFFF
W5: K-C (AOOOO-AFFFF)
W6: (B-E) 3 30000-3FFFF (D-A) W5: K-D (BOOOO-BFFFF)
4 40000-4FFFF W5: K-E (COOOO-CFFFF)
5 50000-5FFFF W5: K-F (DOOOO-DFFFF)
6 60000-6FFFF W5: K-G (EOOOO-EFFFF)
7 70000-7FFFF W5: K-H (FOOOO-FFFFF)
NOTES:
1. Notation in parentheses applies to high (upper 524K) bytes of 20-bit system address space.
2. Systems without 20-bit address capability must use jumper W5 in position *K-L.
* Default Jumper; disconnect if reconfiguration is re~uired.
N/A = not applicable.
Table 2-8. 8K/16K Block Selection Within 65K Page
Address Block Within 65K 8K or 16K Page (Refer to Table 2-7)
System Access Jumper Block
8K 180-172 1st 8K W4: *B-A 180-173 2nd 8K
180-174 3rd 8K 180-175 4th 8K 180-176 5th 8K 180-177 6th 8K 180-178 7th 8K 180-179 8th 8K
*180-171 No Access
16K 180-173 1st 16K W4: B-C 180-175 2nd 16K
180-177 3rd 16K 180-179 4th 16K
*180-171 No Access
*Default jumper; disconnect if reconfiguration is desired.
iSBC 80/30
Finally, one jumper wire places the on-board RAM in the desired 8K or 16K segment of the selected 65K page. To access an 8K segment in Page 4 of the lower 524K, for example, the 8K segment can be placed on any 8K boundary 40000 (l st 8K), 42000 (2nd 8K), 44000 (3rd 8K), ... 4EOOO (8th 8K). To access a 16K segment in Page 4 of the lower 524K, the 16K segment can be placed on any 16K boundary 40000 Ost 16K), 44000 (2nd 16K), 48000 (3rd 16K), or4COOO (4th 16K). Figure 2-2 illustrates a step-by-step sequence for establishing RAM addresses for a 20-bit address system.
2-20. PRIORITY INTERRUPTS
Table 2-9 lists the source (from) and destination (to) of the interrupt matrix shown in figure 5 -2 sheet 7. For example, note that the 8259A Programmable Interrupt Controller (PIC) can handle eight positive-true interrupt requests and, after resolving any priority contention, outputs an interrupt request to the INTR input of the 8085A microprocessor.
Study table 2-9 carefully while making reference to figure 5-2 sheet 7 before deciding on a definite priority configuration for the iSBC 80/30. There are two areas that require some explanation: the 8085A TRAP and RST 7.5 interrupts.
Default jumper 137-145 grounds the TRAP interrupt input to prevent the possibility of false interrupts being generated by noise spikes. Since the TRAP interrupt is not maskable, cannot be disabled by the program, and has the highest priority, it should be used only to detect a catastrophic event such as a power failure or a bus failure.
The RST 7.5 interrupt input is edge-sensitive only and is default jumpered to the COUNT OUT output of Counter 1. If it is desired to interrupt the 8085A if the Failsafe Timer times out, remove jumper 123-138 (COUNT OUT) and connect jumper 122-138 (BUS TIME OUT). (The BUS TIME OUT signal is generated when the Failsafe Timer is retriggered after timing out.)
NOTE
The 8259A PIC can be programmed to respond to either edge-sensitive or level-sensitive interrupt requests. If the PIC is programmed to respond to edge-sensitive interrupt requests, the PIC will respond only to a low-to-high transition on anyone of the individual IR input lines.
iSBC 80/30
65K BYTE SYST
COOO -W5
BOOO K·L
-PAGE
4000 0 -
0000
-- CD L 16.BIT SYS~EM ADDRESS UNES
EXPLANATION:
CD Jumper W5 must be in position K-L.
® Jumper W4 position B-A selects SK access.
® Jumper lS0-17S selects 7th SK segment of 65K page 0 (the only page in a 16-bit address system).
W4: B·C
0
Preparation for Use
16K ACCESS
4TH 16K 1 BO-179
COOO
3RD 16K 1BO-177
BOOO
2ND 16K 1 BO-175
4000
1ST 16K 1 BO-173
0000
BK ACCESS
6TH BK AOOO
5TH BK 160-176 BOOO
4TH BK 1BO-175 6000
3RDBK 1BO-174 4000
2ND BK 1BO-173 2000
1ST BK 1 BO-172 0000
ON·BOARD ON·BOARD RAM BASE AD DR
7000 UPPER BK
6000
5000 LOWER BK
4000 ----I _____ ...a:.LL..I.~
L ON·BOARD ADDRESS LINES
Thus, the lower SK of on-board memory is assigned system addresses COOO thru DFFF. In this example, this same SK of memory has on-board 808SA addresses AOOO thru 5FFF.
Note that for SK access, the 1st, 3rd, 5th, and 7th SK bytes access the lower SK of on-board RAM. The 2nd, 4th, 6th, and Sth SK bytes access the upper SK of on-board RAM. With jumper W4 in position B-C, all 16K of on-board RAM is accessed by the system; addresses for system use are established by jumpers lS0-173 (1st 16K), lS0-175 (2nd 16K), etc.
611-2 Figure 2-1. Jumper Configuration for Multibus Access of On-Board RAM (16-Bit Address System)
2-9
Preparation for Use
1M BYTE SYST SYSTEM
BASE AD DR PAGE
W5:K·H 7 FOOOO
W5:K·G 6 EOOOO
W5: K·F 5 00000
W5: K·E 4 UPPER 524K COOOO (EIGHT 65K PAGES)
W5:K·D 3 W6: B·E, D·A BOOOO
W5:K·C 2 AOOOO
W5:K·B 90000
W5:K·A 0 80000
70000
60000 0 50000
W5: K·E 4 LOWER 524K 40000 (EIGHT 65K PAGES)
W5:K·D 3 W6: B·C, D·E 30000 0)
W5:K·C 2 20000
W5:K·B 10000
W5:K·A 0 00000 -L 20·BIT SYSTEM ADDRESS LINES
EXPLANATION:
CD Jumper W6 positions B-C and D-E place memory in lower 524K of system address space.
® Jumper W5 position K-G selects page 6 of lower 524K.
® Jumper W4 position B-A selects BK access of page 6.
@Jumper IBO-173 selects 2nd BK segment of page 6.
iSBC 80/30
W4:B·C
16K ACCESS
4TH 16K 180·179
6COOO
3RD16K 180·177
68000
2ND16K 180·175
64000
1ST16K 180·173
60000
8K ACCESS
180·179 6EOOO
7TH 8K 180·178 6COOO
6TH 8K 180·177 6AOOO
5TH 8K 180·176 68000
4TH 8K 180·175 66000
3RD8K 180·174
2ND 8K
1ST8K 60000
ON.BOARD ON·BOARD BASE ADDR ..... __ ~A_M __ -.-:77777'1o.
BOOO UPPER 8K
AOOO ~-----~F-""~V
9000 LOWER 8K
8000 .....J ______ .....
T L16.BIT ON·BOARD ADDRESS UNES
Thus, the upper 8K of on-board memory is assigned system addresses 62000 thru 63FFF. In this example, this same BK of memory has on-board BOB5A addresses AOOO thru BFFF.
Note that for BK access, the Ist,3rd, 5th, and 7th BK bytes access the lower BK of on-board RAM. The 2nd, 4th, 6th~ and Bth BK bytes access the upper BK of on-board RAM. With jumper W4 in position B-C, all 16K of on-board RAM is accessed by the system; addresses for system use are established by the jumpers IBO-173 (lst 16K), IBO-175 (2nd 16K), etc.
611·3 Figure 2·2. Jumper Configuration for Multibus Access of On-Board RAl\1 (20-Bit Address System)
2-10
iSBC 80/30 Preparation for Use
Table 2-9; Priority Interrupt Jumper Matrix
Interrupt Request (From) Interrupt Request (To)
Source Signal Post Device Signal Post
Multibus INTO/ (1) 148 8259A PIC (7) IRO ' 133 INT1/ (1) 147 IR1 All 132 INT2/ (1) 152 IR2 level sensitive 131 INT3/ (1) 151 IR3 > or 130 INT4/ (1) 150 IR4 all 129 INT5/ (1) 149 IR5 edge sensitive 128 INT6/ (1) 146 IR6 (7) 127 INT7/ (1) 136 IR7 126
External Via J2-50 EXT INTR1/ (1) 144 8085A CPU TRAP (8) 137
External Via J1-50 EXT INTRO/ (1) 125 RST 7.5 (9) 138 RST 6.5 (10) 139
Power Fail logic' PFI/ (1)(2) 134 RST 5.5 (10) 140 Via P2-19 INTR (1.1) None
Failsafe Timer BUS TIME OUT/ (3) 122
8255A PPI Multibus INTO/ (12) 181 Port A (Port E8) 55PAI (1 )(4) 117 INT1/ (12) 182 Port B (Port E9) 55PBI (1 )(4) 118 INT2I (12) 183
8251A USART 51TXR (1) 142 INT3/ (12) 184
51RXR (1) 143 INT4/ (12) 187 INT5/ (12) 188
8253 PIT INT6/ (12) 189 Counter 0 Out 8041/8741 EVENT elK (1) 141 INT7/ (12) 190 Counter 1 Out COUNT OUT (1 )(5) 123 ADR10/ (12) 186
8259A PIC INTR (6) None
8041/8741A UPI 41INTR(1) 124 119 :=D---o 121 (14)
8255A PPI INTROUT (13) 185 120
NOTES:
(1) Signal is positive-true at associated jumper post.
(2) Disconnect 137-145 and connect 134-137 (8085A TRAP).
(3) Disconnect 123-138 and connect 122-138 (8085A RST 7.5); jumper 115-116 must also be connected. See note (5).
(4) Used primarily in strobed I/O applications.
(5) Default jumper 123-138 connects signal to 8085A RST 7.5.
(6) Applied directly to 8085A INTR input.
(7) May be programmed for either edge-sensitive or level-sensitive input; IR lines are not individually programmable.
(8) Default jumper 137-145 disables (grounds) input. TRAP is highest priority, non-maskable, and is both level and edge sensitive.
(9) Default jumper 123-138 connects input to COUNT OUT. RST 7.5 is second highest priority and is edge sensitive only.
(10) RST 6.5 and RST 5.5, respectively, are third and fourth highest priority. Both inputs are level sensitive.
(11) INTR is connected directly to INTR output of 8259A PIC.
(12) To system via Multibus; requires ground-true signal.
(13) Signal is ground-true at associated jumper post.
(14) One two-input OR gate is provided in interrupt matrix.
2-11
Preparation for Use iSBC 80/30
2-21. 8251A PORT CONFIGURATION
Table 2-10 lists the signals, signal functions, and the jumpers required (if necessary) to input or output a particular signal to or from the serial I/O port (Intel 8251A Programmable Communication Interface).
individual requirement. Recommended line drivers and I/O terminators for user applications are listed in table 2-1.
2-23. 8041/8741A PORT CONFIGURATION
The optional Intel 8041/8741A Universal Peripheral Interface can be programmed and, hence, configured to perform serial or parallel I/O functions. Refer to figure 5 -2 sheet 5 for jumper details. Applications for the 8041/8741 are presented in the Intel UPI-41 User's Manual, Order No. 9800504.
2-22. 8255A PORT CONFIGURATION
Table 2··/ 1 lists the jumper configuration for three parallel I/O ports. Note that each of the three ports (E8, E9, and EA) can be configured in a variety of ways to suit the
Table 2-10. Connector J3 ~in Assignments Vs. Jumper Configuration
Pin1 Sigoal Function Jumper In
2 PROTECTIVE GND Protective Ground 69-70
3 TRANS SIG ElE TIMING (IN) 8251A TXC in (Note 2) 56-57
4 TRANSMITTED DATA 8251A RXD in or *82-83 8251A TXD out 81-82
5 SEC REC DATA 8255A STXD ouP or 76-79, 73-71 8741A RS232 out4 76-79, 73-74
6 RECEIVED DATA 8251A TXD out or *80-81 8251A RXD in 80-83
7 REC SIG ElE TIMING 8251A RXC in (Note 2) 59-60
8 REQUEST TO SEND 8251A CTS in (Note 5) -
- (Note 5) 8251A RTS out to CTS in 67-68
10 CLEAR TO SEND 8251A RTS out (Note 5) -- (Note 5) 8251A RTS out to CTS in 67-68
12 DATA SET READY 8251A DTR out -13 DATA TERMINAL ROY 8251A DSR in -14 GND Ground -16 REG LINE SIG DET 8255A Carrier Detect in3 -
17 RING INDICATOR 8255A Ring Indicator in3 -19 -12V -12Vout 64-65
21 TRANS SIG ElETIMING (OUT) Same as 8251A TXC in 76-75, 72-73
22 +12V +12Vout 63-66
23 +5V +5Vout 61-62
25 GND Ground -26 SEC CLEAR TO SEND 8255A STXD in3 76-77
NOTES:
Jumper Out
-*55-56
-*82-83, *80-81
---
*80-81, *82-83
*58-59
---------------
1. All odd-numbered pins (1, 3, 5, ... 25) are on component side of the board. Pin 1 is the right-most pin when viewed from the component side of the board with the extractors at the top.
2. Default jumpers *55-56 and *58-59 connect 8253 BAUD RATE ClK to 8251 TXC and RXC inputs, respectively. See Timer Input Frequency (Counter 2) in table 2-4.
3. Optional jumper-selected output function for Intel 8255 Programmable Peripheral Interface. Refer to figure 5-2 sheet 4.
4. Optional jumper-selected output function for 8041/8741 Universal Peripheral Interface. Refer to figure 5-2 sheet 5.
5. Jumper 67-68 connects 8251A RTS output back to CTS input for those applications without CTS capability.
* Default jumpers connected at the factory.
2-12
iSBC 80/30 Preparation for Use
Table 2-11. 8255A Port Configuration Jumpers
Jumper Configuration Driver (0)/
Port Mode Terminator (T) Delete Add Effect Port Rest'rictions
E8 o Input 8226: A1,A2 None *7-8 8226 = input enabled. E9 None; can be in Mode 0 or 1, input or output.
EA None; can be in Mode 0, input or output, unless Port E9 is in Mode 1.
E8 o Output 8226: A1,A2 *7-8 4-8 8226 = output enabled. E9 None; can be in Mode 0 or 1, (latched) input or output.
EA None; can be in Mode 0, input or output, unless Port E9 is in Mode 1.
E8 1 Input 8226: A1,A2 *7-8 8226 = input enabled. E9 None; can be in Mode 0 or 1, (strobed) T:A3 input or output.
D:A4 *21-22 Connects J1-26 to EA Port EA bits perform the STBAI input. following:
*15-16 15-17 Connects IBF A output to • Bits 0,1,2 - Control for and J1-18. Port E9 if in Mode 1.
*17-18
• Bit 3 - Port E8 Interrupt (55PAI) to interrupt jumper matrix.
• Bit 4 - Port E8 Strobe (STB/) input.
• Bit 5 - Port E8 Input Buffer Full (IBF) output.
• Bits 6,7 - Port EA input or output (both must be in same direction).
E8 1 Output 8226: A1,A2 *7-8 4-8 8226: output enabled. E9 None; can be in Mode 0 or 1, (latched) T:A3 input or output.
D:A4
*13-14 Connects J1-30 to EA Port EA bits perform the ACKAI input. following:
*9-10 9-15 Connects OBF AI output • Bits 0,1,2 - Control for and to J1-18. Port E9 if in Mode 1.
*15-16
• Bit 3 - Port E8 Interrupt (55PAI) to interrupt ·jumper matrix.
• Bits 4,5 - Input or output (both must be in same direction).
• Bit 6 - Port E8 Acknowl-edge (ACK/) input.
• Bit 7 - Port E8 Output Buffer Full (OBF/) output.
2-13
Preparation for Use iSBC 80/30
Table 2-11. 8255A Port Configuration Jumpers (Continued)
Jumper Configuration Driver (D}I
Port Mode :rerminator (T) Delete Add Effect Port Restrictions
EB 2 B226: A1,A2 *7-8 B-13 Allows ACKAI input to E9 None. (bidi rectional) T:A3 control B226 in/out
D:A4 direction. EA Port EA bits perform the following:
*21-22 Connects J1-26 to • Bit 0 - Can only be used STBAI input. for jumper option (see
figure 5-2 zone 4ZC4).
*17-1B 17-25 Connects IBFA output • Bits 1 ,2 - Can be used for and to J1-24. input or output if Port E9
*25-26 is in Mode O. *13-14 Connects J1-30 to • Bit 3 - Port EB Interrupt
ACKA/ input. (55PAI) to interrupt jumper matrix.
*9-10 9-15 Connects OBFA/ output • Bit 4 - Port EB Strobe and to J1-1B. (STB/) input.
*15-16 • Bit 5 - Port EB Input Buffer
Full (IBF) output.
• Bit 6 - Port EB Acknowl-edge (ACK/) input.
• Bit 7 - Port EB Output Buffer Full (OBF/) output.
E9 o Input T: A5,A6 None None EB None.
EA None; Port EA can be in Mode 0, input or output, if Port EB is also in Mode O.
E9 o Output D: A5,A6 None None EB None. (latched) EA None; Port EA can be in
Mode 0, input or output, if Port EB is also in Mode O.
E9 1 Input T: A3,A5,A6 *23-24 Connects IBFs output EB None. (strobed) D:A4 to J1-22. EA Port EA bits perform the
following: *19-20 10-20 Connects J 1-32 to • Bit 0 - Port E9 Interrupt
and STBsI input. (55PBI) to interrupt jumper *9-10 matrix.
• Bit 1 - Port E9 Input Buffer Full (IBF) output.
• Bit 2 - Port E9 Strobe (STB/) input.
• Bit 3 - If Port EB is in Mode 0, bit 3 can be input or output. Otherwise, bit 3 is reserved. .
• Bits 4,5 - Dep~nds on Port EB mode. !
• Bits 6,7 - Input or output (both must be in same direction).
2-14
iSBC 80/30 Preparation for Use
Table 2-11. 8.255A Port Configuration Jumpers (Continued)
Jumper Configuration Driver (D)/
Port Mode Terminator (T) Delete Add Effect Port Restrictions
E9 1 Output T:A3 *25-26 *23-24 Connects OBFs/ output EB None. (latched) D: A4,AS,A6 J1-22. EA Port EA bits perform the
following:
*19-20 10-20 Connects J1-32 to • Bit 0 - Port E9 Interrupt and ACKs/ input. (SSPBI) to interrupt
*9-10 jumper matrix.
• Bit 1 - Port E9 Output Buffer Full (OBF/) output.
• Bit 2 - Port E9 Acknowl-edge (ACKI) input.
• Bit 3 - If Port EB is in Mode 0, bit 3 can be input or output. Otherwise, bit 3 is reserved.
• Bits 4,5 - Input or output (both must be in same direction).
• Bits 6,7 - Depends on Port EB mode.
EA o Input T:A3 None *21-22 Connects bit 4 to J 1-26. EB Port EB must be in Mode 0 (upper) *17-1B Connects bit S to J 1-2B. for all four bits to be available.
*13-14 Connects bit 6 to J 1-30. *9-10 Connects bit 7 to J 1-32. E9 Port E9 must be in Mode 0
for all four bits to be available.
EA o Input T:A4 None *2S-26 Connects bit 0 to J 1-24. EB Port EB must be in Mode 0 (lower) *23-24 Connects bit 1 to J 1-22. for all four bits to be available.
*19-20 Connects bit 2 to J1-20. *1S-16 Connects bit 3 to J 1-1B. E9 Port E9 must be in Mode 0
for all four bits to be available.
EA o Output D: A3 None Same as for Port EA (upper) EAB Same as for Port EA (upper) (upper) (latched) Mode 0 Input. Mode 0 Input.
EA o Output D:A4 None Same as for Port EA (lower) E9 Same as for Port EA {lower} (lower) (latched) Mode 0 Input.
*Default jumper connected at the factory.
2-24. MUL TIBUS CONFIGURATION
For systems applications, the iSBC 80/30 is designed for installation in a standard Intel iSBC 604/614 Modular Backplane and Cardcage. (Refer to table 2-1 items 1 and 2.) Alternatively, the iSBC 80/30 can be interfaced to a user-designed system backplane by means of an 86-pin connector. (Refer to table 2 -1 item 3.) Multibus signal characteristics and methods of implementing a serial or parallel priority resolution scheme for resolving bus contention in a mUltiple bus master system are described in the following paragraphs. ..
Always tum off the system power supply before installing the board in or removing the board
Mode 0 Input.
from the backplane. Failure to observe this precaution can cause damage to' the board.
2-25. SIGNAL CHARACTERISTICS
As shown in figure 1-1, connector PI interfaces the iSBC 80/30 to the Multibus. Connector PI pin assignments are listed in table 2 -12 and descriptions' of the signal functions are provided in table 2-13.
The dc characteristics of theiSBC 80/30 bus interface signals are provided in table 2-14. The ac chara<;teristics of the iSBC 80/30 when operating in the master mode and slave mode are provided in tables 2-15 and 2-16, respectively. Bus exchange timing diagrams are provided in figures 2-3 and 2-4.
2-15
Preparation for Use iSBC 80/30
Table 2-12. Multibus Connector PI Pin Assignments
Pin* Signal Function Pin* Signal Function
1 GND } 44 ADRF/ 2 GND
Ground ADRC/ 45
3 +5V , 46 ADRD/ 4 +5V 47 ADRN 5 +5V 48 ADRB/
6 +5V 49 ADR8/ 7 +12V > Power input
50 ADR9/ 8 +12V 51 ADR6/ > Address bus
9 -5V 52 ADR7/ 10 -5V J 53 ADR4/
11 GND } Ground 54 ADR5/
12 GND 55 ADR2I
13 BCLKI Bus Clock 56 ADR3/ 14 INIT/ System Initialize 57 ADRO/ 15 BPRN/ Bus Priority In 58 ADR1/ J
16 BPRO/ Bus Priority Out 59 17 BUSY/ Bus Busy 60 18 BREQ/ Bus Request 61 19 MRDC/ Memory Read Command 62
20 MWTC/ Memory Write Command 63 21 10RC/ I/O Read Command 64 22 10WC/ I/O Write Command 65
23 XACKI Transfer Acknowledge 66 24 INH1/ Inhibit RAM 67 DAT6/
, 25 68 DAT7/ 26 69 DAT4/ 27 70 DAT5/
> Data Bus 28 ADR10/ Extended Address bus 71 DAT2I 29 CBRQ/ Common Bus Request 72 DAT3/ 30 ADR11/ Extended Address bus 73 DATO/ 31 CCLKI Constant Clock 74 DAT1/ J
32 ADR12/ Extended Address bus 75 GND I Ground 33 76 GND 34 ADR13/ Extended Address bus 77
35 INT6/ Interrupt request on level 6 78
36 INT7/ Interrupt request on level 7 79 +12V ,
37 INT4/ Interrupt request on level 4 80 -12V 38 INT5/ Interrupt request on level 5 81 +5V
>' Power input 39 INT2/ Interrupt request on level 2 82 +5V 40 INT3/ Interrupt request on level 3 83 +5V 41 INTO/ Interrupt request on level 0 84 +5V J
42 INT1/ Interrupt request on level 1 85 GND I \ Ground
43 ADRE/ 86 GND
'::AII odd-numbered pins (1, 3, 5 ... 85) are on component side of the board. Pin 1 is the left-most pin when viewed from the component side of the board with the extractors at the top. All unassigned pins are reserved.
2-16
iSBC 80/30
Signal
ADRO/-ADRF/ ADR10/-ADR13/
BClK!
BPRN/
BPRO/
BREQ/
BUSY/
CBRQ/
CClK!
DATO/-DAT7/
INH1/
INIT/
INTO/-INT7/
10RC/
10WC/
MRDC/
MWTC/
XACK!
Preparation for Use
Table 2-13. Multibus Signal Functions
Functional Description
Address. These 20 lines transmit the address of the memory location or I/O port to be accessed. ADRF/ is the most-significant bit except where ADR10/ through ADR13/ are used. ADR10/ through ADR13/ are transmitted only by those bus masters capable of addressing beyond 65K of memory. In this case, ADR13/ is the most-significant bit.
Bus Clock. Used to synchronize the bus contention logic on all bus masters. When generated by the iSBC 80/30, BClK! has a period of 108 nanoseconds (9.22 MHz) with a 35-65 percent duty cycle.
Bus Priority In. Indicates to a particular bus master that no higher priority bus master is requesting use of the bus. BPRN/ is synchronized with BelK!.
Bus Priority Out. In serial (daisy chain) priority resolution schemes, BPRO/ must be connected to the BPRN/ input of the bus master with the next lower bus priority.
Bus Request. In parallel priority resolution schemes, BREQ/ indicates that a particular bus master requires control of the bus 'for one or more data transfers. BREQ/ is synchronized with BClK!.
Bus Busy. Indicates that the bus is in use and prevents all other bus masters from gaining control of the bus. BUSY/ is synchronized with BClK!.
Common Bus Request. Indicates that a bus master wishes control of the bus but does not presently have control. As soon as control of the bus is obtained, the requesting bus controller raises the CBROI signal.
Constant Clock. Provides a clock signal of constant frequency for use by other system modules. When generated by the iSBC 80/30, CClK! has a period of 108 nanoseconds (9.22 MHz) with a 35-65 percent duty cycle.
Data. These eight bidirectional data lines transmit and receive data to and from the addressed memory location or I/O port. DAT7/ is the most-significant bit.
Inhibit Ram. Prevents system access to on-board RAM; allows system addresses to overlay on-board RAM for certain applications. This signal has no effect on on-board access of on-board RAM.
Initialization. Resets the entire system to a known internal state.
Interrupt. These eight lines are for inputting interrupt requests to the iSBC 80/30. INTO/ has the highest priority; INT7/ has the lowest priority.
I/O Read Command. Indicates that the address of an I/O port is on the Multibus address lines and that the output of that port is to be read (placed) onto the Multibus data lines.
I/O Write Command. Indicates that the address of an I/O port is on the Multibus address lines and that the contents on the Multibus data lines are to be accepted by the addressed port.
Memory Read Command. Indicates that the address of a memory location is on the Multibus address lines and that the contents of that location are to be read (placed) on the Multibus data lines.
Memory Write Command. Indicates that the address of a memory location is on the Multibus address lines and that the contents on the Multibus data lines are to be written into that location.
Transfer Acknowledge. Indicates that the addressed memory location has completed the specified read or write operation. That is, data has been placed onto or accepted from the Multibus data lines.
2-17
Preparation for Use iSBC 80/30
Table 2-14. iSBC 80/30 DC Characteristics
Signals Symbol Parameter Test Min. Max. Units Description Conditions
ADRO/-ADRC/ VOL Output Low Voltage IOL = 50 rnA 0.5 V
VOH Output High Voltage IOH = -10 rnA 2.4 V
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.45V -0.25 rnA
IIH Input Current at High V VIN = 5.25V 80 /LA
ILH Output Leakage High Vo = 5.25V 200 /LA
ILL Output Leakage Low Vo = 0.45V 200 /LA
*CL Capacitive Load 18 pF
ADRD/-ADRF VOL Output Low Voltage IOL = 50 rnA 0.5 V
VOH Output High Voltage IOH = 10 rnA 2.4 V
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.45V -0.5 rnA
IIH Input Current at High V VIN = 5.25V 200 /LA
*CL Capacitive Load 25 pF
ADR1 0/ -ADR13/ VIL Input Low Voltage 0.85 V
VIH Input High Voltage 2.0 V
IlL Input CLn'rent at Low V VIN = 0.45V -0.25 rnA
IIH Input Current at High V VIN = 5.25V 10 /LA
*CL Capacitive Load 18 pF
BCLI<! VOL Output Low Voltage IOL = 59.5 rnA 0.5 V
VOH Output High Voltage IOH = -3 rnA 2.7 V
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.45V -0.5 rnA
IIH Input Current at High V VIN = 5.25V 100 /LA
*CL Capacitive Load 15 pF
BPRN/ VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = O.4V -1.6 rnA
IIH Input Current at High V VIN = 2.4V 40 /LA
*CL Capacitive Load 18 pF
*Capacitive load values are approximations.
2-18
iSBC 80/30 Preparation for Use
Table 2-14. iSBC 80/30 DC Characteristics (Continued)
Signals Symbol Parameter Test Min. Max. Units Description Conditions
BPRO/ VOL Output Low Voltage IOL= 3.2 rnA 0.45 V
VOH Output High Voltage IOH = -400 p.A 2.4 V
ILH Output Leakage High Vo = 5.25V 100 p.A
ILL Output Leakage Low Vo = 0.45V -100 p.A
*CL Capacitive Load 15 pF
BREQ/ VOL Output Low Voltage IOL= 20 rnA 0.45 V
VOH Output High Voltage IOH = -400 p.A 2.4 V
VIL Input Low Voltage Vo= 5.25V 100 p.A
VIH Input High Voltage Vo= 0.45V -100 p.A
*CL Capacitive Load 15 pF
BUSY/, CBRQ/, VOL Output Low Voltage IOL= 20 rnA 0.45 V INTROUT/ (OPEN COLLECTOR) *CL Capacitive Load 20 pF
CCLKI VOL Output Low Voltage IOL= 60 rnA 0.5 V
VOH Output High Voltage IOH = -3 rnA 2.7 V
*CL Capacitive Load 15 pF
DATO/-DAT7/ VOL Output Low Voltage IOL= 50 rnA 0.6 V
VOH Output High Voltage IOH = -10 rnA 2.4 V
VIL Input Low Voltage 0.95 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.45V -0.25 rnA
ILH Output Leakage High Vo = 5.25V 100 p.A
ILL Output Leakage Low Vo = 0.45V 100 p.A
*CL Capacitive Load 18 pF
INH1/ VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.5V -2.0 rnA
IIH Input Current at High V VIN = 2.7V 50 p.A
*CL Capacitive Load 18 pF
INIT/ VOL Output Low Voltage IOL = 46 rnA 0.4 V (SYSTEM RESET)
VOH Output High Voltage OPEN COLLECTOR
VIL Input Low Voltage 0.8 V
*Capacitive load values are approximations.
2-19
Preparation for Use iSBC 80/30
Table 2-14. iSBC 80/30 DC Characteristics (Continued)
Signals Symbol Parameter Test Min. Max. Units Description Conditions
INIT/ VIW Input High Voltage 2.0 V (SYSTEM RESET) (Continued) IlL Input Current at Low V VIN = 0.5V -2.0 mA
IIH Input Currerit at High V VIN = 2.7V 90 /-LA
*CL Capacitive Load 15 pF
INTO/-INT7 VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = O.4V -0.4 mA
IIH Input Current at High V VIN = 2.7V 20 /-LA
*CL Capacitive Load 15 pF
IORC/, IOWC/ VOL Output Low Voltage IOL = 32 rnA 0.45 V
VOH Output High Voltage IOH = -2 rnA 2.4 V
ILH Output Leakage High Vo= 5.25V 100 /-LA
ILL Output Leakage Low Vo= 0.45V -100 /-LA
*CL Capacitive Load 15 pF
MRDC/, MWTC/ VOL Output Low Voltage IOL = 32 rnA 0.45 V
VOH Output High Voltage IOH = -2 rnA 2.4 V
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.4V -0.5 rnA
IIH Input Current at High V VIN = 2.7V 150 /-LA
*CL Capacitive Load 15 pF
XACK/ VOL Output Low Voltage IOL = 32 mA 0.4 V
VOH Output High Voltage IOH = -5 mA 2.4 V
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = O.4V -0.95 rnA
IIH Input Current at High V VIN = 2.4V 60 /-LA
*CL Capacitive Load 25 pF
*Capacitive load values are approximations.
2-20
iSBC 80/30 Preparation for Use
Table 2-15. iSBC 80/30 AC Characteristics (Master Mode)
Overall Read Write
Parameter Min. Max. Min. Max. Min. Max. (ns) (ns) (ns) (ns) (ns) (ns)
Description Remarks
tAS 50 50 50 Address setup time to command tAH 50 50 50 Address hold time from command tos 50 50 Data setup to command tOHW 50 50 Data hold time from command
.tCY 358 365 CPU cycle time tCMoR 670 Read command width With 1 wait state
tCMOW 390 Write command width With 1 wait state
tCSWR 575 Read-to-write command separation In override mode
tCSRR 465 Read-to-read command separation In override mode
tcsww 575 Write-to-write command separation In override mode
tCSRW 465 Write-to-read command separation In override mode
tXACK1 -195 Read command to XACK 1 st sample point In override mode
tXACK2 -509 Write command to XACK 1 st sample point In override mode
tSAM 350 375 Time between XACK samples In override mode
tACKRO 75 AACK to valid read data When AACK is used
tACKWT 175 AACK to write command inactive When AACK is used
tOHR 0 Read data hold time tOXL -75 Read data setup to XACK tXKH 0 0 0 XACK hold time
tsw 35 Bus clock low or high interval Supplied by system
tss 23 BPRN to BCLK setup time toSY 55 BCLK to BUSY delay tNOO 30 BPRN to BPRO delay tsCY 108 109 Bus clock period (BCLK) From iSBC 80/30 when terminated
tsw 35 74 Bus clock low or high interval From iSBC 80/30 when terminated
tlNIT 3000 Initialization width After all voltages have stabilized
Table 2-16. iSBC 80/30 AC Characteristics (Slave Mode)
Parameter Minimum Maximum
Description Remarks (ns) (ns)
tAS 50 Address setup to command From address to command
tos -200 Write data setup to' command tOS1 1500 On-board memory cycle delay No refresh
tACK 480 720 Command to XACK tCMo 720 Command width tAH 0 Address hold time tOHW 0 Write data hold time tOHR 0 Read data hold time tXTH 0 45 Acknowledge hold time Acknowledge turnoff delay
*tACC 645 Access time to read data tlH 50 Inhibit time from command trailing edge Blocks AACK if tiS> tiS min.
tlPW 100 Inhibit pulse width *tCY 680 920 Minimum cycle time tCY =. tACK + tSEP
toS2 1865 On board memory cycle delay Refresh delaying SACK
tRO 535 555 Refresh delay time toxL 25 Read data setup to XACK
tsEP 200 Command separation tiS -50 Inhibit setup to command Blocks RAM cycle and tACK
*When an asynchronous refresh cycle occurs, tRO is added to these parameters; when on-board memory cycle occurs, tOS1 is also added.
2-21
iSBC 80/30
tBCy--1 tBW--1 H r-tBW
BCLKJ
BREa/
BPRN/
BUSY/ '--_________________ ...1 L ___ _
BPRO/
tDBO
ADDRESS STABLE ADDRESS
WRITE DATA
WRITE COMMAND/
~ ~ ______ STA_BLE_DA_TA ____ ~X ( IAS.IDS-_j" I --j ~IAH. IDHW
\~~~----------------------tCMDW------------------------------~~~V . I
WRT AACK/
_____________________________ T_A_C_KW_T_~ __ ~ ~~-----------
\-j~IXKH READ COMMAND/ ~------------tCMDR------------.~
READ DATA
b,XKO I~ READ XACKJ
9 ~ I ~tACKRD
J
611-4 Figure 2-3. Bus Exchange Timing (Master Mode)
2-22
iSBC 80/30 Preparation for Use
~-------tCMD---"":""----~
..------tACK------+-I
I r-----+---------------------------+-----+---~~
ADDRESS
MWTCI
XACKJ
I tDS
DATA ------~)(r~------------------DA-T-A-V-A-Ll-D-------------------
DUAL PORT RAM WRITE
ADDRESS ______ -J)(~ ____________________________________________ ~
MRDCI
XACKI
!.------tACC------1~
DATA DATA VALID
INH11 1 lIS IIH+
\ .... 41-----------tIPW-----------1 .. ~1
DUAL PORT RAM READ
Figure 2-4. Bus Exchange Timing (Slave Mode)
2-26. SERIAL PRIORITY RESOLUTION
In a multiple bus master system, bus contention can be resolved in an iSBC 604 Modular Backplane and Cardcage by implementing a serial priority resolution scheme as shown in figure 2-5. Due to the propagation delay of the BPRO/ signal path, this· scheme is limited to a maximum of three bus masters capable of acquiring and controlling the Multibus. In the configuration shown in figure 2-5, the bus master installed in slot J2 has the highest priority and is able to acquire control of the
Multibus at any time because its BPRN/input is always enabled (tied to ground) through jumpers Band N on the backplane. (See figure 5-3.)
If the bus master in slot J2 desires control of the Multibus, it drives its BPRO/ output high and inhibits the BPRN/ input to all lower-priority bus masters. When finished using the Multibus, the J2 bus master pulls its BPRO/ output low and gives the 13 bus master the opportunity to take control of the Multibus. If the 13 bus master does not
2-23
Preparation for Use
15 ~
BO
Nl -
HIGHEST PRIORITY MASTER
J2
BPRNI
BPROI
J3
15 BPRNI ~
16 P-
BPROI
~
CO
Ml -
15 r--O
16 ~
1-.........4
EO
1 -
LOWEST PRIORITY MASTER
J4
BPRNI
BPROI
BPRO/AN NOT USED MASTERS.
~6\
HO
1 -
iSBC 80/30
D BPRNI PINS BY NON-
iSBC 604 BACKPLANE (BOTTOM)
484-2 Figure 2-5. Serial Priority. Resolution Scheme
desire to control the Multibus at this time, it pulls its BPRO/ output low and gives the lowest priority bus master in slot J4 the opportunity to assume control of the Multibus.
The serial priority scheme can be implemented in a userdesigned system bus if the chaining of BPRO/ and BPRN/ signals are wired as shown in figure 5-3.
2-27. PARALLEL PRIORITY RESOLUTION
A parallel priority resolution scheme allows up to 16 bus . masters to acquire and control the Multibus. Figure 2-6
illustrates one method of implementing such a scheme for resolving bus contention in a system containing eight bus masters installed in an iSBC 604/614. Notice that the two highest and two lowest priority bus masters are shown installed in the iSBC 604.
In the scheme shown in figure 2-6. the priority encoder is a Texas Instruments 74148 and the priority decoder is an Intel 8205. Input connections to the priority encoder
2-24
determine the bus priority, with input 7 having the highest priority and input 0 having the lowest priority. Here, the J3 bus master has the highest priority and the J5 bus master has the lowest priority.
IMPORTANT: In a parallel priority resolution scheme, the BPRO/ output must be disabled on all b~s masters. On the iSBC 80/30, disable the BPRO/ output signal by removi~g jumper 169-170. If a similar jumper cannot be removed on the other bus masters, either clip the Ie pin that supplies. the BPRO/ output signal to the Multibus or cut the signal trace.
2-28. ·POWER FAIUMEMORV PROTECT CONFIGURATION
A mating connector must be installed in the iSBC 604/604 Modular Cardcage and Backplane to accommodate auxiliary connector P2. (Refer to figure 1-1.) Table 2-2 lists
iSBC 80/30
NO.2 PRIORITY
J2
NO.1 PRIORITY (HIGHEST)
J3
NO.7 PRIORITY
J4
NO.8 PRIORITY (LOWEST)
J5
Preparation for Use
~ BPRN/
(NOTE)
~ BPRN/
(NOTE)
~ BPRN/
(NOTE)
~ BPRN/
(NOTE)
BREC/ p.!L BREC/~ BREC/ o-!L BREC/ 0-2!-
I -I- - - - - - ~ t--- - - - - - -r - - - - - - - - - - - -- -, iSBC604 I BACKPLANE I C)B AO OC 'DC) )E F( ()H G( I (BOnOM)
L -I- - - - - - ~ t--- - - - - -I- -I- - - - - - - t--- - - - - -- - J
--07
BUS PRIORITY
RESOLVER
P P R R 70--
L-------0I6 b b 610-----'
--0 R R 0--
BREC/INPUTS {--o: ~ ~: o--}g~~~GTS f~g~CM~~TERS -.J'I 3 E D 3 0-- TO MASTERS
-- E IN iSBC 614 .--0 2 ~ C 2~ --0 1 g g 11:r-....--------f-4--.J
r---t---oIIO E E 01:1.........-----+---1
NOTE: REFER TO TEXT REGARDING THE DISABLING OF BPRO/ OUTPUT.
R R
484·1 Figure 2-6. Parallel Priority Resolution Scheme
some 60-pin connectors that can be used for this purpose; flat crimp, solder, and wire wrap connector types are listed. Table 2-17 correlates the signals and pin numbers on the connector.
Procure' the appropriate mating connector for P2 and secure it in place as follows:
a. Position holes in P2 mating connector over mounting holes that are in line with corresponding PI mating connector. .
b. From top of connector, insert two 0.5-inch #4-40 pan head screws down through connector and mounting holes.
c. Install a flat washer, lock washer, and star-type nut on each screw; then tighten the nuts.
When the mating connector for P2 is in place, wire the power fail signals to the appropriate pins of the connector as listed in table 2-17. (The dc characteristics of the' auxiliary signals are given in table 2-18.) In a typical system, these signals would be wired as follows:
a. Connect auxiliary signal common and returns for +5V, -5V, and + 12V backup batteries to P2 pins 1 and 2.
b. Connect + 5V battery input to P2 pins 3 and 4; -5V battery input to P2 pins 7 and 8; and + 12V battery input to P2 pins 11 and 12. Remove jumpers W7, W8, and W9.
c. Connect PFS/input to P2 pin 17 and MEM PROT/ input to P2 pin 20.
d. Connect PA/ input to P2 pin 19; this signal is inverted and applied to the priority interrupt matrix. To assign the PAl irtput as the highest priority interrupt (8085A TRAP), remove jumper i37-i45 and connect jumper 134-137.
e. Connect HLT/ output at P2 pin 28 to external HALT indicator, which is typically a light-emitting diode (LED) mounted on the system enclosure.
f. Connect BTMO output at P2 pin 34 to external TIME OUT indicator, which is typically a LED mounted on the system enclosure.
g. Connect AUX RESET/ input to P2 pin 38. This signal is usually supplied by a momentary closure switch mounted on the system enclosure.
h. Connect W AIT/ output at P2 pin 32 to external WAIT indicator, which is typically a LED mounted on the system enclosure.
2-25
Preparation for Use iSBC 80/30
_ _ _ __ T_able 2-17. Auxiliary ~onnect0l' P2 Pin Assign"!ents
Pin* Signal
1 GND
2 GND
3 +5VAUX
4 +5VAUX
7 -5VAUX
S -5V AUX
11 +12V AUX
12 +12 AUX
17 PFS/
19 PFI/
20 MEM PROT/
2S HLT/
~ 32 WAIT!
34 BTMO
3S AUX RESET/
- -
,
I
Definition
} Auxiliary common
> Auxiliary backup battery supply
Power Fail Status. This externally supplied signal is applied to the SID input of the SOS5A microprocessor to allow the program to check the current status of the system power fail circuit. The status is checked by periodically executing a RIM instruction.
Power Fail Interrupt., This externally supplied signal is applied to the priority interrupt matrix. This signal should normally be jumpered to the SOS5A microprocessor TRAP input.
Memory Protect. This externally supplied signal prevents access to RAM during battery backup operation.
Halt. This output sign~1 indicates that the SOS5A microprocessor is halted.
Wait. This output Signal, which is the same as the CPU ALE Signal, indicates that the SOS5A microprocessor is either halted or in a wait state.
Bus Time Out. This output signal indicates that the SOS5A microprocessor has either halted or is hung up in a wait state (Le., waiting for an acknowledge signal in response to the previous I/O or Memory Command).
Auxiliary Reset. This externally supplied signal initiates a pseudo power~up sequence; i.e., initializes the board and resets the entire system to a known internal state.
*AII odd-numbered pins (1, 3, 5 ... 59) are on component side of the board. Pin 1 is the left-most pin when viewed from the component side of the board with the extractors at the top .
. Table 2-18. Auxiliary Signal (Connector P2) DC Characteristics
Signals Symbol Parameter Test Min. Max. Units
Description Conditions
PFS/, MEM PROT/ VIL Input Low Voltage O.S V VIH Input High Voltage 2.4 V
IlL Input Current at Low V VIN= O.4V 2 rnA IIH Input Current at High V VIN= 2.4V 50 /L CL Capacitive Load 10 pF
AUX RESET/ VIL Input Low Voltage O.S V VIH Input High Voltage 2.6 V IlL Input Current at Low V VIN = 0.45V -0.25 rnA
IIH Input Current at High V VIN = 5.25V 10 /LA CL Capacitive Load 10 /LF
WAIT/ VOL Output Low Voltage 10L = 17 rnA 0.5 V
VOH Output High Voltage IOH = -950 /LA 2.7 V CL Capacitive Load 15 pF
PFI/ VIL Input Low Voltage O.SO V VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.40V -0.4 rnA IIH Input Current at High V VIN = 2.7V 20 /LA CL Capacitive Load 15 pF
2-26
iSBC 80/30
2-29. PARALLEL I/O CABLING
Parallel I/O ports E8, E9, and EA are controlled by the Intel 8255A Programmable Peripheral Interface (PPI) and interfaced via edge connector J 1. Parallel I/O ports 1 and 2 are controlled by the optional Intel 8041/8741 Universal Peripheral Interface and interfaced via edge connector J2~ (Refer to figure 1-1.) Pin assignments for J 1 and· J2 are listed in tables 2-19 and 2-20, respectively; dc characteristics of the parallel I/O signals are given in table 2-21. Table 2-2 lists some 50-pin edge connectors that can be used for interface to 11 and J2; flat crimp, solder, and wirewrap connector types are listed.
The transmIssion path from the I/O source to the iSBC 80/30 should be limited to 3 meters (10 feet) maximum.
The. following bulk cable types (or equivalent) are recommended for interfacing with the parallel I/O ports:
a. Cable, flat, 50-conductor, 3M 3306-50.
b. Cable, flat, 50-conductor (with ground plane), 3M 3380-50.
c. Cable, woven, 25-pair, 3M 3321-25.
An Intel iSBC 956 Cable Set, consisting of two cable assemblies, is recommended for parallel I/O interfacing.
Table 2-19. Connector Jl Pin Assignments
Pin* Function Pin* Function
1 Ground 2 Port E9 bit 7 3
I 4 Port E9 bit 6
5 6 Port E9 bit 5 7 8 Port E9 bit 4 9 10 Port E9 bit 3
11 12 Port E9 bit 2 13 14 Port E9 bit 1 15 Ground 16 Port E9 bit 0
17 Ground 18 Port EA bit 3 19
I 20 Port EA bit 2
21 22 Port EA bit 1 23 24 Port EA bit 0 25 26 Port EA bit 4 27 28 port EA bit 5 29 30 Port EA bit 6 31 Ground 32 Port EA bit 7
33
Gror 34 Port E8 bit 7
35 36 Port E8 bit 6 37 38 Port E8 bit 5 39 40 Port E8 bit 4 41 42 Port E8 bit 3 43 44 Port E8 bit 2 45 46 Port E8 bit 1 47 Ground 48 Port E8 bit 0
49 Ground 50 EXT INTRO/
*AII odd-numbered pins (1, 3, 5, ... 49) are on com-ponent. side of the board. Pin 1 is the right-most pin when viewed form the component side of the board with the extractors at the top.
Preparation for Use
Both cable ,:!ssemblies consist of a 50-conductor flat cable with a 50-pin PC connector at one end. When attaching the cable to 11 or J2, be sure that the connector is oriented properly with respect to pin 1 on the edge connector. (Refer to the footnotes in tables 2-19 and 2~20.)
2-30. SERIAL I/O CABLING
Pin assignments and signal definitions for RS232C serial I/O interface are listed in table 2-10. An Intel iSBC 955 Cable Set is recommended for RS232C interfacing. One cable assembly consists of a 25 -conductor flat cable with a 26-pin PC connector at one end and an RS232C interface connector at the other end. The second cable assembly includes an RS232C connector at one end and has spade lugs at the other end; the spade lugs are used to interface to a teletypewriter. (Se·e Appendix B for ASR-33 TTY interface instructions.)
For OEM applications where cables will be made for the iSBC 80/30, it is important to note that the mating connector for 13 . has 26 piJ?~ .whereas the RS232C connector has 25 pins. Consequently, when connecting the 26-pin- mai-ing connector to 25-conductor flat cable, be sure that the
Table 2-20. Connector J2 Pin Assignments
Pin* Function Pin* Function
1 Ground 2 Port 2 bit 7 3
I 4 Port 2 bit 6
5 6 Port 2 bit 5 7 8 Port 2 bit 4* * 9 10 Port 2 bit 3* *
11 12 Port 2 bit 2* * 13 14 Port 2 bit 1* * 15 Ground 16 Port 2 bit 0* *
17 Ground 18 TO Input 19
I 20 T1 Input
21 22 Not Used 23 24 Not Used 25 ·26 Not Used 27 28 Not Used 29 30 41 RS232 Out* * 31 Ground 32 41 RS232 In* *
33 Ground 34 Port 1 bit 7 35 ' I 36 Port 1 bit 6 37 38 Port 1 bit 5 39 40 Port 1 bit 4 41 42 Port 1 bit 3 43 44 Port 1 bit 2 45 46 Port 1 bit 1 47 Ground 48 Port 1 bit 0
49 Ground 50 EXT INTR1/
*AII odd-numbered pins (1, 3, 5, ... 49) are on com-ponent side of the board. Pin 1 is the right-most pin when viewed from the component side of the board with the extractors at the top.
* *Jumpered pin or function. Refer to figure 5-2 sheet 5.
Preparation for Use iSBC 80/30
table 2·21. Parallel 1/0 Signal (Connectors JlIJ2) DC Characteristics
Signals Symbol Parameter Test Min. Max. Units Description Conditions
Port E8 VOL Output Low Voltage IOL = 20 rnA 0.45 V Bi di rectional Drivers VOH Output High Voltage IOH = -12 rnA 2.4 V
VIL Input Low Voltage 0.95 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.45V -5.25 rnA
CL Capacitive Load 18 pF
8255A VOL Output Low Voltage IOL = 1.7 rnA 0.45 V Driver/Receiver
VOH Output High Voltage IOH = -200 JLA 2.4 V
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at LowV VIN = 0.45 10 JLA
IIH Input Current at High V VIN = 5.0 10 JLA
CL Capacitive Load 18 pF
8041/8741 A Driver/Receiver
VOL Output Low Voltage IOL = 1.6 rnA 0.45 V
VOH Output High Voltage IOH ='50 JLA 2.4 V
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Curr~nt at Low V VIN = 0.8V 0.4 JLA
IIH Input Current at High V VIN = 5.25V 10 JLA
CL Capacitive Load 18 pF
EXT INTO VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = 0.4V -5.5 3mA
IIH Input Current at HighV VIN = 2."N 20 3 JLA
CL Capacitive ~oad 15 pF
EXT INTi VIL Input Low Voaltage 0.8 V
VIH Input High Voltage 2.0 V
IlL Input Current at Low V VIN = O.4V -0.4 rnA
IIH Input Current at High V VIN = 2."N 20 JLA
CL Capacitive Load 15 pF
2-28
iSBC 80/30
cable makes contact with pins 1 and 2 of the mating connector and not with pin 26. Table 2-22 provides pin correspondence between connector 13 and an RS232C connector. When attaching the cable to J3, be sure that the PC connector is oriented properly with respect to pin 1 on the edge connector. (Refer to the footnote in table 2-10.)
--
Table 2-22. Connector J3 Vs RS232C Pin Correspondence
PC Conn. RS232C PC Conn. RS232C J3 Conn. J3 Conn.
1 14 14 7 2 1 15 21 3 15 16 8 4 2 17 22 5 16 18 9 6 3 19 23 7 17 20 10 8 4 21 24 9 18 22 11
10 5 23 25 11 19 24 12 12 6 25 N/C 13 20 26 13
Preparation for Use
2-31. BOARD INSTALLATION
Always turn off the computer system power supply before installing or removing the iSBC 80/30 board and before installing or removing device interface cables. Failure to take these precautions, can result in damage to the board.
In an iSBC 80 Single Board Computer based system, install the iSBC 80/30 in any slot that has not been wired for a dedicated function. In an Intellec System, install the iSBC 80/30 in any slot except slot 1 or 2. Make sure that auxiliary connector P2 (if used) mates with the userinstalled mating connector. Attach the appropriate cable assemblies to connectors J 1 through 13.
2-29/2-30
CHAPTER 3 PROGRAMMING INFORMATION
3-1. INTRODUCTION
This chapter lists the on-board memory and I/O address assignments, describes the effects of a system initialize command, and provides programming information for the following programmable chips:
a. Intel 8251A USART (Universal Synchronous/ Asynchronous Receiver/Transmitter) that controls the serial I/O port.
b. Intel 8253 PIT (Programmable Interval Timer) that controls various frequency and timing functions.
c. Intel 8255A PPI (Programmable Peripheral Interface) that controls the three parallel I/O ports.
d. Intel 8259A PIC (Programmable Interrupt Controller) that can handle up to eight vectored pfi:ority interrupts for the on-board 8085A microproces·sor (CPU).
e. Intel 8041/8741 UPI (Universal Peripheral Interface).
This chapt~r also discusses the Intel 8085A Microprocessor interrupt capability. The instruction set for the 8085A is included in Appendix A; a complete description of programming with Intel's assembly language is given in the 8080/8085' Assembly Language Programming Manual, Order No. 9800310.
This chapter does not provide assembly language programming information for the optional Intel 8041/8741 UPI (Universal Peripheral Interface). This information is available in the UPI-41 User's Manual, Order No. 9800504A.
3-2. FAILSAFE TIMER
The 8085A microprocessor (CPU) expects an acknowledge signal to be returned from the addressed I/O or memory device in response to each Read or Write Command. The iSBC 80/30 includes a Failsafe Timer that is triggered during T 1 of every machine cycle. If the Failsafe Timer is enabled by hardwire jumper as described in table 2-4, and an acknowledge signal" is not received within 10 milliseconds, the Failsafe Timer will time out and allow the CPU to exit the wait state. As described in Chapter 2, provision is made so that the Failsafe Timer output (BUS TIME OUT) can optionally be used to interrupt the CPU and/or to drive a front panel indicator.
If the Failsafe Timer is not enabled, and an acknowledge signal is not returned for any reason, the CPU will hang up
in a wait state. In this situation, the only way to free the CPU is to initialize the system as described in paragraph 3-5.
3-3. MEMORY ADDRESSING
The iSBC 80/30 includes 16K of dynamic RAM and two IC sockets to accommodate up to 8K of user-installed ROM/PROM. The iSBC 80/30 features a two-port RAM access arrangement in which the on-board RAM can be accessed by the on-board 8085A microprocessor (CPU) or by another bus master board via the Multibus. The ROM/PROM can be accessed only by the CPU.
The on-board RAM can be accessed by another bus master that currently has control of the Multibus. It should be noted, however, that even though another bus master may be continuously accessing the iSBC 80/30 on-board RAM, this does not lock out the CPU from accessing the on-board RAM. In this situation, Memory Commands from the CPU and the controlling bus master are interleaved. This, of course, will impose CPU wait states until the current access by the controlling bus master is completed.
Addresses for CPU access of ROM/PROM and on-board RAM are provided in table 3 -1. Note that the ROM! PROM address space depends on the user's configura-
Table 3-1. On-Board Memory Addresses (For CPU Access)
On-Board Memory Configuration Legal Address lllegal Address
ROM/PROM One 1K x 8 chip 0OOO-03FF 0400-07FF Two 1K x 8 chips 0OOO-07FF -
ROM/PROM One 2K x 8 chip 0OOO-07FF 0800-0FFF Two 2K x 8 chips OOOO-OFFF -
ROM/PROM One 4K x 8 chip OOOO-OFFF 1000-1FFF Two 4K x 8 chips 0OOO-1FFF -
RAM 8K Access 2000-3FFF None *4000-5FFF None 6000-7FFF None 8000-9FFF None AOOO-BFFF None COOO-OFFF None EOOO-FFFF None
RAM *16K Access *4000-7FFF None 8000-BFFF None COOO-FFFF None
*Oefault (factory connected) jumper; refer to paragraph 2-16. Address-ing RAM outside the jumper-selected block results in an off-board request via the Multibus.
3-1
Programming Information
tion, and that the RAM address space depends on whether the board jumpers are configured to allow the CPU to access 8K or 16K of on-board RAM.
For Multibus access, the on-board RAM may be mapped into any 8K or 16K segment within the addressing constraints of the controlling bus master. In other words, for 16-bit Multibus addressing, the RAM may be mapped into any 8K or 16K segment of the 64K byte address space. For 20-bit Multibus addressing, the RAM· may be mapped into any 8K or 16K segment of the I-megabyte address space. Additional information is provided in paragraphs 2-17 through 2-19.
When the CPU is addressing on-board memory (ROM/ PROM or RAM), an internal PROM or RAM Advanced Acknowledge (AACK/) is automatically generated to prevent imposing a CPU wait state. When the CPU is addressing system memory via the Multibus, the CPU must first gain control of the Multibus and, after the Memory Read or Memory Write Command is given, must wait for a Transfer Acknowledge (XACK/) to be received from the addressed memory device. The Failsafe Timer, if enabled, will prevent a CPU hang-up in the event of a memory device equipment failure or a bus failure.
It should be noted in table 3 -1 that it is possible to configur~ ROM/PROM such as to create illegal addresses. If an illegal address is used in conjunction with a Memory Write Command to ROM/PROM, a PROM AACK/ signal is generated as though the address was legal and the CPU will continue executing the program. However, in this case, erroneous data will be returned.
3-4. I/O ADDRESSING
The on-board 8085A microprocessor (CPU) communicates with the programmable chips through a sequence of I/O Read and I/O Write Commands. As shown in table 3 -2, each of these chips recognizes four separate hexadecimal I/O addresses that are used to control the various programmable functions. Where two hexadecimal addresses are listed for a single function, either address may be used. For example, an I/O Read Command to ED or EF will read the status of the 8251A USART.
NOTE The on-board I/O functions are not accessible to another bus master via the Multibus.
3-5. SYSTEM INITIALIZATION
When power is initially applied to the system, an Initialize (INIT/) signal is automatically generated that clears the internal Program Counter, Instruction Register, and Interrupt Enable flip-flop and '·'resets" the 8251A USART, 8255A PPI, and optional 8041/8741A UPI as follows:
3-2
iSBC 80/30
Table 3-2. 1/0 Address Assignments
1/0 Chip Address Select Function
D80r DA Write: ICW1, OCW2, and OCW3 Read: Status and Poll
8259A PIC D9 or DB Write: ICW2 and OCW1 (Mask)
Read: OCW1 (Mask)
DC Write: CounterO (Load Count + N) Read: Counter 0
DD Write: Counter 1 (Load Count + N) Read: Counter 1
8253 PIT
DE Write:Counter2 (Load Count + N) Read: Counter 2
DF Write: Control Read: None
Write: Data
) Ports 1 and 2
(J2) are selected by E4 or E6 8041/8741 •
8041/8741 A Read: Data software UPI (J2) instructions.
E5 or E7 Write: Command Read: Status
E8 Write: Port A (J1) Read: Port A (J1)
E9 Write: Port B (J1) Read: Port B (J1)
8255A PPI
EA Write: Port C (J1) Read: Port C (J1)
EB Write: Control Read: None
EC or EE Write: Data (J3)
8251A Read: Data (J3)
USART Write: Mode or Command ED or EF Read: Status
a. The 8251A USARTis setto an "idle" mode, waiting for a set of Command Words to program the desired function.
b. All three ports of the 8255A PPI are set to the input mode.
c. The 8041/8741A UPI internal Program Counter and Status flip-flops are cleared.
The 8253 PIT and 8259A PIC are not affected by the power-up sequence.
The INIT/ signal is also gated onto the Multibus to set the remainder of the system components to a known internal state.
iSBC 80/30
The !NIT/signal can also be generated by an auxiliary RESET switch. Pressing and releasing the RESET switch produces the same effect as the INIT/ signal described above.
3-6. 8251A USART PROGRAMMING
The USART converts parallel output data into virtually any serial output data format (including IBM Bi-Sync) for half- or full-duplex operation. The USART also converts serial input data into parallel data format.
Prior to starting transmitting or receiving data, the USART must be loaded with a set of control words. These control words, which define the complete functional operation of the USAR T, must immediately follow a reset (internal or external). The control words are either a Mode instruction or a Command instruction.
3-7. MODE INSTRUCTION FORMAT
The Mode 'instruction word defines the general characteristics of the US ART and must follow a re$et operation. Once the Mode instruction word has been written into the USART, sync characters or command instructions may be inserted. The Mode instruction word defines the following:
a. For Sync Mode: (1) Character length (2) Parity enable (3) Even/odd parity generation and check (4) External sync detect (not supported by
iSBC 80/30) (5) Single or double character sync
b. For Async Mode: (1) Baud rate factor (Xl, X16, or X64) (2) Character length (3) Parity enable (4) Even/odd parity generation and check (5) Number of stop bits
Instruction word and data transmission formats for synchronous and asynchronous modes are shown in figures 3-1 through 3-4.
3-8. SYNC CHARACTERS
Sync characters are written to the USAR T in the synchronous mode only. The US ART can be programmed for either one or two sync characters; the format of the sync characters is at the option of the programmer.
3-9. COMMAND INSTRUCTION FORMAT
The Command instruction word shown in figure 3-5 controls the operation of the addressed USAR T. A Command
Programming Information
I scs I ESD I EP I PEN I L21 LI I 0 I 0 I
I L_ CHARACTER LENGTH
0 1 0 1
0 0 1 1
5 6 1 8 81TS BITS BITS BITS
PARITY ENABLE (1 - ENABLEI (0 - DISABLEI
EVEN PARITY GENERATION/CHE CK
-
l' EVEN 0-000
EXTERNAL SYNC DETECT 1 • SYNDET IS AN INPUT 0- SY'IIDET IS AN OUTPUT
SINGLE CHARACTER SYNC 1 • SINGLE SYNC CHARACTER O' DOUBLE SYNC CHARACTER
Figure 3-1. USART Synchronous Mode Instruction Word Format
RECEIVE FORMAT
SYNC CHAR 1
CPU BYTES (5-8 BITS/CHARI
II
DATA CH:,RACTERS
ASSEMBLED SERIAL DATA OUTPUT (T.DI
DATA CHA~,...AC_T_ER_S_---'
SERIAL DATA INPUT (R.DI
SYNC I CHAR ~
CPU BYTES (5-8 BITS/CHARI
DATA CH~RACTERS
Figure 3-2. USART Synchronous Mode Transmission Format
I S2 I SI I EP I PEN I L2j L 1 I B21 B, I
~ BAUD RATE FACTOR
0 1 0 1
0 0 1 1
SYNC (lXI (16XI (64XI MODE
CHARACTER LENGTH
0 1 0 1
0 0 1 1
5 6 1 8 BITS BITS BITS BITS
PARITY ENABLE 1 ~ ENABLE 0 0 DISABLE
EVEN PARlfY GENERATION/CHE 1 0 EVEN 0-000
NUMBER OF STOP BITS
0 1 0 1
0 0 1 1
INVALID 1 1'1} 2 BIT BITS BITS
(ONl Y EFFECTS Tx; Rx NEVER REQUIRES MORE THAN ONE STOP BIT)
Figure 3-3. USART Asynchronous Mode Instruction Word Format
CK
3-3
Programming Information
3-4
GENERATED DO 01---- Ox BY 8251A
DOES NOT APPEAR
RECEIVER INPUT Do 01 ----Ox ON THE DATA BUS
STJ;! BITS L
t t t t RxD I STB~~T G B\-IT_S --'-__ .....
ST6;! Brrs L
PROGRAMMED CHARACTER
LENGTH
TRANSMISSION FORMAT
CPU BYTE (5·8 BITS/CHARI
DATA C:!,RACTER
ASSEMBLED SERIAL DATA OUTPUT (hOI
STO~ L--_-'--_DA_T_A-iCHI-AR_AC_T_ER_-L--:;...----"L...-~BITW
RECEIVE FORMAT
SERIAL DATA INPUTlRxDI
DATA CHARACTER BITS STOD
I-----L.--......... ---f
CPU BYTE (5·8 BITS/CHAR)'
',' L...-_D_AT_A_C~H:~ ,...A_CT_E_R _ .....
'NOTE: IF CHARACTER LENGTH IS DEFINED AS 5, 6 OR 7 BITS THE UNUSED BITS ARE SET TO "ZERO".
Figure 3-4. USART Asynchronous Mode . Transmission Format
TRANSMIT ENABLE 1 = enable 0= disable
DATA TERMINAL READY "high" will lorce DTR output to zero
RECEIVE ENABLE '-------i 1 = enable
o • disable
SEND BREAK '---____ -1 CHARACTER
1 = forces TxD "low" o = normal operation
ERROR RESET .... _---'-____ --1 1 z: reset error flags
PE, OE, FE
REQUEST TO SEND ----I "high" will force RTS
output to zero
INTERNAL RESET L-.. _________ -I "high" returns 8251A to
Mode Instruction Format
ENTER HUNT MODE' L-.. __________ --I l' enable search for Sync
Characters
Figure 3-5. USART Command Instruction Word Format
iSBC 80/30
instruction must follow the mode and/or sync words and, once the Command instruction is written, data can be transmitted or received by the USART.
It is not necessary for a Command instruction to precede all data transactions; only those transmissions that require a change in the Command instruction. An example is a change in the enable transmit bit or enable receive bit. Command instructions can be written to the USAR T at any time after one or more data operations.
After initialization, always read the chip status and check for the TXRDY bit prior, to writing either data or command words to the USART. This ensures that any prior input is not overwritten and lost. Note that issuing a Command instruction with bit 6 (IR) set will return the USART to the Mode instruction format.
3-10. RESET
To change the Mode instruction word, the USART must receive a Reset command. The next word written to the USART after a Reset command is assumed to be a Mode instruction. Similarly, for sync mode, the next word after a Mode instruction is assumed to be one or more sync characters. All control words written into the USART after the Mode instruction (and/or the sync character) are assumed to be Command instructions.
3-11. ADDRESSING
The USAR T chip uses two consecutive pairs of addresses. .The lower of the two addresses in each pair is used to read and write VO data; the upper address in each pair is used to write mode and command words and to read the USAR T status. (Refer to table 3-2.)
3-12. INITIALIZATION
A typical USART initialization and VO data sequence is presented in figure 3-6. The USART chip is initialized in four steps:
a. Reset USART to Mode instruction format.
b. Write Mode instruction word. One function of mode word is to specify synchronous or asynchronous operation.
c. If synchronous mode is selected, write one or two sync characters as required.
d. Write Command instruction word.
To avoid spurious interrupts during USART initialization, disable the USART interrupt. This can be done by either masking the appropriate interrupt request input at the 8259A PIC or by disabling the CPU interrupts by executing a DI instruction.
iSBC 80/30
First, reset the USART chip by writing a Command instruction to location ED (or EF). The Command instruction must have bit 6 set (lR6 = 1); all other bits are immaterial.
NOTE
This reset procedure should be used only if the USART has been completely initialized, or if the initialization procedure has reached the point that the USART is ready to receive a Command word. For example, if the reset command is written when the initialization sequence calls for a sync character, then subsequent programming will be in error.
Next, write a Mode instruction word to the USART. (See figures 3 -1 through 3 -4.) A typical subroutine for writing both Mode and Command instructions is given in table 3-3.
If the USART is programmed for the synchronous mode, write one or two sync characters depending on the transmission format.
Finally, write a Command instruction word to the USART. Refer to figure 3-5 and table 3-3.
3-13. OPERATION
Normal operating procedures use data I/O read and write, status read, and Command instruction write operations. Programming and addressing procedures for the above are summarized in following paragraphs.
NOTE
After the USART has been initialized, always check the status of the TXRDY bit prior to writing data or writing a new command word to the USART. The TXRDY bit must be true to prevent overwriting and subsequent loss of command or data words. The TXRDY bit is
Programming Information
inactive until initialization has been completed; therefore, do not check TXRDY until after the command word, which concludes the initialization procedure, has been written.
Prior to any operating change, a new command word must be written with command bits changed as appropriate. (Refer to figure 3-5 and table 3-3.)
ADDRESS
ED
ED
ED
ED
EC
ED
EC
ED
:~
.~
RESET
MODE INSTRUCTION
SYNC CHARACTER 1
SYNC CHARACTER 2
COMMAND INSTRUCTION
DATA 1/0 :~
COMMAND INSTRUCTION
DATA 1/0 ::~
COMMAND INSTRUCTION
}
SYNC MODE ONLY·
*The second sync character is skipped if Mode instruction has programmed USART to single character internal sync mode. Both sync characters are skipped if Mode instruction has programmed USART to async mode.
Figure 3-6. Typical USART 611·6 Initialization and Data I/O Sequence
3-14. DATA INPUT/OUTPUT. For data receive or transmit operations perform a read or w.rite, respectively, to the USART. Tables 3-4 and 3-5 provide examples of typical character read and write subroutines.
During normal transmit operation, the USARTgenerates a Transmit Ready (TXRDY) signal that indicates that the
Table 3-3. Typical USART Mode or Command Instruction Subroutine
;CMD2 OUTPUTS CONTROL WORD TO USART. ;USES-A, STAT; DESTROYS-NOTHING.
CMD2:
EXTRN STAT
PUSH CALL ANI JZ POP OUT RET
END
PSW' STAT 1 LP PSW OED
;CHECK TXRDY ;TXRDY MUST BE TRUE
;ENTER HERE FOR INITIALIZATION
3-5
Programming Information iSBC 80/30
Table 3-4. Typical USART Data Character Read Subroutine
;RX1 READS DATA CHARACTER FROM USART. ;USES-STAT; DESTROYS-A,FLAGS.
EXTRN STAT
RX1: CALL ANI JZ IN RET
END
STAT 2 RX1 OEC
;CHECK FOR RXRDY
;ENTER HERE IF RXRDY IS TRUE
Table 3·5. Typical USART Data Character Write Subroutine
;TX1 WRITES DATA CHARACTER FROM REG A TO USART. ;USES-STAT; DESTROYS-A,FLAGS.
EXTRN STAT
TX1: PUSH PSW TX11: CALL STAT
ANI 1 JZ TX11 POP PSW OUT OEC RET
END
USART is ready to accept a data character for transmission. TXRDY is automatically reset when the CPU loads a character into the USART.
Similarly, during normal receive operation, the USART generates a Receive Ready (RXRDY) signal that indicates that a character has been received and is ready for input to the CPU. RXRDY is automatkally reset when a character is read by the CPU.
The TXRDY and RXRDY outputs of the USART are available at the priority interrupt jumper matrix. If, for instance, TXRDY and RXRDY are input to the 8259A PIC, the PIC resolves the priority af.l.d drives the INTR input high to the CPU. TXRDY and RXRDY are also available in the status word. (Refer to paragraph 3-15.)
3·15. STATUS READ. The CPU can determine the status of the serial Va port by issuing an Va Read Command to the upper address (ED or EF) of the US ART chip. The format of the status word is shown in figure 3 -7. A typical status read subroutine is given in table 3 -6.
3-6
;SAVE DATA
;CHECK FOR TXRDY
;ENTER HERE IFTXRDY IS TRUE
3-16. 8253 PIT PROGRAMMING
A 22.1184 -MHz crystal oscillator supplies the basic clock frequency for the programmable chips. This clock frequency is divided by 9, 18, and 144 to produce three Jumper-selectable clocks: 2.4576 MHz, 1.2288 MHz, and 153.6 kHz. Thes~ clocks are available for input to Counter 0, Counter 1, and Counter 2 of the 8253 PIT. The default (factory connected) and optional jumpers for selecting the clock inputs to the three counters are listed in table 2-4.
Default jumpers connect the output of Counter 2 to the TXC and RXC inputs of the 8251A USART. Jumpers are included so that Counters ° and 1 can provide real-time interrupts or provide an event clock to the 8041/8741 UPI and a count out clock to 8255A PPI Port EA Va driver.
Before programming the 8253 PIT, ascertain the input clock frequency and the output function of each of the three counters. These factors are determined and established by the user during the installation.
iSBC 80/30 Programming Information
DO
I DSR I SYNDET I FE I DE I PE I TXE I RSRDY I TXRDY I I L-
OVERRUN ERROR ~ TRANSMITTER READY The DE flag Is set when the CPU does Indicates USART Is ready to accept a not read a character before the next data character or command. one becomes available. It Is reset by the ER bit of the Command Instruction. DE does not Inhibit operation of the
RECEIVER READY 8251; however, the previously overrun character Is lost. '--- Indicates USART has received a char·
acter on Its serial Input and Is ready to transfer It to the CPU.
FRAMING ERROR (ASYNC ONLY) FE flag Is set when a valid stop bit Is not TRANSMITTER EMPTY detected at end of every character. It Is Indicates that parallel to serial con· Is reset by ER bit 01 Command Instruc· verter In transmitter Is empty. tlon. FE does not Inhibit operaton 01 8251.
PARITY ERROR PE flag Is set when a parity error Is
SYNC DETECT detected. It Is reset by ER bit 01 Com· When set forlntemal sync detect, Indl· mand Instruction. PE does not Inhibit cates that character sync has been operation of 8251. achieved and 8251 Is ready for data.
DATA SET READY DSR Is general purpose. Normally used to test modem conditions such as Data Set Ready.
450·14 Figure 3-7. USART Status Read Format
Table 3-6. Typical USART Status Read Subroutine
;STAT READS STATUS FROM USART. ;USES-NOTHING; DESTROYS-A.
; STAT IN RET
END
OED
3-17. MODE CONTROL WORD AND COUNT
All three counters must be initialized separately prior to their use. The initialization for each counter consists of two steps:
a. A mode control word (figure 3 -8) is written to the control register for each individual counter.
b. A down-count number is loaded into each counter; number is in one or two 8-bit bytes as determined by mode control word.
;GET STATUS
The mode control word (figure 3 -8) does the following:
a. Selects counter to be loaded.
b. Selects counter operating mode.
c. Selects one of the following four counter read/load functions: (1) Counter latch (for stable read operation). (2) Read or load most-significant byte only. (3) Read or load least-significant byte only. (4) Read or load least-significant byte first, then
most-significant byte.
d. Sets counter for either binary or BCD count.
3-7
Programming Information iSBC 80/30
(BINARY/BCD)
o Binary Counter (16-bits)
M2 M1
0 0 0 0 X 1 X 1
0 0
RL1
0
1
0
1
SC1
0
0
1
1
Binary Coded Decimal (BCD) Counter (4 Decades)
MO (MODE)
0 Mode 0 1 Mode 1 0 Mode 2 1 Mode 3 ~ Use Mode 3 for 0 Mode 4 Baud Rate Generator 1 Mode 5
RLO (READ/LOAD)
0 Counter Latching operation (refer to paragraph 3-29).
0 Read/Load most significant byte only.
1 Read/Load least significant byte only.
1 Read/Load least significant byte first, then most significant byte.
seo (SELECT COUNTER)
0 Select Counter 0
1 Select Cou nter 1
0 Select Counter 2
1 Illegal
611-7 Figure 3-8. ~IT Mode Control Word Format
The mode control word and the count register bytes for any given counter must be entered in the following sequence:
a. Mode control word.
b. Least-significant count register byte.
c. Most-significant count register byte.
As long as the above procedure is followed for each counter, the chip can be programmed in any convenient sequence. For example, mode control words first can be loaded into each of three counters, followed by the leastsignificant byte, etc. Figure 3-9 shows the two programming sequences described above.
3-8
Since all counters in the PIT chip are downcounters, the value loaded in the count registers is decremented. Loading all zeroes into a count register results in a maximum countof216 for binary numbers or 104 for BeD numbers.
When a selected count register is to be loaded, it must be loaded with the number of bytes programmed in the mode control word. One or two bytes can be loaded, depending on the appropriate down count. These two bytes can be programmed at any time following the mode control word, as long as the correct number of bytes is loaded in order.
The count mode selected in the control word controls the counter output. As shown in figure 3 -8, the PIT chip can operate in any of six modes:
iSBC 80/30 Programming Information
PROGRAMMING FORMAT ALTERNATE PROGRAMMING FORMAT
Step Step
1 Mode Control Word
Counter n 1
Mode Control Word Counter 0
2 LSB Count Register Byte
Counter n 2
Mode Control Word Counter 1
3 MSB Count Register Byte
Counter n 3
Mode Control Word Counter 2
4 LSB Counter Register Byte
Counter 1
5 MSB Count Register Byte
Counter 1
6 LSB Count Register Byte
Counter 2
7 MSB Count Register Byte
Counter 2
8 LSB Count Register Byte
Counter 0
9 MSB Count Register Byte
Counter 0
450-18 Figure 3-9. PIT Programming"Sequence Examples
a. Mode 0: Interrupt on tenninal count. In this mode, Counters 1 and 2 can be used for auxiliary functions such as generating real-time interrupt intervals. After the count value is loaded into the count register, the counter output goes low and remains low until the terminal count is reached. The output then goes high until either the count register or the mode control register is reloaded.
b. Mode 1: Programmable one-shot. In this mode, the output of Counter 1 and/or Counter 2 will go low on the count following the rising edge of the GATE input from Port EA. The output will go high on the tenninal count. If a new count value is loaded while the output is low, it will not affect the duration of the one-shot pulse until the succeeding trigger. The current count can be read at any time without affecting the one-shot pulse. The one-shot is retriggerable, hence the output will remain low for the full count after any rising edge of the gate input.
c. Mode 2: Rate generator. In this mode, the output of Counter 1 and/or Counter 2 will be low for one period of the clock input. The period from one output pulse to the next equals the number of input counts in the
• count register. If the count register is reloaded between output pulses, the present period will not be affected but the subsequent period will reflect the new value. The gate input, when low, will force the output high. When the gate input goes high, the
counter will start from the initial count. Thus, the gate input can be used to synchronize the counter. When Mode 2 is set, the output will remain high until after the count register is loaded; thus, the count can be synchronized by software.
d. Mode 3: Square wave generator. Mode 3, which is the primary operating mode for Counter 2, is used for generating Baud rate clock signals. In this mode, the counter output remains high until one-half of the count value in the count register has been decremented (for even numbers). The output then goes low for the other half of the count. If the value in the count register is odd, the counter output is high for (N + 1)/2 counts, and low for (N -1)/2 counts.
e. Mode 4. Software triggered strobe. After this mode is set, the output will be high. When the count is loaded, the counter begins counting. On tenninal count, the output will go low for one input clock period and then go high again. If the count register is reloaded between output pulses, the present count will not be affected, but the subsequent period will reflect the new value. The count will be inhibited ~hile the gate input is low. Reloading the count register will restart the counting for the new value.
f. Mode 5: Hardware triggered strobe. The counter will start counting on the rising edge of the gate input and the output will go low for one clock period when
3-9
Programming Information
the terminal count is reached. The counter is retriggerable; the output will not go low until the full count after the rising edge of the gate input.
Table 3 -7 provides a summary of the counter operation versus the gate inputs; The gate inputs to Counters 0 and 2 are tied high by default jumpers; these gates may optionally be controlled by Port EA. The gate input to Counter 2 is floating high and not optionally controlled.
Table 3-7. PIT Counter Operation Vs. Gate Inputs
~ Low
tatus Or Going Rising High Modes Low
0 Disables Enables counting - counting
1 1) Initiates
- counting 2) Resets output -
after next clock
2 1) Disables counting
Initiates Enables -
2) Sets output counting counting high
immediately
3 1) Disables counting
Initiates Enables 2) Sets output counting counting high
immediately
4 Disables Enables -counting counting
5 Initiates - -counting
iSBC 80/30
3-18. ADDRESSING
As listed in table 3-2, the PIT uses four consecutive I/O addresses: DC through DF. Addresses DC, DD, and DE, respectively, are used in loading and reading the count in Counters 0, 1, and 2. Address DF is used in writing the mode control word to the desired counter.
3-19. INITIALIZATION
To initialize the PIT chips, perform the following:
a. Write mode control word for Counter 0 to DF. Note that all mode control words are written to DF, since mode control word must specify which counter is being programmed. (Refer to figure 3-8.) Table 3-8 provides a sample subroutine for writing mode control words to all three counters.
b. Assuming mode control word has selected a 2-byte load, load least-significant byte of count into Counter o at DC. (Count value to be loaded is described in paragraphs 3-22 through 3-24). Table 3-9 provides a sample subroutine for loading 2-byte count value.
c. Load most-significant byte of count into Counter 0 at DC.
NOTE
Be sure to enter the downcount in two bytes if the counter was programmed for a two-byte entry in the mode control word. Similarly, enter the downcount value in BCD if the counter was so programmed.
d. Repeat steps a, b, and c for Counters 1 and 2.
Table 3-8. Typical PIT Control Word Subroutine
3-10
;INTIMR INITIALIZES COUNTERS 0, 1, 2. ;COUNTERS 0 AND 1 ARE INITIALIZED AS INTERRUPT TIMERS. ;COUNTER 2 IS INITIALIZED AS BAUD RATE GENERATOR. ;ALL THREE COUNTERS ARE SET UP FOR 16-81T OPERATION. ;USES-NOTHING; DESTROYS-A.
INTIMR: MVI OUT MVI OUT MVI OUT RET
END
A,30H ODF A,70H ODF A, B6H ODF
;MODE CONTROL WORD FOR COUNTERO
;MODE CONTROL WORD FOR COUNTER 1
;MODE CONTROL WORD FORCOUNTER2
iSBC 80/30 Programming Information
Table 3-9. Typical PIT Count Value Load Subroutine
;LOADO LOADS COUNTER 0 FROM D&E,D IS MSB, E IS LSB. ;USES-D,E; DESTROYS-A.
3-20. OPERATION
LOADO: MOV OUT MOV OUT RET
END
A,E ODC A,D ODC
The following paragraphs describe operating procedures for a counter read, clock frequency divider/ratio selection, and interrupt timer count selection.
3-21. COUNTER READ. There are two methods that can be used to read the contents of a particular counter. The first method involves a simple read of the desired counter. The only requirement with this method is that, in order to ensure a stable count reading, the desired counter must be inhibited by controlling its gate input. Only Counter 0 and Counter 1 can be read using this method because the gate input to Counter 2 is not controllable.
The second method allows the counter to be read "onthe-fly." The recommended procedure is to use a mode control word to latch the contents of the count register; this ensures that the count reading is accurate and stable. The latched value of the count can then be read.
NOTE
If a counter is read during count, it is mandatory to complete the read procedure; that is, if two bytes were programmed to the counter, then two bytes must be read before any other operations are performed with that counter.
To read the count of a particular counter, proceed as follows (a typical counter read subroutine is given in table 3-10):
;GET LSB
;GET MSB
a. Write counter register latch control word (figure 3-10) to DF. Control word specifies desired counter and selects counter latching operation.
b. Perform a read operation of desired counter; refer to table 3-2 for counter addresses.
NOTE
Be sure to read one or two bytes, whichever was specified in the initialization mode control word. For two bytes, read in the order specified.
3-22. CLOCK FREQUENCY IDIVIDE RATIO SELECTION. Table 2-4 lists the default and optional timer input frequencies to Counters 0 through 2. The timer input frequencies are divided by the counters to generate the 8041/8741 Event Clock (Counter 0), Count Out (Counter 1), and the 8251A Baud Rate Clock (Counter2).
Each counter must be programmed with a downcount number, or count value N. When count value N is loaded into a counter, it becomes the clock divisor. To derive N for either synchronous or asynchronous RS232C operation, use the procedures describ~d in following paragraphs.
3-23. Synchronous Mode. In the synchronous mode, the TXC and/or RXC rates equal the Baud rate. Therefore, the count value is determined by
N = C/B
Table 3-10. Typical PIT Counter Read Subroutine
;READ1 READS COUNTER 1 ON-THE-FL Y INTO D&E. MSB IN D, LSB IN E. ;USES-NOTHING; DESTROYS-A,D,E.
READ1: MVI OUT IN MOV IN MOV RET
END
A,40H ODF ODD E,A ODD D,A
;MODEWORD FOR LATCHING COUNTER 1 VALUE
;LSB OF COUNTER
;MSB OF COUNTER
3-11
Programming Information
I SC11 sca I a I a I x I x I x
450·19A
I' , L " L Don"t Care
Selects Counter Latching Operation
Specifies Counter to be Latched
Figure 3-10. PIT Counter Register Latch Control Word Format
where N is the count value, B is the desired Baud rate, and C is 1.23 MHz, the input clock frequency.
Thus, for a 4800 Baud rate, the required count value (N) is:
N 1.23 X 106 = 256
4800 ----.:
If the binary equivalent of count value N = 256 is loaded into Counter 2, then the output frequency is 4800 Hz, which is the desired clock rate for synchronous mode operation.
3-24. ASYNCHRONOUS MODE. In the asynchronous mode, the TXC and/or RXC rates equal the Baud rate times one of the following multipliers: Xl, X16, orX64. Therefore, the count value is determined by:
N = C/BM
where N is the count value, B is the desired Baud rate, M is the Baud rate multiplier (1, 16, or 64), and C is 1.23 MHz, the input clock frequency.
Thus, for a 4800 Baud rate, the required count value (N) is
1.23 X 106
N = 4800 x 16 = 16.
If the binary equivalent of count value N = 16 is loaded into Counter 2, then the output frequency is 4800 x 16 Hz, which is the desired clock rate for asynchronous mode operation. Count values (N) versus rate multiplier (M) for each Baud rate are listed in table 3 -11.
3-12
iSBC 80/30
NOTE
During initialization, be sure to load the count value (N) into the appropriate counter and the Baud rate multiplier (M) into the 8251 A USART.
Table 3-11. PIT Count Value Vs Rate Multiplier for Each Baud Rate
Baud Rate *Count Value (N) For (8) M = 1 M=16 M=64
75 16384 1024 256 110 11171 698 175 150 8192 512 128 300 4096 256 64 600 2048 128 32
1200 1024 64 16 2400 512 32 8 4800 256 16 4 9600 128 8 2
19200 64 4 38400 32 2 76800 16
*Count Values (N) assume clock is 1.23 MHz. Double Count Values (N) for 2.46 MHz clock. Count Values (N) and Rate Multipliers (M) are in decimal.
3-25. RATE GENERATOR/INTERVAL tIMER. Table 3-12 shows the maximum and minimum rate generator frequencies. and timer intervals for Counters 0 and 1 when these counters, respectively, have 1.23-MHz and 153.6-KHz clock inputs. The table also provides the maximum and minimum generator frequencies and time intervals and may be obtained by connecting Counters 0 and 1 in series.
3-26. INTERRUPT TIMER. To program an interval timer for an interruption terminal count, program the appropriate timer for the correct operating mode (Mode 0) in the control word. Then load the count value (N), which is derived by
where
N = TC
N is the count value for Counter 0, T is the desired interrupt time interval in seconds,
and C is the internal clock frequency (Hz).
Table 3-13 shows the count value (N) required for several time intervals (T) that can be generated for Counters 0 and 1.
iSBC 80/30 Programming Information
Table 3-12. PIT Rate Generator Frequencies and Timer Intervals
Single Timer 1 Single Timer2 Dual Timer3
(Counter 0) (Counter 1) (0 and 1 in Series) Minimum Maximum Minimum Maximum Minimum Maximum
Rate Generator 18.75 Hz 614.4 kHz 2.344 Hz 76.8 kHz 0.00029 Hz 307.2 kHz (Frequency)
Real-Time Interrupt 1.63 p,sec 53.3 msec 13 p,sec (Interval)
NOTES: 1. Assuming a 1.23-MHz clock input 2. Assuming a 153.6-kHz clock input. 3. Assuming Counter 0 has 1.23-MHz clock input.
3-27. 8255A PPI PROGRAMMING
The three parallel I/O ports interfaced to connector J 1 are ~ontrolled by an Intel S255A Programmable Peripheral Interface. Port A includes bidirectional data buffers and Ports Band e include Ie sockets for installation of either input terminators or output drivers depending on the user's application.
Default jumpers set the Port A bidirectional data buffers to the input mode. Optional jumpers allow the bidirectional data buffers to be set to the output mode or to allow any one of the eight Port e bits to selectively set the Port A bidirectional data. buffers to the input or output mode.
Table 2-11 lists the various operating modes for the three PPI parallel I/O ports. Note that Port A (ES) can be operated in Modes 0, 1, or 2; Port B (E9) and Port e (EA) can be operated in Mode ° or 1.
3-28. CONTROL WORD FORMAT
The control word format shown in figure 3 -11 is used to initialize the PPI to define the operating mode of the three ports. Note that the ports are separated into two groups. Group A (control word bits 3 through 6) defines the
Table 3-13. PIT Timer Intervals Vs Timer Counts
T N*
10 p,sec 12 100 p,sec 123
1 msec 1229 10 msec 12288 50 msec 61440
*Count Values (N) assume clock is 1.23 MHz. Double Count Values (N) for 2.46 MHz clock. Count Values (N) are in decimal.
426.67 msec 3.26 p,sec 58.25 minutes
operating mode for Port A (ES) and the upper four bits of Port e (EA). Group B (control word bits ° through 2) defines the operating mode for Port B (E9) and the lower four bits of Port e (EA). Bit 7 of the control word controls the mode set flag.
CONTROL WORD
~ 0 7 \ 0 6 Os \ 0 4 \ 0 3 \ O2 \ 0 1 \ Do I LJ
/ GROUP B \ PORT C (LOWER)
'---- 1 = INPUT 0= OUTPUT
PORT B l' INPUT 0= OUTPUT
MODE SELECTION 0= MODE 0 1 = MODE 1
/ GROUP A \ PORT C (UPPER) 1 = INPUT 0= OUTPUT
PORTA 1 = INPUT 0= OUTPUT
MODE SELECTION 00 = MODE 0 01 = MODE 1 1X = MODE 2
MODE SET FLAG 1 = ACTIVE
Figure 3-11. PPI Control Word Format
3-13
Programming Information iSBC 80/30
Table 3-14. Typical PPI Initialization Subroutine
;INT PAR INITIALIZES PARALLEL PORTS. ;USES-NOTHING; DESTROYS-A.
INT PAR: MVI OUT RET
END
3-29. ADDRESSING
A,92H OEBH
The PPI uses four consecutive addresses (ES through EB) for data transfer, obtaining the status of Port C (EA), and for port control. (Refer to table 3-2.)
3-30. INITIALIZATION
To initialize the PPI, write a,control word to ES. -Refer to figure 3-11 and table 3-14 and assume that the control word is 92 (hexadecimal). This initializes the PLI as follows:
a. Mode Set Flag active
b. Port A (ES) set to Mode 0 Input
c. Port C (EA) upper set to Mode 0 Output
d. Port B (E9) set to Mode 0 Input
e. Port C (EA) lower set to Mode 0 Output
3-31. OPERATION
After the PPI has been initialized, the operation is simply performing a read or a write to the appropriate port.
3-32. READ OPERATION. A typical read subroutine for Port A is given in table 3-15.
3-33. WRITE OPERATION. A typical write subroutine for Port C is given in table 3-16. As shown in figure 3-12, and of the Port C bits can be selectively set or cleared by writing a control word to EB.
;MODE WORD TO PPI PORT A&B IN,C OUT
3-34. 8259A PIC PROGRAMMING
As described in paragraph 2-20, the PIC monitors the interrupt requests from eight separate sources. When one or more of the interrupt requests are active (true), the PIC determines the following:
a. Which input signal has the highest priority.
b. Whether the input signal has a higher priority than the interrupt presently being serviced by the main processor. If so, the interrupt being serviced is interrupted; if not, the input signal is held for later output.
c. Whether the interrupt input bit is masked.
Thus, the basic functions of the PIC are (1) resolve the priority of interrupt requests and (2) issue a single interrupt request to the SOS5A microprocessor (CPU) based on that priority. The output of the PIC is applied directly to the INTR input of the CPU. (Refer to paragraph 3-50.)
3-35. INTERRUPT PRIORITY MODES
The PIC' has two modes for resolving the priority of interrupt inputs: (1) fully nested mode and (2) rotating mode. The rotating mode has two variations: auto-rotating and specific rotating.
3-36. FULLY NESTED MODE. In this mode the PIC input signals are assigned priority from 0 through 7. The PIC operates in this mode unless specifically programmed otherwise. Interrupt IRO has the highest priority and IR 7-has the lowest priority. When an interrupt is acknowledged, the highest priority request is available to the CPU. Lower priority interrutps are inhibited; higher prior-
Table 3-15. Typical PPI Port Read Subroutine
3-14
;AREAD READS A BYTE FROM PORT A INTO REG A. ;USES-A; DESTROYS-A.
AREAD: IN RET
END
OE8H
iSBC 80/30 Programming Information
Table 3-16. Typical PPI Port Write Subroutine
;COUT OUTPUTS A BYTE FROM REG A TO PORT C. ;USES-A; DESTROYS-NOTHING.
COUT: OUT OEAH RET
END
ity interrupts will be able to generate an interrupt that will be acknowledged if the CPU has enabled its own interrupt 'input through software. An End-Of-Interrupt (EOI) command from the CPU is required to reset the PIC for the next interrupt.
3-37. AUTO-ROTATING MODE. In this mode the interrupt priority rotates. Once an interrupt on a given input is serviced, that interrupt assumes the lowest priority. Thus, if there are a number of simultaneous interrupts, the priority will rotate among the interrupts in numerical order. For example, if interrupts IR4 and IR6 request service simultaneously, IR4 will receive the highest priority. After service, the priority level rotates so that IR4 has the lowest priority and IRS assumes the highest priority. In the worst case, seven other interrupts are serviced before IR4 again has the highest priority. Of course, ifIR4 is the only request, it is serviced promptly. In the AutoRotating Mode, priority shifts when the PIC chip receives an End-of-Interrupt (EOI) command.
3-38. SPECIFIC ROTATING MODE. In this mode the software can change interrupt priority by ~pecifying the bottom priority, which automatically sets the highest priority. For example, if IRS is assigned the bottom priority, IR6 assumes the highest priority. In the specific rotat-
CONTROL WORD
BIT SET/RESET 1· SET O· RESET
L.....----------_I ~I! ;~:g~~SET FLAG
Figure 3-12. PPI Port C Bit Set/Reset Control Word Format
ing mode, the priority can be rotated by writing a Specific Rotate at EOI (SEOI) command to the PIC chip. This command contains the BCD code of the interrupt being serviced; that interrupt is reset as the bottom priority. In addition, the bottom priority interrupt can be fixed at any time by writing a command word to the PIC chip.
3-39. INTERRUPT MASK
One or more of the eight interrupt request inputs can be individually masked during the PIC initialization or at any subsequent time. If an interrupt is masked while it is being serviced, lower priority interrupts are inhibited. There are two ways to enable the lower priority interrutps:
a. Write an End-of-Interrupt (EOI) command.
b. Set the Special Mask Mode.
The Special Mask Mode is useful when one or more interrupts are masked. If for any reason an input is masked while it is being serviced, the lower priority interrupts are disabled. However, it is possible to enable the lower priority interrupt with the Special Mask Mode. In this mode, the lower priority lines are enabled until the Special Mask Mode is reset. Higher priorities are not affected.
3-40. STATUS READ
Interrupt request inputs is handled by the following two internal PIC registers:
a. Interrupt Request Register (lRR) , which stores all interrupt levels that are requesting service.
b. In-Service Register (lSR), which stores all interrupt levels that are being serviced.
Either register can be read by writing a suitable command word and then performing a read operation.
3-41. INITIALIZATION COMMAND WORDS
The eight devices serviced by the PIC have eight addres~ ses equally spaced in memory that can be programmed at intervals of four or eight bytes. Interrupt service routines for these eight devices thus occupy a 32- or64-byte block, respectively, of memory. The address format for device interrutp service routine is shown in figure 3-13.
3-15
Programming Information
~ 0' 6 Os 0 4 0 3 O2 0 1 Do
A7 I A6 I As A4 A3 A2 Al AO I '---.---l- - - j\ v
)
DEFINED BY 05-7 OF ICW' AUTOMATICAllY INSERTED BY 8259
~~--------------v~------------~) DEFINED BY ICW2
Figure 3-13. PIC Device Interrupt Addresses
Bits 0-4 are automatically inserted by the PIC whereas bits 6-15 are programmed by Initialization Command Words ICWI and ICW2. If the address interval is eight bytes, bit 5 is automatically inserted by the PIC; if the address interval if four bytes, bit 5 is programmed in ICWI. Thus, the 32-byte or 64-byte block of addresses reserved for interupt service routines can be located anywhere in the available memory space. Table 3-17 shows the address format inserted by the PIC for each device.
Initialization of the PIC consists of writing two or three 8-bit Initialization Command words as shown in figure 3 -14. Since there are no slave PIC's, the initialization for the one PIC consists of writing two Initialization Command Words as follows:
a. The first Initialization Command Word (lCW1) consists of the following: (1) Bits 5-7 specify the most-significant bits of the
lower address byte of the interrupt service routine.
(2) Bit 3 establishes whether the interrupts are requested by a positive-true or requested by a low-to-high transition input. This applies to all input requests handled by the PIC. In other words, if bit 3-1, a low-to-high transition is required to request an interrupt on any of the eight levels ,handled by the PIC.
(3) Bit 2 specifies a 4-byte or 8-byte address interval.
iSBC 80/30
(4) Bit 1 specifies whether or not there are slave (cascaded) PIC's. Since there are no slave PIC's, set bit 1 == l.
(5) Bits 0 and 4 identify the word as ICWl.
b. The second word (lCW2) specifies the upper byte (bits 8-15) of the interrupt service routine.
3-42. OPERATION COMMAND WORDS
After being initialized, the PIC can be programmed at any time for various interrupt modes. The Operation Command Word (OCW) formats are shown in figure 3-15 and discussed in paragraph 3 -45.
3-43. ADDRESSING
The PIC uses two consecutive addresses for writing to and reading internal registers. Address functions pertinent to programming are identified in table 3 -2.
3-44. INITIALIZATION
To initialize the PIC, proceed as follows (table 3-17 provides a typical initialization subroutine);
a. Disable system interrupts by executing a DI (Disable Interrupts) instruction.
b. Write ICWI to D8.
c. Write ICW2 to D9.
d.' Enable system interrupts by executing an EI (Enable Interrupts) instruction.
NOTE The PIC operates in the fully nested mode after the initialization sequence without requiring any Operation Control Word (OCW).
3-45. OPERATION
After initialization, the PIC chips can be progr~mmed at any time for the following operations:
Table 3-17. PIC Device Address Insertion
Device Lower Routine Address Byte
Interval = 4 Interval = 8 D7 D6 D5 .D4 D3 D2 Dl DO D7 D6 D5 D4 D3 D2 Dl DO
IR7 A7 A6 A5 1 1 1 0 0 A7 A6 1 1 1 0 0 0 IR6 A7 A6 A5 1 1 0 0 0 A7 A6 1 1 0 0 0 0
, IR5 A7 A6 A5 1 0 1 0 0 A7 A6 1 0 1 0 0 0 IR4 A7 A6 A5 1 0 0 0 0 A7 A6 1 0 0 0 0 0 IR3 A7 A6 A5 0 1 1 0 0 A7 A6 0 1 1 0 0 0 IR2 A7 A6 A5 0 1 0 0 0 A7 A6 0 1 0 0 0 0 IR1 A7 A6 A5 0 0 1 0 0 A7 A6 0 0 1 0 0 0 IRO A7 A6 A5 0 0 0 0 0 A7 A6 0 0 0 0 0 0
3-16
iSBC 80/30
ICW'
ICW2
0 7 0 6 Os D. 0 3 O2 0, DO
ICW3 (MASTER DEVICEI
0 7 0 6 Os D. 0 3
,. SINGLE O' NOT SINGLE
CALL ADDRESS INTERVAL , • INTERVAL IS 4 O' INTERVAL IS 8
1 .~ LEVEL TRIGGERED o = EDGE TRIGGERED
A7_5 OF LOWER
ROUTINE ADDRESS
UPPER ROUTINE ADDRESS
, • IR INPUT HAS A SLAVE L---'----L_.,..&-----L.._'----'----L_-f O' IR INPUT DOES NOT HAVE
A SLAVE
ICW3 (SLAVE DEVICE)
0 7 0 6 Os D. 0 3 O2 0, DO
, 0 I 0 I 0 I 0 I 0 11D2 lID, I IDol ! ! ! ! !
SLAVE 10 I I
I I I
o , 2 3 4 5 6 7
DON'T o 1 o 1 0 1 0 1 CARE o 0 1 1 0 o 1 1
o 0 0 o 1 , 1 ,
611·8
Figure 3-14. PIC Initialization Command Word Formats
Programming Information
a. Auto-rotating priority.
b. Specific rotating priority.
c. Status read of Interrupt Request Register (lRR).
d. Status read of In-Service Register (lSR).
e. Interrupt mask bits set, reset, or read.
f. Special mask mode set or reset.
Table 3 -19 lists details of the above operations. Note that an End-Of-Interrupt (EOI) or a Special End-Of-Interrupt (SEOI) command is required at the end of each interrupt service routine to reset the ISR. The EOI command is sued in the fully nested and auto-rotating priority modes and the SEDI command, which specifies the bit to be reset, is used in the specific rotating priority mode. Tables 3-20 through 3-24 provide typical subroutines for the following:
a. Read IRR (table 3-20).
b. Read ISR (table 3-21).
c. Set mask register (table 3-22).
d. Read mask register (table 3-23).
e. Issue EOI command (table 3-24).
3-46. 8041/8741A UPI PROGRAMMING
Table 3-2 lists the addresses used 'for writing data and commands and Jor reading data_ and status words. Assembly language programming information for the Intel 8041/8741A is given in the Intel UPI-41 User's Manual, Order No. 9800504, and Control With UPI-41 , Application Note AP-27.
Figure 3 -16 illustrates the internal configuration of the UPI data bus buffer and status register. The CPU accesses the UPI data bus buffer register via I/O Read and Write Commands to E4 or E6. The CPU accesses the UPI status via an VO Read Command to E5 or E7.
Table 3-18. Typical PIC Initialization Subroutine ~-- ...
;INT59 INITIALIZES THE PIC. A 64-BYTE ADDRESS BLOCK BEGINNING WITH ;4000H IS SET UP FOR INTERRUPT SERVICE ROUTINES. ;PIC MASK IS SET, DISABLING ALL PIC INTERRUPTS. ;USES·SMASK; DESTROYS-A.
EXTRN SMASK
INT59: CALL SETD MVI A,12H OUT OD8H ;ICW1 TO PIC MVI A,40H OUT OD9H ;ICW2TO PIC MVI OFFH CALL SMASK RET
END
3-17
Programming Information iSBC 80/30
OCWI
0 7 0, 0 5 D. 03 O2 0, DO
OCW2
0 7 06 Os D. 0 3 O2 0, DO
I R I SEOI I EOI I 0 I 0 I L2 I L, 1 Lo J
I BCD LEVEL TO BE RESET
OR PUT INTO LOWEST PRIORITY
0 1 2 3 4 5 6 7
0 1 0 1 0 1 0 1
0 0 1 1 0 0 1 1
0 0 0 0 1 1 1 1
NON-SPECIFIC END OF INTERRUPT 1 - RESET THE HIGHEST PRIORITY
BITOF ISR 0- NO ACTION
SPECIFIC END OF INTERRUPT 1 - L2. L,. Lo BITS ARE USED 0- NO ACTION
ROTATE PRIORITY 1- ROTATE O-NOTROTATE
OCW3
0 7 06 Os D. 03 O2 0, Do
I - IESMMI SMM I 0 I 1 I P I ERIS I RIS I DoLT I
READ IN-SERVICE REGISTER
I CARE 0 1 0 1
0 I 0 1 1
READ READ
NO ACTION IR REG ISREG ON NEXT ON NEXT
: RDPULSE RDPULSE
POLLING
A HIGH ENABLES THE NEXT AD PULSE TO READ THE BCD CODE OF THE HIGH-EST LEVEL REOUESTING INTERRUPT_
SPECIAL MASK MODE
0 I 1 0 1
0 I 0 1 1
RESET SET NO ACTION SPECIAL SPECIAL
MASK MASK
Figure 3-15. PIC Operation Control Word Formats
3-18
iSBC 80/30
Operation
Auto-Rotating Priority Mode
Specific Rotating Priority Mode
Interrupt Request Register (IRR) Status
In-Service Register (ISR) Status
Programming Information
Table 3-19. PIC Operation Procedures
Procedure
To set: In OCW2, write a Rotate Priority at EOI command (AOH) to 08.
Terminate interrupt and rotate priority: In OCW2, write EOI command (20H) to 08.
To set: In OCW2, write a Rotate Priority at SEOI command in the following format to 08:
I 07 1
06 1
05 1
04 1
03 1 02 I 01 I 00 I 1 1 1 0 0 ,"L~.
I BCOof IR line to be reset and/or put into lowest priority.
To terminate interrupt and rotate priority: In OCW2, write an SEOI command in the following format to 08.
I 07 I 06 I 05 I 04 I 03 I 02 I 01 I 00 1 o o o L2 L1 LO
...... ---y--"" I
BCO of ISR flip-flop to be reset.
To rotate priority without EOI: In OCW2, write a command word in the following format to 08.
I 07 1 06 I 05 I 04 I 03 I 02 I 01 I 00 I o o o "L2 L 1 LO ,
rr -------------------------~~y~----~ BCO of bottom priority IR line.
The IRR stores a "1" in the associated bit for each IR input line that is requesting an interrupt. To read the IRR (refer to footnote):
(1) Write OBH to 08. (2) Read 08. Status format is as follows:
1 07
1 06
1 05
1 04
1 03
1 02 I 01 I 00 I
IR Line: 7 6 5 4 3 2 1 0
The ISR stores a "1" in the associated bit for priority inputs that are being serviced. The ISR is updated when an EOI command is issued. To read the ISR (refer to footnote):
(1) Write OAH to 08. (2) Read 08. Status format is as follows:
I 071
06 1
05 1
041
031
02 1
01 1
001
IR Line: 7 6 5 4 3 2 1 0
Be sure to reset ISR bit at end-of-interrupt when in the following modes: Auto-Rotating (both types) and Special Mask. To reset ISR in OCW2, write:
I 071
06 I 05 I 04 1
03 I 02 1 01 1 00 1
0 1 1 0 0 L2 L1 LO " ."
-y- -I,
BCO identifies bit to be reset.
3-19
Programming Information iSBC 80/30
Table 3-19. PIC Operation Procedures (Continued)
Operation Procedure
Interrupt Mask To set mask bits in OCW1, write the following mask byte to 09: Register
I 07 I D~ 105
1 04
1 03
1 02 I 01
1 DO I
IR Bit Mask: M7 M6 MS M4 M3 M2 M1 MO 1 = Mask Set, o = Mask Reset
To read mask bits, read 09.
Special Mask The Special Mask Mode enables desired bits that have been previously masked;
3-20
Mode lower priority bits are also enabled.
To set, write 68H to 08.
To reset, write 48H to 08.
NOTE:
If previous operation was addressed to same register, it is not necessary to rewrite the OCW.
Table 3-20. Typical PIC Interrupt Request Register Read Subroutine
;RRO READS PIC INTERRUPT REQUEST REGISTER. ;USES-NOTHING; DESTROYS-A.
RRO: MVI OUT IN RET
END
A,OAH OD8H OD8H
;OCW3 RR INSTRUCTION TO PIC
Table 3-21. Typical PIC In-Service Register Read Subroutine
;RISO READS PIC IN-SERVICE REGISTER. ;USES-NOTHING; DESTROYS-A.
RISO: MVI OUT IN RET
END
A,08H OD8H OD8H
;OCW3 RIS INSTRUCTION TO PIC
Table 3-22. Typical PIC Set Mask Register Subroutine
;SMASK STORES A REG INTO PIC MASK REGISTER. ;A ONE MASKS OUT AN INTERRUPT, A ZERO ENABLES IT. ;USES-A; DESTROYS-NOTHING.
SMASK: OUT RET
END
OD9H
iSBC 80/30 Programming Information
Table 3-23. Typical PIC Mask Register Read Subroutine
;RMASK READS PIC MASK REGISTER. ;USES-NOTHING; DESTROYS-A.
RMASK: IN RET
END
GOgH
Table 3-24. Typica! PIC End-of-Interrupt Command Subroutine
;EOI ISSUES END-OF-INTERRUPT TO PIC. ;USES-NOTH ING; DESTROYS-A.
EOI:
NOTE
MVI OUT RET
END
The data bus buffer configuration does not allow the CPU to read back data it has previously written into the data bus buffer register. Also, the UPI cannot input data from the data bus buffer register that it previously output. The CPU can only read data that the UPI has output and the UPI can only input data that the CPU has written.
8041/8741
A,2GH GD8H
(4) STATUS REGISTER
DATA BUS DATA BUS BUFFER REGISTER
;NON-SPECIFIC EOI
The 4-bit status register indicates-the status of the data bus buffer register and implements the handshaking protocol required for two-way data transfer. The four bits comprising the status register are defined as follows:
a. Bit 0: Output Buffer Full. The OBF flag is automatically set when the UPI loads the data bus buffer register and cleared when the CPU reads the data bus buffer register.
STATUS FLAG DEFINITION:
OBF OUTPUT BUFFER FULL FLAG IBF INPUT BUFFER FULL FLAG Fl CONTROL/DATA ,FLAG FO GENERAL FLAG
CONTROL SIGNAL DEFINITION:
WR WR ITE STROBE RD READ STROBE CS CHIP SELECT AO ADDRESS INPUT
Figure 3-16. UPI Data Bus Buffer and Status Registers
3-21
Programming Information iSBC 80/30
Table 3-25. Typical UPI Data Byte Read Subroutine
;IN41 READS DATA BYTE FROM UPI. , ;USES-NOTHING; DESTROYS-A.
IN41: IN OE5H ANI 1 JZ IN41 IN OE4H REf
END
;INPUT STATUS ;CHECK OBF FLAG ;WAIT IF EMPTY
Table 3-26. Typical UPI Data Byte Write Subroutine
;OUT 41 WRITES DATA BYTE TO UPI. :USES-NOTHING; DESTROYS-A.
OUT41: IN ANI JZ OUT
REf.
END
OE5H 2 OUT41 OE4H
b. Bit I: Input Buffer Full. The IBF flag is set when the CPU writes a character to the data bus buffer register and cleared when the UPI inputs the -contents-6fthe data bus buffer register to its accumulator.
c. Bit 2: FO. This general purpose flag, which can be cleared or toggled under UPI software control, is used to transfer UPI status information to the CPU.
d. Bit 3: FI (Control/Data). This flag is set to thecondition of the AO input line when the CPU writes a character to the data bus buffer register. This flag can be cleared or toggled under UPI software control.
Tables 3-25 and 3-26, respectively, provides typical routines for inputting and outputting a data byte from and to the UPI.
3-47. INTERRUPT HANDLING
The iSBC 80/30 includes fige interrupt inputs: TRAP, RST 7.5, RST 6.5, RST 5.5, and INTR. The three "restart" interrupts (7.5, 6.5, and 5.5) are maskable; the TRAP is also a "restart" interrupt but is nonmaskable.
The RST 7.5, RST 6.5, and RST 5.5 interrupts cause the internal execution of an RST instruction if the· interrupts are enabled and if the interrupt mask is not set by a previously executed SIM instruction. The nonmaskable TRAP interrupt causes the execution of an RST instruc-
3-22
;INPUT STATUS ;CHECK IBF FLAG ;WAIT IF NOT READY
tion independent of the state of the interrupt enable or interrupt mask. The priority and vector location of each of the restart interrupts are given in table 3-27.
Table 3-27. 8085A CPU Restart Interrupt Vectors
Interrupt Vector Priority Location
TRAP 24 Highest RST 7.5 3C 2nd RST 6.5 34 3rd RST 5.5 2C 4th
3-48. TRAP INPUT
There are special considerations that must be understood when the TRAP inte~pt is used. The fact that the TRAP interrupt is nonmaskable can present problems in at least two areas.
Interrupt driven systems often contain parameters that must be modified only within critical regions. A critical region can be roughly defined as a section of code that once begun must complete execution before it or another critical regin that corresponds to the same system parameter(s) can be executed. A TRAP interrupt handler cannot safely alter such parameters either directly or indirectly by causing the execution of procedures or tasks that may alter such parameters.
iSBC 80/30
If the hardware generates a TRAP interrupt on power up or power fail, the system must be able to process the TRAP interrupt before it is completely initialized. It should also take into account that an interrupt routine that runs with interrupts disabled can still be interrupted by a TRAP.
Because of these considerations, it is recommended that the TRAP interrupt only be used for system startup and/or catastrophic error handling.
It should be noted that TRAP does not destroy a previously established interrupt enable status. Executing the first RIM instruction followip.g a TRAP interrupt yields the interrupt enable status as it was before the TRAP occurred. Following this first mandatory RIM instruction, subsequently executed RIM instuctions provide current interrupt enable status.
3-49. RST 7.5, 6.5, 5.5 INPUTS
These interrupts can be individually masked by a SIM instruction and 'can thus be prevented from interrupting the CPU. The priorities shown in table 3-27 does not take into account the priority of a routine that was started by a higher priority interrupt. An RST 5.5 interrupt can interrupt an RST 7.5 routine if the interrupts are re-enabled before the end of the RST 7.5 routine.
The RST 6.5 and 5.5 interrupts are high level sensitive and, in order to be recognized, must remain high. The
Programming Information
RST 7.5 interrupt is rising edge sensitive and only a pulse is required to set the interrupt request; this request will be remembered until the request is serviced or reset by a SIM instruction.
The TRAP interrupt, which is both edge and level sensitive, must have a leading (positive-going) edge and then remain high until serviced.
3-50. INTR INPUT
The INTR input from the 8259A PIC has the lowest priority and is sampled only during the last clock cycle of a given instruction. When INTR is active, the CPU Program Counter (PC) is inhibited and three bytes, timed by INTN pulses, are transferred from the PIC to the CPU:
a. Byte 1 = CALL instruction (11001101)
b. Byte 2 = Lower byte of routine address
c. Byte 3 = Upper byte of routine address.
The 16-bit routine address must be on a 32-byte boundard or 64-byte boundary as determined by the Initialization Command Words previously written to the PIC. (Refer to paragraph 3-41.)
The INTR is enabled or disabled by software. It is disabled by "reset" and immediately after an interrupt is accepted.
3-23/3-24
CHAPTER 4· PRINCIPLES OF OPERATION
4-1. INTRODUCTION
This chapter provides a functional description and a circuit analysis of the iSBC 80/30 Single Board Computer. Figures 4 -1 and 4 -2, located at the end of this chapter, are simplified foldout block diagrams that illustrate the functional interface between the 8085A microprocessor (CPU) and the on-board facilities and between the CPU and the system facilities via the Multibus. Also shown in figure 4-2 is the dual port control logic that allows the iSBC 80/30 to function in a master/slave relationship with the Multibus to allow another bus master to access the on-board RAM.
4-2. FUNCTIONAL DESCRIPTION
A brief description of the functional blocks comprising the iSBC 80/30 is given in following paragraphs. An operational circuit analysis is given beginning with paragraph 4-14.
4-3. CLOCK CIRCUITS
The clock circuit composed of A12, A13, and A21 is stabilizedby a 22.1184-MHz crystal. This circuit, which provides the various clock frequencies required for onboard activities, generates a power-up Reset signal to initialize the system to a known internal state; a Reset signal can also be initiated by a signal supplied via auxiliary connector P2.
The clock circuit composed of A55 and A57 is stabilized by an 18.432-MHz crystal. This frequency is divided by two to provide the 9.22-MHz Bus Clock (BCLK/) and Constant Clock (CCLK/) to the Multibus. (The BCLK/ signal is also used by B us Controller A67 .) Removable jumpers are provided to allow this on-board clock circuit to be disabled if some other source supplies BCLK/ and CCLK/ to the Multibus.
4-4. CENTRAL PROCESSOR UNIT
The,8085A Microprocessor (CPU), which is the heart of the single board computer, performs system processing functiqns and generates the address and control signals required to access memory and VO devices. The ADOAD7 pins are used to multiplex the 8-bit input!output data and the lower eight bits of the address. During the first part of a machine cycle, for example, the lower eight bits of address are strobed into Latch A23 by the Address Latch Enable (ALE) signal; the outputs of A23 are combined with the upper eight bits of the address to form the 16-bit address bus. During the remainder of the machine cycle, ADO-AD7 pins of the CPU are used for data input! output.
4-5. INTERVAL TIMER
The 8253 Programmable Interval Timer (PIT) includes three independently controlled counters that provide optional (jumper selectable) timing inputs to the on-board VO devices and the CPU interrupts. The clock frequency of2.46 MHz, 1.23 MHz, or 153.6 kHz, which is derived from the clock circuit composed of A12, A13, and A21, provides the basic timing input.
Counter 2 provides timing for the serial VO port (8251 A USART). This counter, in conjunction with the USART, can provide programmable Baud rates from 110 to 9600. Counter 0 can be used as a timing input to the optional 8041/8741 UPI which, in tum, can connect this signal to its own internal timer input. Counter 0, if not employed by an optional UPI, can be used as an interval timer to generate a CPU interrupt. Counter 1, which is the system interval timer and can also generate a CPU interrupt, has a range of 1.6 microseconds to 853.3 milliseconds. If longer times are required, Counters 0 and 1 can be cascaded to provide a single timer with a maximum delay of more than 50 hours.
4-6. SERIAL I/O
The 8251A Universal Synchronous/Asynchronous Receiver/Transmitter (USART) provides RS232C compatibility and is configured as a data terminal. Synchronous or asynchronous mode, character size, parity bits, stop bits, and Baud rates are all programmable. Data, clocks, and control lines to and from connector J3 are buffered with drivers and receivers.
A second serial VO channel may be derived from programming the optional 8041/8741 UPI to simulate the USAR T. This second channel is limited in speed and the number of RS232C interface lines (one driver and one receiver) but is sufficient to communicate with a simple CRT interface.
4-7. PARALLEL I/O
The 8255A Programmable Peripherel Interface provides 24 programmable VO lines. A bidirectional bus driver is included to interface eight of the VO lines to connector n. Two IC sockets are provided so that, depending on the application, TTL drivers or VO terminators may be installed to complete the interface to connector n. The 24 lines are grouped into three ports of eight lines each; these ports can be programmed to be &imple VO ports or strobed VO ports with handshaking. One port can be programmed as a bidirectional port with control lines. The iSBC 80/30 includes various optional features such as RS232C interface lines, timer gates, and interrupts that can be controlled by the parallel VO lines.
4-1
Principles of Operation
4-8. UNIVERSAL PERIPHERAL INTERFACE
The optionafS041/8741A Universal Peripheral Interface (UPI) is a complete single chip microcomputer that interfaces directly to the 808SA CPU through the I/O structure. The UPI can interface devices such as a printer controller or a keyboard scanner while relying on the CPU only for data transfer.
4-9. INTERRUPT CONTROL
The interrupt section provides 12 priority interrupts. Eight interrupts connect to the inputs of the 8259 Programmable Interrupt Controller (PIC);. the" remaining four interrupts connect directly to the 8085A CPU. All interrupts, except TRAP, are maskable;. the TRAP interrupt is intended to handle a power fail (PFI/) signal input via auxiliary connector P2.
There are 18 jumper-selectable interrupt sources: PPI (2), UPI (1), USAR T (2), PIT (2), external via 11 and J2 (2), power fail via P2 (1), and Multibus (8).
4-10~ ROM/EPROM CONFIGURATION
IC sockets A25 and A37 are provided for user installation of ROM/EPROM chips. Jumpers are provided to accommodate either lK, 2K, or 4K chips. The on-board ROM/ EPROM address space begins at 0000. This space is normally reserved for ROM/EPROM use only; however, ROMiEPROM may be disabled through an optional jumper connect on the 8255A PPI output port.
4-11. RAM CONFIGURATION
The iSBC 80/30 includes 16K of dynamic RAM implemented with eight Intel 2117 chips and an Intel 8202 Dynamic RAM Controller. Dual-port control logic interfaces this RAM with the Multibus so that the iSBC 80/30 can perform as a slave RAM device when not acting as a ' bus master. The slave RAM decode logic allows exte~ded Multibus addressing of up to 20 address lines. This allows bus masters with 20-bit addressing capability to partition the iSBC 80/30 into any 8K or 16K segment in a I-megabyte address space. The 8085A CPU, however, has only a 16-bit address capability and the 16K RAM must reside in a 64K address space. Hardware jumpers allow the 8085A CPU or the system to access either 8K or 16K of on-board RAM.
4-12. BUS INTERFACE
The interface to the Multibus includes an Intel Bus Controller, bidirectional address and data bus drivers, and the bus interrupt driver/receivers. The bus controller allows the is:t:3C 80/30 to operate as a bus master in a serial or parallel priority arrangement with other bus masters in the system in which the 8085A CPU can request the Multibus only when a bus resource is needed.
4-2
iSBC 80/30
4-13. DUAL PORT CONTROL
The dual-port control logic allows the iSBC 80/30 to function as a slave RAM device when not acting as a bus master. The dual-port control logic enables or disables the internal data and address buses, depending on whether the access is from the 8085A CPU or from the Multibus. For RAM access, the 8085A CPU has priority over a Multibus request.
An extended addressing facility is provided to allow the 16K RAM to reside within a I-megabyte address space when accessed from the Multibus. This is useful when one or more bus masters have a 20-bit addressing capability. The 8085A CPU, however, can only access this memory in the lowest 64K address space.
4-14. CIRCUIT ANALYSIS
The schematic diagram for the iSBC 80/30 is given in figure 5-2. The schematic diagram consists of nine sheets, each of which includes grid coordinates. Signals that transverse from one sheet to another are assigned grid coordinates at both the signal source and signal destination. For example, the grid coordinates 2ZBl locate a signal source (or signal destination as the case may be) on sheet 2 Zone B 1.
Both active-high and active-low signals are used. A signal mnemonic that ends with a virgule (e.g., DAT7/) denotes that the signal is active low (=50.4 V). Conversely, a signal mnemonic without a virgule (e.g., ALE) denotes that the signal is active high (~2.0V).
Figures 4-1 and 4-2 at the end of this chapter are simplified block diagrams of the input/output, interrupt, and memory sections. These block diagrams will be helpful in understanding both the addressing scheme and the internal bus structure of the board.
4-15. INITIALIZATION
When power is applied in a start-up sequence, the contents of the 8085A CPU program counter, instruction register, and interrupt enable flip-flop are subject to random factors' and cannot be predicted. For this reason, a power-up sequence is used to set the CPU, bus controller, and I/O ports to a known internal state.
When power is initially applied to the iSBC 80/30, capacitor C7 (7ZA 7) begins to charge through resistor R2. The charge developed across C7 is sensed by a Schmitt trigger, which is internal to Clock Generator A13. The Schmitt trigger converts the slow transition appearing at pin 2 into a clean, fast-rising synchronized RESET output signal at pin 1. The RESET signal is inverted by A29-11
iSBC 80/30
(2ZC7) to produce the Initialize signal INIT/. The INIT/ signal clears the CPU program counter, instruction register, and interrupt enable flip-flop; resets the parallel I/O ports to the input mode; resets the serial I/O port to the "idle" mode; clears the UPI internal program counter and status flags; resets th~ bus controller; and, via the Multibus, sets the system to aknown internal state.
The initialization described above can be p~rformed at any time by inputting an AUX RESET/ signal via connector P2.
4-16. CLOCK CIRCUITS
The time base for Bus Clock signal BCLK/ and Constant Clock signal CCLK/ is provided by Clock Generator A57 (5ZA6) and crystal Y2. The 18.43-MHz output of A57 is divided by A55 and driven onto the Multibus through jumpers 165 -166 and 167 -168. The B CLK/ signal is also used as the clock input to Bus Controller A67.
The time base for all other functions on the board is provided by Clock Generator A13 and crystal Yl. The crystal frequency of 22. 12-MHz appearing at the OSC output of A13 is buffered and applied to the dual port control logic (9ZC8) and to RAM Controller A66 (3Z5D). The 22.12-MHz OSC output is also divided. by A44 and A31 to develop the 5.53-MHz clock for 8085 CPU A36 (2ZD6) and for optional UPI A20 (5Z4D).
The crystal frequency is divided by nine internally by A13 to produce a 2.46-MHz clock at its <1>2 TTL output. This signal clocks Divider Al2.and supplies a selectable clock signal to PIT A21. Divider A12 divides the clock input by two and by 16 to produce 1.23-MHz and 153.6;.kHz selectable clocks for PIT·A21 and the parallel I/O port.
4-17. SOSSA CPU TIMING
The 8085A CPU internally divides the5.53-MHz clock input by two to develop the timing requirements for the various time-dependent functions. These functions are described in following paragraphs.
4-18. INSTRUCTION TIMING. The execution of any program consists of read and write operations, where each operation transfers one byte of data between the CPU and memory or between the CPU and an I/O device. Although the CPUcan vary the address, data, type, and sequence of operations, it is capable of performing only a basic read or write operation. With the exception of a few control lines, such as Address Latch Enable (ALE), these read and write operations are the only communication necessary between the CPU and the other components' to execute any instruction.
An instruction cycle is the time required to fetch and execute an instruction. During the fetch phase, .the .
Principles of Operation
selected instruction (consisting of up to three bytes) ~s read from memory .and stored in the operating regi~ers of the CPU. During the execution phase, the instruction is decoded by the CPU and translated into specific processing activities.
Each instruction cycle consists of up to five machine cycles. A machine cycle is required each time the CPU accesses memory or an. I/O device. The fetch phase requires one machine cycle for each byte to be fetched. Some instructions do not require any machine cycles other than those. necessary to fetch the instructions from memory; other'instructions, however, require an additional machine cycle(s) to write or read data to or from memory or I/O devices.
Every instruction cycle has at least one reference to memory during which time the instruction is fetched. An instruction cycle must always have a fetch, even if the execution of that instruction requires' no reference to memory. The first machine cycle in every instruction cycle is therefore a fetch, and beyond that there a~e no specific rules. For in'stance, the IN (input) ~d OUT (output) instructions each require three machinf( cycles: fetch (to obtain the instruction), memory read (to obtain the I/O address of the device), and ~ri input or output machine cycle (to complete the transfer).
Each machine cycle consists of a minimum of three and a maximum of six states designated T 1 through T 6. A state is the smallest unit of processing activIty and is defined as the interval between two successive falling edges of the CPU clock. Each state (or CPU clock cycle) has a duration of 350 nanoseconds (derived by divid.ing the 5.53-MHz frequency by two). .
Every machine cycle normally consists of three T -states with the exception of an opcode fetch, which consists of either four or six T-states. The aCtual number of states required to ,execute any instruction depends on the instruc-
. tion being executed, the particular machine cycle within the instruction cycle, and the humber of wait states inserted into the machine cycle. The wait state state is initiated when the READY input to the CPU is pulsed low.
There are no wait states. imposed when the CPU is addressing on-board ROM/PROM or on-board I/O; There will be wait states imposed, however, in the following operations:
a. When addressing orr-board RAM and a refresh cycle in progress.
b. When addressing on-board RAM and a slave memory read or write is in progress. (One wait state is always imposed when performing a write to onboard RAM.)
c. W,hen addressing system RAM, PROM, or I/O devices.
4-3
Principles of Operation
Figure 4-3 is presented to show the relationship between an instruction cycle, machine cycle, and T-state. This example shows the execution of a Store Accumulator Direct (STA) instruction involving on-board memory. Notice that for this instruction the opcode fetch (machine cycle M1) requires four T -states and the remaining three cycles each require three T -states.
The opcode fetch is the only machine cycle that requires more than three T -states. This is because the CPU must interpret the req uirements of the opcode fetched during T 1
through T3 before it can decide what must be done in the remaining T -state( s).
There are seven types of machine cycles, each of which can be differentiated by the states ofthree CPU status lines (lO/M, SO, and SI) and three CPU control lines (RD, WR, and INT A). Table 4-1 lists the states of the CPU status and control lines during each of the seven machine cycles and during a CPU halt.
Table 4-1. CPU Status and Control Lines
Status Control
Machine Cycle 101M RD WR INTA so S1
Opcode Fetch 0 1 1 0 1 1 Memory Read 0 0 1 0 1 1 Memory Write 0 1 0 1 0 1 I/O Read 1 0 1 0 1 1 I/O Write 1 1 0 1 0 1 INTR Acknowledge 1 1 1 1 1 0 Bus Idle X X X 1 1 1 Halt TS 0 0 TS TS 1
iSBC 80/30
4-19. OPCODE FETCH TIMING. Figure 4-4 shows the timing relationship of a typical opcode fetch machine cycle. At the beginning ofT 1 of every machine cycle, the CPU performs the following:
a. Pulls IO/M low to signify that the machine cycle is a memory reference operation.
b. Drives status lines SO and S 1 high to identify the machine cycle as an opcode fetch.
c. Places high-order bits (PCH) of program counter onto address lines A8-AI5. These address bits will remain true until at least T 4.
d. Places low-order bits (PCL) of program counter onto address/data lines ADO-AD7. These address bits will remain true for only one clock cycle, after which ADO-AD7 go to their high-impedance state as indicated by the dashed line in figure 4-3.
e. Activates the Address Latch Enable (ALE) signal.
At the beginning of T 2, the CPU pulls the RD/ line low to enable the addressed memory device. The device will then drive the ADO-AD7lines. After a period of time, as determined by the access time of the addressed memory device, valid data (the DCX instruction in this example) will be present on the DO-D7 lines. During T3 the CPU loads the data on the DO-D7 lines into its instruction register and drives RD/ high, disabling the addressed memory device. During T 4 the CPU decodes the opcode and decides whether or not to enter T 5 on the next clock cycle or start a new machine cycle and enter T 5 and then T 6 before beginning a new machine cycle.
Figure 4-5 is identical to figure 4-4 with one exception, which is the use of the READY input to the CPU. As shown in figure 4-5, the CPU e~amines the state of the
I-+--------------INSTRUCTION CYClE-------------..j
MACHINE CYCLE
T STATE
ClK
TYPE OF MACHINE CYCLE
ADDRESS BUS
MEMORY READ MEMORY READ MEMORY READ MEMORY WRITE
THE ADDRESS (CONTENTS OF THE THE ADDRESS (PC+ 1) POINTS THE ADDRESS (PC + 2) POINTS THE ADDRESS IS THE DIRECT PROGRAM COUNTER) POINTS TO THE TO THE SECOND BYTE OF TO THE THIRD BYTE OF THE ADDRESS ACCESSED IN M2 FIRST BYTE (OPCODEI OF THE THE INSTRUCTION INSTRUCTION AND M3 INSTRUCTION
DATA BUS lOW ORDER BYTE OF THE HIGH ORDER BYTE OF THE CONTENTS OF THE INSTRUCTION OPCODE (STA) DIRECT ADDRESS DIRECT ADDRESS ACCUMULATOR
Figure 4-3. Typical CPU Instruction Cycle
4-4
iSBC 80/30
SIGNAL
elK
101M,
SI,SO
ALE
Principles of Operation
Figure 4-4. Opcode Fetch Machine Cycle
Ml (OFI
SIGNAL Tl T2 TWAIT T3 T4 T5 TS
to--'-----J \-.I \-.I \-.I ~ L-I LJ ClK
101M, to--)( 10/M 3 O,S1 3 1,SO-1 SI, SO to--
I--)( AS-A15 PCH UNSPECIFIED to--
I--OUT IN
ADO-AD7 D< PCl ~-( 0 0-0 7 (DCXI ~ -----~----10---to-- ! )
ALE r-\ to--1 ,'-'
R5
--' ~
READY -c:::::= ~ ~
'L--N
Figure 4-5. Opcode Fetch Machine Cycle (With Wait)
READY input during T2 • If the READY input is high, the CPU will proceed to T 3 as shown in figure 4-4. If the READY input is low, however, the CPU will enter the Twait state and stay there until READY goes high. When READY goes high, the CPU will exit the Twait state and enterT3 . The external effect of using the READY input is to preserve the exact state of the CPU signals at the end of T 3 for an integral number of clock periods before finishing the machine cycle. This 'stretching' of the system timing,
in effect, increases the allowable access time for memory or VO devices. By inserting Twait states, the CPU can _ accommodate slower memory or slower VO devices. It should be noted, however, that access to the on-board ROM/PROM and VO ports does not impose a Twait state. However, as mentioned previously, Twait states are imposed in certain instances when accessing on-board RAM; Twait states are always imposed when accessing system memory or VO devices via the Multibus.
4-5
Principles of Operation
4-20. MEMORY READ TIMING. Figure 4-6 shows the timing of two successive memory read machine cycles, the first without a Twait state and the second with one Twait state. Disregarding the states of the SO and SI lines, the timing during T 1 through T 3 is identical with the opcode fetch machine cycle shown in figure 4-4. The major difference between the opcode fetch and memory read cycles is that an opcode fetch machine cycle requires four or six T -states whereas the memory read machine cycle requires only three T -states. One minor difference between the two cycles is that the memory address used for the opcode fetch cycle is always the contents of the program counter (PC), which points to the current instruction; the address used for a memory read cycle can be one of several origins. Also, the data read from memory is placed into the appropriate register istead of the instruction register. Note that a T wait state is not imposed during a read of on-board ROM/PROM.
4-21. I/O READ TIMING. Figure 4-6 also illustrates the timing of two successive I/O read machine cycles, the first without a Twait state and the second with one Twait state. With the exception of the IO/M status signal, the timing of a memory read cycle and an I/O read cycl~ is identical. For an I/O read, IO/M is driven high to identify that the current machine cycle is referencing an I/O port. One other minor exception is that the address used for an
MR OR lOR SIGNAL
T, T2 T3
~ U-U-U-elK
~
~ 101M,
10/M·0 (MRI OR 1 (lORI. s, • 1. SO· 0 SI.S0 I"-
~
~ A8"A'5 I"- ......
OUT IN ~ Y. ~< )-AOo·A07 AO-A7 °0·°7 l""'- t ) ALE 1\ ~
1. iffi
r-
REAOY 'C -~
iSBC 80/30
I/O read cycle is 'derived from the second byte of an IN instruction; this address is dupilcated onto both the A8-A15 and ADO-AD7lines. The data read from the I/O port is always placed in the accumulator specified by the IN instruction. Note that a T wait is not imposed during the access of on-board I/O devices; T wait states are imposed during the access of system I/O devices via the Multibus.
4-22. MEMORY WRITE TIMING. Figure 4-7 shows the timing of two successive memory write machine cycles, the first without a T wait, state. Again, disregarding the states of the SO and SI lines" the timing during T 1 is identical to the timing of an opcode fetch, memory read, and I/O read cycles. The difference occurs, however, at the end of T 1. For instance, in a memory read cycle the ADO-AD7 lines are disabled (high impedance) at the beginning of T 2 in anticipation of the returned data. In a memory write cycle, the ADO-AD7 lines are not disabled and the data to be written into memory is placed on these lines at the beginning ofT 2. The Write (WRI) line is driven low at this time to enable the addressed memory device. During T2 the READY input is checked to determine if a Twait state is required. If the READY input is low, Twait states are inserted until READY goes high. During T3 , the WR! line is driven high to disable the addressed memory device and terminate the memory write operation. Note that the contents on the address and data lines do not change until the next T 1 state.
MR OR lOR
T, T2 TWA IT T3
U-LI u-LI ~ 10/M·0 (MRI OR 1 (lORI. SI • '. SO· 0 )
) OUT IN
~(-< ) -< Ao-A7 °0·°7
1\ V-~ f-~ ""
......
'L--~ ,.., "<----~
Figure 4-6. Memory Read (or I/O Read) Machine Cycles
4-6
iSBC 80/30
4-23. I/O WRITE TIMING. Figure 4-7 also illustrates the timing of two successive VO write machine cycles, the first without a T wait state and the second with one T wait state. With the exception of the 101M status signal, the timing of a memory write cycle and an VO cycle are identical.
4-24. INTERRUPT ACKNOWLEDGE TIMING. Figure 2-8 shows the CPU timing in response to the INTR input being driven high by PIC A30 (assuming the CPU interrupt enable flip-flop has been set by a previously executed Enable Interrupt instruction). The status of the TRAP, RST 7.5, RST 6.5, RST 5.5, and INTR inputs are sampled during CLK of the T -state im-. mediately preceding T 1 of M 1. If INTR was the only valid interrupt, the CPU clears its interrupt enable flip-flop and enters the Interrupt Acknowledge (INA) machine cycle. With two exceptions, the INA machine cycle is identical with the Opcode Fetch (OF) machine cycle. The first exception is that 101M = 1, which signifies that the opcode fetched will be from an VO device. The second exception is that INT A is asserted instead of RD. Although the contents of CPU program counter is sent out on the address lines, the address lines are ignored.
When INTA is asserted, the PIC provides a CALL instruction which causes the CPU to push the contents of the
MWOR lOW SIGNAL
T, T2 T3
- LI ~ L.t elK
- ex 101M, 101M - 0 (MWI OR 1 (lOWI, SI "0, SO· 1
S1,SO i-
~ D< AIfA '5 ~
OUT OUT ~ ex AOO·A07 AO-A7 0 0 .0 7 ~
ALE V\ ~
WR
READY L-~
Principles of Operation
program counter onto the stack before jumping to a new location. After receiving the CALL opcode, the CPU perform a second INA machine cycle (M2) to access the second byte of the CALL instruction from the PIC. The timing of M2 is identical with M 1 except that M2 has three T-states. M2 is followed by M3 to access the third byte of the CALL instruction. When all three bytes have been received, the CPU executes the instruction. The CPU inhibits the incrementing of the program counter during the three INA cycles so that the correct program counter value can be pushed onto the stack during M4 and M5.
During M4 and M5, the CPU performs Memory Write (MW) machine cycles to write (push) the contents of the program counter onto the top of the stack. The CPU then places the two bytes accessed during M2 and M3 into the upper and lower bytes of the program counter. This has the same effect as jumping the execution of the program to the location specified by the CALL instruction.
After the interrupt service routine is executed, the CPU pops the stack and loads it into the program counter, and resumes system operation at the point of the interrupt. (It is the programmer's responsibility to ensure that the interrupt enable flip-flop is set before returning from the service routine.)
MWOR lOW
T, T2 TWA IT T3
LI LI l.....r-LJ '-: IO/M·O (MWI OR 1 (lOWI, SI " 0, sq a 1 )
) OUT OUT
AO·A7 °0·°7 )
v---\ V-r ~
'L ""'" ~ ~ ..
Figure 4-7. Memory Write (or 1/0 Write) Machine Cycles
4-7
Principles of Operation iSBC 80/30
M2(MRI Ml (lNAI M2 (lNAI SIGNAL
T2 T3 Tl T2 TWA IT T3 T4 T5 T6 Tl T2 T3
ClK u.~ ~ U-V V IF u-IF U-V U-Lr INTR 1 ~ --- - -
f INTA I 1\ r IO/M,SI,SO (0,1,01 X (1,1,11 OC (1,1,11
AS·A I5 (PC·l1H ~ PCH ~ ~ PCH
IN
IE IN OUT IN
AOO·A07 0 0 .07 } >< 00.[)7 (CALLI } --- --- ---€ )-, 0 0 .0 7 (821 }
ALE n r\ Ro I Wii
M3(1NAI MA(M~') MS (MW) Ml (OF)
SIGNAL T, T2 T3 T, T2 T3 T, T2 T3 T, T2 TWAIT
ClK \J V lr Lr u-' V V V V V V V INTR
1--- -INTA 1\
IOIM,SI, so tx (1,1,1) X (0,0,11 X (0,0,1) lX (0,1,1)
AS ·A,5 [X PCH X (SP·l)H X (SP·2)H IX PCH(B3)
OUT IN OUT OUT OUT OUT OUT IN
AOO·A07 E x DO, 7 (B3) } -E 00.0 7 (PCH) E 00'~7 (PCL) ~ )-{, 0 0.07
ALE f\ 1\ If\. f\
--RO
WR
NOTE: DISREGARD TWAIT STATES; NO TWAIT STATES IMPOSED ON 80/30 APPLICATION OF INTA,
Figure 4-8. Interrupt Acknowledge' Machine Cycles
4-8
iSBC 80/30
4-25. ADDRESS BUS
The address bus is shown in weighted lines in figures 4-1 and 4-2. The lower eight bits (ADO-AD7) of the memory address or I/O address (depending on whether a memory , reference machine cycle or an I/O reference machine cycle is in progress) are output by the CPU during the first clock cycle (T 1). The CPU ADO-AD7 pins become the source to or input from the data bus during the second and third cycles (T 2 and T 3). The trailing edge of the Address Latch Enable (ALE) signal issued by the CPU during T 1
strobes these eight address bits into Latch A23 (2ZD3). The lower eight address bits (ABO-AB7) from A23 are placed on the iSBC 80/30 address bus together with the high-order address bits (AB8-AB 15). These address bits are decoded by the following:
a. AB2-AB7 to I/O Address Decoder A50 (6ZA 7).
b. ABA-ABF to PROM Address Decode Logic (sheet 3).
c. ABO-ABB to PROM A25/A37 (3ZA3).
d. ABD-ABF to On-Board RAM Decoder A17 (3ZD7).
4-26. BUS TIME OUT
Bus Time Out one-shot A38 (lZC7) is retriggered by the leading edge of the ALE signal, which is asserted by the CPU during T 1 of every machine cycle. If the CPU is halted, or if the CPU is hung up in a wait state for approximately 10 milliseconds, A38 times out and asserts the BTMO signal on pin 34 of the auxiliary bus (P2). If jumper 115-116 is installed, the BUS TIME OUT/ signal (A38 pin 6) drives the CPU READY line high through gates A39 and A28 and allows the CPU to exit the wait state.
The BUS TIME OUT/ signal is also applied to interrupt jumper matrix post 122 (7ZC3). If jumpered to the CPU RST 7.5 input and A38 is retriggered following a CPU hang-up state, the rising edge of BUS TIME OUT/ will cause an interrupt to report this event.
4-27. DATA BUS
The CPU ADO-AD7 pins become the source or destination of the data bus DBO-DB7 during T 2 and T 3 clock cycles. Data can be sourced to or input from the following:
a. Data Buffer A24 (4ZC6).
b. Data Buffer A52 (9ZD6).
Principles of Operation
4-28. READ/WRITE SIGNAL GENERATION
The COMMAND/ signal, which is used in conjunction with the various on-board read/write operations, is generated by A45-3 (2ZB4) when the CPU RD/ orWR! signal is true. The following paragraphs describe how the various I/O and memory control signals are generated.
4-29. I/O CONTROL SIGNALS. The I/O control signals (2ZC2) are derived simply by gating the status of the CPU 10/M, RD/, and WR! pins. For example, the I/O ADR signal is the buffered IO/M pins status; the I/O WRT/ signal is the logical AND of the 10/M and WR! pin status.
4-30. MEMORY CONTROL SIGNALS. The MEM ADR, MEMRD/, and MEMWR! signals (2ZB2, 2ZC2) are also derived simply by gating the status of the CPU. 10/M, RD/, and WR! pins. For example, the MEM ADR signal is the buffered and inverted IO/M pin status; the MEMWR! signal is the logical AND of the WR! and inverted IO/M pin status.
TheADV MEM RD/ and ADV MEM WRT/ are derived by multiplexing the CPU SO and S 1 pin status. Refer to table 4-1. During all memory references, the CPU 10/M status pin is low and activates the gate input to 8:4 Multiplexer A35. The select pin of A35 is controlled by the SO pin status; when SO = 0, the" A" inputs are selected and, when SO = 1, the "B" inputs are selected.
For a memory read operation, SO = 0 and S 1 = 1 and a logic 1 appears on A35 pin 12. The trailing edge of the CPU ALE signal clocks Quad "D" Flip-Flop A34 and A34 pin 14 asserts the AD V MEM RD/ signal.
For a memory write operation, SO = 1 and SI = 0 and a logic 1 appears on A35 pin 7. The trailing edge of ALE clocks A34 and A34 pin 11 asserts the ADV MEM WRT/ signal.
For a memory fetch operation, SO = 1 and SI = 1 and, since the S 1 status is applied to both the 4 A and 4 B inputs, the ADV MEM RD/ signal is generated as described above for the memory read operation.
When the read, write, or fetch operation is complete, the CPU RD/ or WR! pin goes false and Flip-Flop A44 (2ZB3) is clocked and set. The output at A44-6 clears A?4; the next rising edge of ALE clears A44.
4-31. DUAL PORT CONTROL LOGIC
The Dual Port Control logic (figure 5-2 sheet 9) allows the on-board RAM facilities to be shared by the on-board
, CPU and another bus master via the Multibus. When not
4-9
Principles of Operation
acting as a bus master or when not accessing its on-board RAM, the iSBC 80/30 can act as a "slave" RAM device in a multiple bus master system. When accessing its on-board RAM, the on-board CPU has priority over any attempt to access the on-board RAM via the Multibus. In this situation, the bus access is held off until the CPU has
DUAL PORT CTL P·PERIODS PO I P1 P2
22.12 MHz IL P3
iSBC 80/30
completed its particular read or write operation. When a bus access is in progress, the Dual Port Control Logic enters the' 'slave" mode and any subsequent CPU request will be held off until the slave mode is terminated. Figures 4 -9 and 4 -1 0 are timing diagrams for the Dual Port Controllogic.
P4 P13 I P14 I P15 I P16 I P17 I
-ON BD RAM RaT 0
I I , ( I
ADV MEM RDI OR WRTI 0
____ ~--__ ----__ ~I~ __ -------------r SLAVE RAM RaTI 0
SLAVE RAM RDI OR WRTI 0
FF A43·15 a 0
FF A55·9 a
0
FF A55·8 Q 0
FF A43·11 Q 0
FF A43·6 Q 0
OFF BD CSI 0
RAM RDI OR WRTI 0
RAM XACKI 0
RAM AACKI 0
Figure 4-9. Dual Port Control Bus Access Timing With CPU Lockout
611·9
4-10
iSBC 80/30
DUAL PORT CTL P·PERIODS
12.12 MHz
ON BD RAM RaT
ADV MEM RDI or ADV MEM WRTI
SLAVE RAM RaTI
SLAVE RAM RDI OR WRTI
FF A43·15 a
FF A55·9 a
FF A55·8 Q
FF A43·11 Q
FF A43·6 Q
OFF BD CSI
ADV MEM RDI
RAM RDI
MEM WRTI
RAM WRTI
RAM AACK/
RAM XACK/
PO P1
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
*FOR REMAINDER OF SLAVE ACCESS TIMING, SEE FIGURE 4.9 BEGINNING WITH PERIOD P13.
P2 P12 P13 PO P1
22
Figure 4-10. Dual Port CPU Access Timing With Bus Lockout
611·10
Principles of Operation
P2 P3 P4
4-11
Principles of Operation
4-32. BUS ACCESS TIMING. Figure 4-9 illustrates Dual Port Control timing for RAM access via the Multibus. (P-periods PO through PI7 are used only for descriptive references.) When SLAVE RAM RQT/ and SLA VE RAM RD/ or SLAVE RAM WRT/ are true, A43 -15 goes high and A43 -6 goes low on the next rising edge of the clock at the end of PO. (The purpose of A43 -15 is to synchronize the asynchronous command and the purpose of A43 -6 is to prevent a subsequent CPU request from aborting a bus access after A55-9 goes high at the end of PI).
At the end of PI, A55-9 goes high and A55-8 goes low; A55-8 asserts the SLAVE MODE signal. The outputs of A55-8 and A43-6 are ANDed to hold A55-9 in the preset (high) state. At the end of P2, A43-11 goes low and asserts the OFF BD CS/ signal, which drives the PCS/ input low to RAM Controller A66. The output of A43 -II also enables pin I of A60-7, A60-3, A60-5, and A60-9, to gate the RAM RD/ or RAM WRT/ signal to A66. Approximately one-half to two clock cycles later, A66 asserts the RAM AACK/ signal and, at the end of P3, A43-15 goes low.
The RAM Controller asserts RAM XACK/ during P13 and SLA VE XACK/ in driven onto the Multibus. The bus master then first raises the SLAVE RAM RD/ or SLA VE RAM WRT/ signal and then the SLAVE RAM RQT/ signal. When SLAVE RAM RD/ or WRT/ goes false, the RAM Controller raises RAM AACK/ and RAM XACK/. At the end of P15, A43-6 is clocked high. At the end of P16, A55-9 goes low and A59-8 goes high. At the end of P17, A43-11 goes high and terminates the OFF BD CS/ signal.
The foregoing discussion pertains only to the operation of the Dual Port Control for bus access of on-board RAM. The actual addressing and the transfer of data are discussed in paragraph 4-42.
4-33. CPU ACCESS TIMING. Figure 4-10 illustrates the Dual Port Control timing for RAM access by the on-board CPU. (P-periods PO through P13 are used only for descriptive purposes.) To demonstrate that the CPU has priority in the access of on-board RAM, figure 4-10 shows that the SLAVE RAM RQT/ and a SLAVE RAM RD/ or SLAVE RAM WRT/ are active when the CPU access is. initiated. The timing has progressed through PO during which time A43-15 has been clocked high and A43 -6 has been clocked low.
When the ON BD RAM RQT and ADV MEM RD/ are asserted, the AD V MEM RD/ signal is driven through A60-15 to assert the RAM RD/ signal. The RAM Controller then asserts RAM AACK/, which is driven through A62-8 to produce RAM QAACK/. At the end of PI, A43-15 is clocked low to effectively abort the slave access timing cycle. (For a write cycle, the MEM WR! signal is used instead of ADV MEM WRT/.
4-12
iSBC 80/30
During PI2 the RAM controller asserts RAM XACK/ (not used by the CPU) and, during P13, the ADV MEM RD/ and ON BD RAM go false to complete the CPU access. On the following rising edge of the clock, the SLAVE RAM RQT/ and SLAVE RAM RD/ or SLAVE RAM WRT/ signals, which have been held off during the CPU access, set A43-15 once again to initiate the slave access timing cycle.
The foregoing discussion pertains only to the operation of the Dual Port Control for CPU access of on-board RAM. The actual addressing and the transfer of data are discussed in paragraph 4-41.
4-34. MULTIBUS INTERFACE
The Multibus interface consists of Bus Controller A67 (8ZD5), bidirectional -Address B us Driver A 72/ A 73 (8ZA2), bidirectional Data Bus Driver A74/A75 (8ZB2), and the Slave RAM Address Decode Logic (figure 5-2 sheets 3 and 5).
The Bus Controller allows the iSBC 80/30 to assume the role of a bus master and includes bus arbitration, timing, and read/write command logic. The falling edge of BCLK/ provides the timing reference, and bus arbitration begins when the Qualified Command (QCMD/) signal is asserted and the address decoders have determined that the associated Read or Write Command is-not intended for on-board VO or memory. The QCMD/ signal (lZD8), which is used only for Multibus requests, is derived directly from the CPU Read (RD/) signal or derived by delaying the CPU Write (WT/) signal half a clock cycle. (Delaying WT/ ensures the adequate setup of the address and data to the Bus Drivers before the Write Command (IORC/ or MWTC/) is asserted.
The QCMD/ signal activates the Transfer Start Request (XSTR) input to the Bus Controller, which drives BREQ/ low and BPRO/ high. The BREQ/ output from each bus master in the system is used by the Multibus when the bus priority is resolved by a parallel priority scheme as described in paragraph 2-27. The BPRO/ output is used by the Multibus when the bus priority is resolved by a serial priority scheme as described in paragraph 2-26.
The iSBC 80/30 gains control of the Multibus when the BPRN/ input to the Bus Controller is driven low. On the next falling edge of BCLK), the B us Controller drives BUSY/ and ADEN/ low. The BUSY/ output indicates that the bus is in use and that the current bus master in control will not relinquish control until it raises its BUSY/ signal. The ADEN/ output, which can be thought of as a "master bus control" signal, enables Address Bus Driver A72/A73 and Data Bus Driver A74/A75. Since the board is not in the slave mode, the QSLA VE RQT/ signal is false (high) and the Address Bus Driver transmit function is selected. The steering logic composed of A39-6,
iSBC 80/30
AS9-6, A42-6, and A41-8 (8ZB4) decides which function (transmit or receive) to select for the Data Bus Driver. This decision is based on the mode (master or slave) that the board is in and whether the command is a read or a write. For the master mode, a Write Command selects the transmit function (DIEN is driven high); a Read Command selects the receive function (DIEN is driven low).
The BUS Controller examines its 10RR, 10WR, MRDR, and MWTR inputs and drives the appropriate command line low on the Multibus. After the command is acknowledged (signified by the addressed device driving AACK/ or XACK/ low), the CPU terminates the appropriate command and tristates its address lines. This deselects the Address Bus Drivers and Data Bus Drivers and causes QCMD/ to go false (high). The Bus Controller relinquishes control of the Multibus by driving BREQ/ high and BPRO/ low and then raising BUSY/.
It should be noted that, after gaining control of the Multibus, the iSBC 80/30 can invoke an override condition to prevent losing control at a critical time. (For instance, it may be desired to execute several consecutive commands without having to contend for the bus after each command is executed.) Bus override is invoked by executing a SIM instruction with accumulator bits 6 and 7 = 1, which causes the CPU SOD line to drive the Bus Controller OVRD input high.
4-35. I/O OPERATION
The following paragraphs describe on-board and system I/O operations. The actual functions performed by specific read and write commands to on -board I/O devices are described in Chapter 3.
4-36. ON-BOARD I/O OPERATION. Address bits AB2-AB7 are applied to I/O Address Decoder ASO and associated input chip enable gates (6Z7 A). Address bits AB4-AB7 are decoded by A48-12, A6S-6, and A6S-3 to provide El, E2, and E3 enable inputs to ASO; when enabled, ASO decodes address bits AB2-AB4 toprovide chip select inputs to the appropriate I/O device. Address bits AB2-AB7 are decoded as follows:
Bits Chip Select Addresses
7 6 5 4 3 2 Signal
1 1 o 1 1 0 08-0B 8259CS/ 1 1 o 1 1 1 ~C-OF 8253CS/ 1 1 100 1 E4-E7 8741CS/ 1 1 101 0 E8-EB 8255CS/ 1 1 1 0 1 1 EC-EF 8251CS/
When anyone of the five outputs of ASO goes low, the I/O ADR signal from the CPU (buffered 10/M) is driven through A46-11 to develop I/O AACK/. The I/O AACK! signal drives the CPU READY line high and, together
Principles of Operation
with the COMMAND/ signal (decoded WR or RD), enables Data Buffer A24 (4ZC6). The function of A24 is selected by the CPU S 1 output; S 1 = 1 for read operations and S 1 = 0 for write operations. For example, data is transferred from the DIOO-DI07 lines to the DBO-DB7 lines when SI = 1.
After the I/O device has been selected by address bits AB2-AB7, specific functions for the chip are selected by address bits ABO-AB!. (Refer to table 3-2.)
4-37. SYSTEM I/O OPERATION. Address bits AB2-AB7 are decoded by I/O Address Decoder ASO as described in paragraph 4-31. If the address is not for an on-board I/O device, I/O AACK/ remains false (high) and, together with QCMD/, activates the Bus Controller XSTR input. The false SLAVE MODE/ signal from ASS-9 (9ZC4) in the Dual Port Control logic enables Address Buffer AS3/ AS4 and, together with the false I/O AACK/ signal, enables Data Buffer A52.
When the B us Controller gains control of the Multibus as described in paragraph 4-29, it drives ADEN/ low to select Address Bus Driver A72/A73 and Data Bus Driver A74/A7S. Since the board is not in the slave mode, the QSLA VE RQT/ signal is false (high) and the Address Bus Driver transmit function is selected. The transmit or receive function of Data Buffer is selected by the CPU SI line. If the operation is a read, S 1 = 1 and the receive function is enabled; for a write, SI = 0 and the transmit function is enabled. The steering logic composed of A39-6, AS8-6, A42-6, and A41-8 (8ZB4) decides which function to select for the Data Bus Driver. Since the board is in the master mode for off-board operations, a write operation selects the transmit function and a read operation selects the receive function.
After gaining control of the Multibus the B us Controller proceeds with the control tasks for the remainder of the I/O transfer. Refer to paragraph 4-29 for a description of how the Bus Controller terminates bus control.
4-38. ROM/EPROM OPERATION
The two ROM/EPROM chips are installed by the user in IC sockets A2S/ A37 (3ZA3). Memory addresses 0000-IFFF are reserved exclusively for ROM/EPROM; the actual occupied memory space depends on the ROM/ EPROM chips as follows:
Chip Chip Addresses In
Size A25 A3
1K x 8 0OOO-03FF 0400-07FF 2K x 8 0OOO-07FF 0800-0FFF 4K x 8 OOOO-OFFF 1000-1FFF
Address bits ABO-ABB are applied directly to the inputs of A2S-A37 and address bits ABA-ABF are applied to the
4-13
Principles of Operation
ROM/EPROM chip select decoders. When address bits ABA-ABF are true for the address ranges specified above, PROM AACK! signal is true; when the MEMRD/ signal is also asserted during a read operation, the PROM ENABLE/ and PROM AACK! signals are true. PROM ENABLE/ turns on Data Buffer A24 (4ZC6), whose transmit function is enabled by CPU S 1 = 1, and PROM AACK! drives the CPU READY line high via A28-6 (1DZS). The decoded output of A49-8 selects the ROM/ EPROM chip in A2S; the decoded output of A49-6 selects the ROM/EPROM chip in A37. When the chip is enabled, the contents of the location specified by ABO-ABB are transferred to the CPU via Data Buffer A24.
4-39. RAM OPERATION
As described in paragraph 4-31, the Dual Port Control logic allows the on-board RAM facilities to be shared by the on-board CPU and by another bus master via the Multibus. The following paragraphs describe briefly the RAM Controller and the overall operation of how the RAM is addressed for read/write operation.
4-40. RAM CONTROLLER. All address and control inputs to the on-board RAM is supplied by RAM Controller A66 (3ZDS). The RAM Controller provides a 64 -cycle RAS/CAS refresh timing cycle to dynamic RAM chips A 77 -A84. Default jumper 110-111 holds the REFRESH RQT signal false and the RAM Controller operates in the automatic refresh mode. In the automatic refresh m.ode, a read or write request can be delayed if a refresh cycle is in progress. Option jumper position 110-106 allows the REFRESH RQT signal to be controlled by the CPU READY line and thereby implement the invisible refresh mode. In the invisible refresh mode, the RAM Controller works around memory accesses by refreshing RAM during the CPU instruction decode clock cycle which follows each instruction fetch. Refresh occurs during T 4 but, if the access is greater than the refresh time, the RAM Controller will automatically refresh RAM. Thus, the RAM will not generate CPU wait states but it will consume more power.
The RAM Controller, when enabled with a low input to its PCS/ pin, multiplexes the address to the RAM chips. Low -order address bits AO-A6 are presented at the RAM input pins and RAS/ is driven low at the beginning of the first 8202 clock cycle after RAM RD/ or RAM WRT/ is active. High-order address bits A7-A13 are presented at the RAM input pins and CASt is driven low during the second clock cycle after the RAS/ address hold time is satisfied.
The RAM Controller then examines its RD/ and WRT/ inputs. If RD/ is low, the RAM Controller drives its WE/ output high to provide a Read signal to RAM; ifWRT/ is low, the RAM Controller drives its WE/ output high to provide a write signal to RAM. If RAM RD/ is asserted,
4-14
iSBC 80/30
Memory Data Buffer A76 is enabled and RAM data is latched into A 76 when RAM XACK/ is subsequently driven low.
When the memory cycle begins, the RAM Controller drives its SACK/ output low; SACK! is used as the RAM AACK! signal. When the cycle is complete (i.e., data is valid), drives its XACK/ output low. The SACK/ and XACK/ outputs go high when the RD/ or WRT/ input goes high.
4-41. ON BOARD READ/WRITE OPERATION. When MEM ADR goes true, Address Decoder A17 (3ZD7) decodes address bits ABD-ABF. The decoded output from A17 goes low and (1) asserts ON BD RAM RQT/ to the Dual Port Control logic and (2) drives the RAM Controller PCS/ input low. The RAM Controller then multiplexers the address to RAM and, depending on which input command (RAMRD/ or RAMWRT/) is true, drives the WE/ output pin high or low. (The WE/ pin is driven high for a read and driven low during a write.) The SACK/ signal, which is asserted at the beginning of the memory cycle, generates the RAM AACK! signal. When RAM AACK/ goes true, the Dual Port Control logic generates the RAM QAACK! signal, which is qualified by being in the master mode. The XACK/ signal, which is asserted when the data is valid, generates the RAM XACK! signal.
When RAM QAACK/ goes true, the READY input is driven high to the CPU to prevent a wait state. By the time the CPU timing has progressed to T3 of the memory cycle, the RAM Controller has already asserted XACK! and the data is valid; i.e., the data has been written into RAM from the data bus or has been read from RAM onto the data bus. The XACK! signal, however, is not used by the CPU during on-board RAM access.
4-42. BUS READ/WRITE OPERATION. When another bus master has control of the multibus, that bus master can address the iSBC 80/30 as a slave RAM device. Assuming that the bus master has a 20-bit addressing capability, ADRO/-ADRF/ and ADRIO/-ADR13/ are placed on the Multibus and then either MWTC/ or MRDC/ is asserted. Address bits ADRIO/-ADRI3/ are decoded by A69 (SZC6) and ADRD/ -ADRF/ are decoded by A68 (SZBS). (A description of 16-bit and 20-bit address assignment for bus access of RAM is given in' paragraphs 2-17 through 2-19.) The decoded output of A69 provides an enable input to A68. The decoded output of A68 drives the SLAVE RAM RQT/ signal low to the Dual Port Control logic.
Assuming no CPU access of RAM is in progress, the SLAVE MODE/ signal is driven low and address bits ADRO/-ADRF/ are transferred through Address Buffers
iSBC 80/30
A72/A73 to the RAM Controller. When the Dual Port Control logic asserts the OFF BD CS/ signal, the RAM Controller PCS/ input is enabled and, depending on which command has been asserted (RAMRD/ or RAMWRT/), drives the WEI input high to RAM.
The RAM Controller generates SACK! and XACK/ as previously described. For a bus access, the SACK/ signal develops SLA VE AACK/ and XACK! develops SLA VE XACK/. The controlling bus master then drives the
Principles of Operation
MRDC/ or MWTC/ command hIgh and deactivates address drivers A 72/ A 73.
4-43. INTERRUPT OPERATION
All interrupts except INTR are connected to the CPU by jumper connections. (Refer to paragraph 2-20.) Since interrupt handling is handled by the internal CPU timing described in paragraph 4-24, no further explanation is considered necessary.
4-15/4-16
q 611-13
DENOTES FIGURE 5-2
SHEET NUMBER
5.53 MHZ Xl
~
SOD
10iM
RD
WR
A8-A15
S085A CPU A36 ALE
ADO-AD7
READY
S1
R/W ,6 CONTROL ,
12 ill
I
ABS-ABF S ,
LATCH ABO-AB7
DBO-DB7 ,8 A23 ... 16
I
12 ~ Ir ,S
S , ~ ,
[ "--
1 = READ 0= WRITE
, PROM AACK MEM RD
ABA-ABF ,6
r t ,
ROMIPROM ADDRESS DECODE
LOGIC
Ia
- PROM ENABLE
L ,
T/R DATA CS
I'~_v I_I / '6-;....~j,':;
t ~ DATA BUFFER .ABO-ABB
A24 "13
r; I r
~ CE ADDR
PROM A25/A37
li 0100-0107 I
iSBC 80/30 Principles of Operation
OVRD DCBRO'
!"""-"
~4 BPROI , BUS OVERRIDE BUSYI
BUS
BPRN/----+<: CTRLR BREOI A67 10RCI
10WCI RESET-+
~4 MRDCI .- I SYST RAM REO BCLKI---+-cl MWTC/
.-L) f
"' XSTR AD~ BUS CTL/ .I CS Is OCMD/ ,2
t I
READ/WRITE ----. STEERING READ/WRITE (f)
LOGIC ::J III
11 6 !:i , Is ::J
== XACK/
SLAVE MODE/
~ T/R
ADDRESS ..J:-' ABO-ABF ADDRESS AMO-AMF BUS R..-
.I BUFFER '" DRIVER , 16 ADRO/-ADRFI
'16 ~ A53/A54 ,- -., A721A73 ,. GATE 19 ,16 CS Is
f Q ADRD/-ADRF/ ,
SLAVE MODEl SLAVE MODEl BUS CTL/
3
ON BOARD CLK 22.12 MHZ SLAVE I
RAM DUAL RAM ,3 ONBD PORT ,7 ,4 ADR10/-ADR13/
ADDRESS RAM ROT CONTROL SLAVE RAM ROT ADDRESS
AB6-ABF DECODER
LOGIC DECODERS -, , ~ A17 A6S/A69
(3 [9 Is -, Ir 1
t t ADRS R/W PCS RAM XACKI
22.12 MHZ ClK RAM RAM AACKI
CONTROLLER A66 -- MEMORY PROTI 3
't ADDRESS CONTROL )( ::J
"" 3 -16K RAM AUX PWR A77-A84
-1: IN OUT BUS CTL/
~ f DRMO-DRM7 U ~<"t\.,"" ~) READ/WRITE MEMORY DATA BUFFER - A76
l~~ J. 1 I3l cs :~ cs R..- R.~\w\ IB0S 0=---..
Q DATA 1=~ DATA BUFFER ~ ... .. BUS DATO/-DAT7/
A52 ~
DMO-DM7 ~ DRIVER ~
DBO-DB7 A74/A75
[9 Is
Figure 4-2. iSBC 80/30 PROM and Dual Port RAM Block Diagram
4-19/4-20
5-1. INTRODUCTION
This chapter provides a list of replaceable parts, service diagrams, and service and repair assistance instructions for the iSBC 80/30 Single Board Computer.
5~. REPLACEABLE PARTS
Table 5 -1 provides a list of replaceable parts for the iSBC 80/30. Table 5-2 identifies and locates the manufacturers specified in the MFR CODE column in table 5 -1. Intel parts that are available on the open market are listed in the MFR CODE column as "COML"; every effort should be made to procure these parts from a local (commercial) distributor.
5-3. SERVICE DIAGRAMS
The iSBC 80/30 parts location diagram and schematic diagram are provided in figures 5-1 and 5-2, respectively. On the schematic diagram, a signal mnemonic that ends with a slash (e.g., 10WC/) is active low. Conversely, a signal mnemonic without a slash (e.g., BTMO) is active high.
5-4. SERVICE AND REPAIR ASSISTANCE
United States customers can obtain service and repair assistance froin Intel by contacting the MCD Technical Support Center in Santa Clara, California, at one of the following numbers:
CHAPTER 5 SERVICE INFORMATION
Telephone: From Alaska or Hawaii call -
(408) 987 -8080 From locations within California call toll free -
(800) 672-3507 From all other U.S. locations call toll free -
(800) 538-8014 TWX: 910-338-0026 TELEX: 34-6372
Always contact the MCD Technical Support Center before returning a product to Intel for service or repair . You will be given a "Repair Authorization Number", shipping instructions, and other important information which will help Intel provide you with fast, efficient service. If the product is being returned because of damage sustained during shipment from Intel, or if the product is out of warranty, a purc.hase order is necessary in order for the MCD Technical Support Center to initiate the repair.
In preparing the product for shipment to the MCD Technical Support Center, use the original factory packaging material, if available. If the original packaging is not available, wrap the product in a cushioning material such as Air Cap TH-240 (or equivalent) manufactured by the Sealed Air Corporation, Hawthorne, N.J., and enclose in a heavy-duty corrugated shipping carton. Seal the carton securely, mark it "FRAGILE" to ensure careful handling, and ship it to the address specified by MCD Technical Support Center personnel.
NOTE Customers outside of the United States should contact their sales source (Intel Sales Office or Authorized Intel Distributor) for directions on obtaining service or repair assistance.
Table 5-1. Replaceable Parts
Mfr. Reference Designation Description Mfr. Part No. Code Qty.
A1,2,74,75 IC, 8226, Bidirectional Data Buffer 8266 COML 4 A3-11 IC, 7400, Quad 2-lnput Positive NAND SN7400 TI 9 A12 IC, 74163, Synchronous 4-Bit Counter SN74163 TI 1 A13,57 IC, 8224, System Clock Generator 8224 COML 2 A14 IC, 1488, Quad Line Driver LM1488 NAT 1 A15,16 IC, 1489, Quad Line Driver LM1489 NAT 2 A17,50 IC, 74LS138, 3-to-8 Decoder/IMultiplexer SN74LS138 TI 2 A18 IC, 74LS11, Triple 3-lnput 'Positive NAND SN74LS11 TI 1 A19 IC, 8255A, Programmable Peripheral Interface 8255A COML 1 A21 IC, 8253, Programmable Interval Timer 8253 COML 1 A22 IC, 8251A, Serial 1/0 Interface (USART) 8251A COML 1 A23 IC, 74LS373, Octal D-Type Latches SN74LS373 TI 1 A24, 52, 72, 73 IC, DP8304, Bidirectional Data Buffer DP8304 COML 4 A26 IC, 74S03, Quad 2-lnput Positive NAND SN74S03 TI 1 A27,32 IC, 74LS32, Quad 2-lnput OR SN74LS32 TI 2
5-1
Service Information iSBC 80/30
Table 5-1. Replaceable Parts (Continued)
Mfr. Reference Designation Description Mfr. Part No. Code Qty.
A28 IC, 74S20, Oual Positive NANO SN74S20 TI 1 A29 JC, Z438, Quad 2-lnput Positive NANO SN7438 TI 1 A30 IC,. 8259A, Prowammable . Interrupt Controller 8259A COML 1 A31 IC, 74LS74, Oual OoType Flip-Flops SN74LS74 TI 1 A33,40,51 ,63 IC, 74S04, Hex Inverters SN74S04 TI 4 A34,43 IC, 74S175, Quad OoType Flip-Flops SN74S175 TI 2 A35 IC, 74LS157, Oata Selector/Multiplexer SN74LS157 TI 1 A36 IC, 8085A Central Processor Unit 8085A COML 1 A38 IC, 9602, One-Shot Multivibrator 9602 NAT 1 A39,45 IC, 74LS08, Quad 2-lnput Positive ANO SN74LS08 TI 2 A41 IC, 74S08, Quad 2-lnput Positive ANO SN74S08 TI 1 A42,62 IC, 74S32, Quad 2-lnput OR SN74S32 TI 2 A44,55 IC, 74S74, Oual OoType Flip-Flops SN74S74 TI 2 A46,58,61 ,64 IC, 74S00, Quad 2-lnput Positive NANO SN74S00 TI 4 A47 IC, 74S11, Triple 3-lnput Positive NANO SN74S11 TI 1 A48 IC, 74LS27, Triple 3-lnput Positive NOR SN74LS27 TI 1 A49 IC, 74S10, Triple 3-lnput Positive NANO SN74S10 TI 1 A53,54 IC, 74LS240, Octal Buffer/Line Oriver SN74LS240 TI 2 A56 IC, 74S140, Oual 4-lnput Positive NANO SN74LS140 TI 1 A59 IC, 74LS02, Quad 2-lnput Positive NOR SN74LS02 TI 1 A60 IC, 8097, Three-State Oata Buffer 8097 COML 1 A65 IC, 74LSOO, Quad 2-lnput Positive NANO SN74LSOO TI 1 A66 IC, 8202, RAM Controller 8202 COML 1 A67 IC, Bus Controller OBO INTEL 1 A68,69 IC, 3205, 1-of-8 Binary Oecoder 3205 COML 2 A70,71 IC, 74LS04, Hex Inverters SN74LS04 TI 2 A76 IC, 74S373, Octal OoType Latches SN74S373 TI 1 A77~4 IC, 2117, Random Access Memory 2117 COML 8
C1-6, 19,21,29,30,31,32 Capacitor, Ceramic, 0.01/-LF, 25V, +80%, -20% OBO COML 32 36-44,46,48,50-53, 55,60-63
C7 CapaCitor, tant, 10/-LF, 20V, 10% OBO COML 1 C8,49 CapaCitor, mono, 10pF, 500V, 5% OBO COML 1 C9,10,22-28,33,35,45, CapaCitor, mono, 0.1/-LF, 50V, +80%, -20% OBO COML 35
47,54,56,58,59,64-72, 79,81,83,85,87,89, 91,94
C57 CapaCitor, mono, 220pF, 500V, 5% OBO COML 1 C73-77,93 CapaCitor, tant, 22/-LF, 15V, 10% OBO COML 6 C78,82,86,90 CapaCitor, mono, 1.0/-LF, 50V, 10% OBO COML 4 C80,84,88,92 CapaCitor, mono, 0.01/-LF, 50V, +80%, -20% OBD COML 4 C95 CapaCitor, mono, 33/-LF, 50V OBO COML 1 CR1 Oiode,1N4002 1N4002 TI 1
Q1 Transistor, 2N3904 2N3904 TI 1
R1 ,3-5,10,11,14,17-20, Resistor, comp, 1 K ohm, 1f4W 5% OBO COML 19 23,25-29,32,33
R2 Resistor, comp, 100K ohm, 1f4W 5% OBO COML 1 R6~, 15, 16,30,34,35 Resistor, comp, 10K ohm, 1f4W 5% OBO COML 8 R9,12,13 Resistor, comp, 620K ohm, 1f4W 5% OBO COML 3 R13 Resistor, comp, 5.1K ohm, V4W 5% OBO COML 1 R21 Resistor, comp, 330K ohm, 1f4W 5% OBO COML 1 R22 Resistor, comp, 33K ohm, V4W 5% OBO COML 1 R24 Resistor, comp, 270K ohm, 1f4W 5% OBO COML 1 R31 Resistor, comp, 2.2K ohm, 1f4W 5% OBO COML 1 RP1,2 Resistor, package, 1 K ohm, 10-pin OBO COML 2
XA1,2 Socket, IC, 16-pin C-93-16-02 TI 2 XA3-11 Socket, IC, 14-pin C-93-14-02 TI 9 XA20,36,66 Socket, IC, 40-pin 540-A3670 AUG 1 XA25,37 Socket, IC, 24-pin C-93-24-02 TI 2
Y1 Crystal, 22.1184-MHz HW3 CTS 1 Y2 Crystal, 18.432-MHz MP184 CTS 1
Post, Wire Wrap 85931-6 AMP 192 Extractor, Card S-203 SCA 2
5-2
iSBC 80/30 Service Information
Table 5-2. List of Manufacturers' Codes
MFR. CODE MANUFACTURER ADDRESS MFR. CODE MANUFACTURER ADDRESS
AMP AMP, Inc. Harrisburg, PA NAT National Santa Clara, CA Semiconductor
AUG Augat, Inc. Attleboro, MA SCA Scanbe, Inc. EI Monte, CA
CTS CTS Corp. Elkhart, IN TI Texas Instruments Dallas, TX
OBD Order by Description; available from any commercial source
5-3/5-4
o
c
B
A
~ 192. PLACES
~~G olJiJ
L,--=--"'---
8. DIIJIEN510I-JS ARE lhl It\CJ1ES.
7
86 2 PLACES (AI,2)
6
GJ MARie VENDOR I.D. VI ITH CONTI?ASTING PtRM COLOR,APf?OX Wl1fRr SWONfJ.
GJ 5.
tB 3.
2.
".:11 T~RU CIS NOT TO BE INSTALLED AT THIS LEVEL.
WIRE PER WIRE "ROUTiNG LIST" .~)He:ET (, AIJD 7 OF PART:; LIS T.
USING ITEM "J.INSULATE UNDER ITEM 71,72. 2PLAt:.ES.('1'I,V2).
MARK DASH "'0. AND REV. LEVEL WITH C.ONTRASTINcS ,PERM .COLOR, .12. HIt;H, WHERE 5/-10WN.
WORKMANSHIP PER MCD o..AW 007.
I. ASSEMBLY PART NO. IS IOOI57b-XX. PWA AND P/L ARE TRACKING DOCUMENTS
}JOTES: UNLESS OTHERWiSe- SPECIFIED.
8 7 6
85 9 PLACES (A3-1/J
CvM f00NEN7 SIDE
5
iSBC 80/30
4
4
3
Service Information
2 REVISIONS
LTR DESCRIPTION
PROTOTYPE
? ENG R RELEASE
3 ENGR REL ECo" IB21
2 PLACES lA25, 371
o 0
10 .60
o
L!------l.. ·L.so
1
SIGNATURE AND DATE OFT CHK ENGR
SCALE: NON'E
II'lSULATINGTAFJ;: FOr-. VI ANt:. v2
SEE SEPARATE PARTS LIST
DESCRIPTION
D
c
B
r-______ ~------~---Q~U-AN-TI-TY-P-ER-D-A-SH-N-O-.--~------------~--__ ~~~~~----------------~A SCALE:
TOL. ANGLE ±
FINISH:
3
SIGNATURE
DRN BY A. SHARNEE
CHK fif . OFT APPD
AUTH BY
CODE: SHEET
2
DRAWING NO.
3055 BOWERS AVE. SANTA CLARA CALIF. 95051
EIOOl576
1
REV
4.
Figure 5-1. iSBC 80/30 Parts Location Diagram
5-5/5-6
o
c
B
A
8 THIS ORAWIJroIG CONTAINS INFORMATION WHICH IS THE 'AQfflIETARY !'"orERTY OF INTEL CORPORATION. THIS DRAWING IS RECEIVED IN CONFIDENCE AND In CONTENTS MAY NOT ,e DISCLOSED WITHOUT THE ''''OR WRITTEN OONSENT OF INTEL COR~RATION
INIT / I'" 1,\
7 LAI ~f:~ET OUT "O~'i..<Z-
7
~
+5\1 ~7 10K
R.Co I~I<
R.B I~K. 74S(l)4 PI
I '2. 14 i0~ A~\-z-e-
11
74M,R,~7" 17. I~
0<" Q.c:=sex-
P2 PFSI fOl.A) ... ~ .;::"'\ ....
17 ~~~
lI.e?:>
{
77el I~T~ -'1C.1 1l.JT~ 7S ?Lei INTR.c".,? 77C I I lilT I<. '?I':) T"Z.DI T~P
,,_I "Z.D~ I<.E!\VY
.~ I,') ,' ... : -'/"-
X. ~,c:...\;:...
1 -;J"\-- .;.'-,
E)U5 W~ VElAY
8
(f' \ c..)
.... , -.
7
1(»9 0-
I~B
IGJ1
14504 !1 4
-;::"":J~
14-:'04 I 'l ....
P\':ll
6
rb~7 It\.ITt>. II ...
I ~l CLKOUT ?:Jl'
=00 4
C '26 A~F A.I!:)
'L7 f\BE
P 1\14
1\1~ 'lIn t>.~D
7.':> p.ec.
U Pd7.
'24 AB~ Pd I PlII-'l
27 A.'bPl
Plq Z'l "'be:? 'll A'b~ ~
~E.SE.T 1"-1 A6 ADell I'Z Ve,(/)
A.Dl l~ DBI 14 DEl'l AD'Z
p..o~ 1'3 DE5~
A.D4 ICo De, 4
17 DB'!l ;"'D'S
15 D~CD P-..OCO A.D7
It:?) DBl Q
~ESETOUl
~ \-\lDA. A.LE.
~(l) 74SC2l4 '=:l
SID lOIN-. ~q I?> I'Z
A~",,;) 5D5SA A3(i)
~ HZ) lMTR. .. 7 '31
: 13 RST7.? WE.
:. ~ r:::STCo.5 R.'3T ':1.5
~ en TRI\P IW
~Z , 35 Z" g£t>.DY S(l)
~ hOLD SI ~
I'?:J
74S04 (
p,.~1 I 1~
1'2. 5 (J 17 14
4~ 4A 4Y
4~ 4~ P?:l5 "?
'31>1. ~y
~ ~~ 5 7.Y 1 £0
2A. 'if>
'Z IP\ IY 4
~ IB
7::- 74 LSI t;)7
145(24
~ 4
6
iSBC 80/30 Service Information
5
P-..~IZ\ - A.5F D~!z)- DBI
7451214 ':> Co
P\":>~
14Sel4 11 10
~~
~ 14LS~'Z
4::Jh?i). G, ~~
::1 ~ e, 1\1') f>..'?7r
'2. ~ I ::]h?.z;::
. 11 ~. 1\
1~:::J"~"l; 14L'::>~'Z.
14SIltj
'" A?4
eLK. 14 I~
4D 4Q
'=> 4Q. ~
'ZD 'ZGl ~ 'ZQ 7
yz \I ~o "3Q.
~ ~Q 4 10 \Gl. * leu..
C1£.
I'
5
4
D~el
OBI
Dr>7. OB~
DB4 DBS DBiD
3
RE.~ET 4106 I Cal "D ~E5E.T / '37.D.~ I 51V5
~ I D "'Z.~'G. 7. A~(l)
A.E>1 470 'ZQ:; 7 ~D 3G\ en ;..,~z
2
LTR DESCRIPTION
SEE ~I-\EET I
IhlT ,,; I1De:.,,<nro,l7cB f:)SCLICOUT nc.e
O\JE~~-'DE. <aza:, 5<D ~U5
REVISIONS
ABQl - I\BF ~ID5/4lD5,?1D~,Cn1Df> ;71CJ::. rnA.~ 0- DEll 41.(5 I ~1D6 DB
f.l 4V 4Q" PI'b"? D~\J\-\\ 1~ I3D 5Q 17. A.B4
14 fnl) {i,Q 15 A.b'S ;"'Be"
ENCR
o
14 S (2\4 DB7 17 717 7Q IG> 15 5D 5Q I~ A.E>1
C?J
I I
e> I I (j
1>I.=b~ roc-_ 14L':>~1~
AlE" ~\ 32.
13L.l
WAIT STArE
FFEe.ED P>.LE. ':>le5 ,.'N''f.':-'.'-< D E:I 1-z.C.5
A Lt-,'-,
TO 1t4 tc
:I:O 1\,\0
..\..0 (~ .... jWJh" "
ro/K.o \wt.oc. :to (t--{ .... " ~ v.n- c
:lor\{ 00 \ ~.o -+~\J t en
IK. 4
'l VI<:
~ 7... 74LSelB ~ D'4?14Q.
I IM!:>j ~ 3 c..LK P-..44 (i ~
CLE
II ~'hu{2...
+5V S'4Se)0 14SGJ4
R.34 ~ ID c; W, I<i'K \10 III 41p.(,fj.J' A~\
1 14;:'5
~~ ~b..312.
74.504
1 14LS(l)5
....r;}A,1;? ? 14LS~'Z
4 JPI'Zl"" C:, -
~ y--
4 3
A.l
11
N\E
o I'\D~ ?IC5 j CblP\'b ""'S-'~}/:,-A
M P\D~ ~7.CE> \~~(j/}1\)
NlE
II o Wl<.T/41DB,r:,1D5ICc1~5,nCO,51De
t-Ai:.
1.1 o EO/ 41.Df:>, 51 D'b, ~'Z.f!)e, I TZa3, ~iZ1JB
PU -z Sl.AZ,11.A8
CD
" MEM RD/ 3ZAI, 9ZC8 A.D
P-.D V MEM W~TI .,ICB
~E FffSH 1<~\
P2 1B HA.LT /
Gte MDI 5IC5
51
2
c
B
A
REV
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 2 of 9)
5-9/5-10
o
c
B
A
iSBC 80/30 Service Information
8 THIS DR"'WING CONTAINS INFORMATION WHICH IS THE PROPRIETARY PROPERTY OF INTEL CORPORATION. nus DRAWING IS RECEiVED IN CONFIDENCE ... NO ITS CONTENTS .. "y NOT BE DiSClOSED WITH OUT THE PRtDA WRITTEN CONSENT OF INTEL CORPORAlIO,.,
7 6 5
AUH 12V
t~~?", E)'ZC2)'Z
tL-----=3==CO:=..: Y--/OP
4 3 2
AUH5V REVISIONS
DESCRIPTION
SE.E SHE.ET I
ON\IZ> - DN\7
~ :1 77. A.. I B'Z(l)2. ClK ?J?. X/lf.J P\roCo IS - N r<J <t Ifl . \!I I'-
"'1.(1 et..t'lHWI ------------------___ ------=~:...:\=-aW/51 :Z:::z :S :::;: ::s; s; ::;z ~
-+12.\1.
OJ1C I ~I\N\W R1f --------------------+--A:-M=(Z):-/:---~Co-Q WRI .----_Cl...L.::.z_,...-_a.J...:'l~_r___-O--1....;'Z~..__-0-L..:'l~...,.--D---'-'1.=--_,_-D..a....::.7.__,r__-0...L..::1.'--r__-0....L..'-.1.___.AU)( +5~. ~?'f\1 ANVllJ-NJ.FI --------------------+-~~PI::-:tI\.:;:I:..:./:------;B~ p...'l) 7 S Dltu DIlU O1J\.\ nu.l DH..I DI~ Dl~ DlN I c:J +
PlW\'l / liZ) Pli ~ f>..1ll171-"'=-------=74 N1; vce. ~ .~I~ f\'l) Ok'l~ 91 7J o B9 PlN\"'"J/ 11 ~;A ~~~~I-I:..:.I-----=(D~~~ UDD~ AT 37(l)SDI 10 92 I\tI\4/ 14 M V\ A."?II(fjI-'Ic..::~'__ ___ ..:...I'2~A? 'P- ~ht\ ~~FllCD
-=- PIll 07. 11 9 .~ I\WlSI ICo "4/1I LI:,:.?----:..:.I..:...j1 A4 n f'-~"..,~::,~=-------,;~I\I 03 II 9~~ 95 I\MCO/ ~ :;g ~/11f-:'1:.,:.1----1:.:::::'l)=-!1\'?;) fl..l7 1\76 1\19 1\50 p..~\ P{67.. p..,B~ ~4 -S\J r--:..:.=.:-.-----=IA'l D4fJl(2) ~ A.M,/ 4 "'5 ~ '\ "'CD/13f-:I:...::Oj----I:....:=?~P_.G. c: \ :l- 3 e.\ ;;;- (0 ~'r
os "" CJ(, f'o'-'P-.M='O::..I __ --=::3:....jP_.0) N
'Z?.C7. N\E~ "'DIZ _+----t_---CD-IE:~ 0<Dr-' 7 q7 MN7J/ ~ 1>.\ lZIl RI'o.'S1 7..1 I~ R.f'\':l 2.117/2109
f4
5 &"E.'ll )AR!olrr-' AU
lX':.JC5'l.V'([) Po,t-l\Po..f A.II CP-.S b=-1.7=-----__ ~dC"'5 \ ~¥-I\Me>/ '::JD) £. V>l'E ",'LEI ?)
NfIC./ 35 Ml. RA.S'2. h1l WE M-l\O/ f\ M~ ~ DOlI'T o OUT DOUT ODUT DOUT OOI..)T DOUT nOUT
I ~----~~ C ~~~ ~~~~~r:..:.~~~~~~~~~~~~~~~~~~~~~
+?V 4-DV'~O\ ~ '--_K-+-_-+-__ ---=E>:.n..)~ p..\n Rt\54~ ~'-:J:114 14 N 14 ill 14 v 14 ~II4 ~ 14 r- 14
to oa:::.O ~ we. D~ - lS Pll'S TANK~ ;: ~ ~ ~ ~ ~I II.! ~ ~ ~'l) ~ A 14 D Q D Cl t-l 0 0
PL I~K AU1~~5V.~ '-----~~D~~~~~~~--D-R~~-~~------~----~~-v--~----~ 0) ""CK b..::Z,.::':.>:-________________________ .... +_----------+_-- \(htv\ )CAI:.K/ c:J7.~E>
MEMDR.Y PRDTECJ/ 'lJlJ1--I--j--...... -------I----_+--+---~:_r.::::__ -:,~ ",., 3~ 14L'SOO Ie5lPl(l,c:)~ PC.S SACK 'LJ ~'p\M M.CK. / ,,)l. CO
.:.::::..c;.t-El ~ - + 5\1 ----~--~--------------_4------_4--_+----~----~~/t..LE •
l7J '> 1::.4 r---------------~ I~
~------------------+_-----e~------~I~~~~ II~-··
O~tI\(l) 11 14:'~1 ~ IV, DMfD DRMI ~ 1D lQ 1. OMI O~M'l 4 ID 1& S DM'l 1'=:~~:-I2D 2GlI-=~=~ DRM3 14 CnD CoQ IS Dill ~ OEM4 1 ~P ,?Q CD DM4 DKt-h1? I~ I?P ?Q. 12 Vtl\t:> ORMCn f) 9 DM(£) -4 Z.I B PROM ENABLE
fl.BD C
ll\Ux.. I''I'\I~ ')
1591"'\ ~o-I,5_8+_--+_--~-------~~~ 5V 157 a 74SG}4
+ t . 74SG!4 P-.151
} ~(}: ":" ') M3 \I ~ 8
----_+--~-----4~----------4_------~--~----~------------~~-==j~AAIIB8~
14 5 I([)
+5V
ENGR
4145HZ) g,5 D~tv\l 113 4D 4Q I':> O~7 F.1 ~ IK ~:::..:..:...;~=-te,D ~&r_=;.........:::.:.:..:.....:........:"""----_::_DMm-DUl 5'2~,C)7D3
"~o 4 r r 74S~4 145~4 ~ '''01 r:;, .. II E.r=.. ...... ~O R"", I"nu-==-=+ ______ --:-~------+--l---+_--~~4<l. Ul ~5", 11r-... ICZl ~ rH-.1 r I -=.I AIl4!,",\1 ~- D p_.~c. 113 112 Q CJ I'-' ~ ~ .~4 r DC. ,I::> t~\i\- -scJ rrEt--
9 74 LSI\ ABEF/
....., ? '1 74L527 0154 .051 P,Jn?J ~---+--Or- G. 153
1114 ~.l ~ACDttP-----------+-t--+--+--+------------+-.......,..--+----... ----------- &gP-.tv\ RD/ '2l'Z.~5 _-+ __ ~----------~~~------.1~-------+~~~~.4 G. ~S3~ 0)7.(1 OFF eD C.5/ t\ lS ~ ~ 2(}
1\'Cf\ - C, AB¢ - AB9 ") 74511 AE:>e> _ AIQF '" <{ <l: fI.~/z) 5 C.S ~~~~~-..:...~-----------------t-----~r-----~~~~~----------4-+-~--~--~~----~~A~B~I~------~7 A~
C5 '=' DICD(D O{l) IIll DIal
I f\fJ,?; 1. "Z. 14S~(l) l'--=-------r.-l A \ ~7~7 MEMRD/ ------~------------------------_+------~----------------~ ~ ~ A.BZ w U ND4.JI'r'f-o>-=------. 1'--:-p.."=E;)..:::"3,...-----5=- "''2.
0\ 1\ 11102 02 f..;..;..--=-=:"='='-1 03 13 010"3
17.C7. 110 A..D~
RRoM. SELECTION
2708 27S8 2716 2132.
86 TO 84 8~ 85 85--1
looro 101 101 101 99 -1
104 TO 1.05 103 103 \02
112TO 113 1\:> II~ 114
155TO 154 154 15Co 153
1.58 TO 159 159 15"7 157
8
--1
ON oOARD RAM
PlBF "BE ABD 98lL RAM ADDReSS
!z) <Zl Ql - 0e>!Z)0 I FFF
91 7.(JY:Zj~ '3FFF
92 4(l)(Z)(Z) 5FFF
93 fDCZl{JY]) 7FFF
95 P_'(lJ{l)(/) ~FFF
9b CCZl([)(l) OFF!="
I 97 E(l)tllrtJ F~t=F
7 6
I~ 14SIZllZl
l'Z.lJ>..G4,;:·~I..:..1 ---~ 1\ I'Z ::JA.I?~ I~ -
L-----~----------------------~~7~~4~L5~W'l T~
RP2. +5\J i4'S(l)4 ~ AfD"':J 9 IK I 15
ID
5 4
I'-:-Po,":""tl-4----4- A"':> I'-:--=-=------.,=-M .....,..,1'o.=-~..,..B----...,,"3,_l t..'? r-1'o.:-:E:1;-:Cn::--____ 1..-:- M) A'07 I
04 \4 DI04 DS 15 DIOB Ou, 16 DIOCo 0, 17 DI01
A.E:1E> '2? t.. , t-:A:-:e;,~<'J---~?~7 F\5 PROM PROM 1'---....",-,-__ ""'"" ;:"..0) 1 ¢
tl2.V·~8g5V OPTIONAL ABA 85~ AI([)
~ 087 A.":;7 ABB I<lIZ,..,-L
'+5V~ -v r~ Vpp . ~IZ4
po 18~ IG(~ 18 PD/PG M
I ~~ I -L -fL....-__ ...L-__ ...J
3
DI00- DI07 4"ZC'O,'='7. DO, Cil7.C.e:>, l1Df:)
...----------- ADV MEM RDI 2ZB2 ...---------- P~DM E~I'o.'OlEI 47.C'O
.----------- ?RDM /I..,",C'( .. / Il.D5,57c:B
.----------- D~ 50 UM I:.&T <:'JIC5
....------- OUBD Vo.M ~T'/ E.-zee>
REV I SCALE;IJOtuE SOIZE I DEPT DRAWING NO.
• SHEET 3 OF Me; 7002.132.
2
D
c
B
A
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 3 of 9)
5-11/5-12
iSBC 80/30
8 I 7 I 6 I 5 .. 4 I T.OS O",WING CONT"NS INfO.""TlON, I WHICH IS THE PROPRIETARY PROf"tRTY OF INTEL CORPORA-TION THIS ORA.WING IS RECEil/ED IN CONflOEfljCE AND ITS CONTENTS MAY NOT liE DISCLOSED WITH 521 (0/ ~T~LT~R~~~OA~I~~ITTEN CONSENT OF
E>'Z'ZfD 5 4 _ 5
'Z.1.B'2 IIORDI eD P!\.(Z) ~I DBI '2.1.C:Z I/OWR..V 3Co
I"-JRT ~ 011 PI>-I
~ _ 'Z
DDeI D~ll 0 Cc.1.I'\1 B'Z51:) CS/ Co Cc:, 4- DIrl}
2.LD~ ~E5ET '=>? 1<E.5E.T PA.'l 7. 002 DB'l
2.l.D'l p\e~ '::> P\!Z) 4- 01'2 2. Z.D'l A.~ I 'l>
~l Pf\~ I
OO!) 003 ~
liLl 14L'S~'Z Dl~AI
'Z.l~'l C.OMM1>.NDI q)JA'l1~ 40 'Z PA4 DOIZl DI3fl)
(011)\1 I1DI\I>.C.\(/ L;!... DI(l)
:]) :~;::\- r\ PA.~ ~'::> t;,
DOl DEli ICll r4L'::>1Zl5 l.2... - 4 14L':>fl)5 011
'21D'2 INTAI ~~~ '" C5 ~E U~· -r' \:...\~., f'A.Cn "!.Ie II 002 DI'>'l JI ~ U,
31.1>.1 PROM ENI'I.~LEI S M~ ~
[33CZl4 ~ Dl'Z ...,. A.'Z.4 ?:J7
DB!Zl I'=' I DlOIZ) 010(2) 34 PA, 003 DB~ 7.107 DB¢-DB7 60 A0 OCb .. ~V 4 3~ Dl~ A'1 OBI Ie, 'l DIal DID I ~~ ~ I
51 AI DI i rO D~7 17 ~ DIOZ DI07. 7;J, ((PI DltN C.s
2)7. A'l O"Z 11\ 1t:J1 -:!:-I D'O~ ICD 4 DIO~ DIO~ ~I
D':? t~ r--.,....S DB4 1':1
e:,~ A~ 5 D104 0104 ~25 B4 M ?:fD D4 14 c.b~ pcas DB~ 14 G, '0101":::1 OlOS 7':) ~ -
C Di::)G, I~ ~5 1\5
7 Ol0en DIOCo DS
bCo M .. 1.~ OCO \5 24.rr- I">.. 2.3 PCI D~7 I? l:?7 £\1 B DID7 DI07 27 D7
~
111>-'2. SI II Tie lCo 2~ ,..c--~19 Pc.7. - ~
PC:' 11 16~ ~ 15 ~
'Q2BI DlO\2') - VI(tl7 DlOlZ5 - DI07
1< 1 i" 5Z~t:;JA ~ 028
A.I~
~ V~ I CONTRO L ES I 29~ 0 27
I DATA E8-EA I I'? PC4
2.1 22
pc.t:> 1'2 11 IS
PCG> II
13 14 kZ>
B PCI
I 9~10
~(i~: PElCb
Ie>
PElI I~
-Pb2
'2.a:J
p~~ '21
f'B4 n
Pel'=' 2~
A P~CO
74
p~, 2~
':>5PB! lIC5 ~tS PPU 1 IC5
8 I 7 I 6 I 5 t 4 I
3 I 1/Doo'3 DFF 'n.DB
Co
~
lIZ)
I;;:)
~
U,
liD
I~
7 ~ "':J 4 f? II') L,
> Rf'1 IK.
_ 4 (1,
~ [I] - I
~
~ '?> P--4 5
~ 14 'PltJ _ 1'1 SDCKE.T II
T I~ I
12. 11
~ [J 9 8 ~ A3
4 14 PIN 6
U SOCKET I 3 L£
- I ~
~ [] ~ CD
~ AS _'::1
14 PltJ e
~ SOCKE.T I'Z " ~
I lTI
~
~ 4 Co
~ ACn _"::J 14 PIt--! 6
~ SOC.K.E.T _1'1 II
U2....
3 I
Service Information
2 I 1 REVISIONS
LTRI DESCRIPTION 10FT CHK I ENGR
-I SEE SI1EE T \ 1- -1-..JI -"\
4E::l VO~IE.5 sO
4CD POf.TEE> I D
4£1 POR.1E..'O 'Z
4'2 POR.TE..f:> :, re8 / i
JI 4a) PDRTE'O 4
~B POeTE'O ~ -
I % POR.TEEJ Cll
\ ~4 PO~TE~ 7 1 .. sv ........... /
t eJl '24 POET EA rtJ
C '27 PO~TEA I
'l(2) P01<:.TEA '2
1'0 POETEA :!>
COUNT OUT 7ZIB RING INDICATOR bZD2. C.ARRIER DETEc..T bl.D2. .-snD USB PROM ENABLE 3l.B8 EVENT C.lK 7Z.IA
1
JI 26 PORTEA 4
28 PORTEA 5 I I ,
30 PORT EA 6
j B § PORT EA ...,
GATE I CTL n B8 GATEIZICTL 7Z.BB 'INTROUT 7ZD8
.JI
ICD POR.'TE'" ¢
14 PaelE~ I -
I'Z poeTE"? Z
I(l) PORiE~ ~ ~C\
JI '0 poeT E.<=?> 4
(i, POeTE.~ s A
4 POeTE.<::) G:,
'Z POl::."E..~ 7
ISCALE:/\IOOE SIZE I,DE7fRAWING NO. , r~ ISHE£T4 OF D MC'S 2_00('.13'2.
1 '-2
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 40f 9)
~P'L
5-13/5-14
c
B
A
8
13141 E\Jan eLK
'lIC7. I/DWR.l' / n I~ll liD R..D /
'2.101 A.E:1fl) 7.1D?J ~E:~ET I
([iIP.>' e, 7 4 1 C S /
3 Z BI 010121- OI07
7Zp." 11.{l)5'3'7. M\-\~
7
,r'
PI
Z5 3e1
6
3'Z1D~ I I':> '" 1.
~(l) 00 14 E:l
~I 01 3 I~ C
5
+5V 12.~
~ ,4~e, v
R36 f 1~t:Jl fD7JlJ
62fJ
610 +?V
~ PI(
r2-D14lS14G.. •
RI'Z II elK Cc,7.(l) p.,~1 Q e>
CLR.
13 rou c..L~
iSBC 80/30
4
lei WR
(lj 7.7 e RD O)
f'.,f[) I 25
4 ~E.sE.T en 2.':)
7 C5 '2
+5V EJ>..
t ~ ~ 3(l)
55; '1.
~I KI -4 3 '/..2 I-
DIO~ 12- ~'=' -:>;:''2
DIG I 13 D~ 0 D\ CL
~~ l)I02. 14 D2
l~ 0103 IE D3
0104 16 :A 04
DID 5 17 DIOb 18
D5 06
0107 19 D7 1 T(l) - A20 ?P)
~ORI(l)/
F\DR.II/ P\DRI'2: /
AORI~/
3'2
PI
~4
<:!..\-I\V~ ~V\ "';~~e=sDa:o
4
.~~ '=>
E.~ ~ W6~p\
f>.tz, 0'2 EI 03
04 E'2 OS
oro E.~ 07
"'rtf:')
C'J~TQMER T I 17
~~~7 :tJ5TALL
\I 8741/42 I CONTROL E5 I lei ~ I DATA E4 I uP! SYNC ':) 6 r-.
7 H +k ~ ~ L PR06 26 VDO
'll
D"S 7ZAI IZDI PU-4
PI
It-JH' / 74
fS'2.t>.1 A.DeD/-A.De.FI SL..AVE RAM ADDRESS
leo~C? __ ~,l\,,:\~~I?RE~S ..0! .. ___ DI.S~BLI:_~._
~._ 0000 /FFF 5cDI BU~GLI '* 17.3 2000 3FFF 114 4000 ~-FFF
-:I: 175 (PODO 'J.!FF
l7ia 000 9FF'F
* III ~C:. BFFf_ 175 coco DFi="F ---
* 179 EOOO "FFFF
* SETTIN(' FOR ''''K ACc€"SS ~~ c.t.cx::l<" Pt\6~ __ .sg_~c T
W5: w/c: wr.,,: KTO I3-C_D-~ _____ A-D_~
I- 1(" BIT ADDRESS.
H ~~ol~;;;r.!' ecooo sr!!~!: _~ I_~ _ I!.FfF qoooo '1"-rFF
£ __ 2E~ Z!f!F ":0f?09. AFF"FF
_.? __ 3ClO()~ ~!F Bl>OoO SfF~F
D ~~ 4(!!1. <:::t?.90. crFFF C 5CiJOO !:FFfF D~OoO DFFFF
B lu?Ooo if!!.!. EC:,?_,?9 E F F F F.
A 7~oO 7!Of FOOOO!FCi"FF
8
~~
7
145(l) 4 IQ en
f\40
A.De.FI
l..P.OR.E1 ~D~D/ PI
W4
Y2. 18.432 MHZ.
I ra~C4e I '=>1 I<llPF 14 117
'klr>U UALI
4 1~t.JK 51511:> ~ " r-s-f \JDO (l)'ZTiL ~ ~
RESUJ an ~ R.DYltU (l)1 ~ r2 DSC. 5774 ~ REA.DY
f>...~7 I eE5ET ~+5V ,
I<'Z~
IK.
6
Ast osc:::. Ie.
e>
I 'l7
rz?J ~Z(z)5 :>111 4 7 172 'l
~ EI 01
~ I'" ~l E'Z 0[0 24 Go. 1(2) 174 ~
E3 DI5 \I 175 18<2
3 04
1'2 17b~ N A.? 03
'2 P.l 177 t-~I OL n:::
",B I A.(lJ 0 I
14 178 ,r. tr - hiS %C ~'00fll .[") 179 315 I" 4
~ ~Cl>
(l, "'.;)7
31:) 7
+5V ..:..~ c..LOC.!~
~~?~\V~~ 4 I
'2 PR. ~
----:z-r-- V 74574 & cD I bS
<t A50--"3 eLK ? 14S14CZJ
P ... FS5 (i, It-
Q <;;I C.L~ 4~ ~I
11 "'f?Jerj::; 5 167
I~
5 t 4
I·
31
32-~
0
~ 0
43 - -42-
41 - -411) -
44,.. -
Ibb
168
J
I
f'l ~ => - 4 n;- A7 CD
0 14 Plhl [Ie) CJ SDC.K£T
& 1':1 1\
_I ~
~ ~ _4 U,
~ A,fj -~ 8
~ 14 PI~ SDC.K.E.T 1'2 \I
~
I ~ ~
D- p....OJ 3aJ 4 CD
14 PIN ~ SOCKET
.39
OM 1"'I5~ 38 en~ 4
':) A.ICO
3b 4 [] (l,
~ 35 I ~
~ f\\CD 34 5 ~ 14 PltJ ~ SOCKET
33 .17 \I
~
37 4 ~ (i,
u... I ~
~ A.I I 5 .-'?l 14 PIt-.!
~ 50 Cl\. E.T II .-I'L
l!2.
P/)'~ c-, . 'l."l... 1
2
LTR 'I
"'1 SEE J'Z 45
4Co
44
4'2
4el
~E>
~u.
~4
IB
2(l)
J'Z
[E]
J2 Ie..
14
1'2
I III
J'Z
5
co
4
"2
PI
I"'.:>
Service Information
REVISIONS
DESCRIPTION
SHEET \
PORI' ~
POlGi'
POI2T \ '2
PO~T I ~
PD~TI 4
POl2..il S
POI2..TI C.
POI2..TI 7
'T0
TI
4IRS'Z~'ZOUT CDIfJ5
4IES'l-::''2ltJ
POE.T7 fl)
POR..T'Z
POI2..T'2 1.
POK:.T'Z ~
411~Te. nCB
poer2.. 4
Poei'Z ':J
PDE.T'Z CD
POf-T '2 7
SL~\}E. RJ>..M eGl.l" / ",zeo PU- 2. 2. Z B2.
ENCR -
!)CLK.../ OZ 05 COt.TI~()l.'-'<:':'"
~C.LK. /
D
C
B
A ( r\vC::\.\-:J'\' q . 'l.. '1:.- PI
'='1 C.CLK/ C 0-":)':.;, ,'.I.l'\ c. LOO'!"
??1%dIlHl 'ZIDB \,(;;o.CX::£~SU'-:' pu-:, c;lZ.CB
C_? lJ
J
S- . 7'.l!"\ l,
A10/ 7ZD8 REV
'2.DDc.132.
2
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 5 of 9)
I u P \ \ -, '\' ·r," ,.... '--C:- C\(s C-r;:y) lJ-() \ ~\j$. <1' C C ~~Y:-:;-\-r-·. ':-" '-
S~~- \2..,,:\ /,,')\)\.;';:"',. orcc :=Cs-.15/5-16
~~~t~o
i~i~ffii i~~~~8 ~~i~~~
!!H~i~ ~~~~~i~
0 ~i~~8a~
7ml
C
B
A
iSBC 80/30 Service Information
8 7
J~
K:EC:i LIME Sio VET ~ J3
R.lhl6 IWD1CF\TO ~ [IT]
J3 1~IIl':'JtI\l'TE.1J 1)/\1/\ 4
J3 REC. SIG ElE TlMIIIlG 1
~'lSI ~"UD RP-.1E. elK.
J~
TIU>l.I\lS <;16 E.LE "TIMINE:! ~
J3 Dp.,"Tf>.. TE.~tI\INPl.L R.DY I~
~Z51 DIO(l)-DIDI'
6 5 4 3 2
14eP.JA REVISIONS
LTR DESCRIPTION ~--------------------------------------------C"RRIEE DETECT 4LC1 'lfi~ All? 'l 1489A SEE SHE.ET I
~-----------------------------------------------011l6\NIJI~~lGR. 4LC1 '~~" "IS 1'2
I
~~ J3
~-4-+-------------------------------------~---+--+--------------~ 8 REaUE5T"T0 SEND
3 '23 D) 1488 Jb8 ...13 1489A
/\1':J C5 X1---------------GI2.'W ETS P----1II~r::1q)~1\:-:-,:--4~e. b7 ~ I~ CLEI\I~. TO 5E.IIlO
[j)p.;-:r-A-P-Og:-T-E.c'll lei I .... CI~
145" 1 [TI 4 Co - (:;0
f>..1t:'j~ ~
58
l.c..ICn T S5;:
J~ 1",89A I ~ 57 <j>
I\1£il 1 cn
14B~A I [I1
\~ ,~1\ ~
"'Co I'Z. 14B~A IV -'"'~
Pl.ICll r7J
'DIO([)- DI07
[J26TA ~QRT Eq ~ [I] 8_~ (n 82
=l':';· 'l~ DOC. I" 4 1~88 81 ' e~ oJ:3 Q------G "-A. Tl\.D p----~~~S=--f:A:-:-14~I"p=UJ:....-~._---------o 0----------------1 Co REC.EIVED DP\,I'\
1: C.14 '\.,56 o-.... _____ -=c;,-a "TKe.
17 .. e.TS
1fl. DlDfll 17 DS!:::.
DID I 7~ [)[)
DI VIOZ I
D'l DID~ 'l
DQ 0104 !3
D4 DIDS CD
D':> DIOCo 7
()(A OIDl 5 01
11
Dn:.
TIE.. S,{NDE.T HRDY Rx..iwy
J[TI
I~ 1488 J3 p-----.fI ... ~_r._:__. 11
~~---~l--------------------------------------------~'~ ~A1~ SE, ~~ 7.4
CI~ +-I'Z.U J3
I ~~ -=- [I] • 65 0 ~
-11.V +GV J3
~_I~~ ~ ~ 1':1
1£\ ~~-------------------------------------------------------------------SITx..~lhlTR IL~\
~\ Rolli? \llT~ 11'01
.J'l r------------------------~ 41 ~S'l~'l aU"T
'ZZD~ EE.':'E. T I IA-I ~'Z t:J I C. L K _--,,=:l:..!.:...-_'-\~n __ .::.:L\..l..\~l ..,::;.'/ -------------------------------------+----~~
eESET Z(l) 13
C.LK l78 ' J~
0~7~7------------------------------~ SEC CT5 2Z5'l I/O~D/ ---------------------------------~----~~ ~LL1 1/0WET/----------------------------------------------------~----~q
Ill) 1\
R.D WI?
...-___ -_lb-o -/9 rn SEc.. ~£c. IJ>..IJ>\
'-' 0075 [II] TEAIIlS SIG ELE T'MI~6 cs 1'2 eli)
T'i..C. 1. peOTE.CTI\JE 611lD 4151 5T'l<.O 71
72. .r.
52C.1 41R.S~~ZO\JT--~--------------------------------_+-------------------------------------------7~4-~o
145t:>
u--7_3 __ 7--i~~
A..14 - C.1'2
J0 ~~~ ~~~ _ 7~ 69
F\i!:>'Z I l~ 1'7.~:""-------------;:;-i £>0..0 Oil) E11 I\EY~ 'Z PORT E4-E7 SELl ~~--------------~A..I 01 ~~---+--e_----------------------------------------------------------------------------~~~~~~~~~-------674ICS/ SID~ r-:/\-=~=-4..:..--e __ :-:;-______ '3=j NZ oz 17;> PO RT E 8 - E B 5 E L/ 5'2~5 C 51 4 '2. D~ ~ D~n...:.::''Z,,-_.. ~
r--P\'_'O.....;I':J=--.-t-I _ .... '2'2-;'-Q ~MB 1'2 4 E I D4 ~ '----I--_'--.:...:ICZI::.,{] r~
~4L~'27 :J'Z.05 ~ ICD ( "'~Sll -4 14LS<D0 ASflJ 0::' ~ PDIZ.1 1)!3-D~ 5E.L /
f>..~w O~~~---e~+-------------~----------------------------------------------------------------~~~~~~~--------- ~2~~CSI 7'2.C~ t-:A-::~:-::7::-t-t--=-'?-fj\:-::«D-::-.~"'CO ':J E:'l 07 1 PORT DC -DF SELl B'l??JC':::J / 11 ~'b
ENGR
o
c
B
17 ~D~~I~I---------------------------------~~A~K/ IID~~ID~,N~
l~ 14LS~ '3 l4SIlle) '2. l4LS(l)(l) ~ I I lib ::J",!0 5
- I ]ACo~' Q C£J E~ 1'l.J~43J. ~ A I 145 (l)(l)
~lL7 I/O~PR---------------------------------~
8 7 6 5 4 3
REV
2
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 6 of 9)
VSp-R:\
5-17/5-18
c
B
A
iSBC 80/30 Service Information
8 7 6 5 4 3 2 PI J2 REVISIOHS
ENGR EX-TINT!::: I / INT~ 7/ INT~b/ INTR 5/ i~JT~-11
.. r:st'. 1 '112)
~~ 189 ~
LTR I DESCRIPTION ---------+--~--~_4
r 1 '3EE S\-\EE T ~~----------------~~~--~-----------------------------------------------------------------------------. ~r_----------------~~J7'8~8~~i--~----~------~------------------------------------------------________ -,
--------~--~--~_4
1 N.Tr;:,;:/ IIJTR::'/ INTRI/ INT~0/
5ZA2 AI(J)/
41.51 II\lTe.CUT
3ZeJi DLOCl) - Dr 07
~r_----------------~~18~7---~~~'~(~I~'l~'~\)~'~\~·14\~\~···l~)~~~ ____________________________________________________ •
~r_----------------~~~I~B74--~------------------------------------------------------------~~~_n 3C5 ,... 183 ' ,.·~~O~·\ V,V ~;;n\ ;t';:',
42r_----------------~;:~1,8:::-.... =2., __ ...:.' ______ --,-____________________________________________________ -,-, ...... __ .. _ .. _. /' ..... '
4f' u .,-'"
- I 186 O~·- ..--'\.fVI.r-,;;;r+ +I?V ~ I I'? II OJ ~ I~' II OJ
-----------;~CD 185 ICn~ E.IO,IK ,4LS04 All All "11 All All 11.11 A11li A70 A1CD ~~ l
7438 DIO(z) . SP ,\..c..'t"\V'i:.-- \t" l\.- 4 7.. 17... \(l) 6 La 17... lIZ) f)
--------------------~=DI=:a:,..,,:=-~~=l~ DCD 62So; 'f'J~Q.~ 12.e ~IJ EST.~ , 1..,3 ()~ ~X~ t::D=Ic::::O:.::Z,----::~:::-i 0 I 15 _ 133 ,", ClJ t- roJ S 0-. -0 '" <t- O~I-,-45=-----'---'-------"-=------------- ':JI RK~ I ".nR. Cor C I
I"iD::-;I'iCo:;:~~-::~::-fDD; ~~~ t-:,-:::0)~--------------------"-'''''I\:----------------....,.1-::-':\2::-CW\f! " ~'l I{) ~ " ~" ~ !{_t.,c.~rl-'3-=7:-----------------, TR.P-.P L1.C'O _}
"1 D.J4 P lle2 l.'2rtJ, ! ">1 - . n,tnt -yo ~ I ",8 r--D_1...,.O_4 ____ 1 I "'ill I NTC'T7 ~~"f ~ ~() -+,C~r:1-=3-=9'-----------+--- mlR. 7.5 'Z'Zc.e> /" "\')
mars Co IT.7:l L.ot- ,," .... ~ ... ;~ -+ ~~-------+_-- ltuTI2G.r::. 'liC.e. --,. ~,:;;;.=-~DS :r 'l'l 12.9~ "IfV' -r't'r,,,,nr.:-~ \v\'''"' ~ .... \ ...... 140 DIOG::. r:, lE.4 ,....c-JV I\l''' ~-P1rC~_:_::_-----------~~-- 1~1TR. S.c:.. 'l."1Co..
I':D=-=I=-=O=-=7:----:4:-1DD7
Cn C llC.~ ~: 12.8 :; ~ 142. \J~AQ..\ -rt'R 'Cj '- L.J
LM I 12.7 ;: 123 ~ ~~<..:>\""'-"T' 51 T)\R I~TIC. CD1.CI LID" I ~ 'T"'/ ____ -'I=;c...>c~.,..,ffl'-'-'C."""'. 'i' ..... \.O'---_-+_~''"''''Z''-(i,-{] IMT/\ I~Co r:n=-=c..------------Jj'-----------,-Qt- IL. ,~ ...t.. LA' .to. A A "oJ
, ,'-'" "1 .. ,-, 126~L I~- T T T T 't :r ~ T' ;-11 r,>" e:\J~ u:,lP\ 1 '2lZ~~ C.5 / ----~---------i_------::~:_O c.s un 12 "--' """'-"" ",. ~ ~ 0- to C\J ~ ~;:; ~
'Z1C'l l/OWRT / we C!J) ~ Q~ 9~ <1 ~ (r (~ (~ qrr-'Zll;'l 1/01<..D/ 3 leD CI W ru I Iof: ... .... .. ... r;., };
~~ ~0-~7 ~~ ~~ ~~~~)~~T'o~~~t-------l-+-~-v-----------~~~.~~~p~~r~~c--~~~~~~~~~~~~-------------+~--lm~Ll~ f'\'.)e'J c.'Z ~ e~ r/) ~ I-l e.. .... f.TI (i; iZ.
.J I 14L:,~4 T J¥ 0 f 1 K.: ~ 4 ~ ~ M~.;)
fiT It,.ITelZl /" SQ)I-----__1i_t-_t_---t---------------------------..... --.. --=--i _ ~ ~ 17 I~ 1"' I
lA'f ,..." A.7fD "" ~'Z B I 411 ~ T ~ --=-'" r{JJ.::t:~-c;~:R~-1-t""'"'-+-P-.~-t---,-A.--i-'''-i.=>''i-------------------------------___________ --.l 74S'!>'Z L--+--------------4-4---- BLlS TIM!: OUT / 11. D'Q
41.P\,? "'.I17PP-.'I llPI p;q >c'eT n I~ 41P-'? ?~PBI
P2 l4LS(l) 4
PFI/ 1~1-----__1i_t-_t_--+-------------------------------.. -----------------------------__ ~S:-l ~G P-11l) ~ DIOIh 5 D~
DIOI 7 01 P OUTeJf-C'Ih~~ ..... I_f_---- <el741 E.\lE.hll c..U<..VSiD5 DIm G, D'Z. I DIO~ S D~' 0104 4 I:'
£il1 P-I ~'ZS~C5/ ---------------------------------------------------------------------------------.., D105 ~ D4 OUT I ~--+--___ -- COUNT au T 4 Z C I 4L~1 GP-IEILIL--------------------------------------------------------------------------------------------------------~ DI~ 7.. D~ 47. 51 a~IE.rll C.TL -----------------------------------------------------'l..-:T" £f! ~="7a, M....-----------------------------, !'--"";"";;""""""'i Dc" cur
V I ~ , ~J.7 .1 C;V A~;"'07 I 07 DUlL f-C1....;.1-_t_------- e.Lc;,\ 5p...UD f:~TE CL~ u,1.DeJ ?r .. 1i84 MHl. 4 tSV ~ LJILJ I':) MI:l
rO~C5 ~~ 'I 741Cn~ /jqb 53 .. \\;D t>-.I!>I 2:: t>-.I C37f:i3 .T IIl)PF Lf{ CL~ Q./>\ 141 .. :u.B~4 /0-----'-'----""-------------. L-----::rz'=3-aRD A:Z I
+12V. 14 I~ I ~ LD . _ ~C'" ~ '-----....::::'Z:::::;I-a ~ t. Uf>..L'l Ht>.LI ~ EP -\~ l50 "\"Il .. ", 14 l...~
.p~~C\-.J ~ VDO EE"DY~ 4 ET Gl; ~:Dl\lrce~l-r.--'\.----------=-""--·-=-."f'ioo,'-"·~ L--'-----------------------.....;.:..:....;.1\~~~~~\0 \2.la;( ... \ c..~1 -or- ~:z. ----=- vee ¢7.ITL ·r:=;-7--42 .... 4-5-7b-.~-=-3~C.LK. Q.C ~ 50 51 ._"" 471;. ~ ~ i"'" <;) CU(e)
-1004 ~~ I(D~K ~ T"~K ':>TSTB ~ MHZ.· ;t PI. AI2 • \ E '-/9 C PZ ~ 5Y~C (2\1 ~ ~ ~ QD II 71~· ~ 461451 525.~u.t> CJ.....\! ,~
AUX.r<.E':lU/ -351--...... _e_--tt----='lUe.E51t-l ¢2 A ~ C. ~ ~ C,.r,u .... \-rCJ...,..\! \-.J
C7 f+'~ 52.24 ~ D 'RCD ~ \- , ~ RDYIM I L-______________ ~------~--------~
~ E.ESET ~I~~----~----------------~ I L L-_~[~~_~~\·....;..;~~_~·....;.~~~~~.....;! ____ ~_\.....;~_~'~~~, __ .....;~.....;o_c_~.....;r_·~~"~~~\--------~EVENI eLK 4ZCI
SU{s,-re;M CtOC)!- 6-G't'~f!.,-Wt2... P\\? OSC·I-:---AU-)(-I.-5-'V. R,~B AUXt5V. II L-..------T:l:l:l-h~~~~l..:'·;e:r')~s:R.:=:'-:.c~~~~~ ~~. '"i.c, '" ~E255~~~~T b~ZBC: el9 AU'H5V. E..'2':?> I 10 ~_~ . IK 1,:ur5V "?J 11< lrf.. D PR. Q~ l'Hl-'\ L~t CLV ~? \"1. IA ,671l:J'Z eLI" ~ID5,'~'ZCEl ~ II I~ AG.')..u-~---e II 74<::.14 ~ulu~\ \\ ofaiL I'Z "'~"':;/ L-----t---4....-+.,...,'3:-:-~~~~C.LK1 ~. " ,(lJ 592 M H l 5 Z C B
7"LS!Zl~ ""14SIZlcz) ~RII F\44 Q ~ £:LR c't...Oc¥-.
IK. 'I'''? D\VlDSl? .......
AU'J. +sv.
-P?v
7..1.'07. r'tYL
16 CLK'Z 15 CU~I hA1T2 ~
PU-4 11DI.5ZC7,9ZCB
I ISCALE:NOt-lE I
'?oo·( \:') 'G
8 7 6 5 4 3 2
REV
D
c
B
A
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 7 of 9)
1 "-J -n:. \~?j ~( U .. \--~. \ / S i ... {':;"C~.:. \ \./ \ .:.:.. ~<;: ,: I
5-19/5-20
D
c
B
A
iSBC 80/30 Service Information
8 7 6 5 4 3 2 THIS D"'AWING CONTAINS INfORMATION REVISIONS WHICH IS THE PROPRIETARY PROPERTY OF INTEL CORPORATION. THIS DRAWING IS RECEIVED IN CONfiDENCE AND ITS
PU-C::l 510'0 ENGR
CONTENTS MAY NOT BE DISCLOSED WITH
?NUTTELT~~R~~OA~I~~ITTEN CONSENT OF PI R'Z4 Qq
LTR I DESCRIPTION
...- I SEE SHEE T=--\ ---+--+--+---1 'Z'Z I~
IJPRhl I I~ ~PI<U DLYI\OJ '0 SLAVE ~M v..l~11 ~10e>
'2.1. 0'2
'Z.""lB'Z I/OI<.D/ iz."Z.~'Z 1I0W~1/
'Z.7C.7. till::l'I\~R. I 'Z. 7. 'CfZ tilEMRD I 'Z"Z.V~ IT5ET/ 57..0...1 etLK. /
+r:,v
R.'Yl IK.
L...-_----<'\ 11,4
Co , '?)
1'-'ZCb
1.t.:J Ib~C Ib2~~~------~-+~~~
LORD lOWR
WlVIITC MRD
INlT DC.LK.
52-104
f>..Cn7
EleRI Kep XSTR.. r 5 74LSIl>2
2. 2 A 2. GC'.MO / ------------------------=:::.-O-~_... IrA ~)~v-------------4---i-~
'27 O\JRD ~U5 O~c~~IDE----------------------~----~-~------------~~--~~
1 74L'?~4 ~C>~O--='Z------~--I------...::.'Z:.-~:N !:lee,
"'10
D~ ~D ~M R.QT/'-------------....:..I-d 7451(l)
PWM A"'tK/ 'Z ~ 1'2 17; t::..7
llO AAC.K / ---------------=....::n
f>P~O
BUSY f>~EQ.
MIWC MW1C lOR-C. lOWe. RS1~
C.L~SI-\ '(c.'(
I\l\.IYIZ P\DE~
WD
SlI\\JE l:.AlA R.D/ PI
'l?:> IE) ~ E>P120/
T7 'Z'ZrJj -=-~~ ________________________________________________________ 4-~ __ ~I~b9~~ v 17 0
'1.1 I'Z ICD I~
11 'ZCn
rz. '3
~ I~
~
1~.::4S32 "'J:lMV- ~ '"
74Slil4 ~2.
~~
BU5Y/ ~ ~R.E.Q./
~ MRDC.I rw MWTc../ I-=-
& 10K:..C I IOWC/ :!:1..
1~~5Q!.3 13A2~~"~----------------------------------------~
PI
29 C.B ROo/
I 74Se,~
7 ~ M I X"'>-=~=----.
Mv'L-n ~ O~\"Vf.6 n~f+
I 527ft>
BUS CTL/
DM(/) .----'-7<1 C'3 I~ PI r-~'--+-"":'T II"::'a4--1DI~ DI:>30-':":=------I'13 DP-.."Tfl)/
~ DO~ I-DMI _ 0 1(;') I---
~--'-=---+----1JI-=II~ DI'Z DB'l 74 DA. T I /
DM'l 7 UO'Z r t--
1r---'-----i--..... u=~5-1 Dll OBI III ~ DA.T'Z /
OM'? 4 DOl =- I--\r-'-,--'----+-_e_ T '71.~ DICll D~Cll r::rz DA.T~/
L..!:...... DOQ) I--
~Dlill· A.15
I'? 74'5rJj5 1'2 ,lM\'JeflJ:r-:-:1 I~-+~=------~J._~I-cl B?'ZCo
,- VM4 1'2 CS I~ I-::-:::-1r'-'-,--'----+-...,:.~1.:..4--1Dl~ D[)3O-:~----I~ DA."T4/
DM,:) ~ OO~ I~ f-=-~~----I--t~"""":1 ~I D17 DB'Z 7([) DA.T'S/
DMCo 7 DOZ I-!--"'..;.;..;..:=----+-_e_..:..-j Dl I Of> I fA ~ DP,TCD /
~DDI I-4 ""14LS(l)~ ""14S~(l) DM, _ 4 ~ t--
'----------------------~:'lfr.?1:w~C:O~!3.RQ.D.!.C.~M~D?J./~~4~~ r 0\ ""14S!Z)f:) 1r-------4-~Tt---''7'l- DID UBI2I..... I-l'll~ DA. T""1 / _ '=> ,..IN''.7"' ~Lo -../ L..!:...... DOll)
!:l J.5E;r~(/) M\')()-=O=----HI--------.... ~I~~_d ~ DIEhl
~ZC.I
~2e>1
SLAVE MODE.l __________________________________________________________________________________ ~~4~7~4~S32 ~74 Q..I<J'\MW/ _________________________ ~ ______ ~"j~2~IM3'l c:o t\~\,.,R~
AWlClJ/ 7 B~~4 I~ f-==-r7A.~M..:;;;I..:...,/-------=5--1 p\(j, BG r.1-=-'Z------15, \r-:-~-'-:---~o::..:::..j A. 7 57 Ie::. "% P\M~/ J J ~
L-;,;.;..;.:::..:----=r~ M 54 55 L-P-..::.:.M.:..:~:..:./ __ -..::lD~ A.~ 55 14 ~ r-P-."-'-M __ 4 __ 1 __ --='3:...j P\'Z ~'Z If ~ AN\~I 4 fJ'3 ICD ~
r-:A.M"-':Cn:::-/~ __ -.:~__1 ~~ ~(l) 10 'SI ~I\NI..:..:..1:..:./---...::L--I1\1 DI IE> ~
L-11-+-----...... ---'::>:::..j CD I-
~T/~ I>..l?
~"z'b\ DfA~ - DM, ~z ~ I AIA!z)/- AMI /
DM(L)- OM7
I\fAE>/
1 5~cz)4 I?:> ~ e, J\r" I:> CD l'l
P\l '07 I--
'::J \10 ~ en M ~4
14 4""1
-:3 P\r:;, ~G
" ~
f>..'2 e'Z ~ 4
J\""J 53 ICo ~
I 1<::' 'l
A.rl) BCD 15 i ~
L-~ A.I E>I
l T "4d
C.D '-
I I T/R.
A.MC.I
P\N\E /
/l,t·NDI- I\MF / ~LP,I QSLp..~E ~T/----------------------------------------------------------------------------------------------------------------~~
A. 77.
P\D~0/ ~DIi::.I/
ADR.?I A.DI2~1
A.Dg4/ ,o...DI<:.~/
J\Dl<1A I P-.DI<.l/
P-.DI<:.El/
J\DR.~/
P-..OI'::P\/ AI7K~/
ADlZ..CI /Io.O~DI
"'DRE./ A.DIZ.F /
DRD/-I>..DeF/ A.
51
"')"Z.~
IZ.DB)5ZB7
REV r SCALE: NC,tJ E: 2.002 \ 3'2.. --8 7 6 5 4 3 2
D
c
B
A
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 8 of 9)
8 05 CO<),~o"LiBcJ.s LD~\Vc:.\2S 5-2115-22
8 I 7 I 6
nnli ~S~~a~ DBfZ)-D~){
D51Zl 1'2 57 "'7
6 DMrll 'Zl.D'Z
D~I I~ 7 DI'III ~tu~~~~ Eleo A~
!!I;~U DEl'2 14 El5 A~ Co DI'II'Z
oe~ 113 EA A4 S DM~
n!!;;~ D~4 ICD 4 DM4 D DB~ 17
~~ P\?J ~ DMS
~ -- D~u. 15 ~'Z A'1.
'Z DMCD ~I I'd
Oe,l I':) Bill A'lJ
I DMl
ZIA'l 51 II
T/~ I 74S~(2) B~Cll4 Dr-iTA
4'ZD~ 1/0 eus OFF ~ " CD I\':JZ
~ '2'Z.e,'Z CO MtM\\10/ '3 I 1. po,r;') 14SYZ
B1.01 SLAIJE: RAM 'N~T / I'Z _ II I'Q ::Jf>..G.1" -- ISZAI ';)LP-.VI: RAM R.Q.T / - ~ y- 1 I 14S(z)(z) I '1. 74'3~2 ? ~Nl>y2-
1-::11\(l.T ~ I 51.01 SUWE ~AM RD/
72A..1 PU-4
'2 174511 ~1.C.1 RI\M AA.c.'U
4 74S(l)CZl ~17. 'l"LC'l BlIFFER.E.D I\LE. C ~ INCI""' CD
I~
~'Z.I\I ON e,D IcAM E.& T 'r I
7'Z.P\I s'Z.lzn: CLK.
'~5~(l)
1"l14S(l)CZl II2'l c;, It>.iDI'' e, ne'Z t\ov tliE.M WRT /
I'" MDI' I I 'Z1.~2 f>lDV ME.tv\ RD/ ~
'=>'lPl.I pu-~
--. ~'ZCI u..M I£.AC'" I
'ZZB'Z MEMINR/
B AI AI"}
?4L5'Z4f.D 16 'lG "14SfD4
Po..e,1Z) 17 :"ZM 1Y4
'? f>...M01 ~~ A51 15 5 I\MI/ A \)';)\~,\Cf':;, f..;;" AB'l
'l1\?J 'l,(~ 7 AM'll
A4(l) I~
'lA7. 1V2 u~v·F~,(~. Ab~ \I ~ f>...M"/
'ZPl.1 'lVI f\B4 'I. I~ I\M41
P-.b5 4 11\1 IYI
ICD AMol I\BCD CD
IA'Z I'{Z 14 AMCD/ - It\~ IY~
1\~7 5 1M IY4 1'2 AMi/
p.,,~4
AB5 11 '14L,:!>'Z4Q) ~ AMEli
Ae<::l \5 'If>...4 'ZY4
S MII")I
I\'CA.. I?J 'ZI\'? 'lY?;
7 AMAI I\El~ II
'lA'L 'L '('2 0) AMbI
N3C 1. 'lA! 'lVI
15 fl.Mc..1
AID 4 IPII IV I
ICD AMDI A p.,~E. CD
11\'2. IYIl 14 AME..I
IPI~ IY~
~\Z). Ae,F ABF 5
11\4 1'(4 rz I\MF/
'Z'Z.E>'Z. AP.J?;
8 I 7 I 6
iSBC 80/30
I 5 .. 4 I
,') <.0) t-' tt E \<."
J> 10 CL~ 4 74':le>8 1?J IS p~
0 Q S MI" iD 17. D Q,';, 74S\l~ 74574
c:7 ~ II
CH" G. r- C.LK '1. 74'S?:lZ
P-5e, Q ~ AA~ IjM~ ell<. ~
I~
I~ 14S([)(]) I
I'Z. ~";B II 5 £'.ll<..
~ D1451l~61 C)
elK. c.. F\4~ Q
A.w..rlJ/-A.M.F /
I 5 t 4 I
3 J
DM(l)-DM7 31 tll
5ClY'?F7 ~ 7
t\{iJlj I
BCllcr7 'Z -::,
AC!i[l)~
AI
c..LI? I'Z. I III o m 145 11 !:> g
- Pc'LK
A4~ - 1\ Q~
2
~~ 7tSQllZ)
4 74SI7l~
~ f>fJP)7
4 ~
5(ll~7 Nb~ I
14 I? f>...(jf}j'" 15
f>.,,(dlll" ~15
1'1 II 50C1J7
I(l) :!~?'Z c;, ::tACO?'" 6
----"-~ ';/'
I
1~~192,., ~
A,c,m 13(l)OJ7
3 I
Service Information
2 I 1 REVISIONS
LTR I DESCRIPTION 1 0FT I CHK I ENCR
-j SEE SHEET I I~I-I-
\
D
+r:;,v +~v
RIB R'l.7 IK. IK.
KAlA W~T/ :;2D5 r--
DFF fJD C5/ 37BB
~MAW/ ~2DB
C
SlA\JE MODE. / B1.e~
+-
Slpo,\I~ Xt>-CKI \'lDB
B
RAM QJ<..I\CK / I1.D5
-191
0 SLI\\JE. t>-,."CK: / I7.D5
A IS. .S\.I\\JE.. R&1' I 57.1\'0 AtNl>/ - P\UF I ?:J7.A.'O, 'O"lA'D
I SCALE: t-JONE SIZE rE7fRAWINC NO, rEV ISHEET~OF D MCS 2.00z. 132. \.
2 1 I ,
Figure 5-2. iSBC 80/30 Schematic Diagram (Sheet 9 of 9)
(JC) T2 ... ~\ \:Jvf\L-.- ~
5-23/5-24
0
C
B
A
8 7
PI J2 J3 IN/T/
BUS'r'1 VIR DCI MWTCI IORC! IOWCI I~H .1.1 INH 2.1
INT 01 INT i./ INT 21 INT 31 INT 4/ INT 5/ INT (d INT 71
, I I
ADOR01 '::J' 11 ~ e../ 5 31 !:6 41 53 51 ~ ~ 51 51 11 5e ee 51 <El 49 ~ '3Cl SO AI 7 "1-1 BI CI 45 4S OJ <+<0. EI 43 43
ADDR FI .J. I
I I , I DATA flJ/ 13 r3 73
J.I '1 74 V il 71 3,1 ""\2 ,2 41 10'3 ~ 51 "10 fr,1 67 II ~5 51 105 '31 80 AI <03 51 CI I OJ 62 E.I 59
DATA FI Ii::O
I I ! ,
'3 S 4 ::, 5
+5V <0 "-81 131 Be ec 133 133 64 84
NOTES: UNLESS OTHERWI5E SPE.C.IFIED,
I. RESISTER VALLJES. ARE IN OHMS
2.. S'1MBOL -0 INDICATES WIRE - WRAP POSTS.
~ .c.Dl<\PONENl6 "R3~R4J &.o,,:n p..ND:r~ I\~ To BE CDS.,DME.R INSTALLED.
B>- R.9, RID~ RII ANDRI2.. DSED ON PNA. \ODDIo104-0<\- O\{L'<.
7
6
J4 J5 14 I, 19 20
I'IP"3 a.~K ,~. I 2'- - --51 I
55 3
!Sb <l ~
51 I ~ ~
~
EO '11 1
I
I , F\~ _c~K I ,
7 2 1 1 , 3 ,2 <09 4 10 10 (;'7 67 6e 6E'> ~ a.
I lOb 63
COl b2. 59 100
I 10 I I
'3 4 ;; <0 e,I 62
3 83 e4
6
iSBC 80/30 Service Information
5 4 3 2 REVISIONS
+5V IlESCRIPTION
+'5V RII PRODUC,,\ION RE.LEAG:E
RP"J 1•1K I aco B> ~r--.-- 1 B CLKI
I 1".12
co I 3~O +5¥
D 4 I R~
I -= "2.2.0 I c elKI J ~ 10 RIO
RP5; IK . " 330 2'- - --
3 I -= 4- I 5 I +5V <0
7 I I
'" J fl., Re. R5 R.1. '510 '=010 "2.-2 1)<.
10 )(AC.KJ I<
AACKI RP..9-~:5.K I MACKI e 1 INTR/
+5'1 4 1
~R~ ! R"2.
6PRI\II ""I
7 1 ~>2..2K <> 2.21< C [§>
8' 29 5PARE 30 ::)1 34
~
0 I I I
RP2. 2.cK I e r -- - , I
3! I -t1<?V
4' I J8 J9 I
51 +12.V
I ~ ",' I
-5V
-!5V J6 J7
J -lOY 10
-10\1 B -12V [p
-leV J8 J9 ,
e:! \I Ie:! 75
J6 J7 ,,, as 8.,
~ -=-
PART NUMBER IlESCRIPTION
QUANTITY PER IlASH NO. A 3065 lOWERS AVE.
4-00/992 SANTA ClARA
C'I IN'r'F:t 11;11'7'5 CALIF. 95051 IOOOIDW4 4001146 1000,",4- BA(KPLANE "lOCOB2.2 '5'1'580'20
1000"''''4 SeciJ:JD4r IlRAWING-fIO. REV
2.00\ 1(00 A NEXT ASSY USED ON CODE:
5 4 3 2 1 .I ..... ~l.~
Figure 5-3. iSBC 604 Schematic Diagram
1\.. ') " l3 {\. .. C\!._~L·-i<\~ ~ .. 5-25/5-26
o
c
B
A
8
NOTES: -UNLESS On-IERW\SE. SR::c.J FlED,
[}:>CONNE.OORS- Jl t J9 AEE
CUSTOMER INSTALLED.
~ R 1,2.5:6 I\RE. USED OI\J PWA I 64("-010 O"lL'1'_
:3 THIS DOCUMENT K'.E.FLE.CTS F'lR.1WOI2.K. 1000647-03 ~£V D.
7
'Pi
7
6 5
J2. J3 J5
6 5
JI
iSBC 80/30
4
-tS
> F\5
330
~
4
D>
5\GGND
-IDV
-12.V
+5\1
-tsv ~IGGND
kEY
Service Information
3 2 1
D
c
B
PART NUMBER DESCRIPTIOI'I
r-______ -r ______ ~~--~~~~~~--~~------------~--~~~PAA~n~l~ls~T~------------------~ ~ _
SCt-lH""' .. nc. 4001144 5BC.-cDiDO
B,t>CI:::PlA.~ E DRAWING NO. REV
USED ON CODE: 2Doll(ol C
3
Figure 5-4. iSBC 614 Schematic Diagram
\3 fie. -(~ PL 1;"'\.) L. __ _ 5-27/5 .. 28
A computer, no matter how sophisticated, can only do what it is "told" to do. One "tells" the computer what to do via a series of coded instructions referred to as a Program. The realm of the programmer is referred to as Software, in contrast to the Hardware that comprises the actual computer equipment. A computer's software refers to a·lI. of the programs that have been written for that computer.
When a computer is designed, the engineers provide the Central Processing Unit (CPU) with the ability' to perform a particular set of operations. The CPU is designed such that a specific operation is performed when the CPU control logic decodes a particular instruction. Consequently, the operations that can be performed by a CPU define the computer's Instruction Set.
Each computer instruction allows the programmer to initiate the performance of a specific operation. All com· puters implement certain arithmetic operations in their instruction set, such as an instruction to add the contents of two registers. Often logical operations (e.g., 0 R the contents of two registers) and register operate instructions (e.g., increment a register) are included in the instruction set. A computer's instruction set will also have instructions that move data between registers, between a register and memory, and between a register and an I/O device. Most instruction sets also provide Conditional Instructions. A conditional instruction specifies an operation to be performed only if certain conditions have been met; for example, jump to a particular instruction if the result of the last operation was zero. Conditional instructions provide a program with a decision-making capability.
B.y logically organizing a sequence of instructions into a coherent program, the programmer can "tell" the computer to perform a very specific and useful function.
The computer, however, can only execute programs whose instructions are in a binary coded form (i.e., a series of 1's and D's), that is called Machine Code. Because it would be extremely cumbersome to program in mach ine code, programming languages have been developed. There
• All Mnemonics Copyrighted © \ntel Corporation 1976,1977
APPENDIX A 8085 INSTRUCTION SET
are programs available which convert the programming language instructions into machine code that can be interpreted by the processor.
One type of programming language is Assembly language. A unique assembly language mnemonic is assigned to each of the computer's instructions. The programmer can write a program (called the Source Program) using these mnemonics and, certain operands; the source program is then converted into machine instructions (called the Object Code). Each assembly language instruction is converted into one mach ine code instruction (lor more bytes) by an Assembler program. Assembly languages are usually machine dependent (i.e., they are usually able to run on only one type of computer).
THE 8085 INSTRUCTION SET
The 8085 instruction set includes five different types of instructions:
• Data Transfer Group - move data between registers or between memory and registers
• Arithmetic Group - add, subtract, increment or decrement data in registers or in memory
• logical Group - AND, OR, EXCLUSIVE-OR, compare, rotate or complement data in registers or in memory
• Branch Group - conditional and unconditional jump instructions, subr!Jutine call instructions and return instructions
• Stack, I/O and Machine Control Group - includes I/O instructions, as well as instructiens for maintaining the stack and internal control flags_
Instruction and Data Formats:
Memory for the 8085 is organized into 8-bit quantities, called Bytes. Each byte has a unique 16-bit binary address corresponding to its sequential position in memory.
A-I
8085 Instruction Set
The 8085 can directly address up to 65,536 bytes of memory, which may consist of both read-only memory (ROM) elements and random-access memory (RAM) elements (read/ write memory).
Data in the 8085 IS stored in the form of 8-bit binary integers:
DATA WORD
I I I I I I I I D7 D6 D5 D4 D3 D2 D, Do
MSB LSB
When a register or data word contains a binary number, it is necessary to establish the order in which the bits of the number are written. In the Intel ~85, BIT 0 is referred to as the Least Significant Bit (LSB), and BIT 7 (of an 8 bit number) is referred to as the Most Significant Bit (MSB).
The 8085 program instructions may be one, two or three bytes in length. Multiple byte instructions must be stored in successive memory locations; the address of the first byte is always used as the address of the instructions. The exact instruction format will depend on the particular operation to be executed.
Single Byte Instructions
I D7' , Do lop Code
Two-Byte Instructions
Byte One I D7' I Do lop Code
Byte Two I D7' , Do I Data or Address
Three-Byte Instructions
Byte One I D7' I Do lop Code
Byte Two I D7' I Do I} Data
Byte Three I D7 I or
I DO I Address
Addressing Modes:
Often the data that is to be operated on is stored in memory. When multi-byte numeric data is used, the data, like instructions, is stored in successive memory locations, with the least significant byte first, followed by increasingly significant bytes. The 8085 has four different modes for addressing data stored in memory or in registers:
• Direct - Bytes 2 and 3 of the instruction contain the exact memory address of the data item (the low-order bits of the address are in byte 2, the high-order bits in byte 3).
• Register - The instruction specifies the register or register-pair in which the data is located.
• Register Indirect - The instruction specifies a register-pair which contains the memory
• All Mnemonics Copyrighted © Intel Corporation 1976,1977 }\-2 "
address where the data is located (the high-order bits of the address are in the first register of the pair, the low-order bits in the second).
• Immediate - The instruction contains the data itself. This is either an a-bit quantity or a 16-bit quantity (least significant byte first, most significant byte second).
Unless directed by an interrupt or branch instruction, the execution of instructions proceeds through consecutively increasing memory locations. A branch instruction can specify the address of the next instruction to be executed in one of two ways:
• Direct - The branch instruction contains the address of the next instruction to be executed. (Except for the 'RST' instruction, byte 2 contains the low-order address and byte 3 the high-order address.)
• Register indirect - The branch instruction indicates a register-pair which contains the address of the next instruction to be executed. (The high-order bits of the address are in the first register of the pair, the low-order bits in the second.)
The RST instruction is a special one-byte call instruction (usually used during interrupt sequences): RST includes a three-bit field; program control is transferred to the instruction whose address is eight times the contents of this three-bit field.
Condition Flags:
There are five condition flags associated with the execution of instructions on the 8085. They are Zero, Sign, Parity, Carry, and Auxiliary Carry, and are each represented by a 1-bit register in the CPU. A flag is "set" by forcing the bit to 1; "reset" by forcing the bit to O.
Unless ind.icated otherwise, when an instruction affects a flag, it affects it in the following manner:
Zero:
Sign:
Parity:
Carry:
If the result of an instruction has the value 0, this flag is set; otherwise it is reset.
If the most significant bit of the result of the operation has the value 1, this flag is set; otherwise it is reset.
If the modulo 2 sum of the bits of the result of the operation is 0, (i.e., if the result has even parity), this flag is set; otherwise it is reset (i.e., if the result has odd parity).
If the" instruction resulted in a carry (from addition), or a borrow (from subtraction or a comparison) out of the highorder bit, this flag is set; otherwise it is reset.
Auxiliary Carry: If the instruction caused a carry out
of bit 3 and into bit 4 of the resulting
value, the auxiliary carry is set; otherwise
it is reset. This flag is affected by single
precision additions, subtractions, incre
ments, decrements, comparisons, and log
ical operations, but is principally used
with additions and increments preceding
a DAA (Decimal Adjust Accumulator)
instruction.
Symbols and Abbreviations: The following symbols and abbreviations are used in
the subsequent description of the 8085 instructions:
SYMBOLS MEANING
accumulator Register A
addr 16-bit address quantity
data 8-bit data quantity
data 16
byte 2
byte 3
port
r,rl,r2
OOO,SSS
rp
RP
16-bit data quantity
The second byte of the instruction
The third byte of the instruction
8-bit address of an I/O device
One of the registers A,B,C,D,E,H,L
The bit pattern designating one of the regis
ters A,B,C,D,E,H,L (DDD=destination, SSS= source) :
DDD or SSS REGISTER NAME
111 A
000 B
001 C
010 0 all E
100 H
101 L
One of the register pairs:
B represents the B,C pair with B as the high
order register and C as the low·order register;
o represents the O,E pair with D as the high
order register and E as the low-order register;
H represents the H,L pair with H as the high
order register and L as the low-order register;
SP represents the 16-bit stack pointer
register.
The bit pattern designating one of the 'egis
ter pairs B,O,H,SP:
RP
00
01
10
11
REGISTER PAIR
B-C
D-E
H-L
SP
·AII Mnemonics Copyrighted © Intel Corporation 1976,1977
rh
rl
PC
SP
8085 Instruction Set
The first (high-order) register of a designated
register pair.
The second (low-order) register of a desig
nated register pair.
16-bit program counter register (PCH and
PCl are used to refer to the high-order and
low-order 8 bits respectively).
16-bit stack pointer register (SPH and SPL
are used to refer to the high-order and low
order 8 bits respectively).
Bit m of the register r (bits are number 7
through 0 from left to right).
Z,S,P,CY,AC The condition flags:
( )
/\
V
V
+
* -
Zero,
Sign,
Parity,
Carry,
and A!Jxiliary Carry, respectively.
The contents of the memory location or reg
isters enclosed in the parentheses.
"Is transferred to"
Logical AND
Exclusive 0 R
Inclusive 0 R
Addition
Two's complement subtraction
Multiplication
"Is exchanged with"
The one's complement (e.g., (A))
n The restart number a through 7
NNN The binary representation 000 through 111
for restart number a through 7 respectively.
Description Format:
The following pages provide a detailed description of
the instruction set of the 8085. Each instruction is de
scribed in the following manner:
1. The MCS 85T"macro assembler format, consisting of
the instruction mnemonic and operand fields, is
printed in BOLDFACE on the left side of the first
line.
2. The name of the instruction is enclosed in paren
thesis on the right side of the first line.
3. The next line(s) contain a symbolic description
of the operation of the instruction.
4. This is followed by a narative description of the
operation of the instruction.
5. The following line(s) contain the binary fields and
patterns that comprise the machine instruction_
A-3
8085 Instruction Set
6. The last four lines contain incidental information about the execution of the instruction. The number of machine cycles and states required to execute the instruction are listed first. If the instruction has two possible execution times, as in a Conditional Jump, both times will be listed, separated by a slash. Next, any significant data addressing modes (see Page A-2) are listed. The last line lists any of the five F lags that are affected by the execution of the instruction.
Data Transfer Group:
This group of instructions transfers data to and from registers and memory. Condition flags are not affected by any instruction in this group.
MOV r1, r2 (Move Register)
(r1) -- (r2) The content of register r2 is moved to register r 1.
0 I
D I D D S S I
S
Cycles: 1 States: 4
Addressing: register Flags: none
MOV r, M (Move from memory)
(r) -- ((H) (L))
The content of the memory location, whose address is in registers Hand L, is moved to register r.
0 I D D D 0
Cycles: 2 States: 7
Addressing: reg. indirect Flags: none
MOV M, r (Move to memory) ((H) (L)) -- (r)
The content of register r is moved to the memOlY IDeation whose address is in registers Hand L.
o I 1 I o S I S I S
Cycles: 2 States: 7
Addressing: reg. indirect Flags: none
·AII Mnemonics Copyrighted © Intel Corporation 1976,1977
A-4
MVI r, data (Move Immediate) (r) -- (byte 2) The content of byte 2 of the instruction is moved to register r.
0 I 0 D D D 0
data
Cycles: 2 States: 7
Addressing: immediate Flags: none
MVI M, data (Move to memory immediate)
((H) (L)) -- (byte 2) The content of byte 2 of the instruction is moved to the memory location whose address is in registers H and L.
o I o o o data
Cycles: 3 States: 10
Addressing: immed./reg. indirect Flags: none
LXI rp, data 16 (Load register pair immediate)
(rh) -- (byte 3), (rl) -- (byte 2) Byte 3 of the instruction is moved into the high-order register (rh) of the register pair rp. Byte 2 of the instruction is moved into the low-order register (rl) of the register pair rp.
o I o I R I P I o I o I o I 1
low-order data
high-order data
Cycles: 3 States: 10
Addressing: immediate Flags: none
LOA addr (Load Accumulator direct)
(A) -- ((byte 3)(byte 2))
The content of the memory location, whose a.ddress is specified in byte 2 and byte 3 of the instruction, is moved to register A.
0'0'
1 '1 ' 1 '0'1 '0 low-order addr
high-order addr
Cycles: 4 States: 13
Addressing: direct Flags: none
STA addr (Store Accumulator direct) ((byte 3)(byte 2)) __ (A)
The content of the accumulator is moved to the memory location whose address is specified in byte 2 and byte 3 of the instruction.
a I a I 1 I 1 I a I a I 1 I a
low-order addr
high-order addr
Cycles: 4 States: 13
Addressing: direct Flags: none
LHLO addr (Load Hand L direct)
(L) -- ((byte 3)(byte 2))
(H) -- ((byte 3)(byte 2) + 1) The content of the memory location, whose address is specified in byte 2 and byte 3 of the instruction, is moved to register L. The content of the memory location at the succeeding address is moved to register H.
0 I a I 1 I a I 1 I a I 1 I a
low-order addr
"-
high-order addr
Cycles: 5 States: 16
Addressing: direct Flags: none
• All Mnemonics Copyrighted © Intel Corporation 1976.1977
8085 Instruction Set
SHLO addr (Store Hand L direct) ((byte 3)(byte 2)) -- (L) ((byte 3)(byte 2) + 1) -- (H) The content of register L is moved to the memory location whose address is specified in byte 2 and byte 3. The content of register H is moved to the succeeding memory location.
a I a I 1 I a I a I a I 1 I a
low-order addr
high-order addr
Cycles: 5 States: 16
Addressing: direct Flags: none
LOAX rp (Load accumulator indirect) (A) __ ((rp))
The content of the memory location, whose address is in the register pair rp, is moved to register A. Note: only register pairs rp=B (registers B and C) or rp=D (registers 0 and E) may be specified.
a I o R p I a I 1 I a
Cycles: 2 States: 7
Addressing: reg. indirect Flags: none
STAX rp (Store accumulator indirect)
((rp)) -- (A)
The content of register A is moved to the memory location whose address is in the register pair rp. Note: only register pairs rp=B (registers B and C) or rp=D (registers 0 and E) may be specified.
a I a R p
Cycles: 2 States: 7
Addressing: reg. indirect Flags: none
XCHG (Exchange Hand L with 0 and E) (H)~(D)
(L)~(E)
The contents of registers Hand L are exchanged with the contents of registers 0 and E.
Cycles: States: 4
Addressing: register Flags: none
A-5
8085 Instruction Set
Arithmetic Group:
This group of instructions performs arithmetic operations on data in registers and memory.
Unless indicated otherwise, all instructions in this group affect the Zero, Sign, Parity, Carry, and Auxiliary
Carry flags according to the standard rules.
All -subtraction operations are performed via two's complement arithmetic and set the carry flag to one to in
dicate a borrow and clear it to indicate no borrow.
ADD r (Add Register)
(A) .- (A) + (r) The content of register r is added to the content of the
accumulator. The result is placed in the accumulator.
1 I 0 I 0 o o S I S I S
Cycles:
States: 4 Addressing:
Flags: register Z,S,P,CY,AC
ADD M (Add memory)
(A).- (A) + ((H) (L))
The content of the memory location whose address
is contained in the Hand L registers is added to the
content of the accumulator. The result is placed in
the accumulator.
1 I 0 I 0 0 0 0
Cycles: 2 States: 7
Addressing: reg. indirect
Flags: Z,S,P,CY,AC
ADI data (Add immediate)
(A) .- (A) + (byte 2)
The content of the second byte of the instruction is
added to the content of the accumulator. The result
is placed in the accumulator.
1 I o I o I 0 o data
Cycles: 2
States: 7
Addressing: immediate
Flags: Z,S,P,CY,AC
• All Mnemonics Copyrighted © Intel Corporation 1976,1977
A-6
ADC r (Add Register with carry) (A) __ (A) + (r) + (CY)
The content of register r and the content of the carry
bit are added to the content of the accumulator. The
result is placed in the accumulator.
1 I 0 I 0 o S
ADCM
(A) --
Cycles:
States:
Addressing:
Flags:
4
register
Z,S,P,CY,AC
(Add memory li,'Vith carry) (A) + ((H) (L)) + (CY)
S S
The content of the memory location whose address is
contained in the Hand L registers and the content of
the CY flag are added to the accumu lator. The result is placed in the accumulator.
ACI data
(A)
Cycles:
States:
Addressing: Flags:
2 7
reg. indirect
Z,S,P ,CY ,AC;
(Add immediate with carry)
--- (A) + (byte 2) + (CY)
The content of the second byte of the instruction and
the content of the CY flag are added to the contents
of the accumulator. The result is placed in the
accumulator.
I 0 o o
data
Cycles: 2
States: 7 Addressing: immediate
Flags: Z,S,P,CY,AC
SUB r (Subtract Register) (A) ___ (A) - (r)
The content of register r is subtracted from the con
tent of the accumulator. The result is placed in the
accumu lator.
1 I 0 I 0
Cycles:
States:
Addressing: Flags:
o S
4 register Z,S,P,CY,AC
S S
SUB M (Subtract memory)
(A) -- (A) - ((H) (L))
The content of the memory location whose address is contained in the Hand L registers is subtracted from the content of the accumulator. The result is placed in the accumulator.
0
SUI data
(A) --
0 I 1 0
Cycles: 2 States: 7
Addressing: reg. indirect Flags: Z,S,P,CY,AC
(Subtract immediate) (A) - (byte 2)
0
The content of the second byte of the instruction is subtracted from the content of the accumulator. The result is placed in the accumulator.
o data
Cycles: 2 States: 7
Addressing: immediate Flags: Z,S,P,CY,AC
SBB r (Subtract Register with borrow) (A) -- (A) - (r) - (CY) The content of register r and the content of the CY flag are both subtracted from the accumulator. The result is placed in the accumulator.
1 I o I o I
Cycles: States:
Addressing: Flags:
S I
4 register Z,S,P ,CY ,AC
SBB M (Subtract memory with borrow)
(A) -- (A) - ((H) (L)) - (CY)
S I S
The content of the memory location whose address is contained in the Hand L registers and the content of the CY flag are both subtracted from the accumulator. The result is placed in the accumulator.
1 I o I o I
Cycles: States:
Addressing: Flags:
2 7 reg. indirect Z,S,P,CY,AC
1 I
• All Mnemonics Copyrighted © Intel Corporati-on 1976,1977
o
8085 Instruction Set
SBI data (Subtract immediate with borrow)
(A) -- (A) - (byte 2) - (CY) The contents of the second byte of the instruction and the contents of the CY flag are both subtracted from the accumulator. The result is placed in the accumulator .
1 I o
data
Cycles: States:
Addressing: Flags:
2 7 immediate Z,S,P,CY,AC
INR r (I ncrement Register)
(r) -- (r) + 1
o
The content of register r is incremented by one. Note: All condition flags except CY are affected.
0 I 0 D I D D 0 I 0
Cycles: 1 States: 4
Addressi ng: register Flags: Z,S,P,AC
INR M (Increment memory)
((H) (L)) -- ((H) IL)) + 1
The content of the memory location whose address is contained in the Hand L registers is incremented by one. Note: All condition flags except CY are affected.
0
DCR r ( r)
I 0 0
Cycles: 3 States: 10
Addressing: reg. indirect Flags: Z,S,P,AC
(Decrement Register)
-- (r) - 1
0 0
The content of register r is decremented by one. Note: All condition flags except CY are affected.
0 I 0 D I D D I 1 I 0 I 1
Cycles: 1 States: 4
Addressing: register Flags: Z,S,P,AC
A-7
8085 Instruction Set
OCR M (Decrement memory) ((H) (L)) - ((H) (L)) - 1
The content of the memory location whose address is contained in the Hand L registers is decremented by one. Note: All condition flags except CY are affected.
0 I 0 0 I 1 I 0 I 1
Cycles: 3 States: 10
Addressing: reg. indirect Flags: Z,S,P,AC
INX rp (Increment register pair)
(rh) (rl) - (rh) (rl) + 1 The content of the register pair rp is incremented by one. Note: No condition flags are affected.
o I o R P o I 0 I 1
Cycles: 1 States: 6
Addressing: register Flags: none
DCX rp (Decrement register pair) (rh) (rl) ~ (rh) (rl) - 1 The content of the register pair rp is decremented by one. Note: No condition flags are affected.
I 0 o R o I
Cycles: States:
1 6
Addressing: register Flags: none
DAD rp (Add register pair to Hand L) (H) (L) ~ (H) (L) + (rh) (rl) The content of the register pair rp is added to the content of the register pair Hand L. The result is placed in the register pair Hand L. Note: Only the CV flag is affected. It is set if there is a carry out of the double precision add; otherwise it is reset.
o I o R P
Cycles: States:
Addressing: _ Flags:
o I 0
3 10 register CV
I 1
• All Mnemonics Copyrighted © Intel Corporation 1976,1977
A-8
DAA (Decimal Adjust Accumulator) The eight·bit number in the accumulator is adjusted to form two four·bit Binary·Coded·Decimal digits by the following process:
1. If the value of the least significant 4 bits of the accumulator is greater than 9 or if the AC flag is set, 6 is added to the accumulator.
2. If the value of the most significant 4 bits of the accumulator is now greater than 9, or if the CY flag is set, 6 is added to the most significant 4 bits of the accumulator.
NOTE: All flags are affected.
0 I 0 I 0 0
Cycles: States: 4 Flags: Z,S,P,CY,AC
Logical Group:
This group of instructions performs logical (Boolean) operations on data in registers and memory and on condition flags.
Unless indicated otherwise, all instructions in this group affect the Zero, Sign, Parity, Auxiliary Carry, and Carry flags according to the standard rules.
ANA r (AND Register)
(A) - (A) 1\ (r) The content of register. r is logically anded with the content of the accumulator. The result is placed in the accumulator. The CV flag is cleared and AC is set.
I 0 I 0 o S I S I S
Cycles: States: 4
Addressing: Flags:
ANA M (AND memory) (A) _ (A)I\((H) (L))
register Z,S,P,CY,AC
The contents of the memory 'Iocation whose address is contained in the Hand L registers is logically anded with the content of the accumulator. The result is placed in the accumulator. The CV flag is cleared and
AC is set.
I 0 0 0 I 1 I 1 I 0
Cycles: 2 States: 7
Addressing: reg. indirect Flags: Z,S,P,CV,AC
ANI data (AND immediate) (A) .- (A)"/\ (byte 2) The content of the second byte of the instruction is logically anded with the contents of the accumulator. The result is placed in the accumulator. The CY flag is cleared and AC is set.
I 1 0 I 0 I 1 I 1
data
Cycles: 2 States: 7
Addressing: Flags:
immediate Z,S,P ,CY,AC
XRA r (Exclusive OR Register) (A) .- (A) \f (r)
I 0
The content of register r is exclusive-or'd with the content of the accumulator. The resul t is placed in the accumulator. The CY and AC flags are cleared.
I 0 I 1 I 0 S I S I S
Cycles: States:
Addressing: Flags:
1 4 register Z,S,P ,CY ,AC
XRA M (Exclusive OR Memory) (A) .- (A) \f ((H) (L))
The content of the memory location whose address is contained in the H a~d L registers is exclusive-O R'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.
o
XRI data (A) .-
o
Cycles: States:
Addressi ng: Flags:
2 7 reg. indirect Z,S,P,CY,AC
(Exclusive OR immediate) (A) \f (byte 2)
o
The content of the second byte of the instruction is exclusive-OR'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.
1 I 1 . I o I 1 I 1
data
Cycles: 2 States:
Addressing: Flags:
7
immediate Z,S,P ,CY ,AC
"All Mnemonics Coprighted ©Intel Corporation 1976,1977
I 0
8085 Instruction Set
ORA r (OR Register) (A) .- (A) V (r)
The content of register r is inclusive-OR'd with the content of the accumu lator. The result is placed in the accumulator. The CY and AC flags are cleared.
o I I 1 o S I S
Cycles: States: 4
Addressing: Flags:
ORA M (OR memory) (A) .- (A) V ((H) (L))
(egister Z,S,P,CY,AC
I S
The content of the memory location whose address is contained in the Hand L registers is inclusive-OR'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.
o I 1
Cycles: 2 States:
Add ress i ng: Flags:
7 reg. indirect Z,S,P,CY,AC
ORI data (OR Immediate) (A) .- (A) V (byte 2) The content of the second byte of the instruction is inclusive-OR'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.
1 I I 0 I 1 I 1 I 0
data
Cycles: 2 States: 7
Addressing: immediate Flags: Z,S,P,CY,AC
CMP r (Compare Register) (A) (r)
The content of register r is subtracted from the accumulator. The accumulator remains unchanged. The condition flags are set as a result of the subtraction. The Z flag is set to 1 if (A) = (r). The CY flag is set to 1 if (A) < (r) .
I 0 I 1
Cycles': States:
Addressing: Flags:
S I S I S
4 register Z,S,P,CY,AC
A-9
8085 Instruction Set
CMPM
(A) (Compare memory)
((H) (L))
The content of the memory location whose address is contained in the Hand L registers is subtracted from the accumulator. The accumulator remains unchanged. The condition flags are set as a result of the subtraction. The Z flag is set to 1 if (A) == ((H) (L)).
The CY flag is set to 1 if (A) < ((H) (L)).
o 0
Cycles: 2 States: 7
Addressing: Flags:
reg. indirect Z,S,P,CY,AC
CPI data (A)
(Compare immediate) (byte 2.)
The content of the second byte of the instruction is subtracted from the accumulator. The condition flags are set by the result of the subtraction. The Z flag is set to 1 if (A) = (byte 2). The CY flag is set to 1 if (A) < (byte 2).
o data
Cycles: 2 States: 7
Addressing: immediate Flags: Z,S,P,CY,AC
RLC (Rotate left)
(A n+l) -- (An) ; (AO) -- (A7) (CY) -- (A7) The content of the accumulator is rotated left one position. The low order bit and the CY flag are both set to the value shifted out of the high order bit position. Only the CY flag is affected.
o I 0 I 0 I 0 o I 1 I 1
Cycles: 1 States: 4 Flags: CY
• All Mnemonics Copyrigh!ed © Intel Corporation 1976,1977
A-tO
RRC (Rotate right)
(An) -- (A n-l); (A7) -- (AO) (CY) -- (AO) The content of the accumulator is rotated right one position. The high order bit and the CY flag are both set to the value shifted out of the low order bit position. Only the CY flag is affected.
0 I 0 I 0 I 0 I 1
Cycles: States: 4 Flags: CY
RAL (Rotate left through carry)
(A n+l) -- (An) ; (CY) -- (A7) (AO) -- (CY) The content of the accumulator is rotated left one position through the CY flag. The low order bit is set equal to the CY flag and the CY flag is set to the value shifted out of the high order bit. Only the CY flag is affected.
0 I 0 0 0
Cycles: States: 4 Flags: CY
RAR (Rotate right through carry)
(An) -- (A n+l); (CY) -- (AO) (A7) -- (CY)
I 1
The content of the. accumulator is rotated right one position through the CY flag. The high order bit is set to the CY flag and the CY flag is set to the value shifted out of the low order bit. Only the CY flag is affected.
o I o o
Cycles: States: 4 Flags: CY
CMA (Complement accumulator)
(A) -- (A) The contents of the accumulator are complemented (zero bits become 1, one bits become 0). No flags are affected.
o I o I 0 I 1 I 1 I 1
Cycles: States: 4 Flags: none
CMC (Complement carry)
(CY) - (CY) The CY flag is complemented. No other flags are affected.
o I o
Cycles: States: 4 Flags: CY
STC (Set carry)
(CY) - 1 The CY flag is set to 1. No other flags are affected.
o I 0 I o
Cycles: 1 States: 4 Flags: CY
Branch Group:
This group of instructions alter normal sequential program flow.
Condition flags are not affected by any instruction in this group.
The two types of branch instructions are unconditional and conditional. Unconditional transfers simply perform the specified operation on register PC (the program counter). Conditional transfers examine the status of one of the four processor flags to determine if the specified branch is to be executed. The conditions that may be specified are as follows:
CONDITION CCC
NZ not zero (Z = 0) 000 Z zero (Z = 1) 001
NC no carry (CY = 0) 010 C - carry (CY = 1) 011
PO - parity odd (P = 0) 100 PE - parity even (P = 1) 101
P - plus (S = 0) 110
M - minus (S = 1) 111
JMP addr (Jump)
(PC) - (byte 3) (byte 2)
Control is transferred to the instruction whose ad·AII Mnemonics Copyright-;d-©i~t~I-Co-;p~rati~~ 1976.1977
8085 Instruction Set
dress is specified in byte 3 and byte 2 of the current instruction.
1 I 1 T
Jcondition addr If (CCC),
0 T 0 I 0 I 0
low·order addr
high-order addr
Cycles: 3 States: 10
Addressing: immediate Flags: none
(Conditional jump)
(PC) - (byte 3) (byte 2)
I 1 I 1
If the specified condition is true, control is trans· ferred to the instruction whose address is specified in byte 3 and byte 2 of the current instruction; otherwise, control continues sequentially.
1 I 1 I C I C I C I o I
low-order:addr
high-order addr
Cycles: 2/3 States: 7/10
Addressing: immediate Flags: none
CAll addr (Call) ((SP) - 1) - (PCH) ((SP) - 2) - (PCl) (SP) - (SP) - 2 (PC) - (byte 3) (byte 2)
1 I 0
The high-order eight bits of the next instruction address are moved to the memory location whose address is one less than the content of register SP. The low-order eight bits of the next instruction address are moved to the memory location whose address is two less than the content of register SP. The content of register SP is decremented by 2. Control is transferred to the instruction whose address is specified in byte 3 and byte 2 of the current instruction.
1 I 1 1 0 I 0 I 1 1 1 I 0 I 1
low-order addr
high-order addr
Cycles: 5 States: 18
Addressing: immediate/reg. indirect Flags: none
A-II
8085 Instruction Set
Ccondition addr (Condition call) If (CCC),
((SP) - 1) -- (PCH) ((SP) - 2) -- (PCl) (SP) -- (SP) - 2 (PC) -- (byte 3) (byte 2)
If the specified condition is true, the actions specified in the CAll instruction (see above) are performed; otherwise, control continues sequentially.
1 I 1 I C I C I C I low-order addr
high-order addr
Cycles: States:
2/5
9/18
1 I o I 0
Addressing: immediate/reg. indirect Flags: none
RET (Return) (PCl) ~ ((SP)); (PCH) -- ((SP) + 1);
(SP) -- (S~) + 2;
The content of the memory location whose address is specified in register SP is moved to the low·order eight bits of register PC. The content of the memory location whose address is one more than the content of register SP is moved to the high·order eight bits of register PC. The content of register SP is incremented by 2.
o o o o I
Cycles: 3 States: 10
Addressing: teg. indirect Flags: none
Rcondition (Conditional return) If (CCC),
(PCl) -- ((SP)) (PCH) -- ((SP) + 1) (SP) -- (SP) + 2
If the specified condition is true, the actions specified in the RET instruction (see above) are performed; otherwise, control continues sequentially.
1 I C I C
I C I 0 I 0 0
Cycles: 1/3 States: 6/12
Addressing: reg. indirect Flags: none
-All Mnemonics Copyrighted ©Intel Corporation 1976, 1977
A-12
RST n (Restart)
((SP) - 1) -- (PCH) ((SP) - 2) ~ (PCl)
(SP) -- (SP) - 2 (PC) -- 8 * (NNN)
The high-order eight bits of the next instruction address are moved to the memory location whose address is one less than the content of register SP. The low-order eight bits of the next instruction address are moved to the memory location whose address is two less than the content of register SP. The content of register SP is decremented by.two. Control is transferred to the instruction whose address is eight times the content of NNN.
1 I N N I N 1 I
Cycles: 3 States: 12
Addressing: reg. indirect Flags: none
15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0
10/0/0/0/0/0/0/0/0/0/N/N/N/0/0/01
Program Counter After Restart
PCHl (Jump Hand l indirect - move Hand l to PC) (PCH) -- (H) (PCl) --- (L)
The content of register H is moved to the high-order eight bits of register PC. The content of register l is moved to the low-order eight bits of register PC.
1 I 1 I 0 I 0 I 0
I 1
Cycles: 1 States: 6
Addressi ng: register Flags: none
Stack, I/O, and Machine Control Group:
This group of instructions performs I/O, manipulates
the Stack, and alters internal control flags.
Unless otherwise specified, condition flags are not
affected by any instructions in this group.
PUSH rp (Push)
((SP) - 1) - (rh)
((SP) - 2) - (rl)
"(SP) - (SP) - 2 The content of the high-order register of register pair
rp is moved to the memory location whose address is one less than the content of register SP. The content of the low-order register of register pair rp is moved to the memory location whose address is two less than the content of register SP. The content of register SP is decremented by 2. Note: Register pair rp = SP may not be specified.
1 I R P I a a
Cycles: 3 States: 12
Addressing: reg. indirect Flags: none
PUSH PSW (Push processor status word)
((SP) -1) - (A)
((SP) - 2)0 - (CY) , ((SP) - 2) 1 -- X ((SP) - 2)2 - (P), ((SP) - 2)3 -- X ((SP) - 2)4 - (AC) , ((SP) - 2)5 - X ((SP) - 2)6 - (Z), ((SP) - 2)7 -- (S) (SP) -- (SP) - 2 X: Undefined.
The content of register A is moved to the memory location whose address is one less than register SP.
The contents of the condition flags are assembled into a processor status word and the word is moved to the memory location whose address is two less than the content of register SP. The content of register SP is decremented by two.
1 I
Cycles:
States: Addressing:
Flags:
a
3 12 reg. indirect none
a
• All Mnemonics Copyrighted © Intel Corporation 1976,1977
8085 Instruction Set
FLAG WORD
S z X AC x P
X: undefined
POP rp (Pop)
(rI) -- ((SP)) (rh) -- ((SP) + 1)
(SP) -- (SP) + 2
DO
X CY
The content of the memory location, whose address is specified by the content of register SP, is moved to
the low-order register of register pair rp. The content of the memory location, whose addres~ is one more than the content of r"egister SP, is moved to the highorder register of register pair rp. The content of reg
ister SP is incremented by 2. Note: Register pair rp = SP may not be specified.
I 1 R P a a a
Cycles: 3 States: 10
Addressing: reg. indirect Flags: none
POP PSW (Pop processor status word)
"(CY) -- ((SP))O
(P) -- ((SP))2
(AC) -- ((SP))4
(Z) -- ((SP))6 (S) -- ((SP ))7
(A) -- ((SP) + 1)
(SP) -- (SP~ + 2 The content of the memory location whose address is specified by the content of register SP is used to
restore the condition flags. The content of the memory location whose address is one more than the content of register SP is moved to register A. The content of register SP is incremented by 2.
I 1 I 1 a
Cycles: 3 States:
Addressing: Flags:
10 reg. indirect
Z,S,P ,CY ,AC
A-13
8085 Instruction Set
XTHL (Exchange stack top with Hand L)
(L) ~((SP)) (H)- ((SP) + 1)
The content of the L register is exchanged with the content of the memory location whose address is specified by the content of register SP. The content of the H register is exchanged with the content of the memory location whose address is one more than the content of register SP.
I 0 o o
Cycles: 5 States: 16
Addressing: reg. indirect Flags: none
SPHL (Move HL to SP)
(SP) -- (H) (L) The contents of registers Hand L (16 bits) are moved to register SP.
1 I 1 I o o
Cycles: 1 States: 6
Addressing: register Flags: none
1 N port (I nput)
(A) ..- (data)
The data placed on the eight bit bi-directional data bus by the specified port is moved to register A.
1 I o I 1 I 0 I 1
port
Cycles: 3 States: 10
Addressing: direct Flags: none
OUT port (Output) (data) ..- (A) The content of register A is placed on the eight bit bi-directional data bus for transmission to the specified port.
o o o
port
Cycles: 3 States: 10
Addressing: direct Flags: none
• All Mnemonics Copyrighted © Intel Corporation 1976,1977
A-14
EI
01
HLT
(Enable interrupts)
The interrupt system is enabled following the execution of the next instruction.
o
Cycles: States: 4 Flags: none
(Disable interrupts)
The interrupt system is disabled immediately following the execution of the 01 instruction.
o I 0 I 1
Cycles: States: 4 Flags: none
(Halt)
The processor is stopped. The registers and flags are unaffected.
0 I 0 I 1 I 1 I 0
Cycles: 1 States: 5 Flags: none
NOP (No op) No operation is performed. The registers and flags are unaffected.
0 I 0 I 0 0 0 0 0 0
Cycles: States: 4 Flags: none
RIM (Read Interrupt Mask)
After the execution of the R 1M instruction, the accumu lator is loaded with the restart interrupt masks, any pending interrupts, and the contents of the serial input data line (SID).
7 0
OPCODE: 10101'10101010101
ACCUMULATOR CONTENT AFTER RIM:
I SID 1 17.5 I IS.SIls.s lIE I M7.sl Ms.sl Ms.sl
L t I-L'NTE~RUPTMASKS
SIM
CYCLES: , STATES: 4 FLAGS: NONE
~ INTERRUPT ENABLE FLAG
-----INTERRUPTS PENDING
L.-__________ SERIAL INPUT DATA
(Set Interrupt Masks)
During execution of the SIM instruction, the con· tents of the accumulator will be used in pro· gramming the restart interrupt masks. Bits 0-2 will set/reset the mask bit for RST 5.5, 6.5, 7.5 of the interrupt mask register, if bit 3 is 1 ("set"). Bit 3 is a "Mask Set Enable" control.
Setting the mask (i.e. masked bit corresponding interrupt.
1) disables the
• All Mnemonics Copyrighted © Intel Corporation 1976,1977
8085 Instruction Set
Set Reset
RST 5.5 MASK if bit 0 = 1 if bit 0 = 0 RST 6.5 MASK bit 1 = 1 bit 1 = 0 RST 7.5 MASK bit 2 = 1 bit 2 = 0
RST 7.5 (edge trigger' enable) internal request flip flop will be reset if bit 4 of the accumulator = 1; regardless of whether RST 7.5 is masked or not.
RESET IN input (pin 36) will set all RST MASKs, and reset/disable all interrupts.
SI M can, also, load the SOD output latch. Accumulator bit 7 is loaded into the SOD latch if bit 6 is set. The latch is unaffected if bit 6 is a zero. RESET IN input sets the SOD latch to zero.
OPCODE:
ACCUMULATOR
CONTENT FOR SIM:
'---------RESET RST 7.5 L---------UNDEFINED
L-_________ SOD ENABLE
L-___________ SERIAL OUTPUT DATA
CYCLES: 1 STATES: 4 FLAGS: NONE
A-I5
8085 Instruction Set
INSTRUCTION SET
Summary of Processor Instructions
Instruction Code (I! Clockl2! Mnemonic Description 07 06 Os 04 03 02 01 Do Cycles Mnemonic Description
MDV,1,,2 Move register to register 0 0 0 0 S 5 RZ Return on zero MDV M,r Move register to memory 0 1 1 0 S 7 RNZ Return on no zero MOVr,M Move memory to regist~r 0 0 0 0 0 7 RP Return on positive HLT Halt a 1 1 0 0 7 RM Return on minus MVI r Move immediate register 0 0 0 0 0 7 RPE Return on parity even Mvl M Move immediate memory 0 1 1 0 1 0 10 RPO Return on parity odd INR r I ncrement register ' 0 0 0 0 0 0 RST Restart OCR r Decrement reg ister 0 0 0 0 0 5 IN Input INR M Increment memory 0 1 0 0 10 OUT Output OCR M Decrement memory 1 0 0 10 LXI B Load Immediate register ADDr Add register to A 0 0 S Pair B & C AOC r Add register to A with carry 0 1 S LXID Lo~d immediate register SUB r Subtract register from A 1 0 S Pair 0 & E SBB r Subtract register from 'A S LXI H Load immediate register
with borrow Pair H & L ANA r And register with A 0 S LXI SP Load immediate stack pointer XRA r Exclusive Or register with' A 0 S PUSH B Push register Pair B & C on OIiAr Or register with A 0 S stack CMPr Compare register with A 0 1 S PUSH 0 Push register Pair 0 & E on ADD M Add memory to A 0 0 0 stack ADC M Add memory to A with carry 0 PUSH H Push register Pair H & L on SUB M Subtract memory from A 0 stack S88 M Subtract memory from A 0 PUSH PSW Push A and Flags
with borrow on stack ANA M And memory with A POP B Pop register pair 8 & C off XRA M Exclusive Or memory with A 0 stack ORA M Dr memory with A 0 POP 0 Pop register pair 0 & E off CMP M Compare memory with A 0 stack ADI Add immediate to A 0 POP H Pop register pair H & L off ACI Add immediate to A with 0 stack
carry POP PSW Pop A and Flags SUI Subtract immediate from A off stack S81 Subtract immediate from A STA Store A direct
with borrow LOA Load A direct ANI And immediate with A XCHG Exchange 0 & E, H & L XRI Exclusive Or immediate with Registers
A XTHL Excnallge top of stack, H & L ORI Or immediate with A SPHL H & L to stack pointer CPI Compare immediate with A PCHL H & L to ~rogram counter RLC Rotate A left DAD B Add B & C to H & L RRC Rotate A right DAD 0 Add 0 & E to H & L RAL Rotate A left through carry DAD H Add H & L to H & L RAR Rotate A right through DAD SP Arld stack pointer to H & L
carry STAX B Store A indirect JMP Jump unconditional 1 10 STAX 0 Store A indirect JC Jump on carry 1 10 LOAX B Load A indirect JNC Jump on no carry 1 10 LOAX 0 Load A indirect JZ Jump on zero 1 10 INX B Increment B & C registers JNZ Jump on no zero 10 INX 0 Increment 0 & E registers JP Jump on positive 10 INX H Increment H & L registers JM Jump on minus 10 INX SP I ncrement stack pointer JPE Jump on parity eveil 10 OCX 8 Decrement 8 & C JPO Jump on parity odd 1 10 DCX 0 Decrement 0 & E CALL Call unconditional I' 0 17 OCX H Decrement H & L CC Call on carry 1 0 11/17 OCX SP Decrement stack pointer CNC Call on no carry 0 0 11117 CMA Complement A CZ Call on zero 0 11117 STC Set carry CNZ Call on no zero 0 11/17 CMC Complement carry CP Call on positive 0 11/17 OAA Decimal adjust A CM Call on minus 0 11/17 SHLO Store H & L direct CPE Call on parity eVl!n 0 11/17 LHLO Load H & L direct CPO Call on parity odd 0 11117 EI Enable Int~rrupts RET Return 0 10 01 Disable interrupt RC Return on carry 0 5/11 NOP No·operation RNC Return on no carry 0 5/11 RIM Read Interrupt Mask
SIM Set Interrupt Mask
NOTES: 1. DDDorSSS-OOOB-001 C-010D-011 E-1GOH-101 L-110Memory-111 A. 2. Two possible cycle times, (5/11) indicate instruction cycles dependent on condition flags.
A-16
Instruction Code (I! Clock(2! 07 06 Os 04 03 02 01 Do Cycles
0 0 0 0 5/11 0 0 0 C 5/11 1 1 0 0 5/11 1 1 0 0 5/11 1 0 0 0 5/11 1 0 0 0 5/11 A A. A 1 1 11 0 1 0 10 0 0 0 10 0 0 0 10
10
10
1 10 ~ 11
11
11
11
10
10
10
10
13 13 4
1 1 0 0 18 1 1 1 1 0 5 1 1 1 1 0 5 0 0 0 1 0 10 (l 0 0 1 0 10 0 0 1 1 0 10 0 0 1 1 0 10 0 0 0 0 0 7 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 0 1 1 4 0 0 1 1 1 4 0 0 0 1 1 4 0 0 0 0 0 16 0 0, 1 0 0 16 1 1 1 0 1 4 1 0 0 1 4 0 0 0 0 4 0 0 0 0 4
0 0
APPENDIX B TELETYPEWRITER MODIFICATIONS
B-1. INTRODUCTION
This appendix provides information required to modify a Model ASR-33 Teletypewriter for use with certain Intel SBC 80 computer systems.
B-2. INTERNAL MODIFICATIONS
jWARNING! Hazardous voltages are exposed when the top cover of the teletypewriter- is removed. To prevent accidental shock, disconnect the teleprinter power cord before proceeding beyond this point.
Remove the top cover and modify the teletypewriter as follows:
a. Remove blue lead from 750-ohm tap on current source register; reconnect this lead to l450-ohm tap. (Refer to figures B-I and B-2.)
b. On terminal block, change two wires as follows to create an internalfull-duplex loop (refer to figures B-1 and B-3):
1. Remove brown/yellow lead from terminal 3; reconnect this lead to terminal 5.
2. Remove white/blue lead from terminal 4; reconnect this lead to terminal 5.
c. On terminal block, remove violet lead from terminal 8; reconnect this lead to terminal 9. This changes the receiver current level from 60 mA to 20 mAo
A relay circuit card must be fabricated and connected to the paper tape reader drive circuit. The relay circuit card to be fabricated requires a relay, a diode, a thyractor, a small 'vector' board for mounting the components, and suitable hardware for mounting the assembled relay card.
A circuit diagram of the relay circuit card is included in figure B-4; this diagram also includes the part numbers of the relay, diode, and thyractor. (Note that a 470-ohm resistor and a 0.1 fJ.F capacitor may be substituted for the thyractor.) After the relay circuit card has been
assembled, mount it in position as shown in figure B-5. Secure the card to the base plate using two self-tapping screws. Connect the relay circuit to the distributor trip magnet and mode switch as follows:
a. Refer to figure B'-4 and connect a wire (Wire 'A') from relay circui t card to terminal L2 on mode switch. (See figure B-6.)
b. Disconnect brown wire shown in figure B-7 from plastic connector. Connect this brown wire to terminal L2 on mode switch. (Brown wire will have to be extended.)
c. Refer to figure B-4 and connect a wire (Wire 'B') from relay circuit board to terminal LIon mode switch.
8-3. EXTERNAL CONNECTIONS
Connect a two-wire receive loop, a two-wire send loop, and a two-wire tape reader control loop to the external device as shown in figure B-4. The ex ternal connector pin numbers shown in figure B-4 are for interface with an RS232C device.
8-4. SBC 530 TTY ADAPTER
The SBC 530, which converts RS232C signal levels to an optically isolated 20 mA current loop interf~ce, provides signal translation for transmitted data, received data, and a paper tape reader relay. The SBC 530 interfaces an Intel SBC 80 computer system to a teletype-writer as shown in figure B-8. '
The SBC 530 requires +12V at 98 mA and -12V at 98 mAo An auxiliary supply must be used if the SBC 80 system does not supply this power. A schematic diagram of the SBC 530 is supplied with the unit. The following auxiliary power connector (or equivalent) must be procured by the user:
Connector, Molex 09-50-7071 Pins, Molex 08-50-0106 Polarizing Key, Molex 15-04-0219
B-1
Teletypewriter Modifications
MODE SWITCH
MOUNT CIRCUIT
CARD
CAPACITOR
CURRENT SOURCE
RESISTOR
POWER SUPPLY
TERMINAL BLOCK
TOP VIEW
KEYBOARD
PRINTER UNIT
DISTRIBUTOR TRIP MAGNET
ASSEMBLY
FloCARD
lQJ GOTOV
TELETYPE MODEL 33TC
TAPE READER
TAPE PUNCH
Figure B-1. Teletype Component Layout
Figure B-2. Current Source Resistor Figure B·3. Terminal Block
B·2
Teletypewriter Modifications
25·PIN EXTERNAL
CONNECTOR
RECEIVE
TERMINAL BLOCK 151411
o VIO 20MA 9
8 VEL 60MA ,. -- ----- - - ------",
7
6
5
4
BLK/GRN WHT/BRN RED/GRN WHT/VEL WHT/BLK WHT/BLU FULL DUPLEX
~ - - - - - - - - - - -_/
BRN/VEL
GRN
SEND RED }-_-I-_____ -I1----1---.:3~~_I_-.J_--- - GRY - - -- - - - - -
2
o
WHT/RED BLK BLK
WHT WHT
117VAC
CONNECTOR 0---, DISTRIBUTOR TRIP I MAGNET
WIRE'A'
TAPE READER CONTROL
117 VAC '---u·-JVV\r-......I COMMON
*ALTERNATE CONTACT PROTECTION CIRCUIT .--!r--..... 1-4-7-0-n-Yz-w
1 TO.1200V
0.11,uF 470'1
I ~2VDC,600'1 COIL
IJR.1005 ~~RMAL CONTACTS I OPEN l!!l!-U C..!BflJ.!LC~ _
Figure B-4. Teletypewriter Modifications
Figure B-S. Relay Circuit Figure B-6. Mode Switch
B-3
Teletypewriter Modifications
Figure B-7. Distributor Trip Magnet
J1
FROM SERIAL IN/OUT ------1 P3
530 SBC TTY ADAPTER
PORT
CI NCH DB-25S J2
Figure B-8. TTY Adapter Cabling
TO TERMINAL BLOCK
(SEE FIGURESA·3ANDA-4)
CINCH DB-25P
B-4
iSBC 80/30 Hardware Reference Manual 9800611A
REQUEST FOR READER'S COMMENTS
The Mi~rocomputer Division Technical Publications Department attempts to provide documents that meet the needs of all Intel product users. This form lets you participate directly in the documentation process.
Please restrict your comments to the usability, accuracy, readability, organization, and completeness of this document.
1. Please specify by page any errors you found in this manual.
2. Does the document cover the information you expected or required? Please make suggestions for improvement.
3. Is this the right type of document for your needs? Is it at the right level? What other types of documents are needed?
4. Did you have any difficulty understanding descriptions or wording? Where?
5. Please rate this document on a scale of 1 to 10 with 10 being the best rating. _____ _
NAME _______________________________ DATE ______________ _ TITLE __________________________________________ __
COMPANYNAME/DEPARTMENT __________________________________ __ ADDRESS __________________________________________ _ CITY _____________________ STATE ___________ ZIPCODE _________ __
Please check here if you require a written reply. D
WE'D LIKE YOUR COMMENTS ...
This document is one of a seri~s describing Intel products. Your comments on the back of this form will help us produce better manuals. Each reply will be carefully reviewed by the responsible person. All comments and suggestions become the property of I ntel Corporation.
Attention:
BUSINESS REPLY MAIL
No Postage Stamp Necessary if Mailed in U.S.A.
Postage will be paid by:
Technical Publications
I ntel Corporation 3065 Bowers Avenue Santa Clara, CA 95051
First Class Permit No. 1040 Santa Clara, CA
to
t
, ;, I-
,;. t
. t
.r-
INTEL CORPORATION, 3065 Bowers Avenue, Santa Clara, CA 95051 (408) 987-8080
Printed in U.S.A.,