EN
Intel logo
Official user manual

Intel mcs-48

478 pages·43.8 MB·Microscope & Magnifier·PDF·ENDEFRITNLJA
Intel mcs-48
Table of Contents 80 sections MCS-48™ FAMILY OF SINGLE CHIP MICROCOMPUTERS USER'S MANUAL · September 1980 · © INTEL CORPORATION, 1980 AFN·01300A-1 · CHAPTER 6 · … ShowHide
MCS-48™ FAMILY OF SINGLE CHIP MICROCOMPUTERS USER'S MANUALp.2September 1980p.2© INTEL CORPORATION, 1980 AFN·01300A-1p.3CHAPTER 6p.5CHAPTER 7p.5CHAPTERSp.5CHAPTER 9p.5CHAPTER 10p.6APPENDICESp.6I.ntroductionp.8INTRODUCTIONp.101.0 Introduction to MCS-48™p.10New Family Membersp.10The head of the family is the 8048p.10microcomputer which contains the following functions in a single 40 pin package:p.108048 8021 8022 FEATURESp.1027 21 28 1/0 LINESp.10~ ~ ~ TIMER COUNTERp.10~ ~ ~ OSCILLATOR AND CLOCKp.10~ ~ ~ RESET CIRCUITp.10~ ~ INTERRUPTp.10ON CHIP FEATURESp.10The 8035 and 8039 are an 8048 or 8049p.11FUNCTION PART DESCRIPTION COMMENTS NUMBERp.12'" ports. ill '"p.12MCS·48™ MICROCOMPUTER COMPONENTSp.12128 (38) (38) (53) (S3)p.131K 2K 3K 4Kp.13PROGRAM MEMORY (ROM)p.13( ) NUMBER OF AVAILABLEp.131/0 LINESp.13THE EXPANDED MCS-48™ SYSTEMp.131.1.1 A Typical Computer Systemp.14A typical digital computer consists of:p.14A central processor unit (CPU) Program Memory Data Memory Input/output (I/O) portsp.141.1.2 The Architecture of a CPUp.14Registers Arithmetic/Logic Unit (ALU) Control Circuitryp.14Accumulatorp.14Program Counter (Jumps, Subroutines and the Stack):p.15The last instruction in any subroutine is ap.15Instruction Register and Decoderp.16Address Register(s)p.16Arithmetic/Logic Unit (ALU)p.16Instruction Fetchp.17Control Circuitryp.17Memory Readp.171.1.3 Computer Operationsp.17Timingp.171.2 Programming a Microcomputerp.191.2.1 Machine Language Programmingp.19Step Numberp.19Machinep.19Code 1011 1000 00100000 1011 1010 00000101 00001001p.19The following is an example of a machinep.19MOV RO, #32p.20Our machine language program then becomes:p.20MOV R2, #05p.20ADD A, # ALFA*BETA/2p.211.3.1 Educationp.221.3.3 Hardware Configurationp.221.3.4 Code Generationp.221.3.2 Function Definitionp.22After a thorough understanding of thep.22Use of PROMPT 48 involves . the following steps:p.231.3.5 PROMPT 48p.23LOCKED LOCKEDp.2349 lEt H 50 I/O PORTS CONNECTOR 2p.23prompt 48p.23PROGRAMMING EXECUTION SOCKET SOCKETp.23~FIFIBI11~IBIFIF~p.23FUNC1'ION I AODf!ESS I DATAp.23© POWER ON HEX DATA/FUNCTIONS COMMANDSp.23EXAMINE/ DO DISPLAYI MODIFY MODIFY REGISTER 'MEMORYp.23GO DO S~~~~Ep.23G~R~~: DO PREVIOUS/p.23NEXT mI [c:JI EXi~~TEIp.23in~----------~-------------- ________________________ -4p.231.3.6 Intellec Development Systemp.241.3.7 Productionp.24The Single Component . 2" MCS-4S™ S~stemp.26
Page 1 of the Intel mcs-48 user manual
Page 1 · click to enlarge
Page 1
Intel mcs-48 diagram (page 1)
Fig. 1
Page 2 of the Intel mcs-48 user manual — September 1980
Page 2 · click to enlarge
Page 2
Intel mcs-48 — MCS-48™ FAMILY OF SINGLE CHIP MICROCOMPUTERS USER'S MANUAL diagram (page 2)
Fig. 2

MCS-48™ FAMILY OF SINGLE CHIP MICROCOMPUTERS USER'S MANUAL

September 1980

Page 3 of the Intel mcs-48 user manual — © INTEL CORPORATION, 1980 AFN·01300A-1
Page 3 · click to enlarge
Page 3
Intel mcs-48 — © INTEL CORPORATION, 1980 AFN·01300A-1 diagram (page 3)
Fig. 3

Intel Corporation makes no warranty for the use of its products and assumes no responsibility for any errors which may appear in this document nor does it make a commitment to update the information contained herein.

Intel software products are copyrighted by and shall remain the property of Intel Corporation. Use, duplication or disclosure is subject to restrictions stated in Intel's software license, or as defined in ASPR 7·104.9 (a) (9). Intel Cor· poration assumes no responsibility for the use of any circuitry other than circuitry embodied. in an Intel product. No other circuit patent licenses are implied.

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 only be used to identify Intel products:

BXP Intelevision MULTIBUS* CREDIT Intellec MULTIMODULE i iSBC PROMPT ICE iSBX Promware ICS Library Manager RMX im MCS UPI Insite Megachassis flScope Intel Micromap

and the combinations of ICE, iCS, iSBC, MCS or RMX and a numerical suffix.

MDS is an ordering code only and is not used as a product name or trademark. MDS® is a registered trademark of Mohawk Data Sciences Corporation.

*MULTIBUS is a patented Intel bus.

Additional copies of this manual or other Intel literature may be obtained from:

Literature Department Intel Corporation 3065 Bowers Avenue Santa Clara, CA 95051

© INTEL CORPORATION, 1980 AFN·01300A-1

Page 4 of the Intel mcs-48 user manual — © INTEL CORPORATION, 1980 AFN·01300A-1
Page 4 · click to enlarge
Page 4
Page 4 of the Intel mcs-48 user manual — © INTEL CORPORATION, 1980 AFN·01300A-1
Page 5 of the Intel mcs-48 user manual — CHAPTER 9
Page 5 · click to enlarge
Page 5
Intel mcs-48 — CHAPTER 6 diagram (page 5)
Fig. 4

CHAPTER 6

MCS-48™ Component Specifications 8048H/8048H-1/8035HU8035HL-1 HMOS Single Component 8-Bit Microcomputer 6-1 8048L Special Low Power Comsumption Single Component 8-Bit Microcomputer 6-8 8048/8035U8748/8748-6/8035 Single Component 8-Bit Microcomputer 6-9 108048/8748/8035L Industrial Temperature Range Single Component 8-Bit Microcomputer 6-18 M8048/M8748/M8035L Single Component 8-Bit Microcomputer 6-27 New High Performance 8049/8039/8039-6 Single Component 8-Bit Microcomputer 6-36 New High Performance 18049/8039 Single Component 8-Bit Microcomputer 6-41 8021 Single Component 8-Bit Microcomputer 6-48 8022 Single Component 8-Bit Microcomputer With On-Chip NO Converter 6-51 8243 MCS-48™ Input/Output Expander 6-57 108243 MCS-48™ Input/Output Expander 6-63 8355/8355-2 16,384-Bit ROM With I/O 6-69 8755A 16,384-Bit EPROM With I/O 6-74 8155/8156/8155-2/8156-22048 Bit Static MOS RAM With I/O Ports and Time 6-82 8185/8185-21024 x 8-Bit Static RAM for MCS-85™ 6-96

CHAPTER 7

MCS-S1TM Component Specification 8051/8751/8031 Microcomputer ................................. " .............................. 7-1

CHAPTERS

Compatible MCS-48™ Components 2114A 1024 x 4-Bit Static RAM 8-1 2316E 16K (2K x 8) ROM " 8-5 2708 8K (1 K x 8) UV Erasable PROM 8-8 2716 16K (2K x 8) UV Erasable PROM 8-12 2732A 32K (4K x 8) UV Erasable PROM 8-17 8205 High Speed 1 out of 8 Binary Decoder 8-18 8212 8-Bit Input/Output Port '" 8-24 8214/3214 Priority Interrupt Control Unit 8-34 8216/8266 4-Bit Parallel Bidirectional Bus Driver " 8-38 8282/8283 Octal Latch 8-43 8286/8287 Octal Bus Transeiver 8-48

CHAPTER 9

Peripherals 8251A/S2657 Programmable Communication Interface 9-1 8253/8253-5 Programmable Interval Timer 9-6 8255A/8255A-5 Programmable Peripheral Interface 9-17 8259A Programmable Interrupt Controller 9-38 8272 Single/Double Density Floppy Disk Controller 9-51 8273,8273-4,8273-8 Programmable HDLC/SDLC Protocal Controller 9-67 8279/8279-5 Programmable Keyboard/Display Interface 9-70 8291 GPIB Talker/Listener 9-82 8292 GPIB Controller '" 9-106 8293 GPIB Transceiver , 9-108 8294 Data Encryption Unit '" " 9-121 8041 N8641N8741 A Universal Peripheral Interface 8-Bit Microcomputer 9-123

Page 6 of the Intel mcs-48 user manual — APPENDICES
Page 6 · click to enlarge
Page 6
Intel mcs-48 — CHAPTER 10 diagram (page 6)
Fig. 5

CHAPTER 10

Support Products Model 22SIntellec Series II 10-1 Intellec Prompt 48 MCS-48™ Microcomputer Design Aid 10-6 ICE-49 MCS-48™ In-Circuit Emulator 10-12 EM1 8021 Emulation Board 10-16 EM2 8022 emulation Board 10-19 UPP-103 Universal PROM Programmer 10-22 SP-49 10-24 Insite User's Library 10-26

APPENDICES

Packing Information .......................................................................... A1-1 Ordering Information ......................................................................... A2-1

Page 7 of the Intel mcs-48 user manual — CHAPTER 10
Page 7 · click to enlarge
Page 7
Intel mcs-48 — CHAPTER 10 diagram (page 7)
Fig. 6
Page 8 of the Intel mcs-48 user manual — I.ntroduction
Page 8 · click to enlarge
Page 8
Intel mcs-48 — I.ntroduction diagram (page 8)
Fig. 7 · I.ntroduction

I.ntroduction

Page 9 of the Intel mcs-48 user manual — I.ntroduction
Page 9 · click to enlarge
Page 9
Intel mcs-48 — I.ntroduction diagram (page 9)
Fig. 8 · I.ntroduction
Page 10 of the Intel mcs-48 user manual — 27 21 28 1/0 LINES
Page 10 · click to enlarge
Page 10
Intel mcs-48 — INTRODUCTION diagram (page 10)
Fig. 9

INTRODUCTION

1.0 Introduction to MCS-48™

microcomputer. A single 5V supply re- quirement for all MCS-48 components assures that "low cost" also applies to the power supply in your system.

Recent advances in NMOS technology have allowed Intel for the first time to place enough .capability on a single silicon die to create a true single-chip microcomputer containing all the functions required in a

New Family Members

digital processing system. A set of such microcomputers on single chips, their variations, and optional peripherals are collectively called the MCS-48 micro- computer family. These products are fully described in this manual.

The MCS-48 family of microcomputers which began with the 8048 and 8748 has now been expanded with new members which provide either more capability or lower cost than the original family mem- bers. While broadening the applications possible with a single chip microcomputer, these new microcomputers share both the

The head of the family is the 8048

microcomputer which contains the following functions in a single 40 pin package:

instruction set and development support of the 8048.

8-Bit CPU 1 K x 8 ROM Program Memory 64 x 8 RAM Data Memory 27 I/O Lines 8-Bit Timer/Event Counter

The 8049 is a single-chip microcomputer which is completely interchangeable with the 8048, but contains twice the program memory and twice the data memory of the 8048.

A 2.5 or 5.0 microsecond cycle time and a repertoire of over 90 instructions, each consisting of either one or two cycles, makes the single chip 8048 the equal in performance of most presently available multi-chip NMOS microprocessors. The 8048 is, however, a true "low-cost"

The 8022 is an 8021-based microcomputer with additional memory, 1/0, and an AID converter.

The 8021 is a new very low cost MCS-48 family member which contains a subset of

8048 8021 8022 FEATURES

~ ~ ~ 8·BIT CPU 1Kx8 1Kx 8 2Kx8 PROGRAM MEMORY 64x8 64x8 64x 8 DATA RAM

~ 2Kx8 128x 8

27 21 28 1/0 LINES

~ ~ ~ TIMER COUNTER

~ ~ ~ OSCILLATOR AND CLOCK

~ ~ ~ RESET CIRCUIT

~ ~ INTERRUPT

ON CHIP FEATURES

Show 4 more labels / short text on this page
~ · ~ · ~ · ~
Page 11 of the Intel mcs-48 user manual — The 8035 and 8039 are an 8048 or 8049
Page 11 · click to enlarge
Page 11
Intel mcs-48 — The 8035 and 8039 are an 8048 or 8049 diagram (page 11)
Fig. 10 · The 8035 and 8039 are an 8048 or 8049

INTRODUCTION

the 8048's instruction set and incorporates several new features critical in low cost applications. Even with low component costs, however, a project may be jeopardized by high develop- ment and rework costs resulting from an inflexible production design. Intel has solved this problem by creating two pin-compatible

For such applications as Keyboards, Dis- plays, Serial communication lin~s, etc. standard MCS-80/85 peripheral circuits may be added. Program and data memory may be expanded using standard memories or the 8355 and 8155 memories that also include programmable I/O lines and timing functions.

versions of the 8048 microcomputer: the 8048 with mask Programmable ROM pro- gram memory for low cost production and the 8748 with user programmable and erasable EPROM program memory for prototype development. The 8748 is essen- tially a single chip microcomputer "bread- board" which can be modified over and over again during development and pre-produc- tion then replaced by the low cost 8021 *, 8048, or 8049 ROM for volume production. The 8748 provides a very easy transition from development to production and also provides an easy vehicle for temporary field updates while new ROMs are being made.

For applications which require a more custom tailored interface, the 8041 or 8741 Universal Peripheral Interface (UPI-41) devices can be used. The UPI-41 devices are available in both ROM and EPROM versions and are essentially slave versions

of the 8048/8748 which are designed to interface directly with expandable MCS-48 processors and provide flexible intelligent I/O capability. The 8041/8741 share the instruction set of the MCS-48 family of processors.

The 8035 and 8039 are an 8048 or 8049

respectively without internal program memory that allows the user to match his program memory requirements exactly by using a wide variety of external memories. The 8035 and 8039 allow the user to select a minimum cost system no matter what his program memory reo quirements. The 8035L is an 8035 with the powerdown mode of the 8048.

  • SPECIAL FEATURES
  • SINGLE 5V SUPPLY
  • 40 PIN DIP OR 28 PIN DIP
  • PIN COMPATIBLE ROM AND EPROM
  • 2.5,5.0 AND 10.0 J,Lsec CYCLE VERSIONS
  • ALL INSTRUCTIONS 1 OR 2 CYCLES
  • SINGLE STEP
  • 8 LEVEL STACK
  • 2 WORKING REGISTER BANKS
  • LC, XTAL, OR EXTERNAL FREQUENCY SOURCE
  • OPTIONAL CLOCK OUTPUT

The MCS-48 processors are designed to be efficient control processors as well as arithmetic processors. They provide an instruction set which allows the user to directly set and reset individual lines within its 1/0 ports as well as test individual bits within the accumulator. A large variety of branch and table look-up instructions l11ake these processors very efficient in implementing standard logic functions. Also, special attention has been given to code efficiency. Over 70% of the instruc- tions are a single byte long and all others are only two bytes long. This means many functions requiring 1.5K to 2.0K bytes in other computers may very well be com- pressed into the 1 K words resident in the 8048 or up to 3K to 4K equivalent bytes may be compressed into the 8049.

  • POWER DOWN STANDBY MODE

To allow the MCS-48 to solve a wide range of problems and to provide for future expansion, all 8048 and 8049 functions have been made externally expandable using either special expanders or standard memories and peripherals. An efficient low cost means of I/O expansion is provided by either the 8243 I/O Expander or standard TTL or CMOS circuits. The 8243 provides 16 1/0 lines in a 24 pin package. For sys- tems with large 1/0 requirements, multiple 8243s can be used.

*The 8021 is code compatible but not pin compatible with the 8748. 1·2

Page 12 of the Intel mcs-48 user manual — MCS·48™ MICROCOMPUTER COMPONENTS
Page 12 · click to enlarge
Page 12
Intel mcs-48 — FUNCTION PART DESCRIPTION COMMENTS NUMBER diagram (page 12)
Fig. 11

INTRODUCTION

FUNCTION PART DESCRIPTION COMMENTS NUMBER

Microcomputers 8021 ~~ :g~ :~~~~:~ ~:~~~ with AID } 10 I'sec Cycle

Compatible versions of the 8022 single chip microcomputers pro· 8048 1K ROM Program Memory f vide mask programmed, light 8035 No Program Memory 64 x 8 RAM 2.5 I'sec Cycle erasable, or no internal program 8035L 8035 with Power Down Mode memory.

::Ii 8049 2K ROM Program Memory } 1.36 I'sec Cycle I- 8039 No Program Memory 128 x 8 RAM '" ~ 8748-8 1 K EPROM Program Memory } 5.0 I'sec Cycle til 0 8035-8 No Program Memory :::Ii 8748-6 1K EPROM 0°C-55°C, 6 MHz

Memory and I/O 8355 2K x 8 ROM with 16 I/O Lines Compatible devices allow direct Expanders 8755A 2K x 8 EPROM with 16 110 Lines expansion of MCS-48 functions 8155/56 256 x 8 RAM with 22 I/O Lines and Timer with no additional external com· 8185 1Kx 8HAM ponents.

I/O Expander 8243 16 Line I/O Expander Low cost I/O expander.

Standard ROMs 2308 1Kx8 450 ns Allows low cost external expan· 2316E 2Kx8 450 ns sion of Program Memory. Each 2332 4Kx8 450 ns ROM is interchangeable with an EPROM.

Standard EPROMs 2708 1Kx8 450 ns Light Erasable User programmable and eras· 2716 2Kx8 450 ns Light Erasable able. 2732 4Kx8 450 ns Light Erasable

Standard RAMs 2111A-4 256x4 450 ns Common I/O Data memory can be easily ex·

!II 2101A-4 256x4 450 ns Separate I/O panded using standard NMOS RAMs . z w Z 0 II.. :::Ii Standard I/O 8212 8-B it I/O Port Serves as Address Latch or I/O 0 port. 0 ::Ii 8255A Programmable Peripheral Interface Three 8-bit programmable 110 I-

'" ports. ill '"

8251A Programmable Communication Interface Serial Communications Receiv· til er/Transmitters. 0 :::Ii 8273 Programmable HDLC/SDLC Controller w I Standard Peripherals 8205 1·of-8 Binary Decoder MCS-80 peripheral devices are III i= 8214 Priority Interrupt Controller compatible with the MCS-48, al· et 8216 Bidirectional Bus Driver lowing easy addition of such II.. :;; 8226 Bidirectional Bus Driver (Inverting) specialized interfaces as the 0 0 8253 Programmable Interval Timer 8279 Keyboard/Display Interface. 8279/78 Programmable Keyboard/Display Interface Future MCS-80/85 devices will (64 Keys/128 Keys) also be compatible. 8291 GPIB Talker/Listener 8294 Data Encryption Unit 8295 Dot Matrix Printer Controller

·Universal Peripheral 8041A ROM Program Memory User programmable to perform Interface 8741A EPROM Program Memory any custom I/O and control func· tions.

MCS·48™ MICROCOMPUTER COMPONENTS

Page 13 of the Intel mcs-48 user manual — 1K 2K 3K 4K
Page 13 · click to enlarge
Page 13
Intel mcs-48 — 128 (38) (38) (53) (S3) diagram (page 13)
Fig. 12

INTRODUCTION

8049 8049 8155 8155 835&

8048 8048 8155 8355 8155

128 (38) (38) (53) (S3)

(24) (24) (28) (28)

1K 2K 3K 4K

PROGRAM MEMORY (ROM)

( ) NUMBER OF AVAILABLE

1/0 LINES

THE EXPANDED MCS-48™ SYSTEM

The chart above shows the expansion possibilities using the 8048 and 8049 in various combinations with the Intel® 8355/ 8755 Program Memory and I/O Expander and the 8155 Data Memory and I/O Expander. Data Memory can be expanded beyond the resident words in blocks of 256

by adding 8155's. Program Memory can be expanded beyond the resident 1 K or 2K in blocks of 2K by using the 8355/8755 in com- bination with the 8048 or 8049. If all external memory is desired, the 8035 or 8039 can be substituted for the 8048 and 8049.

8049 8049 8355 · 8048 8048 8355

Page 14 of the Intel mcs-48 user manual — Accumulator
Page 14 · click to enlarge
Page 14
Intel mcs-48 — 1.1.1 A Typical Computer System diagram (page 14)
Fig. 13 · 1.1.1 A Typical Computer System

INTRODUCTION

1.1 The Function of a Computer This chapter introduces certain basic com- puter concepts. It provides background information and definitions which will be useful in later chapters of this manual. Those already familiar with computers may skip this material, at their option.

printer, to a peripheral storage device, such as a floppy disk· unit, or the output may constitute process control signals that direct the operations of another system, such as an automated assembly line. Like input ports, output ports are addressable. The input and output ports together permit the processor to communicate with the outside world.

1.1.1 A Typical Computer System

The CPU unifies the system. It controls the functions performed by the other compon- ents. The CPU must be able to fetch instructions from memory, decode their binary contents and execute them. It must also be able to reference memory and I/O ports as necessary in the execution of instructions. In addition, the CPU should be able to recognize and respond to certain external control signals, such as INTER-

A typical digital computer consists of:

A central processor unit (CPU) Program Memory Data Memory Input/output (I/O) ports

The processor memory serves as a place to store Instructions, the coded pieces of information that direct the activities of the CPU, while Memory stores the Data, the coded pieces of information that are processed by the CPU. A group of logically related instructions stored in memory is referred to as a Program. The CPU "reads" each instruction from memory in a logically determined sequence, and uses it to initiate processing actions. If the program sequence is coherent and logical, processing the program will produce intelligible and useful results. The program must be organized such that the CPU does not read a non-instruction word when it expects to see an instruction.

RUPT requests. The functional units within a CPU that enabl~ it to perform these functions are described below.

1.1.2 The Architecture of a CPU

A typical central processor unit (CPU) consists of the following interconnected functional units:

Registers Arithmetic/Logic Unit (ALU) Control Circuitry

Registers are temporary storage units within the CPU. Some registers, such as the program counter and instruction register, have dedicated uses. Other registers, such as the accumulator, are for more general purpose use.

The CPU can rapidly access any data stored in memory; but often the memory is not large enough to store the entire data bank required for a particular application. The problem can be resolved by providing the computer with one or more Input Ports. The CPU can address these ports and input the data contained there. The addition of input ports enables the computer to receive information from external equipment (such as a paper tape reader or floppy disk) at high rates of speed and in large volumes.

Accumulator

The accumulator usually stores one of the operands to be manipulated by the ALU. A typical instruction might direct the ALU to add the contents of some other reg ister to the contents of the accumulator and store the result in. the accumulator itself. In general, the accumulator is both a source (operand) and a destination (result) register. Often a CPU will include a number of additional general purpose registers that can be used to store operands or intermediate data. The availability of general purpose registers

A computer also requires one or more Output Ports that permit the CPU to communicate the result of its processing to the outside world. The output may go to a display, for use by a human operator, to a peripheral device that produces "hard-copy", such as a line-

1·5

Page 15 of the Intel mcs-48 user manual — The last instruction in any subroutine is a
Page 15 · click to enlarge
Page 15
Intel mcs-48 — Program Counter (Jumps, Subroutines and the Stack): diagram (page 15)
Fig. 14 · Program Counter (Jumps, Subroutines and the Stack):

INTRODUCTION

eliminates the need to "shuffle" intermediate results back and forth between memory and the accumulator, thus improving processing speed and efficiency.

this kind of jump, the pJOcessor is required to "remember" the contents of the program counter at the time that the jump occurs. This enables the processor to resume execution of the main program when it is finished with the last instruction of the subroutine.

Program Counter (Jumps, Subroutines and the Stack):

A Subroutine is a program within a program. Usually it is a general-purpose set of instructions that must be executed repeat- edly in the course of a main program. Routines which calculate the square, the sine, or the logarithm of a program variable are good examples of functions often written as subroutines. Other examples might be programs designed for inputting data to a particular peripheral device.

The instructions that make up a program are stored in the system's memory. The central processor references the contents of mem- ory in order to determine what action is appropriate. This means that the processor must know which location contains the next instruction.

Each of the locations in memory is numbered, to distinguish it from all other locations in memory. The number which identifies a memory location is called its Address. The processor maintains a counter which contains the address of the next program instruction. This register is called the Program Counter. The processor up- dates the program counter by adding "1" to the counter each time it fetches an instruction, so that the program counter is always current (pointing to the next instruc- tion).

The processor has a special way of handling subroutines, in order to insure an orderly return to the main program. When the processor receives a Call instruction, it increments the Program Counter and stores the counter's contents in a reserved memory area known as the Stack. The Stack thus saves the address of the instruction to be executed after the subroutine is completed. Then the processor loads the address specified in the Call into its Program Counter. The next instruction fetched will therefore be the first step of the subroutine.

The programmer therefore stores his instruc- tions in numerically adjacent addresses, so that the lower addresses contain the first instructions to be executed and the higher addresses contain later instructions. The only time the progrl:immer may violate this sequential rule is when an instruction in one section of memory is a Jump instruction to another section of memory.

The last instruction in any subroutine is a

Return. Such an instruction need specify no address. When the processor fetches a Return instruction, it simply replaces the current contents of the Program Counter with the address on the top of the stack. This causes the processor to resume execution of the calling program at the point immediately following the original Call instruction.

A jump instruction contains the address of the instruction which is to follow it. The next instruction may be stored in any memory location, as long as the programmed jump specifies the correct address. During the execution of a jump instruction, the proces- sor replaces the contents of its program counter with the address embodied in the Jump. Thus, the logical continuity of the program is maintained.

Subroutines are often Nested; that is, one subroutine will sometimes call a second subroutine. The second may call a third, and so on. This is perfectly acceptable, as long as the processor has enough capacity to store the necessary return addresses, and the

logical provision for doing so. In other words, the maximum depth of nesting is determined

A special kind of program jump occurs when the stored program "Calls" a subroutine. In

by the depth of the stack itself. If the stack has space for storing three return addresses, then

1·6

Page 16 of the Intel mcs-48 user manual — Arithmetic/Logic Unit (ALU)
Page 16 · click to enlarge
Page 16
Intel mcs-48 — Instruction Register and Decoder diagram (page 16)
Fig. 15 · Instruction Register and Decoder

INTRODUCTION

three levels of subroutines may be ac- commodated.

signals that can then be used to initiate specific actions. This translation of code into action is performed by the Instruction Decoder and by the associated control circuitry.

Instruction Register and Decoder

Every computer has a Word Length that is characteristic of that machine. A computer's word length is usually determined by the size of its internal storage elements and intercon- necting paths (referred to as Buses); for example, a computer whose registers and buses can store and transfer 8-bits of information has a characteristic word length of 8-bits and is referreq to as an 8-bit parallel processor. An 8-bit parallel processor gener- ally finds it most efficient to deal with 8-bit binary fields, and the memory associated with such a processor is therefore organized to store 8-bits in each addressable memory location. Data and instructions are stored in memory as 8-bit binary numbers, or as numbers that are integral multiples of 8-bits: 16-bits, 24-bits, and so on. This characteristic 8-bit field is often referred to as a Byte. If however, efficient handling of 4 or even 1-bit data is necessary special processor instruc- tions can provide this capability.

An 8-bit instruction code is often sufficient to specify a particular processing action. There are times, however, when execution of the instruction requires more information than 8- bits can convey.

One example of this is when the instruction references a memory location. The basic instruction code identifies the operation to be performed, but cannot specify the object address as well. In a case like this, a two byte instruction must be used. Successive instruc- tion bytes are stored in sequentially adjacent memory locations, and the processor per- forms two fetches in succession to obtain the full instruction. The first byte retrieved from

memory is placed in the prbcessor's instruc- tion register, and subseq!Jent byte is placed in temporary storage; t~e processor then proceeds with the executiol1 phase.

Address Register(s)

Each operation that the processor can perform is identified by a unique byte of data known as an Instruction Code or Operation Code. An 8-bit word used as an instruction code can distinguish between 256 alternative actions, more than' adequate for most processors.

A CPU may use a register to hold the address of a memory location that is to be accessed for data. If the address register is Program- mable, (Le., if there are instructions that allow the programmer to alter the contents of the register) the program can "build" an address in the address register prior to executing a Memory Reference instruction (Le., an instruction that reads data from memory, writes data to memory or operates on data stored in memory).

The processor fetches an instruction in two distinct operations. First, the processor transmits the address in its Program Counter to the program memory. Then the program

memory returns the addressed byte to the processor. The CPU stores this instruction byte in a register known as the Instruction Register, and uses it to direct activities during the remainder of the instruction execution.

Arithmetic/Logic Unit (ALU)

All processors contain an arithmetic/logic unit, which is often referred to simply as the ALU. The ALU, as its name implies, is that portion of the CPU hardware which performs the arithmetic and logical operations on the

The 8-bits stored in the instruction register can be decoded and used to selectively activate one of a number of output lines. Each line represents a set of activities associated with execution of a particular instruction code. The enabled line can be combined with selected timing pulses, to develop 'el'ectrical

binary data.

The ALU must contain an Adder which is capable of combining the contents of two registers in accordance with the logic of binary arithmetic. This provision permits the

1·7

Page 17 of the Intel mcs-48 user manual — Timing
Page 17 · click to enlarge
Page 17
Intel mcs-48 — Instruction Fetch diagram (page 17)
Fig. 16 · Instruction Fetch

INTRODUCTION

processor to perform arithmetic manipu- lations on the data it obtains from memory and from its other inputs.

fetches the next instruction, and so on. This orderly sequence of events requires precise timing, and the CPU therefore requires a free

running oscillator clock which furnishes the reference for all processor actions. The combined fetch and execution of a single instruction is referred to as an Instruction Cycle. The portion of a cycle identified with a clearly defined activity is called a State. And the interval between pulses of the timing oscillator is referred to as a Clock Period. As a general rule, one or more clock periods are necessary for the completion of a state, and there are several states in a cycle.

Using only the basic adder a capable programmer can write routines which will subtract, multiply and divide, giving. the machine complete arithmetic capabilities. In practice, however, most ALUs provide other built-in functions, including boolean logic operations, and shift capabilities.

The ALU contains Flag Bits which specify certain conditions that arise in the course of arithmetic and logical manipulations. It is possible to program jumps which are conditionally dependent on the status of one or more flags. Thus, for example, the program may be designed to jump to a special routine if the carry bit is set following an addition instruction.

Instruction Fetch

The first state(s) of any instruction cycle will be dedicated to fetching the next instruction. The CPU issues a read signal and the contents of the program counter are sent to program memory, which responds by returning the next instruction word. The first byte of the instruction is placed in the instruction register. If the instruction con- sists of more than one byte, additional states are required to fetch the second byte of the instruction. When the entire instruction is present in the CPU, the program counter is incremented (in preparation for the next instruction fetch) and the instruction is decoded. The operation specified in the instruction will be executed ih the remaining states of the instruction cycle. The instruc- tion may call for a data memory read or write, an input or output and/or an internal CPU operation, such as a register-to-register transfer or an add operation.

Control Circuitry

The control circuitry is the primary functional unit within a CPU. Using clock inputs, the control circuitry maintains the proper se- quence of events required for any processing task. After an instruction is fetched and decoded, the control circuitry issues the appropriate signals (to units both internal and external to the CPU) for initiating the proper processing action. Often the control circuitry will be capable of responding to external signals, such as an interrupt. An

Interrupt request will cause the control circuitry to temporarily interrupt main pro- gram execution, jump to a special routine to service the interrupting device, then auto- matically return to the main program.

Memory Read

An instruction fetch is merely a special program memory read operation that brings the instruction to the CPU's instruction register. The instruction fetched may then call for data to be read from data memory into the CPU. The CPU again issues a read signal and sends the proper memory address; memory responds by returning the requested word. The data received is placed in the accumulator or one of the other geheral purpose registers (not the instruc- tion register).

1.1.3 Computer Operations

There are certain operations that are basic to almost any computer. A sound understand- ing of these basic operations is a necessary prerequisite to examining the specific operations of a particular computer.

Timing

The activities of the central processor are cyclical. The processor fetches an instruc- tion, performs the operations required,

Page 18 of the Intel mcs-48 user manual — INTRODUCTION
Page 18 · click to enlarge
Page 18
Intel mcs-48 — Instruction Fetch diagram (page 18)
Fig. 17 · Instruction Fetch

INTRODUCTION

Memory Write A memory write operation is similar to a read except for the direction of data flow. The CPU issues a write signal, sends the proper memory address, then sends the data word to be written into the addressed data memory location.

the processor's efficiency. Consider the case of a computer that is processing a large volume of data, portions of which are to be output to a printer. The CPU can output a byte of data within asingle machine cycle but it may take the printer the equivalent of many machine cycles to actually print the char- acter specified by the data byte. The CPU could then remain idle waiting until the printer can accept the next data byte. If an interrupt capability is implemented on the computer, the CPU can output a data byte then return to data processing. When the printer is ready to accept the next data byte, it can request an interrupt. When the CPU acknowledges the interrupt, it suspends main program execution and automatically branches to a routine that will output the next data byte. After the byte is output, the CPU continues with main program execution. Note that this is, in principle, quitesimilarto a subroutine call, except that the jump is initiated externally rather than by the program.

Input/Output Input and Output operations are similar to memory read and write operations with the exception that an I/O port is addressed

instead of a memory location. The CPU issues the appropriate input or output control signal, sends the proper address and either receives the data being input or sends the data to be output.

Data can be input/output in either parallel or serial form. All data within a digital computer is represented in binary coded form. A binary data word consists of a group of bits; each bit is either a one or Ii zero. Parallel I/O consists of transferring all bits in the word at the same time, one bit per line. Serial I/O consists of transferring one bit at a time on a single line.

More complex interrupt structures are possible, in which several interrupting devices share the same processor but have different priority levels. Interruptive proces- sing is an important feature that enables maximum utilization of a processor's capa- city for high system throughput.

Naturally serial I/O is much slower, but it requires considerable less hardware than does parallel I/O.

Interrupts Interrupt provisions are included on many central processors, asa means of improving

1·9

Page 19 of the Intel mcs-48 user manual — The following is an example of a machine
Page 19 · click to enlarge
Page 19
Intel mcs-48 — 1.2 Programming a Microcomputer diagram (page 19)
Fig. 18 · 1.2 Programming a Microcomputer

INTRODUCTION

counts the number of words to be stored. When finished the processor continues on to the next instructions.

1.2 Programming a Microcomputer

1.2.1 Machine Language Programming

A microprocessor is instructed what to do by programming it with a series of instructions stored in Program Memory. The processor fetches these instructions one at a time and performs the operation indicated. These instructions must be stored in a form that the processor can understand. This format is referred to as Machine Language. For most microprocessors this instruction is a group of a binary bits (1's and O's) called a word (also called a byte if the word is a-bits). Some instructions require more than one location in Program Memory. To execute a multi-byte instruction, the processor must execute multiple fetches of program memory before performing the instruction. Because mUlti- byte instructions take more Program Mem- ory and take longer to execute than single

Step Number

Machine

Code 1011 1000 00100000 1011 1010 00000101 00001001

Explanation Load decimal 32 in register RO Load decimal 5 in register R2 Load Port 1 to accu- mulator Transfer contents of accumulator to reg- ister addressed by register 0 0001 1000 Increment RO by 1 11101010 Decrement register 2 0000 0100 by 1, if result is zero continue to step 9, if not go to step 4

10100000

byte instructions their use is usually kept to a minimum.

A processor may be programmed by writing a sequence of instructions in the binary code (ones and zeros) which the machine can interpret directly. This is machine language programming and it is very useful where the program to be written

As you can see, writing machine instruc- tions in ones and zeros can be very laborious and subject to error. It is almost always more efficient to represent each a-bits of machine language code in a shorthand format called Hexadecimal. The term hexadecimal results from the character set used in hexadecimal notation. Hexadecimal is merely an extension of the normal decimal numbers by the addition of the first six letters of the alphabet. This gives a total of 16 different characters. Each hexadecimal "digit" can represent 16 values or the equivalent of four binary bits; therefore, each a-bit machine language word can be represented by 2 hexadecimal

is small and the application requires that the designer have an intimate knowledge of the microprocessor. Machine language pro-

gramming allows the user, because of his detailed knowledge, to use many program- ming "tricks" to produce the most compact and efficient code possible.

The following is an example of a machine

language program: This program reads 5 sequential 8-bit words in from an I/O port and stores them sequentially in data memory. The program starts by initializing two registers, one which determines where the data is to be stored and another which

(hex for short) digits. The correspondence among the decimal, binary, and hex number systems is given below:

Page 20 of the Intel mcs-48 user manual — MOV RO, #32
Page 20 · click to enlarge
Page 20
Intel mcs-48 — MOV RO, #32 diagram (page 20)
Fig. 19

INTRODUCTION

step 8 would have to be changed to refer to the new address of step 4.

0 0 0000 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 6 6 0110 7 7 0111 8 8 1000 9 9 1001 10 A 1010 11 B 1011 12 C 1100 13 0 1101 14 E 1110 15 F 1111

1.2.2 Assembly Language Programming Assembly language overcomes the dis- advantages of machine language by allowing the use of alphanumeric symbols to repre- sent machine operation codes, branch addresses, and other operands. For example, the instruction to increment the contents of

register 0 becomes INC RO instead of the hex 18, giving the user at a glance the meaning of the instruction. Our example program can be written in assembly language as follows:

Step No. Hex Code

o 88 1 20 2 8A 3 05 4 09 INP: 5 AO 6 18 7 EA 8 04

MOV RO, #32

Our machine language program then becomes:

MOV R2, #05

Step Hex Code o B8 1 20 2 BA 3 05 4 09 5 FO 6 18 7 EA 8 04

IN A, P1 MOV @RO, A INC RO DJNZ R2, INP

The first statement can be verbalized as follows: Move to Register 0 the decimal number 32. Move instructions are always structured such that the destination is first and the source is second. The pound sign "#" indicates that the source is "immediate" data (data contained in the following byte of program memory). In this case data was specified as a decimal 32, however, this could have been written as a hex 20H or a binary 0010 00008 since the assembler will accept either form. Notice also that in this instance two lines of hex code are represented by one line of assemlJly code. The input instruction IN A, P1 has the same form as a MOV instruction indicating that the contents of Port 1 are to be transferred to the accumulator. In front of the input instruction is an address label which is delineated by a colon. This label allows the program to be written in a form independent of its final location in program memory since the branch instruction at the end of the program can refer to this label rather than a specific address. This is a very important advantage of assembly language programs since it

This coding is now quite efficient to write and read and coding errors are much easier to detect. Hex coding is usually very efficient for small programs (a few hundred lines of code). However, it does have two major limitations in larger programs:

1. Hex coding is not self-documenting, that is, the code itself does not give any indication in human terms of the operation to be performed. The user must learn each code or constantly use a Program Reference Card to convert.
2. Hex coding is absolute, that is, the program will work only when stored in a specific location in program memory. This is because the branch or jump instructions in the program reference specific addresses elsewhere in the program. In the example above steps 7 and 8 reference step (or address) 4. If the program were to be moved,

Decimal Hex Binary · Assembly Code · 1·11

Page 21 of the Intel mcs-48 user manual — ADD A, # ALFA*BETA/2
Page 21 · click to enlarge
Page 21
Intel mcs-48 — ADD A, # ALFA*BETA/2 diagram (page 21)
Fig. 20

INTRODUCTION

allows instructions to be added or deleted throughout the program during debugging without requiring that any jump addresses be changed.

2. Conditional Assembly - Conditional assembly allows the programmer to select only certain portions of his assembly language

(source) program for conversion to machine (object) code at assembly time. This allows for instance, the inclusion of various "debug" routines to be included in the program during development. Using conditional assembly, they can then be left out when the final assembly is done.

The next instruction MOV @RO, A can be verbalized as, Move to the data memory location addressed by RO, the contents of the accumulator. The @ sign indicates an indirect operation whereby the contents of either register 0 or register 1 acts as a pointer to the data memory location to be operated on. The last instruction is a Decrement and Jump if Not Zero instruction which acts in combination with the specified register as a loop counter. In this case register 2 is loaded with 5 initially and then decremented by one each time the loop is executed. If the result of the decrement is not zero, the program jumps to INP and executes another input operation. The fifth time thru the loop the result is zero and execution falls through to whatever routine follows the DJNZ instruction.

Conditional assembly also allows several versions of one basic program to be generated by selecting various portions of a larger program at assembly time.

3. Macro's - A macro instruction is essentially a symbol which is recognized by the assembler to represent a specific sequence of several standard instructions. A macro is a shorthand way of generating the same sequence of instructions at several locations in a program without having to rewrite the sequence each time it is used. For example, a typical macro instruction might beonewhich

In addition to the normal features provided by assemblel'3, more advanced assemblers such as that for the MCS-48 offer such things as evaluation of expressions at assembly time, conditional assembly, and macro capability.

performs a subtract operation. The 8048 does not have a subtract instruction as such but the operation can be performed easily with three instructions:

CPLA ADD A, REG CPLA This routine subtracts a register from the accumulator and leaves the result in the accumulator. This sequence can be defined as a macro with the name SUB and an operand which can be RO to R7. To subtract R7 from the accumulator then, the program- mer merely has to write:

1. Evaluation of Expressions - Certain assemblers allow the use of arithmetic expressions and multiple symbols in the operand portion of instructions. For instance the MCS-48 assembler accepts instructions such as:

ADD A, # ALFA*BETA/2

ALFA and BETA are two previously defined symbols. At assembly time the expression ALFA*BETA/2 will be evaluated and the resulting number (which is the average of ALFA and BETA) will be treated as immediate data and . designated as the second byte of the ADD immediate instruc- tion. This expression has allowed the immediate data of this instruction to be defined in a single statement and eliminated the need for a third symbol . equal to

SUB R7 and the assembler will automatically insert the three instructions above with R7 substi- tuted for REG.

Once the assembly language source code is written it can be converted to machine executable object code by passing it through an assembler program. The MCS-48 assem- bler is a program which runs on the 8080- based Intellec MDS system explained in the next section.

ALFA*BETA/2.

Page 22 of the Intel mcs-48 user manual — 1.3.2 Function Definition
Page 22 · click to enlarge
Page 22
Intel mcs-48 — 1.3.1 Education diagram (page 22)
Fig. 21 · 1.3.1 Education

INTRODUCTION

1.3 Developing An MCS-48™ Based Product Although the development of a microcom- puter based product may differ in detail from the development cycle of a product based on TTL logic or relays, the basic procedures are

microprocessor is achieved, the functions to be implemented can be defined using a flowchart method to describe each basic system function and the sequence in which the processor executes these functions. Once the system is flowcharted, critical time- related functions can be identified and sample programs written to verify that performance requirements can be met.

the same - only the tools are different.

1.3.1 Education

The first step of course is to become familiar with what the microcomputer is and what it can do. The first step in this education is this document, the MCS-48™ User's Manual. The user's manual gives a detailed description of the MCS-48 family of components and how they may be used in various system configu-

1.3.3 Hardware Configuration

The next step involves the definition of the microcomputer hardware required to imple- ment the function. Input/Output capability must be defined in terms of number of inputs, number of outputs, bi-directional lines, latching or non-latching I/O, output drive capability, and input impedance. The num- ber of words of RAM storage required for intermediate results and data storage must then be determined. The type of system will dictate whether battery backup is needed to maintain data RAM during power failure.

rations. Also included is a description of the 8048 instruction set and examples of how the instructions may be used. For a more complete discussion of the instruction set and programming techniques the MCS-48 Assembly Language Manual is also available.

If time is critical in getting started in microcomputers, individuals can attend one of many Intel sponsored 5-day training courses which give basic instruction in the MCS-48 as well as hands-on experience with MCS-48 development systems. These courses are a convenient means of getting started with the MCS-48, particularly for those not familiar with microprocessors.

Probably the most difficult parameter to define initially is the amount of program memory needed to store the applications program. Although previously written exer- cise programs will make this estimate more accurate, a generous amount of "breathing room" should be allowed in program memory until coding is complete and the exact requirements are known. Many special functions such as serial communications

After general familiarization is complete, either through self-instruction or a training course, the next step is to gain a better "feel" for what a microprocessor can do in your own applications by writing several exercise programs which perform basic functions. You may require such things as I/O routines, delays, counting functions, look-up tables, arithmetic functions, and logical operations which can serve as a set of building blocks for future applications programs. Several basic programming examples are included in the MCS-48 Assembly Language Manual while the Intel User's Library is a source of more specific applications routines.

(TTY) or keyboard/display interfaces may be implemented in software (programs); how- ever, in cases where these functions place a severe load on the processor in terms of time or program memory, special peripheral interface circuits such as the 8251, Universal Synchronous or Asychronous Receiver/ Transmitter (USART) or 8279 Keyboard/

Display interface may be used.

1.3.4 Code Generation

The writing of the final program code for the application can begin once the system function and hardware have been defined and can be generated in parallel with the detailed hardware design (PC card layout, power supply, etc.)

1.3.2 Function Definition

After a thorough understanding of the

Page 23 of the Intel mcs-48 user manual — NEXT mI [c:JI EXi~~TEI
Page 23 · click to enlarge
Page 23
Intel mcs-48 — Use of PROMPT 48 involves . the following steps: diagram (page 23)
Fig. 22 · Use of PROMPT 48 involves . the following steps:

INTRODUCTION

At this point, there are two paths available to the designer/programmer and two types of design development aids provided by Intel to simplify the procedures. One system, called PROMPT 48, is a low cost development system which supports machine language programming and the second is the Intellec Microcomputer Development System which supports both machine and assembly langu- ages. For those of you unfamiliar with the advantages and disadvantages of machine and assembly languages see Section 1.2.

which a programmed .8748 executes its program while under control of the monitor routine.

Use of PROMPT 48 involves . the following steps:

1. Loading an application program into the PROMPT RAM memory via Hex keyboard or external terminal (TTY and RS232 interface provided).
2. Inserting an erased 8748 in the programming socket and transferring the application program to its internal EPROM.

1.3.5 PROMPT 48

PROMPT 48 is a low cost design aid consisting of: an 8748 processor to execute programs, control circuitry to provide debug functions such as single step and break points, a monitor program stored in ROM, an EPROM programmer, and ahexa- decimal keyboard and display, There are two processor sockets on the front ofF>ROMPT 48, one for programming the 8748 and one in

3. Transferring programmed 8748 to execution socket where program is executed and debugged under control of the monitor.

The monitor routine allows the user to single step this processor, examine or modify all internal registers and data memory; or to run at full speed and stop the processor at predetermined breakpoints. PROMPT 48

LOCKED LOCKED

49 lEt H 50 I/O PORTS CONNECTOR 2

prompt 48

20 21 20 21

PROGRAMMING EXECUTION SOCKET SOCKET

,__---'- COMMAND/FUNCTION GROUp· ...

~FIFIBI11~IBIFIF~

FUNC1'ION I AODf!ESS I DATA

© POWER ON HEX DATA/FUNCTIONS COMMANDS

EXAMINE/ DO DISPLAYI MODIFY MODIFY REGISTER 'MEMORY

GO DO S~~~~E

G~R~~: DO PREVIOUS/

POINTS ClEAR.ENTRY

NEXT mI [c:JI EXi~~TEI

in~----------~-------------- ________________________ -4

Page 24 of the Intel mcs-48 user manual — 1.3.7 Production
Page 24 · click to enlarge
Page 24
Intel mcs-48 — 1.3.6 Intellec Development System diagram (page 24)
Fig. 23 · 1.3.6 Intellec Development System

INTRODUCTION

also provides 1 K of writeable program memory which may be used to debug user programs. A multiple single step feature is also provided in which the processor steps through its program dumping all internal contents to external RAM where it may be later displayed or typed out on an external terminal. Paper tape input and output in

macro-assembler and text editor programs provided allow the designer to write and edit his programs in assembly language and then generate the machine language output necessary to program the 8748 EPROM. The availability of a high speed CRT and a diskette operating system eliminates the laborious input and output of paper tape files normally required during the assembly process. Finally, ICE 48 allows the user to extend the resources of his entire Intellec system into the 8048 socket of his own system and use all its emulation, debug, and display facilities directly.

Intel's hexadecimal format is also available through the TTY.

1.3.6 Intellec Development System

The Intellec Microcomputer Development System is a modular development system which can be expanded as necessary to meet the requirements of your design cycle. The system consists of the processor unit which is based on Intel's 8080A microprocessor, and several optional units such as the UPP Universal PROM Programmer, the PTR High Speed Paper tape reader, the DOS Disk Operating System, and the Intellec CRT terminal.

1.3.7 Production

Once a working program has been achieved, a preproduction phase usually follows where several prototype systems are evaluated in simulated situations or in actual operation in the field. During this period the use of the 8748 EPROM allows quick alteration of the application program when problems or suggested changes arise. Depending on the magnitude and number of future changes anticipated, the first production units may also be shipped with EPROM processor. However, to achieve the maximum cost reduction potential in high volume appli- cations, a conversion to the 8048 ROM is usually necessary. This is an easy transition since the 8048 and 8748 are pin and machine code compatible equivalents. The user merely develops a hexadecimal tape of his 8748 program memory contents using his Intellec System or PROMPT 48 development aid and sends it to Intel along with his 8048 order. As the 8048 ROM's arrive they can immediately replace the 8748 EPROMs.

To support the development of MCS-48 systems a macro-assembler ASM 48 is available for the Intellec System as well as a personality module for the UPP which will program the EPROM of the 8748. Also available is in-circuit emulation capability with ICE·49 which will allow emulation and debug of user's 8048 application programs on the 8080A-based Intellec Development System.

The Intellec system is a flexible high performance development system which can support Intel's various microcomputer fami- lies with various optional modules. The

Page 25 of the Intel mcs-48 user manual — 1.3.6 Intellec Development System
Page 25 · click to enlarge
Page 25
Intel mcs-48 — 1.3.6 Intellec Development System diagram (page 25)
Fig. 24 · 1.3.6 Intellec Development System
Page 26 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 26 · click to enlarge
Page 26

The Single Component . 2" MCS-4S™ S~stem

Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 26)
Fig. 25 · The Single Component . 2" MCS-4S™ S~stem
Page 27 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 27 · click to enlarge
Page 27
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 27)
Fig. 26 · The Single Component . 2" MCS-4S™ S~stem
Page 28 of the Intel mcs-48 user manual — Instruction Decoder
Page 28 · click to enlarge
Page 28
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 28)
Fig. 27 · The Single Component . 2" MCS-4S™ S~stem

THE SINGLE COMPONENT MCS-48™ SYSTEM

2.0 Summary

Arithmetic Logic Unit

Sections 2.1 through 2.4 describe in detail the functional characteristics of the 8748 EPROM, 8048/8049 ROM and 8035/8039 single component microcomputers. Unless otherwise noted, details within these sec- tions apply to all .versions. Sections 2.5 through 2.11 describe the operation of the 8021, while Sections 2.12 through 2.21 de- scribe the 8022. This chapter is limited to those functions useful in single-chip imple- mentations of the MCS-48. Chapter 3 dis- cusses functions which allow expansion of program memory, data memory, and input- output capability.

The ALU accepts 8-bit data words from one or two sources and generates an 8-bit result under control of the Instruction Decoder. The ALU can perform the following functions:

Add With or Without Carry AND, OR, Exclusive OR I ncrementiDecrement Bit Complement Rotate Left, Right Swap Nibbles BCD Decimal Adjust

2.1 Architecture The following sections break the 8048 into functional blocks and describe each in detail.

If the operation performed by the ALU results in a value represented by more than 8 bits (overflow of most significant bit) a Carry Flag is set in the Program Status Word.

2.1.1 Arithmetic Section

The arithmetic section of the processor con- tains the basic data manipulation functions of the 8048 and can be divided into the following blocks: Arithmetic Logic Unit (ALU) Accumulator Carry Flag Instruction Decoder

Accumulator

The accumulator is the single most impor- tant data register in the processor, being one of the sources of input to the ALU and often the destination of the result of opera- tions performed in the ALU. Data to and from 1/0 ports and memory also normally passes through the accumulator.

In a typical operation data stored in the accumulator is combined in the ALU with data from another source on the internal bus (such as a register or I/O port) and the result is stored in the accumulator or another register. The following is a more detailed description of the function of each block:

2.1.2 Program Memory

Resident program memory consists of 1024 or 2048 words eight bits wide which are addressed by the program counter. In the 8748 this memory is user programmable and erasable EPROM; in the 8048/8049 the memory is ROM which is mask program- mable at the factory. The 8035/8039 has no internal program memory and is used with external devices. Program code is com- pletely interchangeable among the various versions. See Section 2.3 for EPROM pro- gramming techniques.

Instruction Decoder

The operation code (op code) portion of each program instruction is stored in the Instruction Decoder and converted to outputs which control the function of each of the blocks of the Arithmetic Section. These lines control the source of data and the destination register as well as the function performed in the ALU.

Page 29 of the Intel mcs-48 user manual — OSCILLATOR
Page 29 · click to enlarge
Page 29
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 29)
Fig. 28 · The Single Component . 2" MCS-4S™ S~stem

Q) o ~ Q) Q) o ~ CO OJ r-o o " c ); C) :D » s::

RESIDENT EPROM/ROM

1K x8 (2K x 8''''

~ Z C) r-m o o s:: "0 o Z m Z -I tn -< tn -I m s::

PORTl V '\/ V ~BUS r--- (B) BUFFER A A 7, A AND

LATCH

I\) '"

REGISTER

REGISTER

REGISTER

REGISTER

TEST 0

REGISTER

REGISTER

TEST 1

REGISTER

INT

REGISTER

8 lEVEL STACK (VARIABLE LENGTH)

Vee - PROGRAM SUPPLY

FLAG 1

OPTIONAL SECOND

REGISTER BANK

POWER Voo SUPPLY --:--- +5V {LOW POWER STANDBYI

TIMER FLAG

CARRY

~GND

DATA STORE

ACC

ACCSIT TEST

RESIDENT RAM ARRAY

64x 8 (128 x 8)-

OSCILLATOR

XTAL

ADDRESS

LATCH STROBE

PROGRAM

MEMORY

SINGLE READ WRITE

STEP STROBES

ENABLE

CYCLE CLOCK

Show 4 more labels / short text on this page
MUL TIPlEXERI · FLAG a · XTALl XTAL2 · *8049 only
Page 30 of the Intel mcs-48 user manual — DATA MEMORY MAP
Page 30 · click to enlarge
Page 30
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 30)
Fig. 29 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

There are three locations in Program Memory of special importance:

LOCATION 0

Activating the Reset line of the processor causes the first instruction to be fetched from location O.

2048~ , SELMai 2047~ TSELMBO

LOCATION 3

Activating the Interrupt input line of the processor (if interrupt is enabled) causes a jump to subroutine at location 3. LOCATION 7

1024 1023 --""""""

A timer/counter interrupt resulting from timer/counter overflow (if enabled) causes a jump to subroutine at location 7.

r--

LDCATION 7 - TIMER INTERRUPT VECTORS PROGRAM HERE

Therefore, the first instruction to be executed after initialization is stored in location 0, the first word of an external interrupt service subroutine is stored in location 3, and the first word of a timer/counter service routine is stored in location 7. Program memory can be used to store constants as well as program instructions. Instructions such as MOVP and MOVP3 allow easy access to data "lookup" tables.

r---

LOCATION 3 - EXTERNAL INTERRUPT VECTORS PROGRAM HERE

RESET VECTORS PROGRAM HERE

ADDRESS

MCS-48™ PROGRAM MEMORY MAP

Data Memory Resident data memory is organized as 64 or 128 words 8-bits wide. All locations are indirectly addressable through either of two RAM Pointer Registers which reside at address 0 and 1 of the register array. In addition, the first 8 locations (0-7) of the array are designated as working registers and are directly addressable by several instructions. Since these registers are more easily addressed, they are usually used to store frequently accessed intermediate results. The DJNZ instruction makes very efficient use of the working registers as pro- gram loop counters by allowing the programmer to decrement and test the register in a single instruction.

USER RAM

(96.8)

I DIRECTLY ADDRESSABLE

BANK I WORKING REGISTERS

WHEN BANK 1

-RT' -ROo -

IS SELECTED -.J

B LEVEL STACK

ADDRESSED INDIRECTLY

OR USER RAM

THROUGH

Rl OR RO (RO' OR Rl')

I DIRECTLY ADDRESSABLE

BANKO WORKING REGISTERS

By executing a Register Bank Switch instruc- tion (SEL RB) RAM locations 24-31 are designated as the working registers in place of locations 0-7 and are then directly address- able. This second bank of working registers may be used as an extension of the first bank or reserved for use during interrupt service

ax8 r ~-

WHEN BANK 0

IS SELECTED

IN ADDITION RO OR Rl (RO' OR Rl') MAY BE USED TO ADDRESS 268 WORDS OF EXTERNAL RAM.

DATA MEMORY MAP

Show 5 more labels / short text on this page
716151413121110 o · 63 (128 ) · 3h8 · ax8 · ( )8049 only
Page 31 of the Intel mcs-48 user manual — ORL. ANL
Page 31 · click to enlarge
Page 31
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 31)
Fig. 30 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

subroutines allowing the registers of Bank 0 used in the main program to be instantly "saved" by a Bank Switch. Note that if this second bank is not used. locations 24-31 are still addressable as general purpose RAM. Since the two RAM pOinter Registers RO and R1 are a part of the working register array. bank switching effectively creates two more pointer registers (RO' and R1') which can be used with RO and R1 to easily access up to four separate working areas in Ram at one time. RAM locations (8-23) also serve a dual role in that they contain the program counter stack as explained in Sec. 2.1.6. These loca- tions are addressed by the Stack Pointer during subroutine calls as well as by RAM Pointer Registers RO and R1. If the level of subroutine nesting is less than 8, all stack registers are not required and can be used as general purpose RAM locations. Each level of subroutine nesting not used provides the user with two additional RAM locations.

ports and 3 "test" inputs which can. alter program sequences when tested by conditional jump instructions.

Ports 1 and 2

Ports 1 and 2 are each 8 bits wide and have identical characteristics. Data written to these ports is statically latched and remains un- changed until rewritten. As input ports these lines are non latching, i.e., inputs must be present until read by an input instruction. Inputs are fully TTL compatible and outputs will drive one standard TTL load.

The lines of ports 1 and 2 are called quasi- bidirectional because of a special output circuit structure which allows each line to serve as an input, an output, or both even though outputs are statically latched. The figure shows the circuit configuration in detail.

Each line is continuously pulled up to +5v through a resistive device of relatively high impedance (-50KO). This pullup is sufficient to provide the source current for a TTL high level yet can be pulled low by a standard TTL gate thus allowing the same pin to be used for both input and output. To provide fast switching times in a "0" to "1" transition a relatively low

2.1.4 Input/Output

The 8048 has 27 lines which can be used for input or output functions. These lines are grouped as 3 ports of 8 lines each which serve as either inputs, outputs or bidirectional

ORL. ANL

+5V

+5V

INTERNAL 01---41-1

BUS -+---1D

"'5DK

D FLIP FLOP

I/O PIN PORT 1

AND2

eLK a

WRITE_t__ ..... __ ----' PULSE

IN

"QUASI BI DIRECTIONAL" PORT STRUCTURE

2·4

Page 32 of the Intel mcs-48 user manual — 2.1.5 Test and INT Inputs
Page 32 · click to enlarge
Page 32
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 32)
Fig. 31 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

impedance device (- 5KO) is switched in momentarily (- 500ns) whenever a "1" is written to the line. When a "0" is written to the line a low impedance (-3000) device over- comes the light pullup and provides TTL current sinking capability. Since the pulldown transistor is a low impedance device a "1" must first be written to any line which is to be used as an input. Reset initializes all lines to the high impedance "1" state. This structure allows input and output on the same pin and also allows a mix of input lines and output lines on the same port. The quasi-bidirectional port in combination with the ANL and ORL logical instructions provide an efficient means for handling single line inputs and outputs within an 8-bit processor. See also Section 3.7.

to cause program branches without the neces- sity to load an input port into the accumulator. The TO, T1, and INTpins have other possible functions as well. See the pin description in Sec. 2.2.

2.1.6 Program Counter and Stack

The Program Counter is an independent counter while the Program Counter Stack is implemented using pairs of registers in the Data Memory Array. Only 10 (or 11) bits of the Program Counter are used to address the 1024 (2048) words of on-board program memory while the most significant bits are used for external Program Memory fetches. The Program Counter is initialized to zero

by activating the Reset line.

An interrupt or CALL to a subroutine causes the contents of the program counter to be stored in one of the 8 register pairs of the Program Counter Stack. The pair to be used is determined by a 3-bit Stack Pointer which is part of the Program Status Word (PSW). Data RAM locations 8 thru 23 are available as stack registers and are used to store the Program Counter and 4 bits of PSW as shown in the figure. The Stack Pointer when initialized to 000 points to RAM locations 8 and 9. The first subroutine jump or interrupt results in the program counter contents being transferred to locations 8 and 9 of the RAM array. The stack pointer is then incremented by one to pOint to locations 10 and 11 in anticipation of another CALL. Nesting of sub- routines within subroutines can continue up to 8 times without overflowing the stack. If overflow does occur the deepest address stored (location 8 and 9) will be overwritten and lost since the stack pointer overflows from 111 to 000. It also underflows from 000 to 111.

Bus ,. Bus is also an 8-bit port ~hich is a true bi- directional port with associated input and output strobes. If the bidirectional feature is not needed, Bus can serve as either a statically latched output port or non-latching input port. Input and output lines on this port cannot be mixed however.

As a static port, data is written and latched using the OUTL instruction and inputted using the INS instruction. The INS and OUTL instruc- tions generate pulses on the corresponding

RD and WR output strobe lines; however, in the static port mode they are generally not used. As a bidirectional port the MOVX instruc- tions are used to read and write the port. A write to the port generates a pulse on the WR output line and output data is valid at the trailing edge of WR. A read of the port generates a pulse on the RD output line and input data must be valid at the trailing edge of RD. When not being written or read, the BUS lines are in a high impedance state. See also Sections 3.6 and 3.7.

The end of a subroutine, which is Signalled by a return instruction (RET or RETR). causes the Stack Pointer to be decremented and the contents of the resulting register pair to be transferred to the Program Counter.

2.1.5 Test and INT Inputs

Three pins serve as inputs and are testable with the conditional jump instruction. These are TO, T1, and INT. These pins allow inputs

Page 33 of the Intel mcs-48 user manual — R8
Page 33 · click to enlarge
Page 33
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 33)
Fig. 32 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

2.1.7 Program Status Word

I A" I A,O I Ag I As I A7 I A61 A51 A41 Aal A21 A, I AO I

An 8-bit status word which can be loaded to and from the accumulator exists called the

Program Status Word (PSW). The accom- panying figure shows the information available in the word. The Program Status Word is actually a collection of flip-flops throughout the machine which can be read or written as a whole. The ability to write to PSW allows for easy restoration of machine status after a power down sequence.

  • Counts OOOH to 7FFH
  • Overflows 7FFH to OOOH

PROGRAM COUNTER

The upper four bits of PSW are stored in the Program Counter Stack with every call to subroutine or interrupt vector and are optionally restored upon return with the RETR instruction. The RET return instruction does not update PSw.

SAVED IN STACK

STACK POINTER

I I CY I AC I FO I BS I 1

MSB

LSB

CY CARRY

The PSW bit definitions are as follows:

AC AUXILLARY CARRY FO FLAG 0 BS REGISTER BANK SELECT

Bits a - 2: Stack Pointer bits (So, s" S2)

Bit 3: Not used ("1" level when read)

PROGRAM STATUS WORD (PSW)

Bit 4Working Register Bank Switch Bit (BS) a = Bank a 1 = Bank 1
  • · · · · · · ·
  • I · :

POINTER

Bit 5Flag a bit (Fa) user controlled flag which can be comple-

R23

mented or cleared, and tested with the conditional jump in- struction JFa.

Bit 6: Auxiliary Carry (AC) carry bit generated by an ADD instruc- tion and used by the decimal adjust instruction DA A. Bit 7: Carry (CY) carry flag which indicates that the previous operation has resulted in over- flow of the accumulator.

2.1.8 Conditional Branch Logic

The conditional branch logic within the pro- cessor enables several conditions internal and external to the processor to be tested by the users program. By using the conditional jump instruction the following conditions can effect a change in the sequence of the program execution.

PSW pcs_"

R8

MSB LSB

PROGRAM COUNTER STACK

, i ! · Conventional Program Counter · PC4-7 PCo;J

Page 34 of the Intel mcs-48 user manual — INTERRUPT LOGIC
Page 34 · click to enlarge
Page 34
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 34)
Fig. 33 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

2.1.9 Interrupt An interrupt sequence is initiated by applying a low "0" level input to the INT pin. Interrupt is level triggered and active low to allow "WIRE DRing" of several interrupt sources at the input pin. The Interrupt line is sampled every machine cycle during ALE and when detected causes a "jump to subroutine" at location 3 in program memory as soon as all cycles of the current instruction are complete. INT must be held low for at least T Cy to ensure proper

Jump Conditions

Device Testable

(Jump On)

not all

Accumulator Accumulator Bit Carry Flag

All zeros

zeros

1 1 1 1 1

° ° °

User Flags (FO, F1) Timer Overflow Flag Test Inputs (TO, T1) .Interrupt Input (INT)

CONDITIONAL JUMP LOGIC

TIMER

FLAG

INTERRUPT

JTF EX ECUTEO--.:r--.

CALL EXECUTED

RESET >--+--1 R

CLR r-------I D Q

EXTERNAL INTERRUPT RECOGNIZED

S

Q

TIMER OVERFLOW

TIMER INTERRUPT RECOGNIZED

FF

Q

TIMER INT ___ .... -. RECOGNIZED EXECUTED

R

S

INTERRUPT

IN PROGRESS

FF

Q

R

TIMER

INT ENABLE

R

Q

mT~ ______ ~ PIN

INT

RESET

FF

RETR EXECUTED

Q

CLK

ALE---I-'"

LAST CYCLE }- ____ ....l

OF INST.

NOTE:

EN I EXECUTED

S

Q

1. INT INPUT IS SAMPLED BY ALE EVERY MACHINE CYCLE EXCEPT FIRST CYCLE OF DOUBLE CYCLE INSTRUCTION.
2. WHEN INTERRUPT IN PROGRESSf/f ISSET ALL FURTHER INTERRUPTS ARE LOCKED OUT INDEPENDENT OF STATE OF EITHER INTERRUPT ENABLE f/f. 3. WHILE TIMER INTERRUPTS ARE DISABLED TIMER OVERFLOW f/f WILL NOT STORE ANY OVERFLOW THAT OCCURS. TIMER

INT ENABLE

DISI

EXECUTED

R

RESET---:&..._

FLAG WILL BE SET, HOWEVER.

INTERRUPT LOGIC

Page 35 of the Intel mcs-48 user manual — Interrupt Timing
Page 35 · click to enlarge
Page 35
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 35)
Fig. 34 · The Single Component . 2" MCS-4S™ S~stem

." 't t SINGLE COMPONENT SYSTEM

interrupt operations. As in any CALL to sub- routine, the Program Counter and Program Status word are saved in the stack. For a description of this operation see the previous section, Program Counter and Stack. Pro- gram Memory location 3 usually contains an unconditional jump to an interrupt service subroutine elsewhere in program memory. The end of an interrupt service subroutine is signalled by the execution of a Return and Restore Status instruction RETR. The inter- rupt system is single level in that once an inter- rupt is detected all further interrupt requests are ignored until execution of an RETR re- enables the interrupt input logic. This occurs at the beginning of the second cycle of the RETR instruction. This sequence holds true also for an internal interrupt generated by timer overflow. If an internal timer/counter generated interrupt and an external interrupt are detected at the same time, the external source will be nicognized. See the following Timer/Counter section for a description of timer interrupt. If heeded, a second external interrupt can b,e cr~ated by enabling the timer/counter i'1terrupt, loading FFH in the Counter (one less than terminal count), and enabling the event counter mode. A "1" to "0" transition on the T1 input will then cause an

also be tested using the conditional jump instruction JNI. This instruction may be used to detect the presence of a pending interrupt before interrupts are enabled. If interrupt is left disabled, iNT may be used as another test input like TO and T1.

2.1.10 Timer/Counter

The 8048 contains a counter to aid the user In counting external events and generating ac- curate time delays without placing a burden on the processor for these functions. In both modes the counter operation is the same, the only difference being the source of the input to the counter.

Counter

The 8-bit up binary counter is presettable and readable with two MOV instructions which transfer the contents of the accumulator to the cou nter and vice versa. The cou nter content is not affected by Reset and is initialized solely by the MOV T,A instruction. The counter is stopped by a Reset or STOP TCNT instruction and rer;nains stopped until started as a timer by a START T instruction or as an event counter' by a START CNT instruction. Once started the counter will increment to its maxi- mum count (FF) and overflow to zero contin- uing its count until stopped by a STOP TCNT instruction or Reset.

interrupt vector to location 7.

Interrupt Timing

The increment from maximum count to zero

The interrupt input may be enabled or disabled under Program Control using the EN I and DIS I instructions. Interrupts are disabled by Reset and remain so until enabled by the users program. An.interrupt request must be removed before the RETR instruction is ex- ecuted upon return from the service routine otherwise the processor will re-enter the ser- vice routine immediately. Many peripheral devices prevent this situation by resetting their interrupt request line whenever the pro- cessor accesses (Reads or Writes) the periph- erals data buffer register. If the interrupting device does not require access by the pro- cessor, one output line of the 8048 may be designated as an "interrupt acknowledge" which is activated by the service subroutine to reset the interrupt request. The INT pin may

(overflow) results in the setting of an overflow flag flip-flop and in the .generation of an interrupt request. The state of the overflow flag is testable with the conditional jump instruction JTF. The flag is reset by executing a JTF or by Reset. The interrupt request is stored in a latch and then ORed with the external interrupt input iNT. The timer interrupt may be enabled or di$at:>ledindependently of external interrupt by the EN TCNTI and DIS TCNTI instructions. If enabled, the counter overflow will cause a subroutine call to location 7 where the timer or counter service routine may be stored. If timer and external interrupts occur simultaneously, the external source will be recognized and the Call will be to location 3. Since the timer interrupt is latched it will remain pending until the external device. is

2·8

Page 36 of the Intel mcs-48 user manual — The on-board oscillator is a high gain parallel
Page 36 · click to enlarge
Page 36
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 36)
Fig. 35 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

PRESCALER

LOAD OR READ

CLEARED ON START TIMER

JUMP ON TIMER FLAG

..... ----..., START

COUNTER

EDGE DETECTOR

8 BIT TIMER/ EVENT COUNTER

o STOP T

NOT CLEARED ON RESET

INT

TIMER/EVENT COUNTER

serviced and immediately be recognized upon return from the service routine. The pending timer interrupt is reset by the Call to location 7 or may be removed by executing a DIS TCNTI instruction.

msec may be achieved by accumulating mUl- tiple overflows in a register under software control. For time resolution less than 80 /-tsec an external clock can be applied to the T1 input and the counter operated in the event counter mode. ALE divided by 3 or more can serve as this external clock. Very small delays or "fine tuning" of larger delays can be easily accomplished by software delay loops.

As an Event Counter

Execution of a START CNT instruction con- nects the T1 input pin to the counter input and enables the counter. Subsequent high to low transitions on T1 will cause the counter to increment. The maximum rate at which the counter may be incremented is once per three instruction cycles (every 7.5/-tsec when using a 6MHz crystal)-there is no minimum frequency. T1 input must remain high for at least 500ns (at 6MHz) after each transition.

2.1.11 Clock and Timing Circuits

liming generation for the 8048 is completely self-contained with the exception of a fre- quency reference which can be XTAL, inductor, or external clock source. The Clock and Timing circuitry can be divided into the following functional blocks:

As a Timer

Oscillator

Execution of a START T instruction connects an internal clock to the counter input and enables the counter. The internal clock is derived by passing the basic 400 KHz machine cycle clock ALE through a -7- 32 prescaler. The prescaler is reset during the START T instruction. The resulting 12.5 KHz clock increments the counter every 80 /-tsec (assuming 6 MHz XTAL). Various delays between 80 /-tsec and 20 msec (256 counts) can be obtained by presetting the counter and detecting overflow. limes longer than 20

The on-board oscillator is a high gain parallel

resonant circuit with a frequency range of 1 to 6MHz. The X1 external pin is the input to the amplifier stage while X2 is the output. A crystal or inductor connected between X1 and X2 provides the feedback and phase shift required for oscillation. A 5.9904 MHz crystal provides for easy derivation of all standard communications frequencies. If an accurate frequency reference and maximum processor speed are not required, an induc-

XTAL-c 15 · ENABLE a_~

Page 37 of the Intel mcs-48 user manual — PROG
Page 37 · click to enlarge
Page 37
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 37)
Fig. 36 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

tor may be used in place of the crystal. With an inductor the oscillator frequency can be approximately 3 to 5 MHz. For higher speed operation a crystal should be used. An externally generated clock may also be applied to X1-X2 as the frequency source. See the data sheet for more information.

Cycle Counter

ClK is then divided by 5 in the Cycle Counter to provide a clock which defines a machine cycle conSisting of 5 machine states. This clock is called Address latch Enable (ALE) because of its function in MCS-48 systems with external memory. It is provided continu- ously on the ALE output pin.

State Counter

The output of the oscillator is divided by 3 in the State Counter to create a clock which defines the state times of the machine (ClK). ClK can be made available on the external pin TO by executing an ENTO ClK instruction. The output of ClK on TO is disabled by Reset of the processor.

2.1.12 Reset

The reset input provides a means for initializa- tion for the processor. This Schmitt-trigger input has an internal pullup resistor which in combination with an external 1 ~fd capacitor provides an internal reset pulse of sufficient length to guarantee all circuitry is reset. If the

DIAGRAM OF 8048 CLOCK UTILITIES

INSTRUCTION CYCLE . 2.5 .usee CYCLE . 1 S5 SI S2 53 1 54 1 S5 SI I

INPUT DECODE EXECUTION INPUT INST.

OUTPUT ADDRESS INC. PC OUTPUT ADDRE55 I i I I ~

MCS-48™ CYCLE TIMING

CLOCK OUT ON TO

ALE

--"f---+--+-'

~ ~~ ., ~

PROG

sa 54 55 · 53 54 55 · ~~f--~--+--~--~-,

Page 38 of the Intel mcs-48 user manual — INSTRUCTION TIMING DIAGRAM
Page 38 · click to enlarge
Page 38
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 38)
Fig. 37 · The Single Component . 2" MCS-4S™ S~stem

CYCLE 1

CYCLE 2

INSTRUCTION S1 52 S3 54

FETCH · INCREMENT -- INCREMENT INA,P INSTRUCTION PROGRAM COUNTER TIMER

S5 --

S1 S2 53 54 55 · -- READ PORT -- -- -- · --

FETCH INCREMENT INCREMENT QUTL P,A INSTRUCTION PROGRAM COUNTER -- TIMER

OUTPUT TO PORT

FETCH · INCREMENT OUTPUT -- -- IMMEDIATE DATA PROGRAM COUNTER TO PORT · FETCH -- INCREMENT OIffi'UT -- IMMEDIATE DATA PROGRAM COUNTER TO PORT · -- READ PORT -- -- -- · -- · FETCH -- IHCREMENT OUTPUT -- IMMEDIATE DATA PROGRAM COUNTER TO PORT

FETCH INCREMENT INCREMENT ANLP.=OATA -- INSTRUCTION PROGRAM COUNTER TIMER

READ PORT

FETCH INCREMENT INCREMENT QRL P, ::DATA -- INSTRUCTION PROGRAM COUNTER TIMER

READ PORT

!! z Ci) r-m n o 3: '111 o Z m Z -t en -< en -t m 3:

FETCH INCREMENT INCREMENT INS A. BUS INSTRUCTION PROGRAM COUNTER -- TIMER

FETCH INCREMENT INCREMENT OUTLBUS.A INSTRUCTION PROGRAM COUNTER -- TIMER

OUTPUT TOPQRT

FETCH · INCREMENT INCREMENT ANL BUS, :rDATA INSTRUCTION PROGRAM COUNTER -- TIMER

READ PORT

FETCH · INCREMENT INCREMENT ORL BUS, 4JATA INSTRUCTION PROGRAM COUNTER -- TIMER

FETCH -- · INCREMENT OllTl'UT -- IMMEDIATE DATA PROGRAM COUNTER TO PORT · -- · -- READ DATA -- -- -- · -- READ -- -- -- P2 LOWER · -- · -- · -- · FETCH UPDATE -- -- -- IMMEDIATE DATA PROGRAM COUNTER

READ PORT

FETCH INCREMENT OUl'PUTRAM INCREMENT [email protected] INSTRUCTION PROGRAM COUNTER ADDRESS TIMER - FETCH INCREMENT OUTPUT RAM INCREMENT MOVXA,OR INSTRUCTION PROGRAM COUNTER ADDRESS TIMER

OUTPUT DATA TO RAM

FETCH INCREMENT OUTPUT INCREMENT MOVDA,Pi INSTRUCTION PROGRAM COUNTER OPCODE/ADDRESS TIMER

FETCH INCREMENT OUTPUT INCREMENT MOVDPj,A INSTRUCTION PROGRAM COUNTER OPCODE/ADDRESS TIMER

OUTPUT DATA

TOP2LOWER

FETCH INCREMENT OUTPUT INCREMENT ANLDP,A INSTRUCTION PROGRAM COUNTER QPCODE/ADDRESS TIMER

OUTPUT

DATA

FETCH INCREMENT OUTPUT INCREMENT ORLD P,A INSTRUCTION PROGRAM COUNTER OPCODE/ADDRESS TIMER

OUTPUT

DATA --

FETCH INCREMENT SAMPLE INCREMENT J ICONDITIONAL) INSTRUCTION PROGRAM COUNTER CONDITION TIMER

STRT T FETCH INCREMENT STRT CNT INSTRUCTION PROGRAM COUNTER -- --

START COUNTER

STOP TCNT FETCH · INCREMENT -- -- INSTRUCTION PROGRAM COUNTER

STOP COUNTER

EN. FETCH · INCREMENT -- ENABLE INSTRUCTION PROGRAM COUNTER INTERRUPT

-- -- --

DIS I FETCH INCREMENT -- DISABLE INSTRUCTION PROGRAM COUNTER INTERRUPT

ENTOCLK FETCH · INCREMENT -- ENABLE INSTRUCTION PROGRAM COUNTER CLOCK - -----------

·VALID INSTRUCTION ADDRESSES ARE OUTPUT AT THIS TIME IF EXTERNAL PROGRAM MEMORY IS BEING ACCESSED.

INSTRUCTION TIMING DIAGRAM

'l'

Page 39 of the Intel mcs-48 user manual — 2.1.13 Single-Step
Page 39 · click to enlarge
Page 39
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 39)
Fig. 38 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

reset pulse is generated externally the RESET pin must be held at ground LSV) for at least 10 milliseconds after the power supply is within tolerance. Only S machine cycles (12.SJls @ 6 MHz) are required if power is already on and the oscillator has stabilized.

Timing

The 8048 operates in a single-step mode as follows:

1. The processor is requested to stop by applying a low level on SS.
2. The processor responds by stopping during the instruction fetch portion of the next instruction. If a double cycle instruction is in progress when the single step command is received, both cycles will be completed before stopping.

EXTERNAL RESET

+5V

3. The processor acknowledges it has entered the stopped state by raising ALE high. In this state (which can be maintained indefinitely) the address of the next instruction to be fetched is present on BUS and the lower half of port 2.

POWE R ON RESET

+5V

--D..- 'K f

K!J

", lOVI

4. SS is then raised high to bring the processor out of the stopped mode allowing it to fetch the next instruction. The exit from stop is indicated by the processor bringing ALE low.

Reset performs the following functions:

1. Sets program counter to zero. 2. Sets stack painter to zero. 3. Selects register bank O. 4. Selects memory bank O. S. Sets BUS to high impedance state.

S. To stop the processor at the next instruc- tion SS must be brought low again as soon as ALE goes low. If SS is left high the pro- cessor remains in a "Run" mode.

(except when EA = SV) 6. Sets Ports 1 and 2 to input mode. 7. Disables interrupts (timer and external) 8. Stops timer. 9. Clears timer flag. 10. Clears FO and F1. 11. Disables clock output from TO.

A diagram for implementing the single step function of the 8748 is shown. A D-type flip- flop with preset and clear is used to generate

SS. In the run mode SS is held high by keeping the flip-flop preset (preset has prec- edence over the clear input). To enter single step, preset is removed allowing ALE to bring SS low via the clear input. ALE should be buffered since the clear input of an SN7474 is the equivalent of 3 TTL loads. The processor

2.1.13 Single-Step

This feature provides the user with a debug capability in that the processor can be stepped through the program one instruction at a time. While stopped, the address of the next instruc- tion to be fetched is available concurrently on BUS and the lower half of Port 2. The user can therefore follow the program through each of the instruction steps. A timing diagram, showing the interaction between output ALE and input SS is shown. The BUS buffer contents are lost during single step; how- ever, a latch may be added to re-establish the lost I/O capability if needed. (See 2.4.1).

is now in the stopped state. The next instruc- tion is initiated by clocking a "1" into the flip- flop. This "1" will not appear on SS unless ALE is high removing clear from the flip-flop.

In response to SS going high the processor begins an instruction fetch which brings ALE low resetting SS through the clear input and causing the processor to again enter the stopped state.

Show 5 more labels / short text on this page
"=200 · Ku · ACTIVE PUlLUP · ""200 · 2·12
Page 40 of the Intel mcs-48 user manual — SINGLE STEP CIRCUIT
Page 40 · click to enlarge
Page 40
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 40)
Fig. 39 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

SINGLE STEP CIRCUIT

+6V

+BV

SINGLE 10K STEP

MOMENTARY PUSHBUTTON

10K

r,UN

'---:P=RE~SE=T --,

+BV

,------1> CLOCK

10K

DEBOUNCE LATCH

'----<1ALE

SINGLE STEP TIMING

, I S3 84 I S5 S1

I S2 S3 S4 S5 I I

ALE -.J

ss

) X 1/0

BUS <

PCO·7

P20·23 1/0 X PC8·11

RUN I STOP

RUN STOP

2.1.14 Power Down Mode (8048, 8049, 8039,8035L)

Vee serves as the 5V supply pin for the bulk of 8048 circuitry while the Voo pin supplies only the RAM array. Ih normal operation both pins are at 5V while in standby Vee is at ground and only Vob is maintained at 5V.

Extra circuitry has been added to the 8048 ROM version. to allow Rower to be removed from aU but the 64/128 x 8 data RAM array for low power standby operation. In the power down mode the contents of data RAM can be maintained while drawing typically 10% to 15% of normal operating power requirements.

Applying Reset to the processor through the RESET pin inhibits any access to the

RAM by the processor and guarantees that RAM cannot be inadvertently altered as power is removed from Vee.

+6V D o · 1/27400 · 2·13

Page 41 of the Intel mcs-48 user manual — 8048 LOGIC SYMBOL
Page 41 · click to enlarge
Page 41
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 41)
Fig. 40 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

effectively disable internal program mem- ory by forcing all program memory fetches to reference external memory. The follow- ing chapter explains how access to external program memory is accomplished.

POWER SUPPLY 1 """

PROCESSOR 1 ~I-- INTERRUPTED I. I

POWER SUPPlY---{ 1 1 NORMAL FAil SIGNAL ~ __ I POWERON 1 I 1 SEQUENCE I I FOllOWS

RESET i U

The External Access mode is very useful in system test and debug because it allows the user to disable his internal applications pro- gram and substitute an external program of his choice-a diagnostic routine for instance. In addition, the section on Test and Debug explains how internal program memory can be read externally, independent of the processor.

I DATA SAVE ROUTINE EXECUTED

I ACCESS TO DATA RAM INHIBITED

POWER DOWN SEQUENCE

A "1" level on EA initiates the external access mode. For proper operation, Reset should be applied while the EA input is changed.

A typical power down sequence occurs as follows:

1. Imminent power supply failure is detected by user defined circuitry. Signal must be early enough to allow 8048 to save all necessary data before Vee falls below normal operating limits.

2.2 Pin Description

The MCS-48 processors (except 8021) are packaged in 40 pin Dual In-Line Packages (DIP's). The following is a summary of the functions of each pin. Where it exists, the second paragraph describes each pin's function in an expanded MCS-48 system. Unless otherwise specified, each input is TTL compatible and each output will drive one standard TTL load.

2. Power fail signal is used to interrupt processor and vector it to a power fail service routine.
3. Power fail routine saves all important data and machine status in the internal data

RAM array. Routine may also initiate trans- fer of backup supply to the Voo pin and indicate to external circuitry that power fail routine is complete.

4. Reset is applied to guarantee data will not be altered as the power supply falls out of limits. Reset must be held low until Vee is at ground level.

XTAL{ PORT 8 #1.

RESET

Recovery from the Power Down mode can occur as any other power-on sequence with an external capacitor on the Reset input providing the necessary delay. See the previ- ous section on Reset.

SINGLE STEP 8 PORT . #2 EXTERNAL

MEM.

READ

TEST {

WRITE

INTERRUPT PROGRAM STORE ENABLE ADDRESS BUS 8 LATCH eNABLE

2.1.15 External Access Mode

Normally the first 1 K (8048) or 2K (8049) words of program memory are automati- cally fetched from internal ROM or EPROM. The EA input pin however allows the userto

8048 LOGIC SYMBOL

Page 42 of the Intel mcs-48 user manual — *8048,8748,8049
Page 42 · click to enlarge
Page 42
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 42)
Fig. 41 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

Pin* Designation Number Function

20 Circuit GND potential

26 Programming power supply; + 25V during program,

+ 5V during operation for both ROM and PROM. low power standby pin in 8048 ROM version

40 Main power supply; + 5V during operation and 8748 programming.

PROG

25 Program pulse (+23V) input pin during 8748 programming. Output strobe for 8243 I/O expander.

P10-P17 (Port 1)

27-34 8-bit quasi-bidirectional port. (Internal Pullup "" 50KOJ

P20-P27 (Port 2)

21-24 8-bit quasi-bidirectional port. (Internal Pullup "" 50KOJ 35-38 P20-P23 contain the four high order program counter bits during an external program memory fetch and serve as a 4-bit I/O expander bus for 8243.

00-07 (BUS)

12-19 True bidirectional port which can be written or read syn- chronously using the RO, WR strobes. The port can also be statically latched.

Contains the 8 low order program counter bits during an external program memory fetch, and receives the ad- dressed instruction under the control of PSEN. Also con" tains the address and data during an external RAM data store instruction, under control of ALE, RD, and WR.

TO

Input pin testable using the conditional transfer instruc- tions JTO and JNTO. TO can be designated as a clock output using ENTO ClK instruction. TO is also used dur- ing programming.

T1

Input pin testable using the JT1, and JNT1 instructions. Can be designated the event counter input using the STRT CNT instruction.

Interrupt input. Initiates an interrupt if interrupt is enabled. Interrupt is disabled after a reset. (Active low)

Output strobe activated during a BUS read. Can be used to enable data onto the BUS from an external device. (Active low) Used as a Read Strobe to External Data Memory.

*8048,8748,8049

Show 4 more labels / short text on this page
Vss · Voo · Vee · 2·15
Page 43 of the Intel mcs-48 user manual — 2.3.1 ProgramminglVerification Verify (5V) Mode
Page 43 · click to enlarge
Page 43
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 43)
Fig. 42 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

Pin Designation Number Function

RESET 4 Input which is used to initialize the processor. Also used during PROM programming and verification. (Active low) (Internal pullup "'" 200KO)

WR 10 Output strobe during a BUS write. (Active low) Used as write strobe to external data memory.

ALE 11 Address Latch Enable. This signal occurs once during each cycle and is useful as a clock output.

The negative edge of ALE strobes address into external data and program memory.

Program Store Enable. This output occurs only during a fetch to external program memory. (Active Low)

Single step input can be used in conjunction with ALE to "single step" the processor through each instruction. (Active Low) (Internal pullup '" 300KOl

EA 7

External Access input which forces all program memory fetches to reference external memory. Useful for emula- tion and debug, and essential for testing and program verification. (Active High) (Internal pullup '" 10MO on 8048/8049, 8035L, 8039 only)

XTAL1 2

One side of crystal input for internal oscillator. Also input for external source.

XTAL2 3

Other side of crystal/external source input.

Unless otherwise stated inputs do not have internal pullup resistors.

2.3 Programming, Verifying and Pin Function Erasing EPROM XTAL 1 Clock Input (1 to 6MHz) The internal Program Memory of the 8748 Reset Initialization and Address may be erased and reprogrammed by the user Latching as explained in the following sections. See also the 8748 data sheet. Test 0 Selection of Program (OV) or

2.3.1 ProgramminglVerification Verify (5V) Mode

In brief, the programmin'g process consists EA Activation of Program/Verify

of: activating the program mode, applying an Modes

address, latching the address, applying data, BUS Address and Data Input and applying a programming pulse. Each Data Output During Verify word is programmed completely before moving

P2D-1 Address Input on to the next and is followed .by a verifica- tion step. The following is a list of the pins Voo Programming Power Supply used for programming and a description of their functions: PROG Program Pulse Input

Page 44 of the Intel mcs-48 user manual — PROGRAMMINGIVERIFY. SEQUENCE
Page 44 · click to enlarge
Page 44
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 44)
Fig. 43 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

+5V

RESET

O------------~--~

--- BUS AND PROG CAN BE DRIVEN ONLY DURING THIS TIME-I 1--------

+5V---...., TEST 0

+23V EA

+5V ____ ---I

BUS ( ADDRESS AO-A7 X

DATA > < DATA OUT

PREVIOUS X

ADDRESS A8-A9 ADDRESS P20·21

+25V

VDD +5V-----------------------------------------I

+23V I FLOAT PROG +OV - - -- ,'-- ---1 FLOAT '--__ --i' - - --

SEE 8048/8748 DATA SHEET (CHAPTER 6) FOR DETAIL TIMING SPECIFICATIONS.

is the appearance of the ALE clock output. The lack of this clock may be used to disable the programmer.

PROGRAMMINGIVERIFY. SEQUENCE

8748 Erasure Characteristics

The erasure characteristics of the 8748 are such that erasure begins to occur when exposed to light with wavelengths sh

When erased, bits of the 8748 Program Memory are in the logic "0" state.

The recommended erasure procedure for the 8748 is exposure to shortwave ultra- violet light which has a wavelength of 2537 Angstroms tAl. The integrated dose (i.e., UV intensity X exposure time) for erasure should be a minimum of 15W-sec/cm2. The erasure time with this dosage is approxi- mately 15 to 20 minutes using an ultraviolet lamp with a 12000jlW/cm2 power rating. The 8748 should be placed within one inch from the lamp tubes during erasure. Some lamps have a filter on their tubes and this filter should be removed before erasure.

which should be placed over the 8748 win- dow to prevent unintentional erasure.

o

Page 45 of the Intel mcs-48 user manual — 2.4.3 Reading Internal Prograin Memory
Page 45 · click to enlarge
Page 45
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 45)
Fig. 44 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

The ProgramlVerify sequence is:

P23

1. Voo = 5v, Clock applied or internal oscillator operating, Reset = Ov Test 0 = 5v, EA = 5v, BUS and PROG floating

P22

P20

DB7

2. Insert 8748 in programming socket

DB6

3. Test 0 = Ov (Select Program Mode)

DB5

4. EA = 23V (Activate Program Mode)

DB4

DB3

DB2

5. Address applied to BUS and P20-1

6. Reset = 5v (Latch Address)

DBO

7. Data applied to BUS

8. Voo = 25v (Programming Power)

ADDRESS OUTPUT DURING SINGLE STEP

9. PROG = Ov followed by one 50ms pulse to 23V

This allows the user to step through his program and note the sequence of instruc- tions being executed.

10. Voo = 5v

11. TEST 0 = 5v (Verify Mode)

While the processor is stopped, the I/O information on BUS and the 4-bits of port 2 is, of course, not available. I/O information is, however, valid at the leading edge of ALE and can be latched externally using this signal if necessary.

12. Read and Verify Data on BUS

13. TEST 0 = Ov

14. Reset = Ov and repeat from Step 5

15. Programmer should be at conditions of Step 1 when 8748 is removed from socket.

2.4.2 Disabling Internal Program Memory

Applying +5V to the EA (external access) pin of the MCS-48 microcomputers allows the user to effectively disable internal program memory by forcing all instruction fetches to occur from an external memory. This external memory can be connected as explained in the section on program memory expansion and can contain a diagnostic routine to exercise the processor, the internal RAM, the timer, and the I/O lines. EA should be switched only when the processor is in RESET.

2.4 Test and Debug

Several MCS-48 features described in the previous sections are discussed here to emphasize their use in testing MCS-48 components and in debugging MCS-48 based systems.

2.4.1 Single Step

Single step circuitry within the micro- computer in combination with the external circuitry described in Section 2.1.13 allows the user to execute one instruction at a time whether the instruction is one or two cycles in length. After completion of the instruction the processor halts with the address of the next instruction to be fetched available on the eight lines of BUS and the lower 4-bits of port

2.4.3 Reading Internal Prograin Memory

Just as the processor may be isolated from internal program memory using EA, program memory can be read independent of the processor using the verification mode des- cribed in the previous section, Programming/ Verification.

P2l · DBl

Page 46 of the Intel mcs-48 user manual — Q 7474 0
Page 46 · click to enlarge
Page 46
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 46)
Fig. 45 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

The processor is placed in the READ mode by applying a high voltage (+23V for the 8748, +12V for the 8048/8049) to the EA pin and +5V to the TO (8748 only) input pin. RESET must. be at OV when voltage is ap- plied to EA. The address of the location to be read is then applied to the same lines (TTL levels) of BUS and Port 2 which output

the address during single step (see below). The address is latched by a "0" to "1" transition on RESET and a high level on

RESET causes the contents of the program memory location addressed to appear on the eight lines of BUS. RESET must be

brought back to OV before leaving the READ mode.

P22

A,

P21

P20

I. I---- A7

DB7

liD. I'i-- Aa

1/0, 10 I---- A4 6218 D.rD, -

DB8

DBS

110, 0, 1 00 0,1 0•

DB4 804B B748

1100 00 rD,

i5iE'N a-

DB3

f ~ rDATA OUT

DB2

OBI

O,rD•

DBO

1/0. O'rDo 0,1---- 0 ,

1/0, 001---- 00 - 8218 I.i-- A•

RESET

1/0, I,t--- A, I'I A,

EA I---

1/00 lot---Ao i5iEN Ci

t ~ I 1/2

ALE TO l-

-[+23V 8748 I CK +12V 8048 J

Q 7474 0

RESET'

{+5V 8748 NC 8048

TO 8748 ONLY

5V RESET

I i I I ><

+12V (+23V) EA

5V <

BUS ADDRESS

DATA

P2[J.21 <

ADDRESS

READING INTERNAL PROGRAM MEMORY

A1D (8049) only) · Aa · I, i--As

Page 47 of the Intel mcs-48 user manual — DIRECTLY ADDRESSABLE
Page 47 · click to enlarge
Page 47
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 47)
Fig. 46 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

8021 Functional. Specifications

The following is a functional description of the major elements of the 8021.

return address generated. The SP to this pushdown stack is incremented by one after a return address is stored, and decre- mented by one before an address is fetched during a RET. The unincremented program counter address is stored in the address stack. The stack contents is incremented before being loaded into the program coun- ter during a return from subroutine. A total of 8 levels of nesting is possible. The SP is initialized to location 8 upon RESET. Since each address is 10-bits long, two bytes must be used to store a single address. The SP is incremented and decremented by one, but each increment or decrement moves the address pointed to by two. Therefore, only even numbered addresses are pointed to.

2.5 Program Memory

The 8021 contains 1 K x 8 of mask programmable ROM. No external ROM expansion capability is provided. 2.6 Data Memory

A 64 x 8 dynamic RAM is located on chip for data storage. All locations are indirectly addressable and eight designated locations are directly addressable. Also, included in the memory is the address stack, addressed

by a 3-bit stack pointer.

Memory is organized as shown in Figure 1. The least significant 8 addresses, 0-7, are directly addressable by any of the 11 direct register instructions. The locations are readily accessible for a variety of opera- tions with the least number of instruction

If a particular application does not require 8 levels of nesting, the unused portion of the stack may be used as any other indirectly addressable scratch pad location. For ex- ample, if only 3 levels of subroutine nesting are used, then only locations 8-13 need be reserved for the address stack, and loca- tions 14-63 can be used for data storage.

bytes required for their manipulation. Registers 0 and 1 have another function, in that they can be used to indirectly address all locations in memory, using the indirect register instructions. These indirect RAM address registers, IRAR's, are especially useful for repetitive-type operations on adjacent memory locations. The indirect register instruction specifies which IRAR to use, and the contents of the I RAR is used to address a location in RAM. The contents of the addressed location is used during the execution of the instruction and may be modified. A value larger than 63should not be preset in the IRAR when selected by an indirect register instruction. IRAR's may point to address 0-7, if desired.

LOC 24·63

INDIRECTLY ADDRESSABLE

FOR ADDRESS STACK I

CAN BE USED

BY IRARO OR 1

LOC 8-23

7 6 5 4 3 2 IRAR 1 IRAR 0

Locations 8-23 may be used as the address stack. The address stack enables the pro- cessor to keep track ofthe return addresses generated from CALL instructions. A 3-bit stack pointer (SP) supplies the address of the locations to be loaded with the next

DIRECTLY ADDRESSABLE

FIGURE 1. INTERNAL RAM ORGANIZATION

}

Page 48 of the Intel mcs-48 user manual — FIGURE 2. 8021 TIMING DIAGRAM
Page 48 · click to enlarge
Page 48
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 48)
Fig. 47 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

2.7 Oscillator and Clock

The 8021 utilizes dynamic RAM and certain other dynamic logic. Due to the clocking required with dynamic circuits, the oscil- lator frequency must be equal to or greater than 600K Hz, or improper operation may occur.

The 8021 contains its own onboard oscilla- tor and clock circuit, requiring only an external timing control element. This con- trol element can be a crystal, inductor, or clock in. The capacitor normally required in inductor timing control operation is inte- grated onto the 8021. All internal time slots are derived from the external element, and all outputs are a function of the oscillator frequency. Pins XT AL 1 and XTAL2 are used to input the particular control element. An instruction cycle consists of 10 states, and each state is a time slot of 3 oscillator periods. (See Figure 2) Therefore, to obtain a 10 Msec instruction cycle, a 3M Hz crystal should be used. An oscillator frequency of approximately 3MHz may also be obtained by connecting a 470 MH inductor between XTAL 1 and XTAL2. Note that the required inductance may vary and should be adjust- ed as necessary.

2.8 Timer/Event Counter The 8021 has internal timer/event counter circuits that can monitor elapsed time or count external events that occur during program execution. The circuit has an 8-bit binary up-counter that is presettable and readable with two MOV instructions. These instructions transfer the contents of the accumulator to the counter and vice-versa. The counter content is not affected by Reset, and is initialized solely by the MOV r,A instruction. The counter is stopped by a RESET or STOP TCNT instruction and remains stopped until started as a timer by a STRT T instruction or as an event counter by a STRT CNT instruction. Once started,

CYCLE r C1 • 'I' C2 1

TIMES I 1 I 2 I 3 I 4 I 5 I 6 I 7 I 8 I 9 I 10 I 1 5 I 6 I 7 I 8 I 9 I 10 I

ALE n n ~

IN >C

DATA

PO,P1,P2 _______ --J X '- ___ DA_T_AO_U_T _____________ _

All PORTS FOR IN AND OUTl INSTRUCTIONS

FIGURE 2. 8021 TIMING DIAGRAM

2·21

Page 49 of the Intel mcs-48 user manual — INPUT BUFFER
Page 49 · click to enlarge
Page 49
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 49)
Fig. 48 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

the .. counter increments to its maximum count (FF), and overflows to zero. The count continues until stopped by a STOP TCNT instruction or RESET. The increment from maxini"um . count to zero (overflow) sets an overflow flag. The state of the overflow flag is testable with the conditional jump in- struction JTF. The flag is reset byJTF but not by executing a RESET, unlike the 8748. Bya MOV T,A instruction, the contents of the accumulator are loaded to the timer. At the STRT T command an internal prescaler is zeroed and thereafter increments once each 30 input clocks (once each single cycle instruction, twice each double cycle instruction>. The prescaler is a divide by 32. At the (11111) to (00000> transition the timer is incremented. The timer is 8-bits and an overflow (FFH) to (OOH) timer flag is set. A conditional branch instruction (JTF) is available for testing this flag, the flag being reset each test. Total count capacity forthe timer is 28 x 25 = 8192 or 81.9 msec at a 10 Msec cycle time. Contents of the. timer are moved to the accumulator by the MOV A,T instruction without disturbing the counting process. The timer stops upon the STOP TCNT instruction.

matic of the quasi-bidirectional inter- face is shown in Figure 3. This con- figuration allows buffered output~, and also allows external input. Data written to these ports is statically latched and remains

unchanged until rewritten. As input ports these lines are non-latching, i.e., inputs must be present until read by an input instruction. When writing a "0" or low value to these ports, the large pulldown device sinks an external TTL load. When writing a "1", a large current is supplied through the large pullup device to allow a fast data transfer. After a short time (less than one instruction cycle), the large device is shut off and the small pullup maintains the "1" level indefinitely. However, in this situation, an input device capable of overriding the small amount of sustaining current sup- plied by the pullup device can be read, (Alternatively, the data written ca"n be read>' So, by writing a "1" to any particular pin, that pin can serve either as a true high:-Ievel

latched output pin, or as just a pullup resistor on an input. This allows maximum user flexibility in selecting his input or latched output pins, with a minimum of external components.

Port 00-07 is also quasi-bidirectional, except there is no large pullup device. As outputs, this port is essentially open drain. By mask option the small pullup devices on POO-P07 may be deleted on any pin providing a true open drain output. This is useful in driving analog circuits and certain loads, such as keyboards.

The STRT CNT instruction connects the T1 input pin to the event counter input and enables the counter. Subsequent high-to- low transitions on T1 increment the counter. The maximum rate at which the counter can increment is once per three instruction cycles (30MS for a 3 MHz oscillator>. There is no minimum frequency. T1 input must remain high for at least 500ns after each transition. The event counter is stopped by a STOP TCNT instruction.

2.9 Input/Output Capabilities The 8021 I/O configurations are highly flexible. A number of different configur- ations are possible, tailoring an 8021 to a given task. Other than the power supply and dedicated pins, all other pins (20) can be used for input, output, or both, depending on the configuration.

INPUT BUFFER

All ports are quasi-bidirectional to facilitate stand-alone use. A simplified sche-

FIGURE 3. QUASI-BIDIRECTIONAL PORT STRUCTURE

Page 50 of the Intel mcs-48 user manual — EXTERNAL
Page 50 · click to enlarge
Page 50
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 50)
Fig. 49 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

2.9.1 T1 Input

minimizing external parts required to do high power control. P10 and P11 have been designated high drive outputs capable of sinking 7mA at Vss + 2.5 volts. (For clarity, this is 7mA to Vss with a 2.5 volt drop across the buffer.) These pins may, of course, be

The 8021 T1 input line can be used as an

  • input for the following functions:
  • Event Counter (external input)
  • Test input for branch instructions
  • Zero voltage crossing detection

paralleled for 14mA drive if the output logic states are always the same.

The operation of T1 as an input to the Event Counter is described in the Timer/Event Counter section. When used as a test input, the JT1 and JNT1 instructions test for 1 and o levels, respectively. The T1 pin can also be used to detect the zero crossing of slowly moving AC signals (60 Hz)' The self-biasing circuit shown in Figure 4 permits the Test 1 input to detect when the input voltage crosses zero within ±5%; the voltage is then coupled through a 1.01-lf capacitor. Maximum input voltage is 3V peak-to-peak. The zero cross detection is especially useful in SCR control of 60 Hz power and in developing time-of~day and other timing routines. As a ROM mask option there is a pullup resistor that is useful for switch contact input or standard TTL. 2.9.2 High Current Outputs

2.9.3 Expanded I/O

The 8021 can be used with the 8243 I/O expander chip, which provides additional I/O capability with a limited number of overhead pins. This chip has 4 directly addressable 4-bit ports. It connects to the PROG pin, which provides a clock, and pins P20-P23, which provide address and data. These ports can be written with a MOVD

P,A; ANLD P,A; and ORlD P,A forPorts4-7. A high to low transition on PROG signifies that address and control are available on P20-P23. The previous data on P20-P23 before an output expander instruction is lost. Therefore, when using an output expander P20-P23 are not useful for general input/output. Reading is via the MOVD A,P. This circuit configuration is shown in Figure 5. The timing diagram is shown in Figure 6.

Very hig~ current drive is desirable for

The 8021 can also use standard low cost TTL to expand the number of I/O lines. An example is shown in the Applications section.

(0) ZERO CROSS OETECT

EXTERNAL

Ibl OPTIONAL PULLUP RESISTOR

EXTERNAL

SWITCH ~

FIGURE 4. TEST 1 PIN

FIGURE 5. I/O EXPANDER INTERFACE

Page 51 of the Intel mcs-48 user manual — 2.11 Reset
Page 51 · click to enlarge
Page 51
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 51)
Fig. 50 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

PROG

(4 BITS) V ADDRESSJ FLOAT ~ ------ 14 BITS)

)Cf)C

DATA IN

DATA OUT ~ DATA (P20·P23) ~ OUT -----.... (4 BITS) '---~(4~BIT=S)~---------------

BITS 0,1

BITS 2,3

01 PORT

10 OR OO} 10 ADDRESS 11

OO}READ 01 WRITE

11 AND PORT 2 FOR EXPANDED 1/0 WITH 8243

FIGURE 6. EXPANDED I/O TIMING DIAGRAM

2.10 CPU The 8021 CPU has arithmetic and logical capability. A wide variety of arithmetic and logic instructions may be exercised, which affect the contents of the accumulator, and/or direct or indirect scratch pad loca- tions. Provisions have been made for simplified BCD arithmetic capability using the DAA, SWAP A, and XCHD instructions.

conditional jump instructions with the tests listed below to effect a change in the program execution sequence.

Accumulator Carry Flag Timer Overflow Flag Test Input-T1

A=O A"'O o 1

JZ JNZ

,JC JTF JNT1, JT1

1 o 1

In addition, MOVP A,@A allows table lookup for display formating and constants. The conditional branch logic within the processor enables several conditions inter- nal and external to the processor to be tested by the users program. Use the

2.11 Reset

A positive-going signal to the RESET input resets the necessary miscellaneous flip- flops and sets "the program counter and stack pOinter to zero.

Jump Condition · Jump Instructions · Test

Page 52 of the Intel mcs-48 user manual — PROGRAM MEMORY MAP
Page 52 · click to enlarge
Page 52
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 52)
Fig. 51 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

8022 Functional Specifications The 8022's architecture is based upon the 8021, and many functions of the two parts are identical.

2.13 Data Memory On-chip data memory is organized as 64 words eight bits wide. All locations are indirectly addres- sable and eight designated locations are directly addressable. Also included in the data memory is the program counter stack, addressed by a 3-bit stack pointer.

2.12 Program Memory

The 8022 program memory consists of 2048 words 8 bits wide which are addressed by the program counter. The memory is ROM which is mask programmable at the factory. No external ROM expansion capability is provided. There are three locations in program memory of special im- portance.

The first eight locations (0-7) of the array are designated as working registers and are directly addressable by any of the 11 direct register instructions. These locations are readily accessi- ble for a variety of operations with a minimum num- ber of instruction bytes required for their manipulation. Thus, they are usually used to store frequently accessed intermediate results. The DJNZ instruction makes very efficient use of the working registers as program loop counters by al- lowing the programmer to decrement and test the register in a single instruction.

Location 0Activating the RESET line of the pro-

cessor causes the first instruction to be fetched from location O.

Location 3Activating the interrupt input line

(TO) of the processor (if interrupt is enabled) causes a jump to subrou- tine.

Registers a and 1 have yet another function in that they can be used to indirectly address all loca- tions in the data memory using the indirect register instructions. These two RAM pointer registers are especially useful for repetitive type operations on adjacent memory locations. The indirect register instruction specifies which register is used to ad- dress a location in RAM. The contents of the ad- dressed location are used during the execution of the instruction and may be modified. The pointer registers may also point to registers 0-7, if de- sired.

Location 7A timer / event counter interrupt re-

sulting from a timer / counter over- flow causes a jump to subroutine (if timer / counter interrupt is enabled).

Therefore, the first instruction to be executed after initialization is stored in location 0, the first word of an external interrupt service routine is stored in location 3, and the first word of a timer-

/ event counter interrupt service routine is stored in location 7.

Locations 8-23 serve a dual role in that they con- tain the 8-level program counter stack, two RAM locations per level. The program counter stack en- ables the processor to keep track of the return addresses generated by interrupts or CALL instructions by storing the contents of the program counter prior to servicing the subroutine. A 3-bit stack pointer determines which of the program counter stack's eight register pairs will be loaded with the next return address generated. The stack pointer, when initialized to 000 by RESET, points to RAM locations 8 and 9. The first subroutine CALL or interrupt results in the program counter contents being transferred to locations 8 and 9. The stack pointer is then incremented by one and pOints to locations 10 and 11 in anticipation of an- other CALL The end of a subroutine, which is sig- naled by a return instruction (RET or RETI), causes the stack pointer to be decremented and the contents of the resulting register pair to be transferred to the program counter.

8 7 6 5

LOCATION 7 - TIMER/COUNTER INTERRUPT

VECTORS PROGRAM HERE

LOCATION 3-EXTERNAL INTERRUPT

VECTORS PROGRAM HERE

RESEr VECTORS PROGRAM HERE

PROGRAM MEMORY MAP

Program memory can be used to store constants as well as program instructions. The MOVP in- struction allows easy table lookup for constants and display formatting.

76543210

Page 53 of the Intel mcs-48 user manual — DATA MEMORY MAP
Page 53 · click to enlarge
Page 53
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 53)
Fig. 52 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

'2.15 Timer/Event Counter

Unlike the 8048, in the 8022 the unincremented program counter address is stored in the address stack. The stack contents are then incremented before being loaded Into the program counter dur- ing a return (RET) from subroutine. However, dur- ing a return (RETI) from interrupt, the stack contents are loaded directly into the program counter. This difference makes it imperative to use only RETI's to return from interrupts, and RET's to return from subroutines. Since the program counter's addresses are 11 bits long, two bytes or registers must be used to store a single address. Thus, the 16-byte program counter stack permits up to a total of 8 levels of subroutine nesting without overflowing the stack. If overflow does occur, the deepest address stored (locations 8 and 9) will be overwritten and lost since the stack pointer overflows from 111 to 000. It also underflows from 000 to 111. If a par- ticular application does not require 8 levels of nesting, the unused portion of the progam counter stack may be used as any other indirectly addres- sable RAM location. For example, if only 3 levels of subroutine nesting are used, then only locations 8-13 need be reserved for the program counter stack, and locations 14-23 can be used for data storage.

Like the other MCS-48 microcomputers, the 8022 has an internal timer I event counter. This circuit can monitor elapsed time or count external events that occur during program execution.

See the 8021 description, Section 2.8, for a com- plete explanation.

The 8022 has 26 lines which can be used for digi- tal input or output functions. These lines are orga- nized as 3 ports of 8 lines, each of which serve as either inputs, outputs, or bidirectional ports, and 2 test inputs which can alter program sequences when tested by conditional jump instructions.

Ports 1 and 2 have identical operating character- istics and are both quasi-bidirectional. That is, each line may serve as an input, an output, or both. Data written to these ports is statically latched and remains unchanged until rewritten. As inputs, these lines are non-latching; i.e., inputs must be present until read by an input instruction. Inputs are fully TTL compatible and all outputs will drive at least one standard TTL load. See Section 2.1.4 for a more complete description of the qua- si-bidirectional structure.

2.16.1 Port 0 Comparator Inputs Port 0 has been modified from the standard quasi- bidirectional structure to allow an optional open drain configuration with comparator inputs. The low impedance pullup device has been eliminated and the high impedance pullup is optional. Thus, the user can choose via a mask programmable selection each line of port a to be either quasi-bi- directional with a high impedance or true open- drain. The open drain configuration allows the line to sink current through the low impedance pull- down device or to float in the high output state. More importantly, the open drain configuration makes port 0 very easy to drive when it is used as inputs. The input circuitry for each line of port 0 includes a voltage comparator which amplifies the voltage difference between the input port line and the port 0 threshold reference pin (VTH). The volt- age gain of the comparator is sufficient to sense a

ADDRJ. IN DIRE THROU

EIIED

24 23 8 LEVEL aTACK OR USER RAM

CTLV QH RGORR 1

Rl~l\r:.

DATA MEMORY MAP

2. 14 Oscillator and Clock The 8022 contains its own on-board oscillator and clock circuit, requiring only an external timing con- trol element. This control element can be a cry- stal, inductor, or clock. All Internal time slots are derived from the external element, and all outputs are a function of the oscillator frequency.· An in- struction cycle consists of 10 states, and each state is a time slot of 3 oscillator periods. There- fore, to obtain a 10 fJ,s instruction cycle, a 3 MHz crystal should be used. The minimum instruction cycle time of 8.4 fJ,sec corresponds to a 3.58 mHz crystal.

100 mV input differential within the range VSS to VCC /2. · .

If VTH is allowed to float, it will bias itself to the digital switch point of the other ports, and port a behaves as a set of normal digital inputs. Howev- er, by biasing VTH, the switch point can be both tightly controlled and adjusted. Common uses for

DIRECTlv ADDR~8LE · 2·26

Page 54 of the Intel mcs-48 user manual — INDUCTOR
Page 54 · click to enlarge
Page 54
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 54)
Fig. 53 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

this would include high noise margin inputs (Vee 1 2), unusual logic level inputs as from a diode isolated keyboard, analog channel expansion, and direct capacitive touchpanel interface. The com- parator action is automatic and the port is read just as any other port.

to the TO pin when external interrupt is enabled. Interrupt is level triggered and active low to allow "WIRE ORING" of several interrupt sources at the input pin. When an interrupt is detected, it causes a "jump to subroutine" at location 3 in program memory as soon as all other cycles of the current instruction are complete. At this time, the program counter contents are saved in the program counter stack, but the remaining status of the pro- cessor is not. Unlike the 8048, the 8022 does not contain a program status word. Thus, when ap- propriate, the carry and auxiliary carry flags are saved in software, as is the accumulator. The rou- tine shown below saves the accumulator and the carry flags in only four bytes.

2.16.2 High Current Outputs Very high current drive is desirable for minimizing external parts required to do high power control. P 1 a and P 11 have been designated high drive out- puts capable of sinking 7mA at VSS + 2.5 volts. (For clarity, this is 7mA to VSS with a 2.5 volt drop across the buffer.) These pins may, of course, be paralleled for 14mA drive if the output logic states are always the same.

2.16.3 Expanded 1/0

MeV R6.A 1 ;aave accumulator CLR A DAA MeV R7.A

In addition to the 26 digital I I 0 lines contained on- board the 8022, a user can obtain additional 1/0 lines by utilizing the Intel(!) 8243 I 10 expander chip or standard TTL. The 8243 interfaces to 4 port lines of the 8022 (lower half of port 2) and is strobed by the PROG line of the 8022.

;clear accumulator ;convert carry flags into sixes ;save status of carry flags

The end of an interrupt service subroutine is marked by the execution of a Return from Interrupt instruction (RETI). Prior to returning from the inter- rupt subroutine, however, the status of the accu- mulator and the carry flags are restored in software. The following routine restores the sta- tus of the accumulator and the carry flags, which was previously saved, in five bytes.

The interface procedure is exactly the same as with the 8021-see Section 2.9.3.

2.17 Test and Interrupt Inputs

In addition to the 24 general purpose I I 0 lines which comprise ports 0, 1, and 2, the 8022 has two inputs which are testable via conditional jump instructions, TO and T 1. These pins allow inputs to cause program branches without the necessity to load an input port into the accumulator. TO and T1 have other functions as well.

MeV A,R7 1 ;restore carry flaga status to Add A,#OAAH 2 ;accumulator and set/clear carry flags MeV A,RS ;reatore accumulator RETI ;return

The Test a pin serves as an external interrupt in- put as well as a testable input. An interrupt se- quence is initiated by applying a low "0" level input

The interrupt system is single level in that once an interrupt is detected, all further interrupt requests are ignored until execution of a RETI re-enables

+5V

r--- ....... ---i XTAL 1 1K

J<>-- __ --~XTAL 1 D 1 MEGQ

1_

L..-_-- ... XTAL2

' . XTAL 2

.6-3.6 MHz NC XTAL2

INDUCTOR

CRYSTAL EXTERNAL

FREQUENCY REFERENCE OPTIONS

Show 5 more labels / short text on this page
Instructions Bytes Comments · Instructions Bytes Comments · r--_--~ XTAL 1 · OPTIONAL C=20-5OpF · by'LC
Page 55 of the Intel mcs-48 user manual — ZERO-CROSS DETECTION
Page 55 · click to enlarge
Page 55
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 55)
Fig. 54 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

+5V

Q

_KQ.--------,

I/O PIN PORTO

VYH

PORT 0 I/O STRUCTURE

the interrupt input logic. This sequence holds true also for an internal interrupt generated by timer overflow. If an external interrupt and an internal ti- mer / counter generated interrupt are detected at the same time, the external source will be recog- nized. If needed, a second external interrupt can be created by enabling the timer / counter inter- rupt, loading FFH inthe counter (one less than ter- minal count) and enabling the event counter mode. A low-to-high transition on the T 1 input will then cause an interrupt vector to location 7.

tions on T1 will cause the counter to increment. Note that this operation differs from the rest of the MCS-48 devices, which increment the counter on high-to-Iow transitions. This change was made on the 8022 to take advantage of the accuracy of the rising edge detection on the zero cross circuitry. The maximum rate at which the counter may be incremented is once per three instruction cycles (every 30 f./,S when using a 3 MHz crystaJ)-there is no minimum frequency.

In addition to serving as a testable input and as the counter input, the T1 pin has special circuitry to detect when an AC signal crosses its average DC level. When driven directly, this pin responds as a normal digital input. To utilize the zero cross de- tection mode, an AC signal of approximately 1-3 VAC pop magnitude and a maximum frequency of

T -*---*'-1 1-- 1-3 VAC X

P

1 kHz is coupled through an external capacitor (1 f./,F) to the T1 pin. .

The internal digital state is sensed as a zero until the rising edge crosses the DC average level, when it becomes a one. This is accomplished by the self-biasing high gain amplifier which is includ- ed in the T 1 input. This circuit biases the T 1 input exactly at its switching point, such that a small change will cause a digital transition to occur. This digital transition takes place within 5 degrees of the zero point. The digital value of T1 remains a one until the falling edge of the AC input drops ap- proximately 100 mV below the switching point of the rising edge (100 mV below the zero pOint, if the digital transition occurred exactly at the zero point). The 100 mV offset is created by hysteresis and eliminates chattering of the internal Signal caused by the external noise.

ZERO-CROSS DETECTION

The Test 1 pin, in addition to being a testable in- put, serves two other important functions. It can be used as an input pin to the external event counter, as previously mentioned, and it can be used to detect the zero crossing pOint of slow moving AC signals. Execution of the STRT CNT instruction puts the T1 pin in the counter input mode by connecting T1 to the counter and en- abling the counter. Subsequent low-to-high transi-

D FLIp· FLOP · ClK

Page 56 of the Intel mcs-48 user manual — AID CONVERTER BLOCK DIAGRAM
Page 56 · click to enlarge
Page 56
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 56)
Fig. 55 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

The zero cross detection capability allows the user to make the 60 Hz power signal the basis for this system timing. All timing routines, including time-of-day, can be implemented using the zero cross detection capability of T 1 and its conditional jump instructions. In addition, the zero cross de- tection feature can be used in conjunction with the timer interrupt to interrupt processing at the zero voltage point. This enables the user to control volt- age phase sensitive devices such as triacs and SCRs, and to use the 8022 in applications such as shaft speed and angle measurement.

Thus, the user is given a minimum voltage range from ground to V CC 12 and a maximum range from ground to Vee over which 8-bit resolution is in- sured.

The voltage tap on the series resistor string is se- lected by the resistor ladder decoder. This decod- er is driven by the 8-bit successive approximation register (SAR). Each bit of the SAR is set in suc- ceSSion, MSB to LSB, and a voltage comparison between the selected resistor ladder voltage and the analog input voltage is performed after the set- ting of each bit. The result of each comparison de- termines whether the particular bit will remain set or be reset. All comparisons are performed auto- matically by the on-Chip AID hardware. At the end of 8 comparisons the SAR contains a valid digital result which is then latched into the conversion re- sult register (CRR). The RAD instruction (read AID) loads the conversion result from the CRR to the accumulator of the 8022.

2.18 Analog to Digital Converter The 8022 contains on-chip a complete hardware implementation of an 8-bit analog to digital (AID) converter with two multiplexed analog inputs. The A I D converter utilizes a successive approxima- tion technique to provide an updated conversion once every four instruction cycles with a minimum of required software.

The AID converter consists of four main parts, the input circuitry, a series string of resistors, a voltage comparator, and the successive approxi- mation logic. The two analog inputs are mUlti- plexed on-Chip and selected via software by the SEL ANO and SEL AN 1 instructions. Besides se- lecting one of the analog inputs, these instructions restart the conversion sequence which operates continuously. Restarting a conversion sequence deletes the conversion in progress but does not affect the result of the previous conversion which is stored in the conversion result register. The continuous operation of the A I D converter saves program space and time by allowing the user ob- tain multiple readings from a given input with only one select instruction. To obtain a valid conversion reading, the user must provide the analog input signal no later than the beginning of the select in- struction cycle. The analog input is then sampled by the A I D converter and maintained internally. This voltage becomes one input to the voltage comparator which amplifies the difference be- tween the analog input and the voltage tap on the series resistor string. '

ANALOG MULTIPLEXER

r---~ I I I

RESISTIVE

LADDER - -"--~-----,

RI2 I , I I

R I Ill' I ' '''' .. I : ;!~ I! I" I 8-W RI2 I I L __ L.J 8- INTERNAL BUS

AID CONVERTER BLOCK DIAGRAM

The series resistor string is connected between the A I D reference pin (V ARE F) and ground (AVSS). It is comprised of 256 identical resistors which divide the voltage between these two pins into 256 identical voltage steps. This configuration gives the converter its iflherent monotonicity. The range of V AREF in which full 8-bit resolution can be provided is between Vee/2 and Vee.

As mentioned previously, the software and time required to perform an A I D conversion is opti- mized by the 8022's on-chip AID converter con- figuration. Typical software for reading two sequential A I D conversions and storing them in data memory is shown below:

Page 57 of the Intel mcs-48 user manual — SINGLE COMPONENT SYSTEM
Page 57 · click to enlarge
Page 57
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 57)
Fig. 56 · The Single Component . 2" MCS-4S™ S~stem

SINGLE COMPONENT SYSTEM

First SEL ANO ;Starts conversion of ANO input Conversion MOVRO.#24 ;Set up ~emory pointer 50/Ls RAD ;First conversi.on value to 4 bytes accumulator

user's program. Use the conditional jump instruc- tions with the tests listed below to effect a change in the program execution sequence.

Second [email protected] ;Store first conversion value Conversion INCRO ;Increment memory location 40/Ls RAD :Second conv8.rsion value to 3 bytes accumulator

Jump Jump Test Condition Instructions

Accumulator A=O k'l'O JZ JNZ Carry Flag 0 1 JNC. JC Timer Overflow Flag -1 JTF Test Input·Tl 0 1 JNT1. JTl Test Input· TO 0 1 JNTO. JTO

2.20 8022 Testing and Debug To facilitate testing and debug, certain test modes may be activated in the 8022 by raiSing combina- tions of RESET, TEST 1 and PROG to 15 volts. Internal ROM is dumped out sequentially for verifi- cation. External memory operation is used for CPU checkout.

To insure maximum accuracy from the AID con- verter, separate power supply pins (AVCC and AVSS) and a substrate pin (SUBST) have been provided. Supplying the power supply pins with a well filtered and regulated voltage supply mini- mizes the effect of power supply variance and system noise. The substrate pin should be by- passed to ground through a 500 pF to 0.001 f,LF capacitor.

Reset Prog Te.t 1 Calie Function

5V X X Power On Clear

OV X X Normal Operation 15V 15V 15V Mode la On each cycle internal ROM is dumped to Port O-sequentially after ALE leading edge .. ' 15V 15V JL.. Mode lb. On every TEST· 1 failing edge

2.19 CPU The 8022 CPU has arithmetic and logical capabili- ty. There is a wide variety of arithmetic and logic instructions which affect the contents of the accu- mulator, and lor direct or indirect scratchpad lo- cations. Provisions have been made for simplified BCD arithmetic capability using the DAA, SWAP A, and XCHD instructions. In addition, MOVP A, @A allows table lookup for display formating and constants. The conditional branch logic within the processor enables several conditions internal and external to the processor to be tested by the

the program counter incre· ments. dumps internal ROM to Port 0

OV 15V X Mode 2 Chip will operate from external memory (one page) via Port O. ALE strobes Address out. memo ory in. 15V X X Mode 3 Chip accepts op codes into Port 1. Allows Port 0 and 8243 testing.

Page 58 of the Intel mcs-48 user manual — The Expanded
Page 58 · click to enlarge
Page 58
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 58)
Fig. 57 · The Single Component . 2" MCS-4S™ S~stem

The Expanded

" MC~48TMS~stem

Page 59 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 59 · click to enlarge
Page 59
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 59)
Fig. 58 · The Single Component . 2" MCS-4S™ S~stem
Page 60 of the Intel mcs-48 user manual — 3.1.2 Extended Program Memory Addressing (Beyond 2K)
Page 60 · click to enlarge
Page 60
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 60)
Fig. 59 · The Single Component . 2" MCS-4S™ S~stem

THE EXPANDED MCS-4S™SYSTEM

3.0 Summary

3.1 Expansion of Program Memory

If the capabilities resident on the singlechip 8048/8049,8748, or 8035/8039 are not

Program Memory is expanded beyond the resident 1 K or 2K words by using the 8085 BUS feature of the MCS-48. All program memory fetches from addresses less than 1024 (2048) occur internally with no external signals being generated (except ALE which is always present). At address 1024 the 8048 automatically initiates exter- nal program memory fetches.

sufficient for your system requirements, special on-board circuitry allows the addition of a wide variety external memory,

I/O, or special peripherals you may require. The processors can be directly and simply expanded in the following areas:

  • Program Memory to 4K words

3.1.1 Instruction Fetch Cycle (External)

  • Data Memory to 320 words (384 words with 8049)

For all instruction fetches from addresses of 1024 (2048) or greater the following will occur:

  • I/O by unlimited amount
  • Special Functions using 8080/8085 peripherals
1. The contents of the 12 bit program counter will be output on BUS and the lower half of port 2.

By using bank switching techniques maxi- mum capability is essentially unlimited. Bank switching is discussed later in the chapter. Expansion is accomplished in two ways:

2. Address Latch Enable (ALE) will indicate the time at which address is valid. The trailing edge of ALE is used to latch the address externally.
1. Expander I/O-A special I/O Expander circuit the 8243 provides for the addition of four 4-bit Input/Output ports with the sac-
3. Program Store Enable (PSEN) indicates that an external instruction fetch is in prog-

rifice of only the lower half (4 bits) of port 2 for inter-device communication. Multiple 8243's may be added to this 4-bit bus by generating the required "chip select" lines.

ress and serves to enable the external memory device.

4. BUS reverts to input (floating) mode and the processor accepts its 8 bit contents as an instruction word.
2. Standard 8085 Bus-One port of the 8048 is like the 8 bit bidirectional data bus of the 8085 microcomputer system allowing interface to the numerous standard memories and peripherals of the MCS80/85 microcomputer family.

All instruction fetches including internal addresses can be forced to be external by activating the EA pin of the 8048/8049. The 8035/8039 processors without program memory always operate in the external program memory mode (EA=5Vl.

MCS-48 systems can be configured using either or both of these expansion features to optimize system capabilities to the application. Both expander devices and standard mem- ories and peripherals can be added in virtually any number and combination required.

3.1.2 Extended Program Memory Addressing (Beyond 2K)

For programs of 2K words or less, the 8048/8049 addresses program memory in

3·1

Page 61 of the Intel mcs-48 user manual — Interrupt Routines
Page 61 · click to enlarge
Page 61
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 61)
Fig. 60 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

ALE J

BUS ~ FLOATING 0: FLOATING

  • Counts DDDH to 7FFH
  • Overflow. 7FFH to DDDH

JMP or CALL Instructions trans'er oontenta 0' Internal IIIpfiop to A11

  • Fflpflop set by SEL MBl
  • Flipflop .... t by SEL MBD or by RESET

ADDRESS INSTRUCTION

INSTRUCTION FETCH FROM EXTERNAL PROGRAM MEMORY

During Interrupt I.rvlce routln. A11 Is 'orced to "0" All 12 bits are lav.d In atack

the conventional manner. Addresses be- yond 2047 can be reached by executing a program memory bank switch instruction (SEL MBO, SEL MB1) followed by a branch instruction (JMP or CALL). The bank switch feature extends the range of branch instructions beyond their normal 2K range and at the same time prevents the user from inadvertently crossing the 2K boundary.

PROGRAM COUNTER

entirely in the lower 2K words of program memory. The execution of a SEL MBO or SEL MB1 instruction within an interrupt routine is not recommended since it will not alter PC11 while in the routine, but will change the internal flip flop.

3.1.3 Restoring I/O Port Information

Program Memory Bank Switch

Although the lower half of Port 2 is used to output the four most significant bits of address during an external program memory fetch, the I/O information is still outputed during certain portions of each machine cycle. I/O information is always present on Port 2 lower at the rising edge of ALE and can be sampled or latched at this time.

The switching of 2K program memory banks is accomplished by directly setting or resetting the most significant bit of the program counter (bit 11). Bit 11 is not altered by normal incre- menting of the program counter but is loaded with the contents of a special flip-flop each time a JMP or CALL instruction is executed. This special flip-flop is set by executing an SEL MB1 instruction and reset by SEL MBO.

3.1.4 Expansion Examples

Therefore, the SEL MB instruction may be executed at any time prior to the actual bank switch which occurs during the next branch instruction encountered. Since all twelve bits of the program counter including bit (11) are stored in the stack when a Call is executed, the user may jump to subroutines across the 2K boundary and the proper bank will be restored upon return. However, the bank switch flipflop will not be altered on return.

The accompanying figure shows the addition of three 27081K X 8 EPROMs or three 2308 pin-compatible ROM replacements for a total of 4K words of program memory. The BUS port of the 8048 is connected directly to the data output lines of the memories. The lower 8 bits of address are latched in an 8212 8-bit latch using ALE as the strobe. The lower half of Port 2 provides the upper 4 bits of address and since these address bits are stable for the duration of the program memory fetch, they do not have to be latched. Two of the upper address bits are connected directly to the address inputs of the memories while the two most significant bits are decoded to provide the three chip selects needed. The PSEN output of the 8048/8748 is used to enable the chip select lines and therefore the memories.

Interrupt Routines

Interrupts always vector the program counter to location 3 or 7 in the first 2K bank and bit 11 of the program counter is held at "0" during the interrupt service routine. The end of the service routine is signalled by the execution of an RETR instruction. Interrupt service routines should therefore be contained

Conventional Program Counter · 3·2

Page 62 of the Intel mcs-48 user manual — EXPANDING MCS-48™ PROGRAM MEMORY USING STANDARD MEMORY PRODUCTS
Page 62 · click to enlarge
Page 62
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 62)
Fig. 61 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

PROGRAM MEMORY

J:=4=======::;-;:=~DECODER 0, r---..., PORT 20·3 1 OF 4 27081 i ICS 2308 1K·2K

ALE 1 +1

8212 LATCH

2308 2K·3K

PSEN~----------------------~

cs 27081 3K ·4K 2308 USING lK x 8 PROM/ROM

DATA

OUT

EXPANDING MCS-48 ™ PROGRAM MEMORY USING STANDARD MEMORY PRODUCTS

Also shown is the addition of 2K words of

The next figure shows how the new 8755/8355

program memory using an 2316A 2K x 8 ROM to give a total of 3K words of program memory. In this case no chip select decoding is required and PSEN enables the memory directly through the chip select input. If the system requires only 2K of program the same configuration can be used with an 8035 substituted for the 8048. The 8049 would provide 4K with the same configuration.

EPROM/ROM with I/O interfaces directly to the 8048 without the need for an address latch. The 8755/8355 contains an internal 8-bit address latch eliminating the need for an 8212 latch. In addition to a 2K X 8 program memory the 8755/8355 also contains 16 I/O lines addressable as two 8-bit ports. These ports are addressed as external RAM; there-

3 PORT 20·22

"'

7 '" 11) ADDRESS 2316 ROM

8048 ALE 8212 I?>

LATCH

A BUS B

DATA

OUT CS

PSEN

USING 2K x 8 ROM

EXPANDING MCS-48™ PROGRAM MEMORY USING STANDARD MEMORY PRODUCTS

cs 27081 · 3·3

Page 63 of the Intel mcs-48 user manual — EXTERNAL PROGRAM MEMORY INTERFACE
Page 63 · click to enlarge
Page 63
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 63)
Fig. 62 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

fore, the RD and WR outputs of the 8048 are required. See the following section on data memory expansion for more detail. The sub- sequent section on I/O expansion explains the operation of the 16 I/O lines.

3.2 Expansion of Data Memory

Data Memory is expanded beyond the resi dent 64 words by using the 8085 type bus feature of the MCS-48.

3.2.1 Read/Write Cycle

All address and data is transferred over the 8

lines of BUS. A read or write cycle occurs as follows:

ALE ALE 2K X8 Pmii iUS

WR iOW 8048 iUS lOR ROM/ PROM

1. The contents of register RO or R1 is outputed on BUS.

WITH I/O BUS A/DO-7 I/O 8355/ 8755

2. Address Latch Enable (ALE) indicates address is valid. The trailing edge of ALE is used to latch the address externally.

As-A10·CS

3. A read (RD) or write (WR) pulse on the corresponding output pins of the 8048 indicates the type of data memory access in progress. Output data is valid at the trailing edge of WR and input data must be valid at the trailing edge of RD.
4. Data (8-bits) is transferred in or out over BUS.

EXTERNAL PROGRAM MEMORY INTERFACE

READ FROM EXTERNAL DATA MEMORY

ALE J L

BUS FLOATINcXADDRESSX 7' >8<~ __ F_LO_A_T_IN_G __

FLOATING

WRITE TO EXTERNAL DATA MEMORY

ALE J L

BUS FLOATING

TEsT I/O INPUTS · 3·4

Page 64 of the Intel mcs-48 user manual — A .A 2111/2101C'S2
Page 64 · click to enlarge
Page 64
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 64)
Fig. 63 · The Single Component . 2" MCS-4S™ S~stem

EXPAND!!D MCS-48 SYSTEM

3.2.2 Addressing ~Xt~rnal Data Memory

tional 4-bit data bus of the memories. The WR output of the processor controls the Read/ Write input of the memories while the data bus output drivers of the memories are con- trolled by RD. The chip select lines of the

External Data Memor~ Is ~~cessed with its own two-cycle move instructions MOVX A @R and MOVX @R, A which transfer 8 bits of data between the accumulator and the ex- ternal memory location addressed by the contents of one of the RAM Pointer Registers RO or R1. This allows 256 locations to be addressed in addition to the resident locations. Additional pages may be added by "bank switching" with extra output lines of the 8048.

memories are continuously enabled unless additional pages of RAM are required. Also shown is the expansion of data memory using the 8155 memory and I/O expanding device. Since the 8155 has an internal 8-bit address latch it can interface directly to the 8048 with- out the use of an external 8212 latch. The 8155 provides an additional 256 words of sta- tic data memory and also includes 22 I/O lines and a 14 bit timer. See the following sec- tion on I/O expansion and the 8155 data sheet for more details on these additional features.

3.2.3 Examples of Data Memory Expansion

The accompanying figure shows how the 8048 can be expanded using standard 256 X 4 static RAMs such as the 2101-2 or its low power CMOS equivalent, the 5101. An 8212 serves as an address latch while each 4-bit half of BUS is connected directly to a bidirec-

3.3 Expansion of Input/Output There are four possible modes of I/O expansion with the 8048: one using a special low cost expander, the 8243;

I/O 1·4 CS1

I/O 1-4 CS1

ALE 0S2 1m 8212 gg~ 8048

A .~2111/2101 eI2

A .A 2111/2101C'S2

MO

00 R/W

00 R/W

ROt--------------------4----~------------~ ~ ____ ~m~----------------------~----------------~

sus K 8 " ALE

ALE 8155

22 "

WR RAM

8048 WR

TIMER IN TIMER OUT

RD PORT

101M

3 TEST

~ INPUTS

8048 INTERFACE TO 256 X 8 STANDARD MEMORIES

Show 8 more labels / short text on this page
BUS ~------------~s----------------------------~ · o 5101 · o 7 5101 · ADo·7 · -y 110 · iii) · 18 } 1/0 · 3·5
Page 65 of the Intel mcs-48 user manual — BITS 2.3
Page 65 · click to enlarge
Page 65
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 65)
Fig. 64 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

another using standar.d MCS-80/85 I/O devices; and a third "using the combination memory/I/O expander devices the 8155, 8355, and 8755. It is also possible to expand using standard TTL devices as shown in Chapter 5.

bits to zero. All communication between the 8048 and the 8243 occurs over Port 2 lower (P20-P23) withtimiilg provided by an output pulse on the PROG. pin of the processor~ Each transfer consists of two 4-bit nibbles:

The first containing the "op code" and port address and the second containing the actual 4 bits of data.

3.3.1 I/O Expander Device

The most efficient means of I/O expansion for small systems is the 8243 I/O Expander De- vice which requires only 4 port lines (lower half of Port 2) for communication with the 8048. The 8243 contains four 4-bit I/O ports which serve as extension of· the on chip I/O and are addressed as ports #4-7. The follow- ing operations may be performed on these ports:

Nibble 1 Nibble 2 3 2 1 0 3 2 1 0 II I A I A I Id I Instruction Port data Code Address

II AA 00 Read OO-Port #4 01 Write 01-Port #5 10 OR 10-Port #6 11 AND 11-Port #7

1. Transfer Accumulator to Port. 2. Transfer Port to Accumulator. 3. AND Accumulator to Port. 4. OR Accumulator to Port.

A 4-bit transfer from a port to the lower half of the Accumulator sets the most significant four

EXPANDER INTERFACE

fl CHIP SELECT CONNECTIO -=- THAN ONE EXPANDER IS

N IF MORE

USED

A- ~ CS (' 20 > I/O .. " ... P4 4 I/O PROG PROG " v

2 ] TEST P5 4 8048 "

A

INPUTS 8243 v

I/O ..

A P6 4 I/O P20-P23 4 DATA IN v "

v P2 " P7 4 I/O v

OUTPUT EXPANDER TIMING \ ___ -----..11

PROG

BITSD.l

BITS 2.3

~ ___ ~X _____ ~)~·~-

DO} READ 01 WRITE 10 OR 11 AND

DO} 01 PORT 10 ADDRESS 11

P20·P23

ADDRESS (4-BITS) DATA (4-BITS) ANDOPCODE

3·6

Page 66 of the Intel mcs-48 user manual — 8048 RD
Page 66 · click to enlarge
Page 66
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 66)
Fig. 65 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

A high to low transition of the PROG line indi- cates that address is present while a low to high transition indicates the presence of data. Additional 8243's may be added to the four bit bus and chip selected using additional output lines from the 8048/8748.

3.3.3 Combination Memory and I/O Expanders

As mentioned in the sections on program and data memory expansion the 8355/8755 and 8155 expanders also contain I/O capability.

8355/8755: These two parts are ROM and EPROM equivalents and therefore contain the same I/O structure. I/O consists of two 8-bit ports which normally reside in the exter- nal data memory address space and are ac- cessed with MOVX instructions. Associated with each port is an 8-bit Data Direction Reg- ister which defines each bit in the port as either an input or an output. The data direction registers are directly addressable thereby al- lowing the user to define under software con- trol each individual bit of the ports as either input or output. All outputs are statically latched and double buffered. Inputs are not latched.

I/O Port Characteristics

Each of the four 4-bit ports of the 8243 can serve as either input or output and can pro- vide high drive capability in both the high and low state.

3.3.2 I/O Expansion with Standard Peripherals

Standard MCS-80/85 type I/O devices may be added to the MCS-48 using the same bus and timing used for Data Memory expan- sion. I/O devices reside on the Data Memory bus and in the data memory address space and are accessed with the same MOVX instructions. See the previous section on data memory expansion for a description of timing. The following are a few of the Standard MCS-80 devices which are very useful in MCS-48 systems.

8155/8156: I/O on the 8155/8156 isconfig- ured as two 8-bit programmable I/O ports and one 6-bit programmable port. These three registers and a Control/Status regis- ter are accessible as external data memory with the MOVX instructions. The contents of the control register determines the mode of the three ports. The ports can be programmed as input or output with or without associated handshake communi- cation lines. In the handshake mode, lines of the six,..bit port become input and out- put strobes for the two 8-bit ports. See the

8214 Priority Interrupt Encoder 8251 Serial Communications Interface 8255 General Purpose Programmable I/O 8279 Keyboard/Display Interface 8253 Intervallimer

See Chapter 7 for detailed data sheets on these and other components.

8 KEYBOARD INPUTS INT

INT

P20

8279 SCAN KEYBOARD OUTPUTS RD DISPLAY WR (A) DISPLAY

8048 RD

WR

OUTPUT

BUS

(B)DISPLAY

OUTPUT CS

KEYBOARD/DISPLAY INTERFACE

CfD

Page 67 of the Intel mcs-48 user manual — PORT
Page 67 · click to enlarge
Page 67
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 67)
Fig. 66 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

data sheet in Chapter 6 for details. Also included in the 8155 is a 14-bit program- mable timer. The clock input to the timer and the timer overflow output are available on external pins. The timer can be pro- grammed to stop on terminal count or to continuously reload itself. A square wave or pulse output on terminal count can also be specified.

(chip select) input used to enable the Read/ Write control logic and the address inputs used to select various internal registers.

A.,

PORT

A, 8255 PROGRAMMABLE

A

PERIPHERAL

8048 ALE

INTERFACE

PORT

B

1/0 Expansion Examples (See Also Chapter 5)

PORT

The accompanying figure shows the expansion of 1/0 using multiple 8243's. The only difference from a single 8243 system is the addition of chip selects provided by additional 8048 OLitput lines. Two output lines and a decoder could also be used to address the four chips. Large numbers of 8243's would require achip select decoder chip such as the 8205 to save 1/0 pins.

OPTION #,

P20

P21

A,

8255 PROGRAMMABLE

PORT

A

PERIPHERAL

INTERFACE AD FA

PORT

B

Also shown is the 8048 interface to a stan- dard MCS-80 peripheral; in this case, the 8255 Programmable Peripheral Interface, a 40 pin part which provides three 8-bit pro- grammable I/O ports. The 8255 bus interface is typical of programmable MCS-80 peripher- als with an 8-bit bidirectional data bus, a RD and WR input for Read/Write control, a CS

PORT

BUS

-=- OPTION #2

INTERFACE TO MCS-SO PERIPHERALS

PORT 1 8048

PROGI------~-----__+------~--- ___ ___'

LOW COST 1/0 EXPANSION

Show 4 more labels / short text on this page
Fi15 · Ao · 8048 AD ViR · 00·7 cs
Page 68 of the Intel mcs-48 user manual — PORT
Page 68 · click to enlarge
Page 68
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 68)
Fig. 67 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

Interconnection to the_8048 lL very straightforward with BUS, RD, and WR con- necting directly to the corresponding pins on the 8255. The only design consideration is the way in which the internal registers of the 8255 are to be addressed. If the registers are to be addressed as external data memory using the MOVX instructions, the appropriate number of address bits (in this case, 2) must be latched on BUS using ALE as described in the section on external data memories. If only a single device is connected to BUS, the 8255 may be continuously selected by grounding CS. If multiple 8255's are used, additional address bits can be latched and used as chip selects.

3.4 Multi-Chip MCS-48 Systems

The accompanying figure shows the addition of two memory expanders to the 8048, one 8355/8755 ROM and one 8156 RAM. The main consideration in designing such a sys- tem is the addressing of the various memories and I/O ports. Note that in this configuration address lines A,o and A" have been ORed to chip select the 8355. This ensures that the chip is active for all external program memory fetches in the 1 K to 3K range and is disabled for all other addresses. This gating has been added to allow the I/O port of the 8355 to be used. If the chip was left selected all the time there would be conflict between these ports and the RAM and I/O of the 8156. The NOR gate could be eliminated and~" connected directly to the CE (instead of CE) input of the 8355; however, this would create a 1K word "hole" in the program memory by causing the 8355 to be active in the 2K to 4K range in- stead of the normal 1 K to 3K range.

A second addressing method eliminates ex- ternal latches and chip select decoders by using output port lines as address and chip select lines directly. This method, of course, requires the setting of an output port with ad- dress information prior to executing a MOVX instruction.

PORT

A

PORT

B

PORT

---TIMER

OUT

THE THREE COMPONENT MCS-48 SYSTEM

8156/8355

Page 69 of the Intel mcs-48 user manual — 3.5 Memory Bank Switching
Page 69 · click to enlarge
Page 69
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 69)
Fig. 68 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

PROGRAM MEMORY

SPACE

BFFH

MB1

8355 (2K)

EXTERNAL DATA MEMORY SPACE

MBO 400H F=====ll 8~~5

RESIDENT 1-::====11 8155 ,... I 10 ------- 200H (1K) -------- 100H I

-------- 300H

RESIDENT DATA

MEMORY

(64) '------" OOOH

SECTION ADDRESS

DESIGNATION

PROG. MEM OOO-BFF DATA MEM 100-IFF 8155 PORTS 300 301 302 303 304 305 8355 PORTS 400 401 402 403

CMD/STATUS PORTA PORT B PORTC TIMER LOW TIMER HI PORT A PORTB DORA DOR B

In this system the various locations are addressed as follows:

locations directly addressable by the pointer registers RO and R1. These systems can be achieved using "bank switching" techniques. Bank switching is merely the selection of various blocks or "banks" of memory using dedicated output port lines from the processor.

Data RAM-Addresses 0 to 255 when Port 2 Bit 0 has been previously set = 1 and Bit 1 set = 0

RAM I/O-Addresses 0 to 3 when Port 2 Bit 0 = 1 and Bit 1 = 1

In the case of the 8048 program memory is selected in blocks of 4K words at a time while data memory and I/O are enabled 256 words at a time.

ROM I/O-Addresses 0 to 3 when Port 2 Bit 2 or Bit 3 = 1

See the above memory map.

The most important consideration in imple-

menting two or more banks is the software required to cross the bank boundaries. Each crossing of the boundary requires that the processor first write a control bit to an output port before accessing memory or 1/0 in the new bank. If program memory is being switched, programs should be organized to

3.5 Memory Bank Switching

Certain systems may require more than the 4K words of program memory which are directly addressable by the program counter or more than the 256 data memory and I/O

1 1 · 3·10

Page 70 of the Intel mcs-48 user manual — 3.7 Port Characteristics
Page 70 · click to enlarge
Page 70
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 70)
Fig. 69 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

keep boundary crossings to a minimum. Jumping to subroutines across the boundary should be avoided when possible since the programmer must keep track of which bank to return to after completion of the subrou- tine. If these subroutines are to be nested and accessed from either bank, a software "stack" should be implemented to save the bank switch bit just as if it were another bit of the

used. The BUS port lines are either active high, active low, or high impedance (float- ing).

The latched mode (INS, OUTU is intended for use in the single chip configuration where BUS is not being used as an expan- der port. OUTL and MOVX instructions can be mixed if necessary. However, a previous- ly latched output will be destroyed by exe- cuting a MOVX instruction and BUS will be left in the high impedance state. INS does not put the BUS in a high impedance state. Therefore, the use of MOVX after OUTL to put the BUS in a high impedance state is necessary before an INS instruction in- tended to read an external word (as op- posed to the previously latched value).

program counter.

From a hardware standpoint bank switching is very straight-forward and involves only the connection of an I/O liile or lines as bank enable signals. These enables are ANDed with normal memory and I/O chip select signals to activate the proper bank.

3.6 Control Signal Summary

OUTL should never be used in a system with external program memory, since latch- ing BUS can cause the next instruction, if external, to be fetched improperly.

The following table summarizes the in-

structions which activate the various control outputs of the MCS-48 processors.

Port 2 Operations

The lower half of Port 2 can be used in three different ways: as a quasi, bi-directional static port, as an 8243 expander port, and to address external program memory. In all cases outputs are driven low by an active device and driven high momentarily by an active device and held high by a 50Kfl resistor to +5V.

CONTROL WHEN ACTIVE SIGNAL

RD DURING MOVX A,@R OR INS BUS

WR DURING MOVX @R,A OR OUTL BUS

ALE EVERY MACHINE CYCLE

PSEN DURING FETCH OF EXTERNAL PROGRAM MEMORY(INSTRUCTION OR IMMEDIATE DATA)

The port may contain latched 1/0 data prior to its use in another mode without affecting operation of either. If lower Port 2 (P20-3) is used to output address for an external program memory fetch the 1/0 information previously latched will be automatically removed temporarily while address is present then restored when the fetch is complete. However, if lower Port 2 is used to communicate with an 8243, previously latched 1/0 information will be removed and not restored. After an input from the 8243 P20-3 will be left in the input mode (floating). After an output to the 8243 P20-3 will contain the value written, ANDed, or ORed to the 8243 port.

PROG DURING MOVD A,P ANLD P,A

MOVD P,A ORLD P,A

During all other instructions these outputs are driven to the inactive state.

3.7 Port Characteristics

BUS Port Operations

The BUS port can operate in three different

modes: as a latched 1/0 port, as a bi- directional bus port, or as a program memo- ry address output when external memory is

3·11

Page 71 of the Intel mcs-48 user manual — 8255 PPI
Page 71 · click to enlarge
Page 71
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 71)
Fig. 70 · The Single Component . 2" MCS-4S™ S~stem

EXPANDED MCS-48 SYSTEM

MCS-48 EXPANSION CAPABILITY

I/O

I/O

8355/8755 ROM I/O

STANDARD

RAM

2K)( 8

8049 8048 8748 8035 8039

.- ___ ' 000

8255 PPI

8251 USART

8279 KEYBOARD/DISPLAY

I/O

SERIAL SERIAL OUTPUT INPUT

I/O

I/O

CJ CJ

Page 72 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 72 · click to enlarge
Page 72
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 72)
Fig. 71 · The Single Component . 2" MCS-4S™ S~stem
Page 73 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 73 · click to enlarge
Page 73
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 73)
Fig. 72 · The Single Component . 2" MCS-4S™ S~stem
Page 74 of the Intel mcs-48 user manual — EXPANDER ,W_---=:..:,:,::-=--J.....J I/O PORTS
Page 74 · click to enlarge
Page 74
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 74)
Fig. 73 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

4.0 INTRODUCTION

The MCS-48 microcomputers have been designed to efficiently handle arithmetic operations in both binary and BCD as well as to efficiently handle the single bit operations required in control applications. Special instructions have also been in- cluded to simplify loop counters, table

The. MCS-48 instruction set is extensive for a machine of its size and has been tailored to be straightforward and very efficient in

its use of program memory. All instructions are either one or two bytes in length and over 70% are only one byte long. Also, all instructions execute in either one or two cycles (2.5J.Lsec or 5.0J.Lsec when using a 6 MHz XTAL) and over 50% of all instructions execute in a single cycle. Double cycle instructions include all immediate instruc- tions, and all I/O instructions.

lookup routines, and N-way branch rou- tines.

Data Transfers

As can be seen in the accompanying diagram, the 8-bit accumulator is the central i l

I PROGRAM DATA I MEMORY MEMORY I (!tdata) MOV I

ADD I MOV MOVP I MOVP3 I

EXPANDER ,W_---=:..:,:,::-=--J J I/O PORTS

EXTERNAL MEMORY AND PERIPHERALS

ANL ORL

8748 I 8035* *NO PROGRAM 8039* I MEMORY ~ ________ ---.J

DATA TRANSFER INSTRUCTIONS

8048 8049

Page 75 of the Intel mcs-48 user manual — Branch Instructions
Page 75 · click to enlarge
Page 75
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 75)
Fig. 74 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

point for all data transfers within the 8048. Data can be transferred between the 8 registers of each working register bank and the accumulator directly, i.e. the source or destination register is specified by the instruction. The remaining locations of the internal RAM array are referred to as Data Memory and are addressed indirectly via an address stored in either RO or R1 ofthe active working register bank. RO and R1 are also used to indirectly address external data memory when it is present. Transfers to and from internal RAM require one cycle while transfers to external RAM require two. Constants stored in Program Memory can be loaded directly to the accumulator and to the 8 working registers. Data can also be transfered directly between the accumulator and the on-board timer/counter or the accumulator and the Program Status word (PSW). Writing to the PSW alters machine status accordingly and provides a means of

Finally, the accumulator can be: incre- mented. decremented, cleared, or comple- mented and can be rotated left or right 1-bit at a time with or without carry.

Although there is no subtract instruction in the 8048, this operation can be easily

implemented with three single-byte single- cycle instructions.

A value may be subtracted from the accumulator with the result in the accumu- lator by:

Complementing the accumulator Adding the value to the accumulator Complementing the accumulator.

Register Operations

The working registers can be accessed via the accumulator as explained above, or can be loaded immediate with constants from program memory. In addition, they can be incremented or decremented or used as loop counters using the decrement and jump, if not zero instruction, as explained

restoring status after an interrupt or of altering the stack pointer if necessary.

under branch instructions.

Accumulator Operations

All Data Memory including working registers can be accessed with indirect instructions via RO and R1 and can be incremented.

Immediate data, data memory, or the working registers can be added with or without carry to the accumulator. These sources can also be ANDed, ORed, or

Flags

Exclusive ORed to the accumulator. Data may be moved to or from the accumulator and working registers or data memory. The two values can also be exchanged in a single operation.

There are four user accessible flags in the 8048: Carry, Auxiliary Carry, FO, and F1. Carry indicates overflow of the accumulator, and Auxiliary Carry is used to indicate overflow between BCD digits and is used during decimal adjust operation. Both Carry and Auxiliary Carry are accessible as part of the program status word and are stored on the stack during subroutines. FO and F1 are undedicated general purpose flags to be used as the programmer desires. Both flags can be cleared or complemented and tested by conditional jump instructions. FO is also accessible via the Program Status word and is stored on the stack with the carry flags.

In addition, the lower 4 bits of the accumulator can be exchanged with the lower 4-bits of any of the internal RAM locations. This instruction, along with an instruction which swaps the upper and lower 4-bit halves of the accumulator, provides for easy handling of 4-bit quantities, including BCD numbers. To facilitate BCD arithmetic, a Decimal Adjust instruction is included. This instruction is used to correct the result of the binary addition of two tWO-digit BCD numbers. Performing a decimal adjust on the result in the accumulator produces the required BCD result.

Branch Instructions

The unconditional jump instruction is two bytes and allows jumps anywhere in the first

Page 76 of the Intel mcs-48 user manual — Control Instructions
Page 76 · click to enlarge
Page 76
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 76)
Fig. 75 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

2K words of program memory. Jumps to the second 2K of memory (4K words are directly addressible) are made by first executing a select memory bank instruction then execu- ting the jump instruction. The 2K boundary can only be crossed via a jump or subroutine call instruction i.e. the bank switch does not occur until a jump is executed. Once a memory bank has been selected all subse- quent jumps will be to the selected bank until another select memory bank instruction is executed. A subroutine in the opposite bank can be accessed by a select memory bank instruction followed by a call instruction. Upon completion of the subroutine execu- tion will automatically return to the original bank; however, unless the original bank is reselected, the next jump instruction en- countered will again transfer execution to the opposite bank.

several different locations based on the contents of the accumulator. The contents of the accumulator points to a location in

program memory which contains the jump address. The 8-bit jump address refers to the current page of execution. This instruction could be used, for instance, to vector to any one of several routines based on an ASCII character which has been loaded in the accumulator. In this way ASCII key inputs can be used to initiate various routines.

Subroutines

Subroutines are entered by executing a call instruction. Calls can be made like uncondi- tional jumps to any address in a 2K word bank and jumps across the 2K boundary are executed in the same manner. Two separate return instructions determine whether or not status (upper 4-bits of PSW) is restored upon return from the subroutine.

Conditional jumps can test the following inputs and machine status:

The return and restore status instruction also signals the end of an interrupt service routine if one has been in progress.

TO Input pin T1 Input pin INT Input pin Accumulator Zero Any bit of Accumulator Carry Flag FO Flag F1 Flag

Timer Instructions

The 8-bit on board timer/counter can be loaded or read via the accumulator while the counter is stopped or while counting. The counter can be started as a timer with an internal clock source or as an event counter or timer with an external clock applied to the T1 input pin. The instruction executed determines which clock source is used. A single instruction stops the counter whether it is operating with an internal or an external clock source. In addition, two instructions allow the timer interrupt to be enabled or disabled.

Conditional jumps allow a branch to any address within the current page (256 words) of execution. The conditions tested are the instantaneous values at the time the condi- tional jump is executed. For instance, the jump on accumulator zero instruction tests the accumulator itself not an intermediate zero flag.

The decrement register and jump if not zero instruction combines a decrement and a branch instruction to create an instruction very useful in implementing a loop counter. This instruction can designate anyone of the 8 working registers as a counter and can effect a branch to any address within the current page of execution.

Control Instructions

Two instructions allow the external interrupt source to be enabled or disabled. Interrupts are initially disabled and are automatically disabled while an interrupt service routine is

in progress and re-enabled afterward.

There are four memory bank select instruc- tions, two to designate the active working register bank and two to control program

A single byte indirect jump instruction allows the program to be vectored to anyone of

Page 77 of the Intel mcs-48 user manual — Mnemonic Machine Code Verbal Description Symbolic Description Assembly Language Example
Page 77 · click to enlarge
Page 77
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 77)
Fig. 76 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SE;T

memory banks. The operation of the program memory bank switch is explained in section 3.1.2. The working register bank switch instructions allow the programmer to imme- diately substitute a second 8 register working register bank for the one in use. This effectively provides 16 working registers or it can be used as a means of quickly saving the contents of the registers in response to an interrupt. The user has the option to switch or not to switch banks on interrupt. However, if the banks are switched, the original bank will

responding READ or WRITE pulse is generated and data is valid only at that time. When data is not being transferred BUS is in a high impedance state.

The basic three on board I/O ports can be expanded via a 4-bit expander bus using half of port 2. I/O expander devices on this bus consist of four 4-bit ports which are addressed as ports 4 through 7. These ports have their own AND and OR instructions like the on board ports as well as move instructions to transfer data in or out. The expander AND and OR instructions, how- ever, combine the contents of accumu- lator with the selected port rather than immediate data as is done with the on board ports.

be automatically restored upon execution of a return and restore status instruction at the end of the. interrupt service routine.

A special instruction enables an internal clock, which is the XTAL frequency divided by three, to be output on pin TO. This clock can be used as a general purpose clock in the users system. This instruction should be used only to initialize the system since the clock output can be disabled only by application of system reset.

I/O devices can also be added externally using the BUS port as the expansion bus. In this case the I/O ports become "memory

mapped", i.e. they are addressed in the same way as external data memory and exist in the external data memory address space ad- dressed by pointer register RO or R1.

Input/Output Instructions

4.1 Instruction Set Description

Ports 1 and 2 are 8-bit static I/O ports which can be loaded to and from the accumulator. Outputs are statically latched but inputs are not latched and must be read while inputs are present. In addition, immediate data from program memory can be ANDed or ORed directly to Port 1 and Port 2 with the result remaining on the port. This allows "masks" stored in program memory to selectively set or reset individual bits of the I/O ports. Ports 1 and 2 are configured to allow input on a given pin by first writing a "1" out to the pin.

The following pages describe the MCS-48 instruction set in detail. The instruction set is first summarized with instructions grouped functionally. This summary page is followed

by a detailed description listed alphabetically by mnemonic opcode. The alphabetical listing includes the follow- ing information:

Mnemonic Machine Code Verbal Description Symbolic Description Assembly Language Example

An 8-bit port called BUS can also be accessed via the accumulator and can have statically latched outputs as well. It too can have immediate data ANDed or ORed directly to its outputs, however, unlike ports 1 and 2, all eight lines of BUS must be treated as either input or output at anyone time. In addition to being a static port, BUS can be used as a true synchronous bi-directional port using the Move External instructions used to access external data memory. When these instructions are executed a cor-

The machine code is represented with the most significant bit (7) to the left and two byte instructions are represented with the first byte on the left. The assembly language examples are formulated as follows:

Arbitrary Label: Mnemonic, Operand; Descriptive Comment See section 1.2.2 for a description and example of an assembly language program.

4·4

Page 78 of the Intel mcs-48 user manual — OUTL BUS, A ANL BUS, #data Q. .: OR L BUS, #data
Page 78 · click to enlarge
Page 78
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 78)
Fig. 77 · The Single Component . 2" MCS-4S™ S~stem

8048/8049 INSTRUCTION SET SUMMARY

Description Bytes Cycle Mnemonic Description

ADD A, R ADD A,@R ADD A, #data ADDC A, R ADDC A,@R ADDC A, #data ANL A, R ANL A, @R ANL A, "data O

Jump to subroutine c CALL addr Add reg ister to A '§ Return Add data memory to A 1 e RET

Return and restore status Add immediate to A 2 ..c RETR Add register with carry

~ V>

Add data memory with carry 1 Add immediate with carry 2 2 CLR C Clear Carry

Complement Carry CPLC And register to A 1 ~ Clear Flag 0 '" CLR FO And data memory to A 1 .!! Complement Flag 0 u. CPL FO And immediate to A 2 2 Or register to A CLR F1 Clear Flag 1

Or data memory to A 1 CPL F1 Complement Flag 1

Or immediate to A 2 2 Exclusive Or register to A 1 MOV A, R Move register to A Exclusive or data memory to A 1 MOV A,@R Move data memory to A Exclusive or immediate to A 2 2 MOV A, #data Move immediate to A Increment A 1 MOV R, A Move A to register Decrement A MOV@R,A Move A to data memory Clear A MOV R, #data Move immediate to register Complement A i;'! MOV@R,#data Move immed late to data memory > Decimal Adjust A 0 MOV A, PSW Move PSW to A :;: Swap nibbles of A

INCA DECA CLR A CPLA DAA SWAP A RLA RLCA RR A RRCA

MOV PSW, A Move A to PSW Rotate A left

C XCH A, R Exchange A and register Rotate A left through carry XCHA,@R Exchange A and data memory

Rotate A right XCHD A,@R Exchange nibble of A and register Rotate A right through carry MOVX A,@R Move external data memory to A MOVX@R,A Move A to external data memory

2

IN A, P OUTL P, A ANL P, #data ;; ORL P, #data Q. ;; INS A, BUS

Input port to A 2 MOVPA,@A Move to A from cu rrent page

Output A to port 2 MOVP3 A,@A Move to A from Page 3

And immediate to port 2 2 Or immediate to port 2 2 MOV A, T Read Timer/Counter I nput BUS to A 2 ~ MOV T, A Load Timer/Counter Output A to BUS 1 2 STRTT Start Timer ~ And immediate to BUS 2 2 0 STRT CNT Start Counter ~ Or immediate to BUS 2 2 Ii STOP TCNT Stop Timer/Counter Input Expander port to A 2 E EN TCNTI Enable Timer/Counter Interrupt Output A to Expander port 2 i= DISTCNTI Disable Timer/Counter Interrupt And A to Expander port 2 Or A to Expander port 2

OUTL BUS, A ANL BUS, #data Q. .: OR L BUS, #data

MOVD A, P MOVD P, A ANLD P, A ORLD P, A

EN I Enable external interrupt DIS I Disable external interrupt Increment register e Select register bank 0 SEL RBO I ncrement data memory 1: SEL RBl Select register bank 1 Decrement register 0 SEL MBO Select memory bank 0 u

~ INCR Ii 1;; INC@R '~ DEC R a:

SEL MBl Select memory bank 1

Jump unconditional 2 2 ENTO CLK Enable Clock output on TO

JMP addr JMPP@A DJNZ R, addr JC addr JNC addr J Z addr JNZ addr

Jump indi~ect 2 Decrement register and jump 2 2 NOP No Operation Jump 0" Carry = 1 2 2 Jump on Carry = 0 2 2 Jump on A Zero 2 2 Jump on A not Zero 2 2 Jump on TO ~ 1 2 2 Jump on TO ~ 0 2 2 Jump on T1 ~ 1 2 2 Jump on Tl ~ 0 2 2 Jump on FO ~ 1 2 2 Jump on Fl ~ 1 2 2 Jump on timer flag =1 2 2 Jump on INT ~ 0 2 2 Jump on Accumulator Bit 2 2

~ JTO addr u c JNTO addr = ell JT1 addr JNT1 addr JFO addr JF 1 addr JTF addr JNI addr JBb addr

Mnemonics copyright Intel Corporation 1976,

Show 7 more labels / short text on this page
Mnemonic · Bytes · Cycles · ~ · ~ · ~ · 4·5
Page 79 of the Intel mcs-48 user manual — ~ MOVD P,A
Page 79 · click to enlarge
Page 79
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 79)
Fig. 78 · The Single Component . 2" MCS-4S™ S~stem

8021 INSTRUCTION SET SUMMARY

Description Bytes Cycle Mnemonic Description Bytes

Add register to A 1 JMP addr Jump unconditional 2 Add data memory to A 1 JMPP @A Jump indirect 1 Add immediate to A 2 DJNZ R,addr Decrement register and Jump 2

ADD A,R ADD A,@R ADD A.#data ADDC A,R ADDC A,@R ADDC A,#data ANL A,R ANL A,@R ANL A, #data ORL A,R

Add with carry 1 on R not zero

Add with carry 1 .<JC addr Jump on Carry = 1 2

2

u JNC addr Jump on Carry"" a 2 2 2 c And register to A 1 1 E JZ addr Jump on A Zero 2 '" And data memory to A 1 JNZ addr Jump on A not Zero 2

And immediate to A 2 JT1 addr Jump on Tl '" 1 2 Or register to A 1 JNT1 addr Jump on Tl =- 0 2 Or data memory to A 1 1 ~ JTF addr Jump on timer flag 2 Or immediate to A 2 .g

ORL A,@R ORL A,#data :; XRL A,R E ~ XRL A,@R u u XRL A,#dat8 « INC A DEC A CLR A CPL A DA A SWAP A RL A RLC A RR A RRC A

Exclusive Or register to A

~ CALL addr Jump to subroutine 2 e Exclusive or data memory to A .c RET Return 1 ~ Exclusive or immediate to A en

Increment A CLR C Clear Carry

Decrement A ri' CPL C Complement Carry ii: Clear A Complement A MOV A,R Move register to A

Decimal Adjust A MOV A,@R Move data memory to A

Swap nibbles of A MOV A,#data Move immediate to A

2 1 1 2 2 ,

Rotate A left ~ MOV R,A Move A to register > MOV @R,A Move A to data memory Rotate A left through carry 0

Rotate A right :; MOV R,#data Move immediate to register

Rotate A right through carry !! MOV @R,#data Move immediate to data memory 0 XCH A,R Exchange A and register XCH A,@R Exchange A and data memory I nput port to A XCHD A,@R Exchange nibble of A and register 1 Output A to port MOVP A,@A Move to A from cu rrent page Input Expander port to A 2 Output A to Expander port 2 ~ MOV A,T c Read Timer/Counter And A to Expander port 2 ~ MOV T,A Load Timer/Counter 0 Or A to Expander port 2 ~ STRT T Start Timer

',; IN A,P .'lOUTL P,A ~ 0 MOVD A,P ..,

~ MOVD P,A

Co ANLD P,A !; ORLD P,A

~ STRT CNT Start Counter Increment register E STOP TCNT Stop Timer/Counter Increment data memory ;:

~ INC R INC @R ~ a:

Instruction Set - The following instructions, which are found in the 8748, have been deleted from the 8021 instruction set.

Registers Branch Timer Control Input/Output

MOV A,PSW MOV PSW,A MOVX A,@R MOVX @R,A MOVP3 A,@A

DEC R JTO addr EN TCNTI EN I ANL P,#data I--- JNTO addr DIS TCNTI DIS I ORL P,#data Flags JFO addr SEL RBO INS A,BUS * ~ JFl addr Subroutine SEL RBl OUTl BUS,A *

CPl FO JNI addr RETR SEL MBa ANL BUS,#data

CLR Fl JBb addr SEL MBl ORL BUS,#data

CPL Fl ENTO ClK

"These Instructions have been replaced in the 8021 by

IN A,PO and OUTL PO,A respectively.

Show 7 more labels / short text on this page
Mnemonic · Cycle · Add with carry · ~ · ~ · NOP No Operation · Data Moves
Page 80 of the Intel mcs-48 user manual — JMPP@ A Jump indirect B3 j
Page 80 · click to enlarge
Page 80
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 80)
Fig. 79 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET SUMMARY

Hexadecimal Mnemonic Description Bytes Cycle Opcode Mnemonic Description

Hexadecimal Bytes Cycle Ope ode

ADD A,R r Add register to A 68,6F JTO Jump on TO=l ADD A,@R Add data memory to A 60-61 JNTO Jump on TO=O ADD A,#dala Add immediate 10 A 03 JTl addr Jump on Tl=l AD DC A,Rr Add register with carry 78-7F JNTl addr Jump on T1 =0 ADDC A,@R Add data 'memory with 70-71 JTF addr Jump on timer flag carry ADDC A,#data Add immediate with 13 ~ c CALL addr Jump to subroutine carry :; ANL A,R r And register to A 58-SF ~ .g RET Return ANL A,@R And data memory to A 50-51 III ANL A,#data And immediate to A 53 ORL A,Rr Or register to A 4B-4F 0 CLR C Clear carry 01 ORL A,@R Or data memory to A 40-41 .!! CPL C Complement carry "- ORL A,#data Or immediate to A 43

36 26 56 46 16

14,34,54,74 94,B4,D4,F4 83

~ XRL A,Rr Exclusive Or register DB-OF MOV A,Rr Move register to A

F8-FF FO-Fl 23 A8-AF AQ-Al BS-SF

~ to A MOV A,@R Move data memory to A E ~ XRL A,@R Exclusive Or data 00-01 MOV A,#data Move immediate to A u u memory to A MOV Rr,A Move A to register '" XRL A,#data Exclusive Or immediate 03 MOV@R,A Move A to data memory to A MOV Rr. # data Move immediate to INC A Increment A 17 0 register ~ DEC A Decrement A 07 ~ MOV@R,#data Move immediate to CLR A Clear A 27 :I data memory ~ CPL A Complement A 37 'iii XCH A, Rr Exchange A and Q DA A Decimal adjust A 57 register SWAP A Swap nibbles of A 47 XCH A,@R Exchange A and data RL A Rotate A left E7 memory RLC A Rotate A left through F7 XCHD a,@R Exchange nibble of A carry and register RR A Rotate A right 77 MOVPA,@A Move to A from current RRC A Rotate A right through 67 page carry

28-2F

A3

S MOV A,T Read timer I counter IN A, Pp Input port to A 08,09,OA c MOV T,A Load timer I counter ~ 0 OUTL PpA Output A to port 90,39,3A !:: STRT T Start timer ;; MOVD A,Pp Input expander port OC-OF ~ STRT CNT Start counter ~ to A ~ STOP TCNT Stop timer / counter ~ MOVD Pp.A Output A to expander 3C-3F ;; .. port ~ RAD Move conversion result = ANLD Pp.A And A to expander port 9C-9F 1: register to A ~ ORLD Pp,A Or A to expander port BC-SF > SEL ANO Select analog input c 0 U zero

42 62 55 45 65

Q SEL ANl Select analog input one INC Rr Increment register lB-1F ;,

';;, INC@R Increment data memory 10-11

~ EN I Enable external a: interrupt

JMP addr Jump unconditional 04,24,44,64, DIS I Disable external

84,A4,C4,E4 a

EN TCNTI Enable timer / counter .c DJNZ R,addr Decrement register and ES-EF interrupt u = DIS TCNTI Disable timer / counter c jump on R not zero ~ interrupt JC addr Jump on carry= 1 F6 RET I Return from interrupt JNC addr Jump on carry=O E6 JZ addr Jump on A zero C6 NOP No operation JNZ addr Jump on A not zero 96

JMPP@ A Jump indirect B3 j

Mnemonics copyright Intel Corporation, 1978_

Instruction Set - The following instructions, which are found in the 8748, have been deleted from the 8022 instruction set.

Data Moves Ragisters Branch Control Input/Output

MOV A,PSW DEC R ANL P,#data MOV PSW,A r-- ORL P,#data MOVX A,@A Flags JFO addr SEL ABO INS A,BUS * MOVX @R,A ~ JF1 addr Subroutine SEL RBl OUTL BUS,A * MOVP3 A,@A CPl FO JNI addr RETR SEL MBO ANL BUS,#data

CLR F1 JBb addr SEL MBl ORL BUS,#data

CPL F1 ENTO ClK

-These Instructions have been replaced in the 8022 by IN A,PO and OUTL PO,A respectively,

Show 4 more labels / short text on this page
lk 97 A7 · BO-Bl · ~ · interrupt
Page 81 of the Intel mcs-48 user manual — FO, F1
Page 81 · click to enlarge
Page 81
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 81)
Fig. 80 · The Single Component . 2" MCS-4S™ S~stem

MCS-48™ INSTRUCTION SET

SYMBOLS AND ABBREVIATIONS USED

A AC addr

Accumulator Auxiliary Carry 12-Bit Program Memory Address

Bb

Bit Designator (b=0-7)

BS

Bank Switch

BUS

BUS Port Carry

C ClK CNT

Clock

Event Counter

CRR D

Conversion Result Register Mnemonic for 4-Bit Digit (Nibble)

data

8-Bit Number or Expression

DBF

Memory Bank Flip-Flop

FO, F1

Flag 0, Flag 1 Interrupt

I P

Mnemonic for "in-page" Operation

PC Pp

Program Counter

Port Designator (p=1, 2 or 4-7)

PSW

Program Status Word

Rr

Register Designator (r=O, 1 or 0-7)

SP

Stack Pointer

T

Timer

TF

Timer Flag

TO, T1 X

Test 0, Test 1

Mnemonic for External RAM

# @ $

Immediate Data Prefix

Indirect Address Prefix

Current Value of Program Counter

(X)

Contents of X

((X))

Contents of location Addressed by X

Is Replaced by

Mnemonics copyright Intel Corporation 1976.

Page 82 of the Intel mcs-48 user manual — (A) .... (A)+(Rr)+(C) r=0-7
Page 82 · click to enlarge
Page 82
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 82)
Fig. 81 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

ADD A,Rr Add Register Contents to Accumulator

1011011rrri

The contents of register 'r' are added to the accumulator. Carry is affected.

(A) (A) + (Rr)

r=0-7

Example: ADDREG: ADD A,R6

;ADD REG 6 CONTENTS ;TO ACC

ADD A,@R r Add Data Memory Contents to Accumulator

101101000ri

The contents of the resident data memory location addressed by register 'r' bits 0-5*are added to the accumulator. Carry is affected.

(A) (A) + ((Rr)) r=0-1

Example: ADDM: MOV RO, #01 FH ;MOVE '1 F' HEX TO REG 0 ADD A, @RO ;ADD VALUE OF LOCATION ;31 TO ACC

ADD A,#data Add Immediate Data to Accumulator

1 00 0 0 1 0 0 1 11 I d7 d6 ds d4 I d3 d2 d1 do I

This is a 2-cycle instruction. The specified data is added to the accumulator. Carry is affected

(A) (A) + data

Example: ADDID: ADD A,#ADDER: ;ADD VALUE OF SYMBOL

;'ADDER' TO ACC

ADDC A,R r Add Carry and Register Contents to Accumulator

1011111rrri

The content of the carry bit is added to accumulator location 0 and the carry bit cleared. The contents of register 'r' are then added to the accumulator. Carry is affected.

(A) (A)+(Rr)+(C) r=0-7

ExampleADDRGC: AD DC A,R4 ;ADD CARRY AND REG 4 ;CONTENTS TO ACC

Mnemonics copyright Intel Corporation 1976. '0-6 for 8039/8049

Page 83 of the Intel mcs-48 user manual — (A)-- (A) AND «Rr)) r=0-1
Page 83 · click to enlarge
Page 83
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 83)
Fig. 82 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

ADDC A,@Rr Add Carry and Data Memory Contents to Accumulator

101111 0 0 0r i

The content of the carry bit is added to accumulator location 0 and the carry bit c;:leared. Then the contents of the resident data memory location aqdressed by register Or' bits 0-5*are added to the accumulator. Carry is affected.

(A) ... (A)+«Rr))+(C)

r=0-1

Example: ADDMC: MOV R1,#40

;MOVE '40' DEC TO REG 1

AD DC A,@R1 ;ADD CARRY AND LOCATION 40 ;CONTENTS TO ACC

AD DC A,#data Add Carry and Immediate Data to Accumulator

I 0 0 0 1 I 0 0 1 1 I I d7 de d5 d4 I d3 d2 d1 do I

This is a 2-cycle instruction. The content of the carry bit is added to accumulator location 0 and the carry bit cleared. Then the specified data is addec;l to the accumulator. Carry is affected.

(A)-- (A)+data+(C)

Example: ADDC A,#225 ;ADD CARRY AND '225' DEC ;TO ACC

ANL A,Rr Logical AND Accumulator With Register Mask

1010111rrri

Data in the accumulator is logically ANDed with the mask contained in working register or'.

(A) -- (A) AND (Rr) r=0-7

Example: ANDREG: ANL A,R3 ;'AND' ACC CONTENTS WITH MASK ;IN REG 3

ANL A,@Rr Logical AND Accumulator With Memory Mask

101011 000r i

Data in the accumulator is logically ANDed with the mask contained in the data memory location referenced by register or', bits 0-5~

(A)-- (A) AND «Rr)) r=0-1

Example: ANDDM: MOV RO,#03FH ;MOVE '3F' HEX TO REG 0

ANL A, @RO ;'AND' ACC CONTENTS WITH ;MASK IN LOCATION 63

Mnemonics copyright Intel Corporation 1976. . '0-6 for 8039/8049

Page 84 of the Intel mcs-48 user manual — \ (Pp)-- (Pp) AND (AO-3) p=4-7
Page 84 · click to enlarge
Page 84
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 84)
Fig. 83 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

ANL A,#data Logical AND Accumulator With Immediate Mask

I 0 1 0 1 I 0 0 1 1 I 1 d7 d6 ds d4 1 d3 d2 d1 do 1

This is a 2-cycle instruction. Data in the accumulator

is logically ANDed with an immediately-specified mask.

(A)-- (A) AND data

Examples: ANDID: ANL A,#OAFH ;'AND' ACC CONTENTS ;WITH MASK 10101111 ANL A,#3+X/Y ;'AND' ACC CONTENTS ;WITH VALUE OF EXP ;'3+X/Y'

ANL BUS,#data Logical AND BUS With Immediate Mask (Not in 8021, 8022)

11 0 0 1 11 0 0 0 1 1 d7 d6 ds d4 1 d3 d2 d1 do I

This is a 2-cycle instruction. Data on' the BUS port is logically ANDed with an immediately-specified mask. This instruction assumes prior specification of an 'OUTL BUS, A' instruction.

(BUS) -- (BUS) AND data

Example: ANDBUS: ANL BUS, #MASK ;'AND' BUS CONTENTS

;WITH MASK EQUAL VALUE ;OF SYMBOL 'MASK'

ANL Pp,#data Logical AND Port 1-2 With Immediate Mask (Not in 8021,8022)

11 00 1 11 0 P P I I d7 d6 ds d4 I d3 d2 d1 do I

This is a 2-cycle instruction. Data on port 'p' is logically ANDed with an immediately-specified mask.

(Pp)-- (Pp) AND data p=1-2

ExampleANDP2: ANL P2,#OFOH ;'AND' PORT 2 CONTENTS ;WITH MASK 'FO' HEX ; (CLEAR P20-23)

ANLD Pp,A Logical AND Port 4-7 With Accumulator Mask

11001111ppl

This is a 2-cycle instruction. Data on port 'p' is logically ANDed with the digit mask contained in accumulator bits 0-3.

\ (Pp)-- (Pp) AND (AO-3) p=4-7

Mnemonics copyright Intel Corporation 1976.

Page 85 of the Intel mcs-48 user manual — Example: Add three groups of two numbers. Put subtotals in
Page 85 · click to enlarge
Page 85
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 85)
Fig. 84 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

1 0 Port o 0 4 015 1 0 6 1 1 7

Example: ANDP4: ANLD P4,A ;'AND' PORT 4 CONTENTS ;WITH ACC BITS 0-3

CALL address Subroutine Call

la10a9as1101001 la7asa5a41a3a2a1aol

This is a 2-cycle instruction. The program counter and PSW bits 4-7 are saved in the stack. The stack pOinter (pSW bits 0-2) is updated. Program control is then passed to the location specified by 'address'. PC bit 11 is determined by the most recent SEL MB instruction.

A CALL cannot begin in locations 2046-2047 or 4094-4095. Execution continues at the instruction following the CALL upon return from the subroutine.

((SP)) (PC), (PSW 4-7) (SP) (SP)+1 (PCS-10) (addrS-10) (PCO-7) addrO-7 (PC 11) DBF

Example: Add three groups of two numbers. Put subtotals in

locations 50, 51 and total in location 52.

MOV RO,#50 ;MOVE '50' DEC TO ADDRESS ;REG 0 BEGADD: MOV A,R1 ;MOVE CONTENTS OF REG 1 ;TO ACC ADD A,R2 ;ADD REG 2 TO ACC CALL SUBTOT;CALL SUBROUTINE 'SUBTOT' ADD A R3 ;ADD REG 3 TO ACC ADD A,R4 ;ADD REG 4 TO ACC CALL SUBTOT ;CALL SUBROUTINE 'SUBTOT' ADD A,R5 ;ADD REG 5 TO ACC ADD A,R6 ;ADD REG 6 TO ACC CALL SUBTOT ;CALL SUBROUTINE 'SUBTOT'

SUBTOT: MOV @RO,A ;MOVE CONTENTS OF ACC TO ;LOCATION ADDRESSED BY ;REG 0 INC RO ;INCREMENT REG 0 RET ;RETURN TO MAIN PROGRAM

Mnemonics copyright Intel Corporation 1976.

Page 86 of the Intel mcs-48 user manual — (C).- NOT (C)
Page 86 · click to enlarge
Page 86
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 86)
Fig. 85 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

CLR A Clear Accumulator

10010101111

The contents of the accumulator are cleared to zero.

A.-O

CLR C Clear Carry Bit

11001101111

During normal program execution, the carry bit can be set to one by the ADD, ADDC, RLC, CPL C, RRC, and DAA instructions. This instruction resets the carry bit to zero. C.-O

CLR F1 Clear Flag 1 (Not in 8021,8022)

1 1010 101011

Flag 1 is cleared to zero.

(F1)'- 0

CLR FO Clear Flag 0 (Not in 8021, 8022)

11 00 0 101011

Flag 0 is cleared to zero.

(FO).- 0

CPL A Complement Accumulator

10011101111

The contents of the accumulator are complemented. This is strictly a one's complement. Each one is changed to zero and vice-versa.

(A).- NOT (A)

Example: Assume accumulator contains 01101010.

CPLACPL A ;ACC CONTENTS ARE COMPLE- ;MENTED TO 10010101 CPL C Complement Carry Bit

1 1010 101111

The setting of the carry bit is complemented; one is changed to zero, and zero is changed to one.

(C).- NOT (C)

Example: Set C to one; current setting is unknown.

CT01: CLR C ;C IS CLEARED TO ZERO CPL C ;C IS SET TO ONE Mnemonics copyright Intel Corporation 1976. 4-13

Page 87 of the Intel mcs-48 user manual — (A) __ (A)-1
Page 87 · click to enlarge
Page 87
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 87)
Fig. 86 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

CPL FO Complement Flag 0 (Not in 8021,8022)

11001101011

The setting of flag 0 is complemented; one is changed to zero, and zero is changed to one.

FO NOT (FO)

CPL F1 Complement Flag 1 (Not in 8021,8022)

11011101011

The setting of flag 1 is complemented; one is changed to zero, and zero is changed to one.

(F1)-- NOT (F1)

DA A Decimal Adjust Accumulator

1 0101 101111

The 8-bit accumulator value is adjusted to form two 4-bit Binary Coded Decimal (BCD) digits following the binary addition of BCD numbers. The carry bit C is affected. If the contents of bits 0-3 are greater than nine, or if AC is one, the accumulator is incremented by six.

The four high-order bits are then checked. If bits 4-7 exceed nine, or if C is one, these bits are increased by six. If an overflow occurs, C is set to one. I

Example: Assume accumulator contains 10011011.

DA A ;ACC ADJUSTED TO 00000001 ;WITH C SET C AC 7 4 3 0 o 010011011

o 1 1 0 ADD SIX TO BITS 0-7 o 010100001 o 1 1 0 ADD SIX TO BITS 4-7 1 0 1 OVERFLOW TO C

DEC A Decrement Accumulator

10000101111

The contents of the accumulator are decremented by one.

(A) __ (A)-1

Mnemonics copyright Intel Corporation 1976.

4·14

Page 88 of the Intel mcs-48 user manual — (Rr)-- (Rr)-1 r=0-7 If Rr not 0 (PCO-7)-- addr
Page 88 · click to enlarge
Page 88
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 88)
Fig. 87 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Example:

Decrement contents of external data memory location 63.

MOV RO,#3FH ;MOVE '3F' HEX TO REG 0 MOVX A,@RO ;MOVE CONTENTS OF LOCATION 63

;TO ACC ;DECREMENT ACC ;MOVE CONTENTS OF ACC TO ;LOCATION 63 IN EXPANDED ;MEMORY

DEC A MOVX @RO,A

DEC Rr Decrement Register

(Not in 8021, 8022)

1110011rrri

The contents of working register 'r' are decremented by one.

(Rr)-- (Rr)-1 r=0-7

Example: DECR1: DEC R1 ;DECREMENT CONTENTS OF REG 1

DIS I Disable External Interrupt (Not in 8021)

10001101011

External interrupts are disabled. A low signal on the interrupt input pin has no effect.

DIS TCNTI Disable Timer/Counter Interrupt (Not in 8021)

10011101011

Timer/counter interrupts are disabled. Any pending timer interrupt request is cleared. The interrupt sequence is not initiated by an overflow, but the timer flag is set and time accumulation continues.

DJNZ Rrl address Decrement Register and Test

11 1 1 0 11 r r r 1 1 a7 a6 a5 a4 1 a3 a2 a1 ao 1

This is a 2-cycle instruction. Register 'r' is decremented and tested for zero. If the register contains all zeros, program control falls through to the next instruction. If the register contents are not zero, control jumps to the specified 'address'.

The address in this case must evaluate to 8-bits, that is, the jump must be to a location within the current 256-location page.

(Rr)-- (Rr)-1 r=0-7 If Rr not 0 (PCO-7)-- addr

Mnemonics copyright Intel Corporation 1976.

4·15

Page 89 of the Intel mcs-48 user manual — (A).-. (Pp) p=1-2
Page 89 · click to enlarge
Page 89
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 89)
Fig. 88 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Example: Increment values in data memory locations 50-54.

MOV RO,#50 ;MOVE '50' DEC TO ADDRESS ;REG 0 MOV R3,#5 ;MOVE '5' DEC TO COUNTER ;REG 3 INCRT: INC @RO ;INCREMENT CONTENTS OF ;lOCATION ADDRESSED BY ;REG 0 INC RO ;INCREMENT ADDRESS IN REG 0 DJNZ R3, INCRT ;DECREMENT REG 3 - JUMP TO ;'INCRT' IF REG 3 NONZERO NEXT - ;'NEXT' ROUTINE EXECUTED ;IF R3 IS ZERO

EN I Enable External Interrupt (Not in 8021)

10000101011

External interrupts are enabled. A low signal on the interrupt input pin initiates the interrupt sequence.

EN TCNTI Enable Timer/Counter Interrupt (Not in 8021)

10010101011

Timer/counter interrupts are enabled. An overflow of the timer/counter initiates the interrupt sequence.

ENTO ClK Enable Clock Output (Not in 8021,8022)

10111101011

The test 0 pin is enabled to act as the clock output. This function is disabled by a system reset.

Example: EMTSTO: ENTO ClK ;ENABlE TO AS CLOCK OUTPUT

IN A,Pp Input Port or Data to Accumulator

10000110ppi

This is a 2-cycle instruction. Data present on port 'p'

is transferred (read) to the accumulator. In the 8021 IN A,P2 inputs P20-P23 to AO-A3 while A4-A7 is set to zero.

(A).-. (Pp) p=1-2

Mnemonics copyright Intel Corporation 1976.

Page 90 of the Intel mcs-48 user manual — ((Rr))-- ((Rr))+1 r=0-1
Page 90 · click to enlarge
Page 90
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 90)
Fig. 89 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Example: INP12: IN A,P1

;INPUT PORT 1 CONTENTS ;TO ACC ;MOVE ACC CONTENTS TO ;REG 6 ;INPUT PORT 2 CONTENTS ;TO ACC MOV R7,A ;MOVE ACC CONTENTS TO REG 7

MOV R6,A

IN A,P2

INC A Increment Accumulator

10001101111

The contents of the accumulator are incremented by one.

(A)-- (A)+1

Example: Increment contents of location 100 in external data memory.

INCA: MOV RO,#100 ;MOVE '100' DEC TO ADDRESS ;REG 0 MOVX A,@RO ;MOVE CONTENTS OF LOCATION ;100 TO ACC INC A ;INCREMENT A MOVX @RO,A ;MOVE ACC CONTENTS TO ;LOCATION 100

INC Rr Increment Register

1000111rrri

The contents of working register Or' are incremented by one.

r=0-7 (Rr)-- (Rr)+1

Example: INCRO: INC RO ;INCREMENT ADDRESS REG 0

INC @Rr Increment Data Memory Location

100011000ri

The contents of the resident data memory location addressed by register Or' bits 0-5*are incremented by one.

((Rr))-- ((Rr))+1 r=0-1

ExampleINCDM: MOV R1,#03FH ;MOVE ONES TO REG 1 INC @R1 ;INCREMENT LOCATION 63

Mnemonics copyright Intel Corporation 1976.

'0-6 .Ior 8039/8049

Page 91 of the Intel mcs-48 user manual — (PCO-7)-- addr If FO=1 (PC) = (PC)+2 If FO=O
Page 91 · click to enlarge
Page 91
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 91)
Fig. 90 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

IN A,PO I"puto' Port 0 Data to Accumulator (8021, 8022 Only)

Same as INS A,BUS except no RD pulse generated. INS A,BUS Strobed I"put of BUS Data to Accumulator

10000110001

This is a 2-cycle instruction. Data present on the BUS port is transferred (read) to the accumulator when the RD pulse is dropped. (Refer to section on programming memory expansion for details).

(A) __ (BUS)

Example: INPBUS: INS A,BUS ;INPUT BUS CONTENTS ;TO ACC

JBb address Jump If Accumulator Bit is Set (Not in 8021, 8022) I b2 b1 bo 1 I 0 0 1 0 I 1 a7 a6 as a4 I a3 a2 a1 aO I

This is a 2-cycle instruction. Control passes to the specified address if accumulator bit 'b' is set to one. b=0-7

(PCO-7)-- addr (PC) = (PC)+2

If Bb=1 If Bb=O

Example: JB4IS1: JB4 NEXT

;JUMP TO 'NEXT' ROUTINE ;IF ACC BIT 4=1

JC address Jump If Carry Is Set

11 0 1 1 0 1 I a7 a6 as a4 I a3 a2 a1 aO I

This is a 2-cycle instruction. Control passes to the specified address if the carry bit is set to one.

(PCO-7)-- addr (PC) = (PC)+2

If C=1 If C=O

Example: JC1: JC OVFLOW

;JUMP TO 'OVFLOW' ROUTINE ;IF C=1

JFO address Jump If Flag Ols Set (Not in 8021, 8022)

11 0 1 1 1 0 1 1 0 1 ~ a6 as a4 I a3 a2 a1 ao I

This is a 2-cycle instruction. Control passes to the specified address if flag 0 is set to one.

(PCO-7)-- addr If FO=1 (PC) = (PC)+2 If FO=O

Example: JFOIS1: JFO TOTAL

;JUMP TO 'TOTAL' ROUTINE ;IF FO=1

Mnemonics copyright Intel Corporation 1976.

4·18

Page 92 of the Intel mcs-48 user manual — JNC address Jump If Carry Is Not Set
Page 92 · click to enlarge
Page 92
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 92)
Fig. 91 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

JF1 address Jump If Flag 1 Is Set (Not in 8021, 8022)

1 0 1 0 1 1 0 1 1 a7 a6 as a4 1 a3 a2 a1 ao 1

This is a 2-cycle instruction. Control passes to the specified address if flag 1 is set to one.

(PCO-7)"- addr (PC) = (PC)+2

If F1 =1 IF F1=0

Example: JF1IS1: JF1 FILBUF

;JUMP TO 'FILBUF' ;ROUTINE IF F1=1

JMP address Direct Jump Within 2K Block

I a10 ag as 0 I 0 1 0 0 1 I a7 a6 as a4 1 a3 a2 a1 ao 1

This is a 2-cycle instruction. Bits 0-10 of the program counter are replaced with the directly-specified address. The setting of PC bit 11 is determined by the most recent SELECT MB instruction.

(PCS-10)-- addr 8-10 (PCO-7)"- addr 0-7 (PC 11 )-- DBF

Example:

JMP SUBTOT JMP $-6

;JUMP TO SUBROUTINE 'SUBTOT ;JUMP TO INSTRUCTION SIX LOCATIONS ;BEFORE CURRENT LOCATION ;JUMP TO ADDRESS '2F' HEX

JMP 2FH

JMPP @A Indirect Jump Within Page

11011100111

This is a 2-cycle instruction. The contents of the program memory location pointed to by the accumulator are substituted for the 'page' portion of the program counter (PC bits 0-7).

(PCO-7)"- ((A))

Example: Assume accumulator contains OFH.

JMPPAGJMPP @A ;JUMP TO ADDRESS STORED IN ;LOCATION 15 IN CURRENT PAGE

JNC address Jump If Carry Is Not Set

11 1 1 0 1 0 1 1 0 1 I a7 a6 as a4 1 a3 a2 a1 ao I·

This is a 2-cycle instruction. Control passes to the specified address if the carry bit is not set, that is, equals zero.

Mnemonics copyright Intel Corporation 1976.

Page 93 of the Intel mcs-48 user manual — (PCO-7)~ addr (PC) = (PC)+2
Page 93 · click to enlarge
Page 93
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 93)
Fig. 92 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

(PCO-7)~ addr (PC) = (PC)+2

If C=O IF C=1

Example: JCO: JNC NOVFLO ;JUMP TO 'NOVFLO' ROUTINE ;If C=O

JNI address Jump If Interrupt Input is Low (Not in 8021, 8022)

11 0 0 0 1 0 1 1 0 I 1 a7 a6 as a4 I a3 a2 a1 ao I

This is a 2-cycle instruction. Control passes to the specified address if the interrupt input signal is low (=0), that is, an external interrupt has been signaled. (This signal initiates an interrupt service sequence if the external interrupt is enabled.)

(PCO-7)~ addr If 1=0 (PC) = (PC)+2 If 1=1

Example: LOC 3: JNI EXTINT ;JUMP TO 'EXTINT' ROUTINE ;If 1=0

JNTO address Jump If Test 0 Is Low (Not in 8021)

1 0 0 1 0 1 0 1 1 0 1 1 a7 a6 as a4 1 a3 a2 a1 ao I

This is a 2-cycle instruction. Control passes to the specified address, if the test 0 signal is low

(PCO-7)~ addr (PC) = (PC)+2

If TO=O If TO=1

Example: JTOLOW: JNTO 60

;JUMP TO LOCATION 60 DEC ;IF TO=O

JNT1 address Jump If Test 1 Is Low

This is a 2-cycle instruction. Control passes to the specified address, if the test 1 signal is low.

(PCO-7)~ addr If T1=0 (PC) = (PC)+2 If T1=1

JNZ address Jump If Accumulator Is Not Zero

11 0 0 1 1 0 1 1 0 1 1 a7 a6 as a4 1 a3 a2 a1 ao I

This is a 2-cycle instruction. Control pases to the specified address if the accumulator contents are nonzero at the time this instruction is executed.

(PCO-7)~ addr (PC) = (PC)+2

If A"tO If A=O

Example: JACCNO: JNZ OABH

;JUMP TO LOCATION 'AB' HEX ;IF ACC VALUE IS NONZERO

Mnemonics copyright Intel Corporation 1976.

Page 94 of the Intel mcs-48 user manual — If A=O If At-O
Page 94 · click to enlarge
Page 94
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 94)
Fig. 93 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

JTF address Jump If Timer Flag Is Set I 0 0 0 1 I 0 1 1 0 I I a7 a6 as a4 I a3 a2 a1 ao I

This is a 2-cycle instruction. Control passes to the specified address if the timer flag is set to one, that is, the timer/counter register has overflowed. Testing the timer flag resets it to zero. (This overflow initiates an interrupt service sequence if the timer-overflow interrupt is enabled.)

(PCO-7 )-- addr (PC) = (PC)+2

If TF=1 If TF=O

Example: JTF1: JTF TIMER

;JUMP TO 'TIMER' ROUTINE ;IFTF=1

JTO address Jump If Test 0 Is High (Not in 8021) I 0 0 1 1 I 0 1 1 0 I I a7 a6 as a4 I a3 a2 a1 ao I

This is a 2-cycle instruction. Control passes to the specified address if the test 0 signal is high (=1).

(PCO-7)-- addr (PC) = (PC)+2

If TO=1 If TO=O

Example: JTOHI: JTO 53 ;JUMP TO LOCATION 53 DEC ;IF TO=1

JT1 address Jump If Test 1 Is High I 0 1 0 1 I 0 1 1 0 I I a7 a6 as a4 I a3 a2 a1 ao I

This is a 2-cycle instruction. Control passes to the specified address if the test 1 signal is high (=1).

(PCO-7)-- addr If T1=1 (PC) = (PC)+2 If T1=O

Example: JT1HI: JT1 COUNT ;JUMP TO 'COUNT' ROUTINE ;IF T1=1

JZ address Jump If Accumulator Is Zero

This is a 2-cycle instruction. Control passes to the specified address if the accumulator contains all zeros at the time this instruction is executed.

(PCO-7) -- addr (PC) = (PC)+2

If A=O If At-O

Example: JACCO: JZ OA3H

;JUMP TO LOCATION 'A3' HEX ;IF ACC VALUE IS ZERO

Mnemonics copyright Intel Corporation 1976.

4·21

Page 95 of the Intel mcs-48 user manual — (A) __ ((Rr)) r=0-1
Page 95 · click to enlarge
Page 95
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 95)
Fig. 94 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Mev A, #data Move Immediate Data to Accumulator

1 001 0 1 0 0 1 d7 d6 ds d4 J d3 d2 d1 do 1

This is a 2-cycle instruction. The 8-bit value specified by 'data' is loaded in the accumulator.

(A)-- data

Example: MOV A,#OA3H ;MOVE 'A3' HEX TO ACC

MaV A,PSW Move PSW Contents to Accumulator (Not in 8021, 8022)

11100101111

The contents of the program status word are moved to the accumulator.

(A)-- (PSW)

Example: Jump to 'RB1SET' routine if PSW bank switch, bit 4, is set. BSCHK: MOV A,PSW ;MOVE PSW CONTENTS TO ACC JB4 RB1SET ;JUMP TO 'RB1SET' IF ACC ;BIT 4=1

MaV A,R r Move Register Contents to Accumulator

11111J1rrri

8-bits of data are moved from working register 'r' into the accumulator.

(A)-- (Rr)

r=0-7

Example: MAR: MOV A,R3

;MOVE CONTENTS OF REG 3 ;TO ACC

MaV A,@R r Move Data Memory Contents to Accumulator

111111000rl

The contents ot the resident data memory location addressed by bits 0-5*ot register 'r' are moved to the accumulator. Register 'r' contents are unaffected.

(A) __ ((Rr)) r=0-1

Example: Assume R1 contains 00110110. MADM: MOV A,@R1 ;MOVE CONTENTS OF DATA MEM ;LOCATION 54 TO ACC

Mnemonics copyright Intel Corporation 1976. '0-6 for 8039/8049 4-22

Page 96 of the Intel mcs-48 user manual — (Rr).- data r=0-7
Page 96 · click to enlarge
Page 96
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 96)
Fig. 95 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Mev A,T Move Timer/Counter Contents to Accumulator

10100100101

The contents of the timer/event-counter register are moved to the accumulator.

(A)--- (T)

Example: Jump to "EXIT" routine when timer reaches '64',

that is, when bit 6 set - assuming initialization 64, TIMCHK: MOV A,T ;MOVE TIMER CONTENTS TO ;ACC JB6 EXIT ;JUMP TO 'EXIT' IF ACC BIT ;6=1

MeV PSW,A Move Accumulator Contents to PSW (Not in 8021, 8022)

11101101111

The contents of the accumulator are moved into the program status word. All condition bits and the stack pointer are affected by this move.

(PSW)--- (A)

Example: Move up stack pointer by two memory locations,

that is, increment the pointer by one.

INCPTR: MOV A,PSW ;MOVE PSW CONTENTS TO ACC INC A ;INCREMENT ACC BY ONE MOV PSW,A ;MOVE ACC CONTENTS TO PSW

MOV Rr,A Move Accumulator Contents to Register

1101011rrri

The contents of the accumulator are moved to

register 'r'.

(Rr)--- (A)

r=0-7

Example: MRA: MOV RO,A

;MOVE CONTENTS OF ACC TO ;REG 0

MOV Rr,#data Move Immediate Data to Register

This is a 2-cycle instruction. The 8-bit value specified by 'data' is moved to register 'r'.

(Rr).- data r=0-7

Mnemonics copyright Intel Corporation 1976.

Page 97 of the Intel mcs-48 user manual — (T)-- (A)
Page 97 · click to enlarge
Page 97
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 97)
Fig. 96 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Examples: MIR4: MOV R4,#HEXTEN ;THE VALUE OF THE SYMBOL

;'HEXTEN' IS MOVED INTO ;REG 4 MIR 5: MOV R5,#PI*(R*R) ;THE VALUE OF THE

;EXPRESSION 'PI*(R*R) ;IS MOVED INTO REG 5 MIR 6: MOV R6, #OADH ;'AD' HEX IS MOVED INTO ;REG .6 MaV @Rr,A Move Accumulator Contents to Data Memory

11 0 1 01000 r l

This is a 2-cycle instruction. The contents of the accumulator are moved to the resident data memory location whose address is specified by bits 0-5* of register 'r'. Register 'r' contents are unaffected.

((Rr))-- (A) r=0-1

Example: Assume RO contains 00000111. MDMA: MOV @RO,A ;MOVE CONTENTS OF ACC TO ;LOCATION 7 (REG 7)

MaV @Rr,#data Move Immediate Data to Data Memory

11 0 1 1 1 0 0 0 r 1 1 d7 d6 ds d4 1 d3 d2 d1 do 1

This is a 2-cycle instruction. The 8-bit value specified by 'data' is moved to the resident data memory location addressed by register 'r', bits 0-5~

((Rr)) __ data r=0-1

Examples: Move the hexadecimal value AC3F to locations 62-63.

MIDM: MOV RO,#62 ;MOVE '62' DEC TO ADDR REG 0 MOV @RO,#OACH ;MOVE 'AC' HEX TO LOCATION 62 INC RO ;INCREMENT REGO TO '63' MOV @RO,#3FH ;MOVE '3F' HEX TO LOCATION 63

MaV T,A Move Accumulator Contents to Timer/Counter

10110100101

The contents of the accumulator are moved to the timer/event-counter register.

(T)-- (A)

Example: Initialize and start event counter. INITEC: CLR A ;CLEAR ACC TO ZEROS MOV T,A ;MOVE ZEROS TO EVENT COUNTER STRT CNT ;ST ART COUNTER

Mnemonics copyright Intel Corporation 1976, 4-24 '0-6 for 8039/8049

Page 98 of the Intel mcs-48 user manual — (PC O-7) ..... (A) (A) ..... ((PC»
Page 98 · click to enlarge
Page 98
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 98)
Fig. 97 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

MOVO A,Pp Move Port 4-7 Data to Accumulator

10000111ppi

This is a 2-cycle instruction. Data on 8243 port 'p' is moved (read) to accumulator bits 0-3. Accumulator bits 4-7 are zeroed.

(0-3) (Pp) p=4-7 (4-7) 0

Bits 1 0 Port 00 4 015 106 1 1 7

Example: INPPT5: MOVD A,P5 ;MOVE PORT 5 DATA TO ACC ;BITS 0-3, ZERO ACe BITS 4-7

MOVO Pp,A Move Accumulator Data to Port 4-7

10011111ppl

This is a 2-cycle instruction. Data in accumulator

bits 0-3 is moved (written) to 8243 port 'p'. Accumulator bits 4-7 are unaffected. (See NOTE above regarding port mapping.)

(Pp) ... (A o3) p=4-7

Example: Move data in accumulator to ports 4 and 5.

OUTP45: MOVD P4,A ;MOVE ACC BITS 0-3 TO PORT 4 SWAP A ;EXCHANGE ACC BITS 0-3 AND 4-7 MOVD P5,A ;MOVE ACC BITS 0-3 TO PORT 5

MOVP A,@A Move Current Page Data to Accumulator

11010100111

The contents of the program memory location addressed by the accumulator are moved to the accumulator. Only bits 0-7 of the program counter are' affected, limiting the program memory reference to the current page. The program counter is restored following this operation

(PC O-7) (A) (A) ((PC»

Mnemonics copyright Intel Corporation 1976.

4·25

Page 99 of the Intel mcs-48 user manual — MAXDM: MOVX A,@R1 ;MOVE CONTENTS OF LOCATION ;118 TO ACC
Page 99 · click to enlarge
Page 99
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 99)
Fig. 98 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Example: MOV128: MOV A,#128

;MOVE '128' DEC TO ACC ;CONTENTS OF 129th LOCATION ;IN CURRENT PAGE ARE MOVED TO ;ACC

MOVPA,@A

MOVP3 A,@A Move Page 3 Data to Accumulator (Not in 8021,8022)

11110100111

This is a 2-cycle instruction. The contents of the program memory location (within page 3) addressed by the accumulator are moved to the accumulator. The program counter is restored following this operation.

Example: Look up ASCII equivalent of hexadecimal code in table

contained at the beginning of page 3. Note that ASCII characters are designated by a 7-bit code; the eighth bit is always reset. TABSCH: MOV A,#OB8H ;MOVE 'B8' HEX TO ACC (10111000)

ANL A,#7FH ;LOGICAL AND ACC TO MASK BIT ;7 (00111000) MOVP3 A,@A ;MOVE CONTENTS OF LOCATION

;'38' HEX IN PAGE 3 TO ACC ;(ASCII '8') Access contents of location in page 3 labelled TAB1. Assume current program location is not in page 3. TABSCH: MOV A,#LOW TAB1 ;ISOLATE BITS 0-7 OF LABEL

;ADDRESS VALUE MOVP3 A,@A ;MOVE CONTENTS OF PAGE 3 ;LOCATION LABELED 'TAB1' ;TO ACC

MOVX A,@R r Move External-Data-Memory Contents to Accumulator

11 000 I 000 r I (Not in 8021, 8022)

This is a 2-cycle instruction. The contents of the external data memory location addressed by register 'r' are moved to the accumulator. Register 'r' contents are unaffected.

(A)..- «Rr)) r=0-1

Example: Assume R1 contains 01110110.

MAXDM: MOVX A,@R1 ;MOVE CONTENTS OF LOCATION ;118 TO ACC

Mnemonics copyright Intel Corporation 1976.

(PCo-7)+(A) (PCS_11)+0011 (A)+«PC))

Page 100 of the Intel mcs-48 user manual — (A)-- (A) OR data
Page 100 · click to enlarge
Page 100
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 100)
Fig. 99 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

MOVX @Rr,A Move Accumulator Contents to External Data Memory

11 00 1 1 00 0 r 1 (Not in 8021, 8022)

This is a 2-cycle instruction. The contents of the accumulator are moved to the external data memory location addressed by register 'r'. Register 'r' contents are unaffected.

((Rr))-- A r=0-1

Example: Assume RO contains 11000111.

MXDMA: MOVX @RO,A ;MOVE CONTENTS OF ACC TO ;LOCATION 199 IN EXPANDED ;DATA MEMORY NOP The NOP Instruction

1000010000 I

No operation is performed. Execution continues with the following instruction.

ORL A,Rr Logical OR Accumulator With Register Mask

101001 1rrr i

Data in the accumulator is logically ORed with the mask contained in working register 'r'.

r=Q-7 (A)-- (A) OR (Rr)

Example: ORREG: ORL A,R4 ;'OR' ACC CONTENTS WITH ;MASK IN REG 4

ORL A,@Rr Logical OR Accumulator With Memory Mask

10 100 1000rl

Data in the accumulator is logically ORed with the mask contained in the resident data memory location referenced by register 'r', bits 0-5*

(A) -- (A) OR ((Rr))

r=0-1

Example: ORDM: MOV RO,#3FH

;MOVE '3F' HEX TO REG 0 ;'OR' ACC CONTENTS WITH MASK ;IN LOCATION 63

ORL A,@RO

ORL A,#data Logical OFJ Accumulator With Immediate Mask

1 0 1 0 0 1 0 0 1 1 1 I d7 dB ds d4 I d3 d2 d1 do I

This is a 2-cycle instruction. Data in the accumulator is logically ORed with an immediately-specified mask.

(A)-- (A) OR data

Example: ORID: ORL A,#'X'

;'OR' ACC CONTENTS WITH MASK ;01011000 (ASCII VALUE OF 'X')

Mnemonics copyright Intel Corporation 1976.

'0-6 for 8039/8049

Page 101 of the Intel mcs-48 user manual — Does not apply for OUTL PO,A of 8021, 8022
Page 101 · click to enlarge
Page 101
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 101)
Fig. 100 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

ORl BUS,#data logical OR BUS With Immediate Mask (Not in 8021,8022)

11 0 0 0 11 0 0 0 1 1 d7 d6 ds d4 1 d3 d2 d1 do 1

This is a 2-cycle instruction. Data on the BUS port is logically ORed with an immediately-specified mask. This instruction assumes prior specification of an 'OUTL BUS,A' instruction. (BUS)-- (BUS) OR data

Example: ORB US: ORL BUS,#HEXMSK ;'OR' BUS CONTENTS WITH

;MASK EQUAL VALUE OF SYMBOL ;'HEXMSK' ORl Pp, #data logical OR Port 1 or 2 With Immediate Mask (Not in

11 00 0 11 0 P p 1 1 d7 d6 ds d4 1 d3 d2 d1 dO 1 8021, 8022)

This is a 2-cycle instruction. Data on port 'p' is logically ORed with an immediately-specified mask. (Pp)-- (Pp) OR data p=1-2 Example: ORP1: ORL P1, #OFFH ;'OR' PORT 1 CONTENTS WITH ;MASK 'FF' HEX ( SET PORT 1 ;TO ALL ONES) ORlD Pp,A logical OR Port 4-7 With Accumulator Mask

11000111ppl

This is a 2-cycle instruction. Data on port'p' is

logically ORed with the digit mask contained in accumu lator bits 0-3.

(Pp) ... (Pp) OR (AO-3) ORPT: ORLD P7,A

p=4-7

;'OR' PORT 7 CONTENTS ;WITH ACC BITS 0-3 OUTl PO, A Output Accumulator Data to Port 0 (8021, 8022 Only)

Example:

11001100001 OUTl BUS,A Output Accumulator Data to BUS (Not in 8021,8022)

100001·00101

This is a 2-cycle instruction. Data residing in the accumulator is transferred (written) to the BUS port and latched. The latched data remains valid until altered by anotherOUTL instruction. Any other instruction requiring use of the BUS port (except INS) destroys the contents of the BUS latch. This includes expanded memory operations (such as the MOVX instruction). Logical operations on BUS data (AND, OR) assume the OUTL BUS,A instruction has been issued previously .

Does not apply for OUTL PO,A of 8021, 8022

. (BUS) -- (A)

Example: OUTLB!?: OUTL BUS,A ;OUTPUT ACC CONTENTS TO BUS Mnemonics copyright Intel Corporation 1976.

Page 102 of the Intel mcs-48 user manual — (SP)-- (SP)-1 (PC) .... «SP) +1
Page 102 · click to enlarge
Page 102
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 102)
Fig. 101 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

OUTL Pp,A Output Accumulator Data to Port 1 or 2

10011110ppl

This is a 2-cycle instruction. Data residing in the accumulator is transferred (written) to port 'p' and latched.

(Pp) (A) p=1-2

Example: OUTLP: MOV A,R7

;MOVE REG 7 CONTENTS TO ACC ;OUTPUT ACC CONTENTS TO PORT 2 ;MOVE REG 6 CONTENTS TO ACC ;OUTPUT ACC CONTENTS TO PORT 1

OUTL P2,A MOV A,R6 OUTL P1,A

RAD Move Conversion Result Register to Accumlator (8022 Only)

11000100001

This is a two cycle instruction. The contents of the AID conversion

result register are moved to the accumulator.

(A) (CRR)

RET Return Without PSW Restore

11000100111

This is a 2-cycle instruction. The stack pointer

(PSW bits 0-2) is decremented. The program counter is then restored from the stack. PSW bits 4-7 are not restored.

(SP) (SP)-1 (PC) «SP»

RETI Return From Interrupt (8022 Only)

11001100111

This is a two cycle instruction. The stack pointer is decremented and the program counter is restored from the stack. Interrupt input logic is re-enabled.

(SP)-- (SP)-1 (PC) «SP) +1

·Mnemonics copyright Intel Corporation 1976.

Page 103 of the Intel mcs-48 user manual — n=o-S
Page 103 · click to enlarge
Page 103
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 103)
Fig. 102 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

RETR Return With PSW Restore (Not in 8021, 8022)

11001100111

This is a 2-cycle instruction. The stack pointer is decremented. The program counter and bits 4-7 of the PSW are then restored from the stack. Note that RETR should be used to return from an interrupt, but should not be used within the interrupt service

routine as it signals the end of an interrupt routine by resetting the Interrupt in Progress flipflop.

(SP)..- (SP)-1 (PC)..- ((SP)) (pSW 4-7)"- ((SP))

RL A Rotate Left Without Carry

11 110101111

The contents of the accumulator are rotated left one bit. Bit 7 is rotated into the bit 0 position.

(An+1)"- (An) (AO)..- (A7) n=0-6

Example: Assume accumulator contains 10110001 ..

RLNC: RL A ;NEW ACC CONTENTS ARE 01100011.

RLC A Rotate Left Through Carry

11111101111

The contents of the accumulator are rotated left one bit. Bit 7 replaces the carry bit; the carry bit is rotated into the bit 0 position.

(An +1)..- (An)

n=o-S

(AO)-- (C) (C)-- (A7)

Example: . Assume accumulator conta,ins a 'signed' number;

isolate sign without changing value. RL TC: CLR C ;CLEAR CARRY TO ZERO RLC A ;ROTATE ACC LEFT, SIGN ;BIT (7) IS PLACED IN CARRY RR A ;ROTATE ACC RIGHT - VALUE (BITS 0-6) IS RESTORED, ;CARRY UNCHANGED, BIT 7 ;IS ZERO

Mnemonics copyright Intel Corporation 1976.

4·30

Page 104 of the Intel mcs-48 user manual — (An)-- (An+1) (A7)-- (C) (C)-- (Ao)
Page 104 · click to enlarge
Page 104
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 104)
Fig. 103 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

RR A Rotate Right Without Carry

10111\011 1 1

The contents of the accumulator are rotated right one bit. Bit 0 is rotated into .the bit 7 position

(An)-- (An +1) (A7)-- (AO)

n=0-6

Example: Assume accumulator contains 10110001.

RRNC: RR A ;NEW ACC CONTENTS ARE 11011000

RRC A Rotate Right Through Carry

10110\01111

The contents of the accumulator are rotated right one bit. Bit 0 replaces the carry bit; the carry bit is rotated into the bit 7 position.

(An)-- (An+1) (A7)-- (C) (C)-- (Ao)

n=0-6

Example: Assume carry is not set and accumulator contains

10110001. RRTC: RRC A ;CARRY IS SET AND ACC ;CONTAINS 01011000

SEL ANO Select Analog Input Zero (8022 Only)

11001101011

SEL AN1 Select Analog Input One (8022 Only)

11000101011

One of the two analog inputs to the AID converter is selected. The conversion process is started. Restarting a sequence deletes the sequence in progress.

Page 105 of the Intel mcs-48 user manual — (BS) .... 1
Page 105 · click to enlarge
Page 105
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 105)
Fig. 104 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

SEL MBO Select Memory Bank 0 (Not in 8021, 8022)

11110101011

PC bit 11 is set to zero on next JMP or CALL instruction. All references to program memory addresses fall within the range 0-2047.

(DBF) 0

Example: Assume program counter contains 834 Hex.

SEL MBO JMP $+20

;SELECT MEMORY BANK 0 ;JUMP TO LOCATION ;48 HEX

SEL MB1 Select Memory Bank 1

(Not in 8021, 8022)

11111101011

PC bit 11 is set to one on next JMP or CALL instruction. All references to program memory addresses fall within the range 2048-4095.

(DBF) 1

SEL RBO Select Register Bank 0 (Not in 8021, 8022)

11100101011

PSW bit 4 is set to zero. References to working registers 0-7 address data memory locations 0-7. This is the recommended setting for normal program execution.

(BS) 0

SEL RB1 Select Register Bank 1 (Not in 8021, 8022)

11101101011

PSW bit 4 is set to one. References to working registers 0-7 address data memory locations 24-31. This is the recommended setting for interrupt service routines, since locations 0-7 are left intact. The setting of

PSW bit 4 in effect at the time of an interrupt is restored by the RETR instruction when the interrupt service routine is completed.

(BS) 1

Example: Assume an external interrupt has occurred, control

has passed to program memory location 3, and PSW bit 4 was zero before the interrupt. LOC3: JNI INIT ;JUMP TO ROUTINE 'INIT' IF ;INTERRUPT INPUT IS ZERO

Mnemonics copyright Intel Corporation 1976.

4·32

Page 106 of the Intel mcs-48 user manual — CLR A MOV T,A MOV R7,A STRT T MAIN: JTF COUNT
Page 106 · click to enlarge
Page 106
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 106)
Fig. 105 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

INIT: MOV R7,A

;MOVE ACC CONTENTS TO ;LOCATION 7 ;SELECT REG BANK 1 ;MOVE 'FA' HEX TO LOCATION 31

SEL RB1 MOV R7,#OFAH

SEL RBO MOV A,R7 RETR

;SELECT REG BANK 0 ;RESTORE ACC FROM LOCATION 7 ;RETURN - RESTORE PC AND PSW

STOP TCNT Stop Timer/Event-Counter

10110101011

This instruction is used to stop both time accumulation and event counting.

Example: Disable interrupt, but jump to interrupt routine after eight overflows and stop timer. Count overflows in register 7.

START: DIS TCNTI

;DISABLE TIMER INTERRUPT ;CLEAR ACC TO ZEROS ;MOVE ZEROS TO TIMER ;MOVE ZEROS TO REG 7 ;START TIMER ;JUMP TO ROUTINE 'COUNT' ;IF TF=1 AND CLEAR TIMER FLAG ;CLOSE LOOP ;INCREMENT REG 7 ;MOVE REG 7 CONTENTS TO ACC ;JUMP TO ROUTINE 'INT' IF ACe ;BIT 3 IS SET (REG 7=8) ;OTHERWISE RETURN TO ROUTINE ;MAIN

CLR A MOV T,A MOV R7,A STRT T MAIN: JTF COUNT

JMP MAIN COUNT: INC R7

MOV A,R7 JB31NT

JMP MAIN

INT:

STOP TCNT

;STOP TIMER ;JUMP TO LOCATION 7 (TIMER) ;INTERRUPT ROUTINE

JMP 7H

Mnemonics copyright Intel Corporation 1976.

Page 107 of the Intel mcs-48 user manual — (A 4-7) ~ (A o3)
Page 107 · click to enlarge
Page 107
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 107)
Fig. 106 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

STRT CNT Start Event Counter

10100101011

The test 1 (T1) pin is enabled as the event-counter input and the counter is started. The event-counter register is incremented with each high-to-Iow transition on the T1 pin.

Example: Initialize and start event counter. Assume overflow is desired with first T1 input. STARTC: EN TCNTI ;ENABLE COUNTER INTERRUPT MOV A,#OFFH ;MOVE 'FF' HEX (ONES) TO

;ACC MOV T,A ;MOVE ONES TO COUNTER STRT CNT ;ENABLE T1 AS COUNTER ;INPUT AND START

STRT T Start Timer

10101101011

Timer accumulation is initiated in the timer register. The register is incremented every 32 instruction cycles. The prescaler which counts the 32 cycles is cleared but the timer register is not.

Example:

Initialize and start timer. STARTT: CLR A

;CLEAR ACC TO ZEROS ;MOVE ZEROS TO TIMER ;ENABLE TIMER INTERRUPT ;START TIMER

MOV T,A EN TCNTI STRT T

SWAP A Swap Nibbles Within Accumulator

10 100101111

Bits 0-3 of the accumulator are swapped with bits 4-7 of the accumulator.

(A 4-7) ~ (A o3)

Example: Pack bits 0-3 of locations 50-51 into location 50. PCKDIG: MOV RO, #50 ;MOVE '50' DEC TO REG 0 MOV R1, #51 ;MOVE '51' DEC TO REG 1 XCHD A,@RO ;EXCHANGE BITS 0-3 OF ACC ;AND LOCATION 50 SWAP A ;SWAP BITS 0-3 AND 4-7 OF ACC XCHD A,@R1 ;EXCHANGE BITS 0-3 OF ACC AND ;LOCATION 51 MOV @RO,A ;MOVE CONTENTS OF ACC TO ;LOCATION 50

Mnemonics copyright Intel Corporation 1976.

Page 108 of the Intel mcs-48 user manual — (A O-3) ~ ((RrO-3)) r=0-1
Page 108 · click to enlarge
Page 108
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 108)
Fig. 107 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

XCH A,Rr Exchange Accumulator-Register Contents

1001011rrri

The contents of the accumulator and the contents of working register 'r' are exchanged.

(A)~ (Rr) r=0-7

Example: Move PSW contents to Reg 7 without losing accumulator contents. XCHAR7: XCH A,R7 ;EXCHANGE CONTENTS OF REG 7 ;AND ACC MOV A, PSW XCH A,R7

;MOVE PSW CONTENTS TO ACC ;EXCHANGE CONTENTS OF REG 7 ;AND ACC AGAIN

XCH A,@Rr Exchange Accumulator and Data Memory Contents

100101000ri

The contents of the accumulator and the contents of the resident data memory location addressed by bits 0-5*of register 'r' are exchanged. Register 'r' contents are unaffected.

(A)~ ((Rr)) r=0-1

Example: Decrement contents of location 52. DEC52: MOV RO,#52 ;MOVE '52' DEC TO ADDRESS ;REG 0 XCH A,@RO ;EXCHANGE CONTENTS OF ACC ;AND LOCATION 52 DEC A ;DECREMENT ACC CONTENTS XCH A,@RO ;EXCHANGE CONTENTS OF ACC ;AND LOCATION 52 AGAIN

XCHD A,@R r Exchange Accumulator and Data Memory 4-Bit Data

100111 000r l

This instruction exchanges bits 0-3 of the accumulator with bits 0-3 of the data memory location addressed by bits 0-5*of register 'r'. Bits 4-7 of the accumulator, bits 4-7 of the data memory location, and the contents of register 'r' -are unaffected.

(A O-3) ~ ((RrO-3)) r=0-1

Mnemonics copyright Intel Corporation 1976.

'0-6 for 8039/8049

Page 109 of the Intel mcs-48 user manual — (A) .... (A) XOR data
Page 109 · click to enlarge
Page 109
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 109)
Fig. 108 · The Single Component . 2" MCS-4S™ S~stem

INSTRUCTION SET

Example: Assume program counter contents have been stacked in

locations 22-23. XCHNIB: MOV RO,#23 ;MOVE '23' DEC TO REG 0 CLR A ;CLEAR ACC TO ZEROS XCHD A,@RO ;EXCHANGE BITS 0-3 OF ACC ;AND LOCATION 23 (BITS 8-11 ;OF PC ARE ZEROED, ADDRESS ;REFERS TO PAGE 0)

XRL A,Rr Logical XOR Accumulator With Register Mask

1110111rrri

Data in the accumulator in EXCLUSIVE ORed with the mask contained in working register 'r'.

(A) (A) XOR (Rr)

r=0-7

Example: XORREG: XRL A,R5

;'XOR' ACC CONTENTS WITH ;MASK IN REG 5

XRL A,@R r Logical XOR Accumulator With Memory Mask

111011000rl

Data in the accumulator is EXCLUSIVE ORed with the mask contained in the data memory location addressed by register 'r', bits 0-5~

(A) (A) XOR ((Rr)) r=0-1

Example: XORDM: MOV R1, #20H ;MOVE '20' HEX TO REG 1

XRL A,@R1 ;'XOR' ACC CONTENTS WITH MASK ;IN LOCATION 32

XRL A,#data Logical XOR Accumulator With Immediate Mask

11 1 0 1 1 0 0 1 d7 de ds d4 I d3 d2 d1 do I

This is a 2-cycle instruction. Data in the accumulator is EXCLUSIVE ORed with an immediately'-specified mask.

(A) (A) XOR data

Example: XORID: XOR A,#HEXTEN ;XOR CONTENTS OF ACC WITH

;MASK EQUAL VALUE OF SYMBOL ;'HEXTEN'

Mnemonics copyright Intel Corporation 1976. ·0-6 for 8039/8049

Page 110 of the Intel mcs-48 user manual — Appli~ation Examples
Page 110 · click to enlarge
Page 110
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 110)
Fig. 109 · The Single Component . 2" MCS-4S™ S~stem

Appli~ation Examples

Page 111 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 111 · click to enlarge
Page 111
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 111)
Fig. 110 · The Single Component . 2" MCS-4S™ S~stem
Page 112 of the Intel mcs-48 user manual — FREQUENCY REFERENCE OPTIONS
Page 112 · click to enlarge
Page 112
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 112)
Fig. 111 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

5.0 Introduction

The following chapter is organized in two sections, Hardware and Software. The hardware section gives examples of some typical configurations of MCS-48 compon- ents while software section gives assembly language listings of some common appli- cations routines.

5.1 Hardware Examples

DRIVING FROM EXTERNAL SOURCE

CRYSTAL OSCILLATOR MODE

+5V

r I I I ..L ..

< 15 pF (INCLUDES XTAL,

SOC~ET, STRAY)

+5V

I I I L ____ _

15-25pF (INCLUDES SOCKET, I

L---'--~XTAL2

STRAY) ":'

CRYSTAL SERIES RESISTANCE SHOULD BE

BOTH XTAll AND XTAl2 SHOULD BE DRIVEN. RESISTORS TO Vee ARE NEEDED TO ENSURE V,H = 3.8V IF TTL CIRCUITRY IS USED.

LC OSCILLATOR MODE

NOTE:

A STANDARD SERIES RESONANT XTAL SUCH AS CTS KNIGHTS MP060 OR CRYSTEK CY6B WILL PROVIDE BETTER THAN .1% FRE· QUENCY ACCURACY.

--"- J;.. NOMINAL'

45 .H 20 pF 5.2 MHz

12O.H 20pF 3.2 MHZ..--_..-_-42 XTAll

EACH C SHOULD BE APPROXIMATELY 20pF, INCLUDING STRAY CAPACITANCE. FOR MORE INFORMATION ON XTALS SEE INTEl- APPLICATION NOTE AP.35.

L---_~_~3 XTAl2 Cpp " 5 - 10 pF PlN·TO·PIN CAPACITANCE

EACH C SHOULD BE APPROXIMATELY 20 pF. INCLUDING STRAY CAPACITANCE.

NOTE: SEE PAGE 5·3 FOR 6021

FREQUENCY REFERENCES.

FREQUENCY REFERENCE OPTIONS

Show 4 more labels / short text on this page
XTAll · Jo-4------'" 2~ XTAll · C'- C+3Cpp · 5·1
Page 113 of the Intel mcs-48 user manual — THE STAND ALONE 8048/8049
Page 113 · click to enlarge
Page 113
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 113)
Fig. 112 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V GND

b~L

Vee VDD Vss 27 2 P10

28 ~ XTAL 1 P11 P12 29 ~ P13 30 [ INPUT 1 3 31 AND XTAL 2 P14 OUTPUT P15 32 15-25pf P16 33 f ! RESET P17 34

}~'"

}~'"

EA P21 22 8049 P22 23 8048 P23 24 [ INPUT] -=- 5 AND 8748 35 NC 55 P24 36 OUTPUT P25 37 P26 P27 38

1 12 {-

DB3 15 } ['''~] 16 BUS PORT AND INT DB4 OUTPUT DB5 17

TO DBO DB1 13 39

INPUT --: T1 DB2 14

DB6 18

DB7 19

NC NC

  • All inputs and outputs (except RESET, X1, X2) standard TTL compatible
  • P1 and P2 outputs drive 5V CMOS directly others require 10 to 50KO, pullup for CMOS compatibility

crs Knights MP060 Crystek CY6B or equivalent or standard 3.58 MHz TV Color Burst XT AL

XTAL: Series Resonant

1 to 6 MHz or

Parallel Resonant for higher accuracy

THE STAND ALONE 8048/8049

1ufd 21 P20

Page 114 of the Intel mcs-48 user manual — THE STAND ALONE 8021
Page 114 · click to enlarge
Page 114
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 114)
Fig. 113 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V GND L L Vee Vss 15

4 POO 5 POI 6 P02 P03 7

} ~~'J PORTO AND

~ ~ 1~

XTAL 1

P04 8 9 P05 10 P06 P07 11

XTAL2

OUTPUT

+5V

l~fd .J...

10V RESET

18 Pl0 19 Pll P12 20

} ~~'J PORT 1 AND

P13 21

22 P14 23 P15 P16 24

OUTPUT

P17 25

13 INPUT-- T1

} ~NPUT J . PORT2 AND

P20 26

P21 27

P22 1 2 P23

OUTPUT

+5V

XTAL 1

TTL GATE

XTAL2

NC'

LC CRYSTAL

EXTERNAL

ALTERNATE FREOUENCY REFERENCE OPTIONS (COMPONENT VALUES TO BE DETERMINED)

THE STAND ALONE 8021

5·3

Page 115 of the Intel mcs-48 user manual — THE STAND ALONE 8022
Page 115 · click to enlarge
Page 115
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 115)
Fig. 114 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V

}.~,

4 VAAEF

P12 27

P13 28

P14 29

[ INPUT] AND OUTPUT

30 PIS P16 31

P17 32

P20 33

P21 34

}~,

1,HF 8022

P22 35

P23 36

SUBST

P24 38

[ INPUT] AND OUTPUT

P25 39

ANO

P26 P27 VTH

A D INPUTS (

ANI

POO 10 11 POI P02 12

}.~ .

23 . XTAL 1

1M

P03 13

[ INPUT] AND OUTPUT

22 XTAL2

P04 14

P05 15 16 P06 P07 17

rvv-i

19 T1

NC

+5V

2 XTAL 1

r--- ..... --~Xl

r--- ..... --.-, XI

c= 20-50pF

TTL GATE

1 MEG

'---- .... --~ X2

XTAL2 NC

.6-3.6mHZ

CRYSTAL

EXTERNAL

ALTERNATE FREQUENCY REFERENCE OPTIONS (COMPONENT VALUES TO BE DETERMINED)

THE STAND ALONE 8022

Show 9 more labels / short text on this page
Vee · Pl0 25 · Pll 26 · AVec · AVss 20 Vss · 100pF · lpF · lK · Optional
Page 116 of the Intel mcs-48 user manual — MULTIPLE INTERRUPT SOURCES
Page 116 · click to enlarge
Page 116
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 116)
Fig. 115 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

OPEN COLLECTOR

INVERTERS

OEVICE -". +5V 1

10K

6 iNT 8049 8048 DEVICE ..... 8748 2 8035 8039 Z1

P10 26 ANY Pll UNDEDICATED 29 PORT LINES DEVICE P12 CAN BE USED 30 3 P13

DEVICE 4

  • All devices equal priority
  • Processor polls Port 1 to determine interrupting device

MULTIPLE INTERRUPT SOURCES

Page 117 of the Intel mcs-48 user manual — MULTIPLE INTERRUPTS WITH PRIORITY LEVELS
Page 117 · click to enlarge
Page 117
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 117)
Fig. 116 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

12 13 14 15 10

DBO OBI OB2 DB3 WR

1 2 3 4 23

Bo Bl B2 SGS ECS

8049 8048 8748 8035 8039 Pl0 Pll P12

I~ Rii 1-* iii 17 ii2 I~ R3 AO 8 27 I~ ii4 8214 Al 9 28 20 fi5 AZ 10 29 !-f,- '7 ii6

INTERRUPT

INPUTS

INT 5 ~ --=0. ii7 S Q

INT

El TG INTE ElR ClK L-.(: R Or-- ,-tf ~r

9 RS FLIP FLOP +5V _

ALE

J

  • Processor polls Port 1 to determine interrupting device
  • Processor sets priority level by writing 4-bits to 8214

MULTIPLE INTERRUPTS WITH PRIORITY LEVELS

5·6

Page 118 of the Intel mcs-48 user manual — EXTERNAL PROGRAM MEMORY
Page 118 · click to enlarge
Page 118
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 118)
Fig. 117 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

b26 L

+5V GND

+5V +5V GNO

+12V -5V GNO

124 124 112 Vee Voo Vss ~

Vee GNO Vee rll

  • Voo V
  • Vss

~ :::t:: • XTAL1 Pll #-- 8212 A9 ~

P12 ~ LATCH ~ A8 HI ::r

3 P13 ~ 3 4 1 • XTAL 2 P14 #- 01, DO, tt-2 A7 P15 #-- 5 7 01, DO, ~ A6 f l r--!

P16 #- 013 003 ~ A5 RESET P17 dL. 9 16 01, DO, ~ A4

01, DO, '17&" A3 7 P20 ~I- 01. DO. ~ A2 EA 8049 P21 ~~ ~ 01, DO, ~ Al

21 ~

-: 8048 P22 24 -# 01. DO. f"'---"- AO 14 5 8748 P23 ~ CLR NC- ss 8035* P24 36 OS, MO OS, P25 ~ 8039* P26 ~ 13 12-:!; P27 =- 1 OBO 12

8708 1K X 8 EPROM

9 01 ---

TO 39 OBl 13 10 02 ---

+5V

6 OB3 15 13 04 --- INT OB4 16 14 05

T1 OB2 14 11 03

OB5 17 15 06

OB6 18 16 07 OB7 19 17 08 ALE !'SEN PROG WR Ali

CSIWE

*EA = 5V FOR 8035/8039 11 19 125 110 18

  • 8212 serves as address latch
  • Address is valid while ALE is high and is latched when ALE goes low

EXTERNAL PROGRAM MEMORY

119 121 112 · 2 Pl0

Page 119 of the Intel mcs-48 user manual — ADDING A PROGRAM MEMORY AND 1/0 EXPANDER
Page 119 · click to enlarge
Page 119
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 119)
Fig. 118 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V GND

I:l~ L

2 Pl0 .-eXTALI Pll fllL P12 ~ ~ P13 30 rll =r

~)

3 ~ I/O • XTAL 2 P14 PIS &- :~

P16 ~ RESET P17 ~

21 +5V GND 7 P20 EA 8049 P21 22

8048 P22 23

40 15 20 11 -== 5 8748 P23

~} NC- SS 8035' P24 ~ Vee Voo vss EE 8039' P25 ~ I/O ~ A8 PAO ~ P26 rR- 22 A9 PAl ~ P27 r1lL 23 A10 PA2 ~ PA3 27 1 2B {-

TO DBO 12 12 ADO PA4 DBI 13 13 ADI 29 39 PAS 30- INPUT ~ T1 DB2 14 14 AD2 PA6 DB3 15 15 AD3 'jf- PA7 =- INT DB4 16 16 AD4

DB5 17 17 ADS 8355 &-- PBO DB6 18 18 AD6 8755A PBl ~ DB7 19 19 AD7 2K x 8 PB2 ~ ALE PSEN PROG WR iffi ROM PB3 ~

I/O

125 110 1 8 8 lOR ~ 11 9 PB4

10 PBS &- lOW PB6 ~

9 PB7 ~

RD

11 ALE

*EA = 5V FOR 8035/8039 2 +5V_ CE

, CAN BE SUPPLIED BY SYSTEM ---! RESET RESET OR PORT LINE OF 8048

.E 1 3 1 6 -=- NC NC

  • External I/O ports are addressed as data memory PA=OO PB=01
  • If the 8048's internal Program Memory is used this configuration will result in the upper 1 K of external memory being addressed before the lower 1 K.

Inverting A10 will correct this if necessary. This inversion is not necessary if the 8049 is used.

ADDING A PROGRAM MEMORY AND 1/0 EXPANDER

Vee Voo Vss

Page 120 of the Intel mcs-48 user manual — ADDING A DATA MEMORY AND I/O EXPANDER
Page 120 · click to enlarge
Page 120
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 120)
Fig. 119 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V GND

Cl" I" Vee VDD Vss 27 2 P10

28 ~ XTAL 1 P11 P12 29 ~ P13 30 3 1 • XTAL 2 P14 31

P15 32

P16 33 f----! RESET P17 34 I/O

P20 21

EA P21 22 8049 23 8048 P22 24 -= 5 8748 P23 35 NC- ss 8035' P24 36 8039' P25 3L- P26 P27 38

+5V GND

21 22 23 24 25 26 27 28

PAO PA1 PA2

1 12 {-

INPUTS ::=! T1 DB2 14

12 ADO 13 AD1 14 AD2 15 AD3 16 AD4 17 AD5 8155 18 AD6 19 AD7 256 x 8 RAM

PA3 PA4 PA5 PA6 PA7

TO DBO DB1 13 39

DB3 15

INT DB4 16

DB5 17

PCO PC1 PC2 PC3

37 38 39 1 I/O 2 5

DB6 18

DB7 19

ALE PSEN PROG WR RD

11 8 10/M PC4

PC5

9 RD

10 PBO . WR PB1

29 30 31 32 33 34 35 36

11 PB2 ALE PB3 r ce

PB4 PB5 PB6 PBl

'EA = 5V FOR 8035/8039

CAN BE SUPPLIED BY SYSTEM - 4 RESET TIMER TIMER RESET OR PORT LINE OF 8048 OUT IN

TIMER

  • Both 1/0 and RAM are addressed as data memory
  • Writing a bit to P27 determines whether RAM or 1/0 is to be accessed

ADDING A DATA MEMORY AND I/O EXPANDER

Page 121 of the Intel mcs-48 user manual — THE THREE CHIP SYSTEM
Page 121 · click to enlarge
Page 121
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 121)
Fig. 120 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V +5V GND GND

140 15 bo 11

Vee VOD Vss CE

g... PAO PAl ~ PA2 ~ PA3 ~ PA4 ~ PA5 ~ PA6 ~ PA7 F-'-

21 A8 22 A9 23 Al0

12 ADO 13 AD1 14 AD2 15 AD3 16 AD4 17 AD5 18 AD6 19 AD7

8355 8755A 2Kx 8 ROM

PBO ~ PBl ~ PB2 ~ PB3 ~ PB4 ~ PB5 ~ PB6 ~ PB7 F-

8 lOR ~ lOW

9 OPTIONAL GATE RD TO PREVENT ,--2l. "HOLE" IN ~

ALE +5V GND PROGRAM MEMORY -1..)

tl26 L

CE ---! RESET

l·

JX J:

Vee VOD Vss ~ 2 Pl0

XTAL 1 P11 ~ P12 ~

3 P13 ~ XTAL2 P14 rllP15 f#- 4 P16 rERESET P17 ~

7 P20 ~ EA P21 ~ P22 23 8049 24 5 8048 P23 - Sri P24 ~

T 40 Gr

NC

} 110 8748 P25 ~ P26 ~ P27 f1L 1 DBO 12 12 ADO --

PAO #- PAl ~ PA2 ~ PA3 ~ PA4 ~ PA5 ~ PA6 ~ PA7 ~

39 DBl 13 13 ADl --

TO

6 DB3 15 15 AD3 --

T1 DB214 14 AD2

INT DB4 16 16 AD4

DB5 17 17 AD5 DB6 18 18 AD6 DB7 19 19 AD7 ALE PSEN PROG WR AD

8156 256 X 8

PCO ~ PCl ~ PC2 ~ PC3 ~ ~ PC4 PC5 ~

RAM

1 25 10 18 7 101M 11 9

9 AD

PBO ~ PBl S- PB2 ~ PB3 ~ PB4 IJ4 PB5 tJt- PB6 ~ PB7 F-

10 _ WR ~ ALE

8 CE

~ RESET

TIMER

TIMER

OUT

IN

t 3

CAN BE SUPPLI ED BY SYSTEM RESET OR PORT LINE OF 8048

  • This configuration is explained in section 3.4

THE THREE CHIP SYSTEM

Show 4 more labels / short text on this page
1/0 · Vee Vss · 1/0 · i TIMER
Page 122 of the Intel mcs-48 user manual — ADDING AN 1/0 EXPANDER
Page 122 · click to enlarge
Page 122
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 122)
Fig. 121 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

1/0 Expansion Techniques The following are several examples of how the basic 1/0 capability of the MCS-48™ microcomputers can be easily expanded externally using either the 8243 1/0

expander device or standard logic circuits. These techniques can be used whenever the combination memoryllO expanders illustrated on the preceeding pages are not required.

+5V GND

+5V GND

b~ 20

P40 2 P41 3 P42 4 P43 5

Vee VDD Vss 2 ---.r::-- XTAL 1 ~ 3 1 • XTAL 2

Pl0 Pll P12 P13 P14 P15 P16 P17

28 29 30 31 32 33 34

~50 1 P51 23 P52 22 P53 21

) ,m

f----! RESET

8243 I/O EXPANDER

P60 20 E --:'1'::1 1 P20 P61 19 E --'l~O P21 P62 18 21 22 23 j.!;:: ,9 P22 P63 17 ~ =t8 P23 13

P20 P21 P22 P23 P24 P25 P26 P27

EA 8049 8048 -= 5 8748 Ness 8035 8039

24 35 36 37 38

7 P70 14 r---I PROG P71 - P72 15 ~~C_S P_7_3 16

1 {-

12 13 1/0 14 15 16 17 18 19

-=

TO 39

DBO DBl DB2 DB3 DB4 DBS DB6 DB7

INPUT ~ Tl

INT

ALE PSEN PROG WR 1m

ADDING AN 1/0 EXPANDER

Page 123 of the Intel mcs-48 user manual — 'PIN NUMBERS ARE DIFFERENT FOR 8022
Page 123 · click to enlarge
Page 123
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 123)
Fig. 122 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V GND

j~ J,.

Vee Vss 4 15 POO 5 G

XTALI POI P02 6

P03 7

XTAL2 P04 8

P05 9

+5V P07 11 +5V GND

l~fd...L 1/0 18 IOV 17 PIa 19 RESET Pll P12 20

P40 2 P41 3 P42 4 P43 5

21 DIODE 8021 P13 22 OPTIONAL 8022' P14 23 P15 -= P16 24

P17 25

P50 1

P51 23

22 8243 P52 21 I/O P53

13 INPUT_ T1

EXPANDER 20 1/0 P60 11 P20 P61 19

P20 26

P21 27

10 P21 P62 18

P22 1

9 P22 P63 17

P23 2

8 P23 13 P70 14 7 PROG P71 P72 15 6 CS P73 16

-=

'PIN NUMBERS ARE DIFFERENT FOR 8022

ADDING AN I/O EXPANDER TO THE 8021,8022

POe 10

Page 124 of the Intel mcs-48 user manual — 8022· 38 P27
Page 124 · click to enlarge
Page 124
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 124)
Fig. 123 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V GND bl 40 26 20

+5V GND

Vee GND ~ P40

P41 eLP42 eL P43 ~

Vee VOD Vss 2 P10

~1

XTAL1 P11 P12 ~ P13 30 ~ liD XTAL2 P14 P15 ~ P16 ~ RESET P17 ~.

1 P50 ~ P51 ~ 8243 P52 F-

I/O P53 ~

EXPANDER P60 ~ P20 P61 ~ P21 P62 ~ P22 P63 ~

P20 21

11 10 9 8

EA 8049 P21 22 8048 P22 23 8748 P23 24

P23

NC---

55 8035 P24 35 8039 P25 36 8021· P26 37

P70 ~

r---l

PROG P71 ~- P72 ~ CS ~ P73

DBS ~ DB6 r!!!- DB7 flL· { --- 39

8022· 38 P27

1 TO DBO

~J

DB1 T1 DB2 ~ DB3 elL INT DB4 flL 1/0

INPUT ~

Vee GND L P40 P41 1-

ALE PSEN PROG WR AD I" 1 9 25 110 18

P42 ~ P43 L

P50 ~ P51 F8243 P52 ~

I/O PS3 ~

1/0 EXPANDER P60 ~

.... ~ 10 9 8

P20 P61 ~

P21 P62 ~ P22 P63 ~

P23

P70 ~ PROG P71 ~- P72 ~ CS P73 ~

'PIN NUM BERS ARE DIFFERENT FOR 8021, 8022

I I I I I I

ADDING MULTIPLE 1/0 EXPANDERS

Show 4 more labels / short text on this page
124 112 · 1/0 · 24 GjD · +y
Page 125 of the Intel mcs-48 user manual — G
Page 125 · click to enlarge
Page 125
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 125)
Fig. 124 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

The bus is normally used as an output port. To use it as an input port the bus is put in the high impedance state using the MOVX instruction and then read using the INS instruction. The resistor value chosen is a function of the output loading and the characteristics of the input signals.

ADDING 8 INPUT LINES

+5V GND

Individual bits of the 74LS259 eight-bit addressable latch can be set or reset using the OUTL instruction. During the OUTL operation bit zero of the accumulator is written into the bit of the latch specified by bits 1 through 3 of the accumulator. In this configuration DSo- DS7 will be momentarily disturbed while the external latch is loaded.

Vee VOD Vss Pl0 27 2 - XTAL 1 Pl1 28 P12 29

3 P13 30 -

XTAL 2 P14 31 P15 32

4 P16 33 -

RESET P17 34

7 P20 21 -

EA P21 22

8049 P22 23 P23 24 -ss 8048 P24 35 8748 P25 36 P26 37 P27 38

CLR

08 07 06 05 04 03 02 01

1 _TO DBO 12

74LS259 0 1161 A

39 081 13 _Tl D82 14

6 DB3 15 - iNT DB4 16

G

DB5 17 DB6 18 DB? 19

ADDING 8 OUTPUT LINES

5·14

Page 126 of the Intel mcs-48 user manual — 74LS174 (16)
Page 126 · click to enlarge
Page 126
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 126)
Fig. 125 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

b26 L

Normal 1/0 port is used to select an address for the 16-to-1 multiplexer. The output of the multiplexer is brought into a test input. Eight inputs could be added with a 74LS151 8-to-1 multiplexer using the same structure.

Vee VOD Vss 2 - XTAL 1

PlO 27 Pl1 28 P12 29 PT3 30 .14 31 P15 32 PT6 33 .17 34

3 - XTAl2

W EO

El E2 E3 E4 E5 E6 E7 E8 E9 El0 Ell E12 E13 E14 E15

4 - RESET

8049 7 - EA 8048 8748 8021" -ss 8035 8039 8022· 1 _TO

P20 21 P21 22 P22 23 P23 24 P24 35 P25 36 P26 37 P27 38

~-+---IA

17:--+---1 C

DBO 12 DBT 13 DB2'4 DB3 15 DB4 16 DBS 11 DBB 18

39 Tl 6 - iNT

DB7 19 'PIN NUMBERS ARE DIFFERENT FOR 8021. 8022

ADDING 16 INPUT LINES

b26 L Vee VOD Vss 2 - XTAlT

The latch can be loaded with the OUTL instruction. After the latch is loaded the BUS output state can be modified with the ANL BUS, # DATA and the ORL BUS, # DATA. The OUTL generates a WR strobe; ANL and ORL do not. In this configuration DBo-DB7 will be momentarily disturbed while the external latch is loaded.

PTO 27 Pl1 28 P12 29 PT3 30 P14 31 P15 32 P16 33 P17 34

3 - XTAl2

4 - RESET

7 - EA 8049 8048 ss 8748

PlO 21 P21 22 P22 23 .23 24 P24 35 P25 36 P26 37 P27 38

1 -TO

DBD 12 14 60

6a sa 4a 3a 2a la

6 - iNf

DBT 13 13 60 oB2 14 11 40 0B3 15 6 3D oB4 16 20 DBS 17 10 DBB 18

74LS174 (16)

DB7 19

ADDING 6 OUTPUT LINES

Show 7 more labels / short text on this page
+5V GNo · 74150 (24) · ~-+='-----Io · +5V GNo · 39 -Tl · ClK · 5·15
Page 127 of the Intel mcs-48 user manual — ADDING OUTPUT FOR KEYBOARD/DISPLAY SCANNING
Page 127 · click to enlarge
Page 127
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 127)
Fig. 126 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

+5V GND

This is most useful when the outputs of the 74LS164 eight-bit shift register will be used to scan a display and/or keyboard. In this case an

Vee VSS 15 - XTAll

P10 18 Pl1 19 P12 20 Pt3 21 P14 22 P15 23 P16 24 P17 25

DISPLAY

ANLD P7, A with A = OFFH can be used to load the initial "1" and an ANLD P6, Awith A =OFEH can be used to move it down the shift register.

AND/OR KEYBOARD

ARRAY

17 __ - RESET

8049 8049 8748 8021" 8035 8039 8022*

.20...,2;::-6 ---I A P21 27 P22 1 P23 ,2

CLR

POQ 12

POt 13 P02 14 POl 15 P04 16 P05 17

13 _T1

POG 18 P07 19 'PIN NUMBERS ARE DIFFERENT FOR 8021, 8022

ADDING OUTPUT FOR KEYBOARD/DISPLAY SCANNING

Show 4 more labels / short text on this page
16 _ XTAl2 · 14LSl64 1141 · > · '-t---+1
Page 128 of the Intel mcs-48 user manual — 8049 EMULATOR CIRCUIT
Page 128 · click to enlarge
Page 128
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 128)
Fig. 127 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

ALE

J ALE PSEN EA '" '" r-- '" '" '" r-- '" '" '" r- '" '" '" r- '" iNT r- iNT

T'rT, TOrTo 58r-- 58 I I

00 a, 02' 03 00 0, 02 03 03 r"}

AZ A, v~ rr +5V {- ~

Vee vee~ Vee VCC~ NC-~

"lS'5 ::JfL ::: '4lS75 ~ E N.C.

TO ALL

OE AIO AS AS A7 As As A4 A3

PO/POR b .. - 0; ~~~~~-T~~~~ V_S~"~ .- ~

07 Os Os 04 03 02 0, 00

Do 0, D2 03 Dro_D,..,-rD,'-TD, , . '039 VS$~VSS

VDD Ii'" VDO

J:

P 17 t--= p 11 L-I-, ---_+-+--t--t t--+-++ j os, P,st-- P,s

L....-+-+-~----t-l-I_l_----------+-+++-----., DS2 PISt--- P,s L---+-++ ..... ---t,..-I-+-+-----------+-+-+-+------i DB] P'4 r----- P14

'" PROG 1:r:r1::1l--- 5K I AD., X,RST r T- -- I~ 00 D, ::L::7:' D, CK I~ 00 D, ::L::':' D. CK ,..I-~-_-'f I"" F-,""" RSr

P'J r P'2r--- PItt P'Or--

L ---++_+_+--t--t_++---~ ~-t_+_i _1DB,

L +++_+--l_t-+_+_---_+~ +-t_+_+ _1DB,

L +-+-+--t--+-+-++ tl-I-, +-+~~r_ ~DB.

L +-t_+--t~~~e-t_+_++---__t-I_t--, --+_+-i_i~ _lDB, Vee WA

PROG r--

.1/lF DECOUPLING CAPACITORS 00 0 a a 0 n. 00 0, 0, 03 n. n.~ ~~ ~ DISTRIBUTED EVENl V ON BOARO 1 2' 3 4 ~ ~ {r _ XTAll W ~ NC 22.' -::- N.C. L- XTAl2

DOo DO, DO, 00, DIDDI, DI,DI3 ~·U DOD 00, DO, 00, 01001, D"DI~Jt-

3216 DCE ~ 3216 '"o:~ -::- ... 1 WR

DBO DB, DBl DBl DBo DB, DSzDB3 t ~IF~R:::,B~B~D:::N-=-CA~B::-lE:-I Ro L- +++-t-I +-~·l .. ~(.}

8049 EMULATOR CIRCUIT

Vee · 5·17

Page 129 of the Intel mcs-48 user manual — APPLICATION EXAMPLES
Page 129 · click to enlarge
Page 129
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 129)
Fig. 128 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

8049 EMULATOR CIRCUIT DESCRIPTION-6 MHZ

The following is an explanation of a circuit which emulates the operation of an IntelC!> 8049 using a stan- dard EPROM for program storage. With the 8049, software may be developed by running external program memory, but dOing so requires the use of the bus and P23-P20 to access this memory. The circuit shown may be used to restore the normal functioning of these twelve 1/0 pins. The circuit con- sists of an 8039 CPU, 2716 EPROM, two 8216 bi- directional bus drivers, and eight other 7400 Series Low- Power Schottky TTL packages. The whole assembly can be built on a 2-3/4" x 4" board. A cable coming off the board can be terminated by a forty-pin plug which may be inserted directly into the CPU socket intended for the 8049 In a system undergo- ing design or testing. Alternatively, a pattern of forty pins extending below the board can be used to plug the board directly into the system undergoing testing, "piggy-back" fashion. The emulator board may be con-

be changed from what is shown in the Figure, so that DBrDBo act as high impedance inputs and the 8216s are enabled only when the read operation Is performed. If the bus is to be used only for latched output, the 8216s can be omitted entirely .. Bi-directional data transfers which require the transfer of address information as well as data, such as to and from external data memory, require removal of the 8216s and replacement with 16-pin jumper blocks on which the DBx pins are connected with the respective DOxpins.

The lower four bits of Port 2 are also used in fetching in- structions from the 2716, in addition to their use as in- put or output pins in the user's system. In configuring the emulator for a particular application, the user must dedicate each of these as either an input or output pin and connect jumper set J1 accordingly. Any mix of input and output pins is allowed. At the beginning of each in- struction fetch, the last data written to P2 will be pre- sent on P23-P20 at the rising edge of ALE and will be latched by a 74LS174. The latched data may be con- nected through the jumpers to those pins whictl will be used as outputs on the 8049. Emulator pins used as in- puts should be pulled above 2.0V for a logic "one". If this is not the case, i.e., if switches to Ground are to be read, 50K pull up resistors should be added to the circuit· on each input. They were omitted from the diagram to minimize input loading.

figu~ed in various ways so that the 40 pin plug is the logical equivalent of an. 8049 in every legal operating mode. (In the following explanation of the operation of the circuit, an asterisk appearing before a signal or pin number - as in *PSEN - refers to that pin on the "vir- tual 8049" represented by the forty-pin plug). Since the CPU is Identical with the 8049 in all respects other than its lack of program memory, most of the pins of the 8039 are simply connected directly to the cor- responding pins of the forty-pin plug. These include all of Port 1, the high order bits of Port 2, the test pins, etc. Signals which are emulated with additional !.Qgi£...!!!.· clude the rest of Port 2, DBrDBo, *PSEN, etc. RD, WR, ALE, and PSEN are obtained from the 8039, but are also used by the emulation circuitry. The EA input of the 8039 Is hard-wired high so all in- struction fetches are made from the 2716. Two 74LS75 four-bit latches gated by the buffered ALE signal are used to hold the lower eight bits of address from the time-multiplexed data bus. Since the Bus is being used for fetching Instructions, data latched to the Bus will be lost on the next instruction fetch. Two 74LS174 latches are used to retain the output data when a bus write is executed. These latches are triggered by the trailing edge of the WR pulse, so their outputs are glitch free. Since logical operations to the bus do not generate a WR strobe, the "ANL BUS,#" and "ORL BUS,#" instruc- tions may not be used, though they do function properly with the other ports. The two 8216 bi-directional bus drivers normally buffer the latched bus contents to the DB pins of the virtual 8049. When an "INS A,BUS" Instruction is executed, they buffer the input signals on to the emulator data bus. Thus, the circuit is designed to use the B1Js for both .Iatched output and strobed Input. If DB79DBo of the

Pins which will be used as inputs may be connected to the input of an OR gate formed of inverters and open- collector NAND gates. The input signals will be relayed directly to the 8039 and will be read by an "IN A,P2" In- struction.But when PSEN is low, the NAND outputs are forced off, allowing the 8039 pins to be used for high- order program adressing. Open-collector 0stputs are needed to prevent line contention when P EN is not low.

If 8243s will be be used in the final system, the low order pins of Port 2 must be connected directly to the plug. This may be done by replacing the Port 2 latch with four jumpers connecting the inputs to the outputs. The NANOs should be removed or disabled by grounding the common NAND inputs.

The cluster of three OR gates Is used to enable the on- board 2716 and generate the *PSEN Signal, each of which is a function of PSEN, *EA, and the high order bit of the program counter. Thus *PSEN is generated, forc- ing an off-board read, only when a jump has been made to Memory Bank 1 or when *EA is brought high. If this feature is to be used to address off-board memory, DBr DBo may not be used for normal 1/0. The 8216s and 74LS174 must be replaced with jumper blocks and the open collector NAND gates disabled, as explained above. The same changes are required to operate the board in single step mode.

8049 are to be used solely for input data, J2 and J3 may

Page 130 of the Intel mcs-48 user manual — LINE FEED
Page 130 · click to enlarge
Page 130
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 130)
Fig. 129 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

DRUM PRINTER'

PRINTER POS.

LINE FEED

RIB SHIFT

SOLENOIDS

BUS

8 DATA IN OR 8080 INTERNAL BUS

RDY/BSY

'SEIKO =101

8048 INTERFACE TO DRUM PRINTER

1000 PULSE/GAL

CS

CS

8251 USART

CS/CD

TO CENTRAL

TERMINAL

3 SCANNED

NON SCANNED

FUEL VALVES

PRICE

SCAN LINES

MOTOR

MCS-48™ GAS PUMP

5·19

Page 131 of the Intel mcs-48 user manual — LOW COST POINT OF SALE TERMINAL
Page 131 · click to enlarge
Page 131
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 131)
Fig. 130 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

[J=~" 8748/8048 PROM/ROM

CASH DRAW KEY SWITCH

TOTALS AUDIO INDICATOR

RAM I/O TIMER

\ TO OPTIONAL

  • COMMUNICATIONS "'i } INTERFACE
  • READER I

INTERRUPT

  • STORE AND FORWA

RD

8279 KEYBOARD DISPLAY

DATA & STROBE STEPPER MOTOR CONTROL PAPER ADVANCE STATUS

~

-II'

SCAN LINES

,

FRONT AND REAR DUAL , DISPLAY 818181 E"" 18~ SEGM~NT I

,

CASH REGISTER KEYBOARD

MATRIX PRINTER'

  • NUMERIC
  • DEPT.
  • ITEM
  • TAX
  • ETC.

WITH PAPER

ADVANCE

INDICATOR LAMP MATRIX FOR

ILLUMINATED KEY TOPS

'DRUM PRINTER MAY BE USED.

DRUM PRINTER REOUIRES MORE OUTPUTS WHICH CAN BE OBTAINED FROM AN EXPANDER DEVICE.

LOW COST POINT OF SALE TERMINAL

~ },

Page 132 of the Intel mcs-48 user manual — ~ENGINE SPEED)
Page 132 · click to enlarge
Page 132
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 132)
Fig. 131 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

OXYGEN -t>-- XTAL1 SENSOR (lOROI

DARLINGTON

DRIVERS

IGNITION PULSE

  • Tl

~ENGINE SPEED)

OPEN LOOP MODES

WIDE OPEN COLD ENGINE

DECELERATE ENGINE CRANKING

POWER TRAIN TYPE IDENTIFICATION

VEHICLE TYPE IDENTIFICATION

SIMPLE FEEDBACK CARBURETOR CONTROLLER

FRONT PANEL

STATUS INDICATORS

120V.60Hz ,----------->-1 Vee

'-11-"'-"-' ~---,/I (J (J, DC'

DISPLAY

MICROWAVE OVEN CONTROLLER

Show 4 more labels / short text on this page
4x4 KEYBOARD · ~------->~ITl · 60Hz TIMING REFERENCE · Pl0-11
Page 133 of the Intel mcs-48 user manual — DOUBLE STORE
Page 133 · click to enlarge
Page 133
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 133)
Fig. 132 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

5.2 Software Examples

The following routines are written as subroutines. RO and R1 are used as data pointers, R2 is used as an extension of the accumulator and R3 is used as a loop counter.

RXO = RO AEX = R2

DOUBLE ADD

DADO: DEC RXO ;GET LOW BYTE AND ADD TO A ADD A,@RXO INC RXO ;GET HI BYTE AND ADD TO AEX XCH A,AEX ADDC A,@RXO XCH A,AEX RET ;RETURN

DOUBLE SUBTRACT

DMIN: DEC RXO ;GET LOW BYTE AND SUB FROM A CPL A ADD A,@RXO CPL A INC RXO ;GET HI BYTEANDSUB FROM AEX XCH A,AEX CPL A AD DC A,@RXO CPL A XCH A,AEX RET ;RETURN

DOUBLE LOAD

OLD: DEC RXO ;GET LOW BYTE AND PLACE IN A MOV A,@RXO INC RXO ;GET HI BYTE AND PLACE IN AEX XCH A,AEX MOV A,@RXO XCH A,AEX RET ;RETURN

DOUBLE STORE

DST: DEC RXO ;MOVE A INTO LOW BYTE MOV @RXO,A INC RXO ;MOVE AEX INTO HIGH BYTE XCH A,AEX MOV @RXO,A XCH A,AEX RET ;RETURN

Page 134 of the Intel mcs-48 user manual — The algorithm follows these steps:
Page 134 · click to enlarge
Page 134
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 134)
Fig. 133 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

DOUBLE EXCHANGE

DEX: DEC XCH INC XCH XCH XCH RET

RXO ;EXCHANGE A AND LOW BYTE A,@RXO RXO ;EXCHANGE AEX AND HIGH BYTE A,AEX A,@RXO A,AEX

;RETURN

DOUBLE LEFT LOGICAL SHIFT

LLSHRLC A ;SHIFT A XCH A,AEX ;SHIFT AEX RLC A XCH A,AEX RET ;RETURN

DOUBLE RIGHT LOGICAL SHIFT

RLSH: XCH A,AEX ;SHIFT AEX A A,AEX RRC XCH RRC RET

A ;SHIFT A ;RETURN

DOUBLE RIGHT ARITHMETIC SHIFT

RASH: CLR C ;SET CARRY CPL C

XCH A,AEX ;IF AEX[7]1 THEN JB7 $+3 CLR C ;CLEAR CARRY RRC A ;SHIFT C INTO AEX XCH A,AEX RRC A ;SHIFT A RET ;RETURN

SINGLE PRECISION BINARY MULTIPLY

This routine assumes a one-byte multiplier and a one-byte multiplicand. The product, therefore, is two-bytes long.

2. The Accumulator and R1 are shifted right one place, thus the LSB of the multiplier goes into the carry.
3. The multiplicand. is added to the accumulator if the carry bit is a 'one'. No action if the carry is a 'zero'.

The algorithm follows these steps:

1. The registers are arranged as follows: ACC-O R1 - Multiplier R2 - Multiplicand R3 - Loop Counter (=8) The Accumulator and register R1 are treated as a register pair when they are shifted right (see Step 2)
4. Decrement the loop counter and loop (return to Step 2) until it reaches zero.
5. Shift the result right one last time just before exiting the routine

*The result will be found in the Accumulator (MS Byte) and R1 (LS Byte).

Page 135 of the Intel mcs-48 user manual — MOV
Page 135 · click to enlarge
Page 135
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 135)
Fig. 134 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

BINARY MUL TIPL Y

BMPY: MOV R3,#08H ;SET COUNTER TO 8 CLR A ;CLEAR A CLR C ;CLEAR CARRY BIT

BMPI: RRC A ;DOUBLE SHIFT RIGHT ACC & R1 XCH A,R1 ;INTO CARRY RRC A XCH A,R1 JNC BMP3 ;IF CARRY=1 ADD, OTHERWISE DON'T ADD A,R2 ;ADD MULTIPLICAND TO ACCUMULATOR

BMP3: DJNZ R3,BMPI ;DECREMENT COUNTER AND LOOP IF 0 RRC A ;DO A FINAL RIGHT SHIFT AT THE XCH A,R1 ;END OF THE ROUTINE RRC A XCH A,R1

INTERRUPT HANDLING

This interrupt routine assumes single level interrupt. The purpose is to store the status of the machine at the time the interrupt occurs

by storing contents of all registers, accumu- lator, and the status word. At the end of the interrupt the state of the machine is restored and interrupts are enabled again.

INTRPT: SEL

RB1 @RO,A

;SAVE WORKING REGISTERS ;RO IN ALTERNATE REGISTER ;BANK CONTAINS SACC ;POINTER FOR SAVING ;ACCUMULATOR

MOV

flNTERRUPT SERVICE lROUTINE

MOV RO,SACC ;RESTORE SACC MOV A,@RO ;RESTORE ACCUMULATOR RETR ;RESTORE WORKING REGISTERS ;RESTORE PSW AND ;RE-ENABLE INTERRUPTS

Page 136 of the Intel mcs-48 user manual — ;EXIT
Page 136 · click to enlarge
Page 136
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 136)
Fig. 135 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

2 BYTE PROCESSING SYSTEM

A suggested model of a processing routine takes two single byte inputs from different ports, compares them, and performs the following, depending on the result of the comparison:

(If Equal) Sets Flag and Exits (If Not Equal) and Outputs the Larger to a

Third Port

INPUT FIRST OPERAND INPUT SECOND OPERAND

NOT EQUAL

PROCESS: CLR

FO A,P1

;CLEAR FO BIT (INITIALIZE) ;READ FIRST INPUT, STORE IN RO

IN MOV IN MOV CPL INC ADD JZ JNC MOV OUTL JMP

RO,A A,P2 R1,A A A A,RO

;READ SECOND INPUT, STORE IN R1

;SUBTRACT SECOND FROM FIRST ;(2's COMPLEMENT AND ADD)

EQUL ;BRANCH IF THEY ARE EQUAL SECOND ;IF NEGATIVE, SECOND WAS LARGER A,RO ;ELSE, OUTPUT FIRST BUS,A DONE

;EXIT

SECOND: MOV

A,R1 BUS,A DONE

;OUTPUT SECOND

OUTL JMP EQUL: CPL

;EXIT ;SET FO ;EXIT

FO DONE

JMP

5·25

Page 137 of the Intel mcs-48 user manual — AT EKIT'
Page 137 · click to enlarge
Page 137
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 137)
Fig. 136 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

8 x 8 MULTIPLY-ASSEMBLED BY MCS-48 MACRO ASSEMBLER SEE AP-49

ISIS-II "CS-48/UPI-41 "ACRO ASSE"8LER, Y3.B

LOC 08J LI NE . III I' 112 2' 113 2- 114 2' 115 2- 116 2' 117 2- 118 2· I" 2' 128 2· 121 2' 122 2- 123 2- 124 2- 125 2- 126 2- 127 2- 128 2- 12' 2- 131 2' 131 2- 132 2- 133 2- 134 2- 135 2- 136 2- 137 2- 138 2- 139 2- 141 2- 141 2- 142 2- 143 2- 144 2- 145 1- 146 1- 147 1- 148

SOURCE STATEMENT

  • SItICLUDE('FI'"PYS) SI NClUDE(: FI: "PYS. PDl) ;
  • **
  • **
  • *******.**
  • **
  • ;. . I. "PYSXS I.

j*============================================================================* I. I. THIS UTiliTY PROVIDES AN S 8Y e UNSIGNED "UlTIPLY I. AT ENTRY' I. A • LOWER EIGHT SITS OF DESTINATION OPERAND " KA- ~ON'T CARE )' RI' POINTER TO SOURCE OPERAHO

• •

AT EKIT'

" " " I.

  • LOWER EIGHT 81TS OF RESULT XAUPPER EIGHT 81TS OF RESULT C
  • SET IF OVERFlOW elSE CLEARED
  • ; .........................................................
  • .......
  • .........
  • ..

II "PY8Ke: 1I "ULTIPLICAHO[15-SI:=8 II COUNT:-9 II REPEAT 12 IF "ULTIPlICAHO[8l-. THEH BEGIH 13 "UlTIPlICANO""ULTIPLICAHD/2 12 ELSE 13 "UlTIPLlCAHO[ 15-9l:'"UlTIPLlCAHO[ 15-9l+"ULTIPLlER 13 "UlTIPLICAHO'="ULTIPlICAHO/2 12 ENDIF 12 COUHT:-COUNT-I 11 UHTI l COUHT-. I I EHO "PYaK9

" · fEJECT

Page 138 of the Intel mcs-48 user manual — I SIS-II "CS-48/UPI-41 "ACRO ASSE"BLER, Y3 .•
Page 138 · click to enlarge
Page 138
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 138)
Fig. 137 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

8 x 8 MULTIPLY-ASSEMBLED BY MCS-48 MACRO ASSEMBLER SEE AP-49

I SIS-II "CS-48/UPI-41 "ACRO ASSE"BLER, Y3 .•

LOC OBJ LI NE SOURCE STATE"ENT

I' In ;·1 "PY8X8: 1- lSI "PY8X8: 1- 151 ;1 "ULTIPLICAHOI15-8]:'8 1835 BAl8 I- 152 "oy XA,188 1= 153 ;1 COUNT: -8 8137 BBIB I' 154 "oy COUNT. 18 1= 155 ;1 REPEAT I- 15i "PYBLP: I- 157 ; 2 IF "UlTIPLICANOII]-B THEN BEGIN 8139 1243 1= 158 J8B "PY8A I- 15, : 3 "UlTIPlICANO:'"UlTIPlICAHO/2 813B 2A I- Iii XCH A, XA 813C '7 I- Iii ClR C 8130 i7 I- li2 RRC A Bl3E 2A I- li3 XCN A, XA Bl3F i7 I- li4 RRC A Bl48 EBl' I' 165 OJ HZ COUNT. "PULP Bl42 83 I- Ih RET 1= 167 : 2 ELSE I' 168 "PY8A: I- I" :3 nUL T I PLI CANOl 15-8] : -nUL T IPLI CANDI 15- 81+"ULT I PLIER 8843 2A I' 178 XCH A, XA 8844 01 I' t 71 AOO A, IRI 8845 i7 I- 172 RRC A 884' 2A I- 173 XCN A, XA 8847 67 1= 174 RRC A 884B EBl' I- 175 OJ NZ COUNT, "PULP 884A 83 I' 176 RE T I- 177 : 3 nUlTIPllCAHO:="ULTIPLICAHD/2 I- 178 ;2 ENOIF I- 17' : 2 COUNT: 'COUNT-l I- 188 :1 UNTIL COUNT=8 1= 181 :1 END npY8X8 I' 182 $EJECT

Page 139 of the Intel mcs-48 user manual — ,4 DIYIE'
Page 139 · click to enlarge
Page 139
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 139)
Fig. 138 · The Single Component . 2" MCS-4S™ S~stem

APP\,JCATION EXAMPLES

16 x 8 DIVIDE-{ASSEMBLED BY MCS-48 MACRO ASS.E.MBLERSEE AP-49)

ISIS-II "CS-48/UPI-41 UCRO ASSE"8LER, Y3.B

LO C 08 J

LI NE SOURCE STATE"ENT

  • 183 1= 184 1= 185
  • i.*****.************.*******************.****.***·*···

l * • 1- 186 It 1= 187 ,. 1= 188 1= 18' He 1 = 1 ~B ,. 1= 191 ,. 1= 192 'ill 1 = 193 ;. 1- 194 ,. 1- 195 ;., 1 = 19' ;. 1 = 197 ,. 1= 19B ,. 1 = 199 ; * 1= 2BB , .

THIS UTILITY PROVIDES AN 16 BY 8 UNSIGNED ~IVIDE AT ENTRY'

A = LOWER EIGHT BITS OF DESTINATION OPERAND XA= UPPER EIGHT BITS OF DIVIDEND RI- POINTER TO DIVISOR IN IHTERNAL "EHORY

AT EXIT'

A = LOWER EIGHT BITS OF RESULT XA= RE"A INDER C = SET IF OYERFLOW ELSE CLEARED

  • 1= 2Bl ; ......................................
  • ..
  • ..
  • ...
  • 1282 1283 1= 284 1= 285 1= 286 1= 207 I28B 1= 2B~ 121B 1 = 211 1= 212 1= 213

'1 OIY16' DIVI6, XCH ;1 COUNT'=S

BB 48 2A

) ROUTINE WORKS "OSTLY WITH 81TS 15-8

BB4C 88B8

'1 DIYIDENDI IS-BI'=DIVIDENDI 15-BI-DIVISOR

BB4E 37 B04F 61 8050 37

CPL A ADD A, IIRI CPL A '1 IF BORROW=B THEN /. IT FITS.I

USI F65.

JC DIVIA 1= 214 ,2 1= 215 SET OYERFL~W FLAG CPL C· 1- 216 I- 217 1= 218 1= 219 1 = 22 B 1 = 221 1= 222 1 = 223 1= 224 1= 225 1= 226 I- 227 1= 22B 1= 229 1- 23B 1= 231 1= 232 1= 233 1- 234 1= 235 1= 236 1= 237

BU53 A7 B054 BHF

J"P DIYIB ) 1 ELSE OIYIA' '2 RESTORE DIVIDEND

A, @R I ADO '2 REPEAT OIYILP' ) 4 ) 4

DIV!DEND'=DIYIDENO.2 QUOTIEHT,-gUOTIEHT*2

B057 ~7 USB 2A Be" F7 USA 2A USB F7 BOSC EH3 USE 37 885F 61 BUB 37 DB.l BHB

CLR XCH RLC XCH RLC JNC CPL ADD cn JHP

C A,XA A A, XA A DIYIE A A, fRl A DIVIC o IV IDEND[ 15-8]' -01 VI DEND[ IS-81-01V1S0R

,4 DIYIE'

U.3 37 U64 61

CPL ADD

Show 4 more labels / short text on this page
UNCLUOE(' Fl' DIYI6) · nov COUNT,IS · aD56 61 · A A,9Rl
Page 140 of the Intel mcs-48 user manual — LOC OBJ LINE SOURCE STATE"ENT
Page 140 · click to enlarge
Page 140
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 140)
Fig. 139 · The Single Component . 2" MCS-4S™ S~stem

APPLICATION EXAMPLES

16 x 8 DIVIDE-{ASSEMBLED BY MCS-48 MACRO ASSEMBLER SEE AP-49)

lSlS-1 I "CS-48/UPI-41 "ACRO ASSEULER. Y3. I

LOC OBJ LINE SOURCE STATE"ENT

1865 37 I- 238 CPL A 1= 2H IF BORROW-I THEN 1166 E668 I- 24. JNC DIYIC I' 241 RESTORE DIYIDEND IU8 61 I- 242 ADD A.IRI II" IHC I- 243 J"P DIYID 1= 244 ELSE 1= 245 DIYIC, 1= 246 QUOTlENTlll"1 1868 IA I- 247 INC XA I- 248 ENDIF I- 249 COUNT' -COUNT-I 1= 251 UNTIL COUNT=I 886C EB57 1= 251 DIVID, DJNZ COUNT.DIYILP 1= 252 CLEAR OVERFLOW FLAG 886£ 97 1= 253 CLR C 1= 254 ENDIF 1= 255 ENDDIVIDE Bl6F 2A I- 256 DIVIB, XCH A.XA 1178 83 I- 257 RET

Page 141 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 141 · click to enlarge
Page 141
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 141)
Fig. 140 · The Single Component . 2" MCS-4S™ S~stem
Page 142 of the Intel mcs-48 user manual — MCS-4STM Component . Speeific· allons ·
Page 142 · click to enlarge
Page 142
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 142)
Fig. 141 · The Single Component . 2" MCS-4S™ S~stem

MCS-4STM Component . Speeific· allons ·

Page 143 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 143 · click to enlarge
Page 143
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 143)
Fig. 142 · The Single Component . 2" MCS-4S™ S~stem
Page 144 of the Intel mcs-48 user manual — ALE P13 8048H-1 8035HL-1 DBO P12
Page 144 · click to enlarge
Page 144
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 144)
Fig. 143 · The Single Component . 2" MCS-4S™ S~stem

8048H/8048H-1/8035HLl8035HL-1 HMOS SINGLE COMPONENT 8-BIT MICROCOMPUTER

  • 8048H/8048H-1 Mask Programmable ROM
  • 803SHL/8035HL-1 CPU Only with Power Down Mode
  • 8-BIT CPU, ROM, RAM, I/O In Single
  • 1K x 8 ROM Package 64 x 8 RAM
  • High Performance HMOS 271/0 Lines
  • Interval Timer/Event Counter
  • Reduced Power Consumption
  • Easily Expandable Memory and I/O
  • 1.4 usec and 1.9 usec Cycle Versions
  • Compatible with 8080/8085 Series All Instructions 1 or 2 Cycles. Peripherals
  • Over 90 Instructions: 70% Single Byte
  • Two Single Level Interrupts

The IntelG!! S04SH/S04SH-1/S035HL/S035HL-1 are totally self-sufficient, 8-bit parallel computers fabricated on single silicon chips using Intel's advanced N-channel silicon gate HMOS process.

The S04SH contains a 1 K X S program memory, a 64 X S RAM data memory, 27 I/O lines, and an S-bit timer/counter in addition to on-board oscillator and clock circuits. For systems that require extra capability the S04SH can be expanded using standard memories and MCS-SO™/MCS-85''' peripherals. The S035HL is the equivalent of the S04SH without program memory and can be used with external ROM AND RAM.

To reduce development problems to a minimum and provide maximum flexibility, a logically and functionally pin compatible version of the S04SH with UV-erasable user-programmable EPROM program memory is avail- able. The S74S will emulate the S04SH up to 6 MHz clock frequency with minor differences.

The S04SH is fully compatible with the S04S when operated at 6 MHz.

These microcomputers are designed to be efficient controllers as well as arithmetic processors. They have extensive bit handling capability as well as facilities for both binary and BCD arithmetic. Efficient use of progra'm memory results from an instruction set consisting mostly of single bit instructions and no in- structions over 2 bytes in length. .

PIN CONFIGURATION LOGIC SYMBOL BLOCK DIAGRAM

XTALI PORT = 1 XTALI

IIH!T 4 PH III & PI5 PORT

PI4 = I

EA P17 iii! P1S Pm! P15 8048H Wi! P14 8035HL

ALE P13 8048H-1 8035HL-1 DBO P12

DB3 VDD

DB4 PROG

DBS P23

DBa P22 BUS DB7 P21 Vss P20

Intel Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in an Intel product. No other circuit patent licenses are implied.

Olntel Corporation 1980 AFN-OI491A-Ol 6-1

DBI Pl1 · DB2 Pl0

Page 145 of the Intel mcs-48 user manual — AFN~01491A-02 6-2
Page 145 · click to enlarge
Page 145
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 145)
Fig. 144 · The Single Component . 2" MCS-4S™ S~stem

intel" S04SH/S04SH-1/S035HL/S035HL-1 ~!ru~[!"o!MlOOO~OOW

PIN DESCRIPTION

Designation Pin = Function Designation Pin = Function

VSS 20 Circuit GND potential testable. with conditional

VDD 26 low power standby pin jump instruction.

VCC 40 Main power supply; +5V

during operation. RD 8 Output strobe activated during a BUS read. Can be PROG 25 Output strobe for 8243 I/O used to enable data onto the expander. bus from an external device. P10-P17 27-34 . 8-bit quasi-bidirectional Used as a read strobe to Port 1 port. external data memory. P20-27 21-24 8-bit quasi~bidirectional (Active low) Port 2 port. RESET 4 Input which is used to 35-38 P20-P23 contain the four high order program counter initialize the processor.

bits during an external pro- (Active low)

gram memory fetch and (Non TTL VI H)

serve as a 4-bit I/O expander WR 10 Output strobe during a bus bus for 8243. write. (Active low)

DBO-DB7 12-19 True bidirectional port Used as write strobe to BUS which can be written or read external data memory. synchronously using the ALE 11 Address latch enable. This RD, WR strobes. The port signal occurs once during can also be statically each cycle and is useful as a latched. clock output. Contains the 8 low order The negative edge of ALE program counter bits during strobes address into ex- an external program ternal data and program memory fetch, and receives memory. the addressed instruction PSEN 9 Program store enable. This under the control of PSEN. Also contains the address output occurs only during a

and data during an external fetch to external program

RAM data store instruction, memory. (Active low)

under control of ALE, RD, SS 5 Single step input can be and WR. used in conjunction with

TO Input pin testable using the ALE to "single step" the

conditional transfer in- processor through each

structions JTO and JNTO. TO instruction. (Active low)

can be designated as a clock EA 7 External access input which output using ENTO ClK forces all program memory instruction. fetches to reference external

T1 39 Input pin testable using the memory. Useful for emula-

JT1, and JNT1 instructions. tion and debug, and

Can be designated the essential for testi ng arid

timer/counter input using program verification.

the STRT CNT instruction. (Active high)

INT 6 Interrupt input. Initiates an XTAl1 2 One side of crystal input for

interrupt if interrupt is internal oscillator. Also

enabled. Interrupt is dis- input for external source.

abled after a reset. Also (Non TTL VI H)

XTAl2 3 Other side of crystal input.

AFN~01491A-02 6-2

(Active low)

Page 146 of the Intel mcs-48 user manual — NOP
Page 146 · click to enlarge
Page 146
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 146)
Fig. 145 · The Single Component . 2" MCS-4S™ S~stem

S04SH/S04SH-1 /S035HL-1/S035H L-1

INSTRUCTION SET

Mnemonic Description ADD A, R Add register to A ADD A,@R Add data memory to A ADD A, # data Add immediate to A ADDCA, R Add register with carry ADDCA,@R Add data memory with carry ADDC A, # data Add immediate with carry ANL A, R And register to A ANL A,@R And data memory to A ANL A, # data And immediate to A ORL A, R Or register to A ORL A@R Or data memory to A ORL A, # data Or immediate to A XRL A, R Exclusive or register to A XRLA,@R Exclusive or data memory to A XRL, A, # data Exclusive or immediate to A INC A Increment A DEC A Decrement A CLR A Clear A CPL A Complement A DA A Decimal adjust A SWAP A Swap nibbles of A RL A Rotate A left RLC A Rotate A left through carry RR A Rotate A right RRCA Rotate A right through carry

Mnemonic CALL addr RETR RETR

Description Jump to subroutine Return Return and restore status

I 2 2 I 2 2 I 2 2 I 2 2 I 2 2 I

Mnemonic CLR C CPL C CLR FO CPL Fa CLR FI CPL FI

Description Clear carry Complement carry CLear flag 0 Complement flag 0 Clear flag I Complement flag 1

I

Mnemonic MOVA, R MOVA,@R MOV A, # data MOV R. A [email protected] MOV R. # data MOV @R, #data MOVA, PSW MOV PSW, A XCH A, R XCH A,@R XCHDA,@R

Description Move register to A Move data memory to A Move immediate to A Move A to register Move A to data memory Move immediate to register Move immediate to data memory Move PSW to A Move A to PSW Exchange A and register Exchange A and data memory Exchange nibble of A and register Move external data memory to A Move A to external data memory Move to A from current page Move to A from page 3

I 1 I I 2 2 I 2 I

Mnemonic Description IN A, P Input port to A OUTL P, A Output A to port ANL p, # data And immediate to port ORL P, # data Or immediate to port INS A, BUS Input BUS to A OUTL BUS, A Output A to BUS ANL BUS, # data And immediate to BUS ORL BUS, # data Or immediate to BUS MOVD A,P Input expander port to A MOVD p, A Output A to expander port ANLD P, A And A to expander port ORLO p, A Or A to expander port

I 2 I 2 I 2 I 2 I 2 I 2 I 2 I 2

MOVX A,@R MOVX@R,A MOVPA,@A MOVP3A, @

I 2 I 2 I 2 I 2

Mnemonic MOVA, T MOVT, A STRT T STRT CNT STOP TCNT EN TCNTI DIS TCNTI

Description Read timer/counter Load timer/counter Start timer Start counter Stop timer/counter Enable timer/counter interrupt Disable timer/counter interrupt

I 1

Mnemonic Description INC R Increment register INC@R Increment data memory DEC R Decrement register

I I I 1 I I

Mnemonic EN I DIS I SEL RBO SEL RBI SEL MBO SEL MBI ENT a CLK

Description Enable external interrupt Disable external interrupt Select register bank a Select register bank 1 Select memory bank a Select memory bank 1 Enable clock output on TO

I

Mnemonic Description JMP addr Jump unconditional JMPP@A Jump indirect DJNZ R, addr Decrement register and skip JC addr Jump on carry = 1 JNC addr Jump on carry = 0 JZ addr Jump on A zero JNZ addr Jump on A not zero JTO addr Jump on TO = I JNTO addr Jump on TO = a JTI addr Jump on T1 = 1 JNTI addr Jump on TI = a JFO addr Jump on FO = 1 JFI addr Jump on FI = I JTF addr Jump on timer flag JNI addr Jump on INT = 0 JBb addr Jump on accumulator bit

2 2 I 2

NOP

AFN-01491A-03

Show 21 more labels / short text on this page
Accumulator · Subroutine · Bytes Cycles · Bytes Cycles · Flags · Bytes Cycles · Data Moves · Bytes Cycles · Input/Output · Bytes Cycles · Timer/Counter · Bytes Cycles · Registers · Bytes Cycles · Control · Byles, Cycles · Branch · Bytes Cycles · Mnemonic · Description No operation · Byles Cycles
Page 147 of the Intel mcs-48 user manual — 4V OV OV 2V 4V
Page 147 · click to enlarge
Page 147
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 147)
Fig. 146 · The Single Component . 2" MCS-4S™ S~stem

inter 8048H/8048H-1/8035HL/8035HL;.1

ABSOLUTE MAXIMUM RATINGS· Ambient Temperature Under Bias o·e to 70·e Storage Temperature -65· e to + 125· e Voltage On Any Pin With Respect

  • COMMENT Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This. is a stress rating only and functional operation of device at these or any other conditions above those indicated in the operational sections of this specification is not implied.

to Ground -O.5V to +7V Power Dissipation 1.5 Watt

D.C. AND OPERATING CHARACTERISTICS TA =0·Cto70°C, VCC =VDD = 5V± 10%, VSS =OV

Limits

Symbol Parameter Unit Test Conditions Min. Typ. Max.

VIL Input Low Voltage (All Except RESET, X1, X2)

-.5 .a V

VIL1 Input Low Voltage -.5 .6 V (RESET, X1, X2)

VIH Input High Voltage 2.0 VCC V (All Except XTAL 1, XTAL2, RESET)

VIH1 Input High Voltage (X1, X2, RESET) 3.8 VCC V

VOL Output Low Voltage (BUS) .45 V VOL = 2.0 mA

VOL1 OutP~ow Voltage (RD, WR, PSEN, ALE)

.45 V IOL = 1.a mA

VOL2 Output Low Voltage (PROG) .45 V IOL = 1.0 mA

VOL3 Output Low Voltage (All Other Outputs)

.45 V IOL = 1.6 mA

VOH Output High Voltage (BUS) 2.4 V IOH = -400 f.1A VOH1 Outp~igh Voltage (RD, WR, PSEN, ALE)

2.4 V IOH = -100 f.1A

VOH2 Output High Voltage (All Other Outputs)

2.4 V IOH=-40f.1 A

1L1 Input Leakage Current (T1, INT) ±10 f.1A VSS < VIN < VCC

IU1 Input Leakage Current -500 f.1A VSS + .45~VIN~VCC (P10-P17, P20-P27, EA, SS)

ILO Output Leakage Current (BUS, TO) ± 10 f.1A VSS + .45~VIN~VCC (High Impedance State)

100 VOO Supply Current 4 a mA

100+ Total Supply Current 40 ao mA ICC

BUS Pl, P2 BUS. Pl. P2 -500 ~A 50 mA ~

:t :t -300 ~ 930 mA 9 9

w10D JiA 10mA ~

4V OV OV 2V 4V

VOH VOL

6-4 AFN-01491A-04

Page 148 of the Intel mcs-48 user manual — AFN-01491A-05
Page 148 · click to enlarge
Page 148
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 148)
Fig. 147 · The Single Component . 2" MCS-4S™ S~stem

inter 8048H/8048H-1/8035HL/8035HL-1

A.C. CHARACTERISTICS (PORT 2 TIMING) TA = O°C to 70°C, VCC = 5V± 10%, VSS = OV

8048H 8048H-1 8035HL 8035HL-1

Symbol Parameter 6 MHz

8 MHz 11 MHz Unit

Min. Max. tcp Port control Setup Before Falling 110 Edge of PAOG.

Min. Max. Min. Max.

tpc Port Control Hold After Falling 100 Edge of PAOG.

tpA PAOG to Time P2 Input Must Be Valid 810

tpF Input Data Hold Time 0 150 top Output Data Setup Time 250

0 150 0 150 ns

tpo Output Data Hold Time 65 tpp PAOG Pulse Width 1200

tpL Port 2 1/0 Data Setup 350

tLP Port 2 1/0 Data Hold 150

PORT 2 TIMING

ALE J \'-------~

\'---------r~1

-+CA~

EXPANDER PORT

I OUTPUT DATA

OUTPUT

PCH

PORT CONTROL

EXPANDER PORT

INPUT

PCH

r

PROG

BUS TIMING AS A FUNCTION OF TCY *

SYMBOL

FUNCTION OF TCY 7/30 TCY MIN 1/10 TCY MIN 1/15 TCY MIN 1/2 TCY MIN 2/5 TCY MIN 2/15 TCY MIN 1/15 TCY MIN 0 MIN

SYMBOL

FUNCTION OF TCY 11/30 TCY MAX 3/10 TCY MAX 3/10 TCY MIN 1/2 TCY MAX 1/3 TCY MAX 1/30 TCY MIN 1/15 TCY MIN

TLL TAL TLA TCC (1) TCC (2) TOW TWO ToA

TAD (1) TAD (2) TAW TAD (1) TAD (2) TAFC TCA

TAD (1): AD TAD (2) : PSEN

T CC (1)AolWA T CC (2) : PSEN

TAD (1): AD TAD (2) : PSEN

  • APPROXIMATE VALUES NOT INCLUDING GATE DELAYS.

AFN-01491A-05

Show 10 more labels / short text on this page
105 ns · 90 ns · 700 650 ns · 210 200 ns · 35 20 ns · 970 700 ns · 300 250 ns · 65 20 ns · rIOp---tIPD · lPp
Page 149 of the Intel mcs-48 user manual — 6-6 AFN·OI491A·06
Page 149 · click to enlarge
Page 149
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 149)
Fig. 148 · The Single Component . 2" MCS-4S™ S~stem

S04SH/S04SH-1/S035HL/S035HL-1

WAVEFORMS

ALE J !-I _____ ---! I

L ALE J I

~tcc--I tCA 1-

Rii -------1\ I

tAFCj f- -I ttDR I FLOATING ____ _

BUS ~ FLOATING ~tAD~1

Read From External Data Memory

ALE J L _I tCA 1--

2.4V ---....... r----

O.45V ___ --'x::: ~ TEST POINTS ~~::X'-- __ _

BUS

Write to External Data Memory Input and Output for A.C.Tests.

A.C. CHARACTERISTICS TA = O°C to 70°C VCC = VDD = 5V ± 10%. VSS = OV

8048H 8048H-1 8035HL 8035HL-1 6 MHz 8 MHz 11 MHz Conditions Min. Max. Min. Max. Min. Max. Unit (Note 1)

tLL ALE Pulse Width

400 270 150 ns

tAL Address Setup to ALE

75 75 70 ns

tLA Address Hold from ALE

65 65 50 ns

tcc Control Pulse Width (PSEN, RD, WR)

700 490 300 ns

tow Data Setup before WR

370 370 280 ns

80 80 40 ns CL = 20pF (NOTE 2)

two Data Hold after WR

2.5 1.875 1.36 /ls 0 200 0 150 0 100 ns

tRD ~, I!il5 to Data In

500 340 200 ns

tAW Address Setup to WR

230 210 200 ns

tAD Address Setup to Data In

950 650 400 ns

tAFC Address Float to RD, PSEN

0 0 -1 ns

teA Control Pulse to ALE

10 10 0 ns

CL=80pF CL,; 150 pF

6-6 AFN·OI491A·06

Show 5 more labels / short text on this page
~~~----tCY----- ~tLL-1 · Symbol Parameter · ICY Cycle Time · tOR Data Hold · BUS outputl
Page 150 of the Intel mcs-48 user manual — 6-7 AFN-01491A-07
Page 150 · click to enlarge
Page 150
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 150)
Fig. 149 · The Single Component . 2" MCS-4S™ S~stem

8048H/8048H·1/8035HL/8035HL·1

CRYSTAL OSCILLATOR MODE

  • cz
  • L. l --T-- T-- - I 1-_-'- __ ..... __ ....:j3 XTAL Z C;

~

C1 = 5pF ± 1/2pF + STRAY < 5pF C2 = CRYSTAL + STRAY < 8pF C3 = 20pF ± 1pF + STRAY < 5pF

CRYSTAL SERIES RESISTANCE SHOULD BE LESS THAN 75D AT 6 MHz LESS THAN 180D AT 3.6MHz

LC OSCILLATOR MODE

L C NOMINAL 1 1 45pH ZOpF 5.2 MHz F ~ '"2iiiJLc' 120pH ZllpF 3.2 MHz 2 XTAL1 d

C~~

Z

_ '"[C

3 XTALZ Cpp ~ 1>010 pF PIN TO PIN CAPACITANCE

EACH C SHOULD BE APPROXIAMTELY 2OpF.INCLUDING STRAY CAPACITANCE

DRIVING FROM EXTERNAL SOURCE

+IV

470D .... +- ___ ....;2'"1 XTALI

+5V

470D

XTAL 1 MUST BE HIGH 35-65% OF THE PERIOD AND XTAL 2 MUST BE HIGH 35-65'10 OF THE PERIOD. RISE AND FALL TIMES MUST NOT EXCEED 20nl.

6-7 AFN-01491A-07

Cf-1_-"r--_~"'-_~Z XTAL 1 · L--+--=-tXTAL2

Page 151 of the Intel mcs-48 user manual — PSEN P15
Page 151 · click to enlarge
Page 151
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 151)
Fig. 150 · The Single Component . 2" MCS-4S™ S~stem

SPECIAL LOW POWER CONSUMPTION SINGLE

  • COMPONENT 8-BIT MICROCOMPUTER
  • Typical Power Consumption 100mW
  • 1K x 8 ROM 64x8RAM
  • Typical Standby Power 10mW 271/0 Lines Voo minimum of 2.2V
  • Interval Timer/Event Counter
  • 8-Bit CPU, ROM, RAM, I/O in Single
  • Easily Expandable Memory and I/O Package
  • Compatible with 8080/8085 Series
  • 4.17 ~sec Instruction Cycle. All Instructions 1 or 2 Cycles. Peripherals
  • Two Single Level Interrupts
  • Over 90 Instructions: 70% Single Byte

The Intel® 8048L is a totally self-sufficient 8-bit parallel computer fabricated on a single silicon chip using Intel's advanced N-channel silicon gate HMOS process, using special techniques to reduce operating and standby power consumption. The 8048L contains a 1 K X 8 program memory, a 64 X 8 RAM data memory, 271/0 lines, and an 8-bit timer/counter in addition to on-board oscillator and clock circuits. For systems that require extra capability the 8048L can be expanded using standard memories and MCS-80™/MCS-8S'" peripherals. The 8048L can be used with external ROM AND RAM.

To reduce development problems to a minimum and provide maximum flexibility, a logically and functionally pin compatible version of the 8048L with UV-erasable user-programmable EPROM program memory is available. The 8748 will emulate the 8048L with greater power and other minor differences.

This microcontroller is designed to be an efficient controller as well as an arithmetic processor. The 8048L has extensive bit handling capability as well as facilities for both binary and BCD arithmetic. Efficient use of program memory results from an instruction set consisting mostly of single byte instructions and no instructions over two bytes in length.

PIN CONFIGURATION LOGIC SYMBOL BLOCK DIAGRAM

01 XTAL 2 P27

XTAL 1 T1 PORT

RESET P2S ss P25 PORT

INT P2'

EA P17 Rll P1S

PSEN P15

WR P1' ALE P13 8048L

DB, P11

DB2 P10

DB3 VDD

DB. PROG

DB5 P23

DBS P22 BUS DB7 P21

VSS P20

Intel Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in an Intel product. No other circuit patent licenses are implied

©Intel Corporation 1980 AFN-01591A-01

TO Vee · e 2 · DBo P12

Page 152 of the Intel mcs-48 user manual — PIN CONFIGURATION LOGIC SYMBOL
Page 152 · click to enlarge
Page 152
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 152)
Fig. 151 · The Single Component . 2" MCS-4S™ S~stem

8048/8035L/87 48/87 48·6/8035 SINGLE COMPONENT 8·BIT MICROCOMPUTER

  • 8048 Mask Programmable ROM
  • 8035L CPU Only with Power Down Mode
  • 8748 User Programmable EPROM
  • 8748·6 Up to 55C 8748
  • 8035 CPU Only (No Power Down Mode)
  • 8·BIT CPU, ROM, RAM, 1/0 in Single Package
  • 1 K x 8 ROMIEPROM 64x 8 RAM 27110 Lines
  • Interchangeable ROM and EPROM Versions
  • Interval TimerlEvent Counter
  • Single 5V Supply
  • Easily Expandable Memory and 1/0
  • 2.5 fJsec and 5.0 fJsec Cycle Versions All Instructions 1 or 2 Cycles.
  • Compatible with 808018085 Series, Peripherals
  • Over 90 Instructions: 70% Single Byte
  • Single Level Interrupt

The Intel 8048/8748/8743-6/8748-B/8035/B035-8 are totally self-sufficient, 8-blt parallel computers fabricated on single silicon chips using Intel's N-channel silicon gate MOS process.

The B048 contains a 1 K x B program memory, a 64 x B RAM data memory, 27 I/O lines, and an 8-blt timer/counter in addi- tion to on-board oscillator and clock circuits. For systems that require extra capability, the 8048 can be expanded using standard memories and MeS-BO /MeS-B5 peripherals. The 8035 Is the equivalent of an 8048 without program memory and can be used with external ROM and RAM. The B035L has the RAM power-down mode of the 804B while the 8035 does not. The 8748-6 is a 6 MHz B74B up to 55e. To reduce development problems to a minimum and provide maximum flexi- bility, three interchangeable pin-compatible versions of this single component microcomputer exist: the 8748 with user- programmable and erasable EPROM program memory for prototype and preproduction systems, the B04B with factory- programmed mask ROM program memory for low cost, high VOlume production, and the B035 without program memory for use with external program memories.

These microcomputers are designed to be efficient controllers as weil as arithmetic processors. They have extensive bit

handling capability as weli as facilities for both binary and BeD arithmetic. Efficient use of program memory results from an instruction set consisting mostly of single bit instructions and no instructions over 2 bytes in length.

PIN CONFIGURATION LOGIC SYMBOL

BLOCK DIAGRAM

8048 8035L 8748 8748·6 8035

ADDRESS L.ATCH ENABLE

PORT EXPANDER STROBE

INTEL CORPORATION ASSUMES NO RESPONSIBILITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBOOIEO IN AN INTEL PROOUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPLIEO.

6-9 AFN.Q1354A.Ql

Page 153 of the Intel mcs-48 user manual — 6-10 AFN-01354A-02
Page 153 · click to enlarge
Page 153
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 153)
Fig. 152 · The Single Component . 2" MCS-4S™ S~stem

8048/8035L/8748/8748-6/8748-8/8035/8035-8

PIN DESCRIPTION

Designation Pin # Function Designation Pin # Function

Vss 20 Circuit GND potential RD 8 Output strobe activated during a

Voo 26 Programming power supply; +25V BUS read. Can be used to enable

during program, +5V during oper- data onto the bus from an external

ation for both ROM and PROM. device. low power standby pin in 8048 Used as a read strobe to external and 8035l. data memory. (Active low) Vee 40 Main power supply; +5V during RESET 4 Input which is used to initialize the operation and programming. processor. Also used during PROM PROG 25 Program pulse (+23V) input pin programming verification, and during 8748 programming. power down. (Active low)

Output strobe for 8243 1/0 (Non TTL VIH )

expander. WR 10 Output strobe during abus write.

P10-P17 27-34 8-bit quasi-bidirectional port. (Active low) Port 1 Used as write strobe to external P20-P27 21-24 8-bit quasi-bidirectional port. data memory. Port 2 35-38 P20-P23 contain the four high ALE 11 Address latch enable. This signal order program counter bits during occurs once during each cycle and an external program memory fetch is useful as a clock output. and serve as a 4-bit I/O expander The negative edge of ALE strobes bus for 8243.

address into external data and pro- gram memory. BUS be written or read synchronously

DBa-DB7 12-19 True bidirectional port which can

PSEN 9 Program store enable. This output using the RD, WR strobes. The port can also be statically latched. occurs only during a fetch to exter-

nal program memory. (Active low)

Contains the 8 low order program

counter bits during an external SS 5 Single step input can be used in con-

program memory fetch, and receives junction with ALE to "single step"

the addressed instruction under the the processor through each in-

control of PSEN. Also contains the struction. (Active low)

address and data during an external EA 7 External access input which forces RAM data store instruction, under all program memory fetches to re- control of ALE, RD, and WR. ference external memory. Useful

TO Input pin testable using the con- for emulation and debug, and

ditional tranSfer instructions JTO essential for testing and program

and JNTO. TO ca n be designated as verification. (Active high)

a clock output using ENTO ClK XTAL1 2 One side of crystal input for inter- instruction. TO is also used during nal oscillator. Also input for exter- programming. nal source. (Non TTL VIH)

Tl 39 Input pin testable using the JTl, XTAl2 3 Other side of crystal input. and JNTl instructions. Can be des- ignated the timer/counter input using the STRT CNT instruction.

INT 6 Interrupt input. Initiates an inter- rupt if interrupt is enabled. Inter- rupt is disabled after a reset. Also testable with conditional jump instruction. (Active low)

6-10 AFN-01354A-02

Page 154 of the Intel mcs-48 user manual — 6-11 AFN-Q1354A-03
Page 154 · click to enlarge
Page 154
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 154)
Fig. 153 · The Single Component . 2" MCS-4S™ S~stem

6-11 AFN-Q1354A-03

Page 155 of the Intel mcs-48 user manual — OV OV 2V 4V
Page 155 · click to enlarge
Page 155
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 155)
Fig. 154 · The Single Component . 2" MCS-4S™ S~stem

8048i8035L/8748/8748-6/8748-8/8035/8035-8

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those Indicated in the operational sections of this specification Is not Implied.

" Ambient Temperature Under Bias ooe to 700 e Storage Temperature -65°e to +125°e Voltage On Any Pin With Respect

to Ground -o.5V to·+7V Power Dissipation 1.5 Watt

D.C.AND OPERATING CHARACTERISTICS TA = O'Ct070'C,Vcc = Voo = +5V % 10%,Vss = OV

(T A = O'C to 55'C for 8748-6)

Limits

Symbol Parameter Unit Test Conditions Min. Typ. Max.

VIL Input Low Voltage -.5 .8 V (All Except RESET, X1, X2)

VIL1 Input Low Voltage -.5 .6 V (RESET, X1, X2)

VIH Input High Voltage (All Except XTAL1, XTAL2, RESET)

2.0 VCC V

V IH1 Input High Voltage (X1, X2, RESEi') 3.8 VCC V

VOL Output Low Voltage (BUS) .45 V VOL = 2.0 mA

VOL1 Output Low Voltage .45 V 10L = 1.8 mA (RO, WR, PSEN, ALE)

VOL2 Output Low Voltage (PROG) .45 V 10L = 1.0 mA

VOL3 Output Low Voltage .45 V 10L = 1.6 mA (All Other Outputs)

VOH Output High Voltage (BUS) 2.4 V 10H = -400 /1 A

VOH1 Output High Voltage 2.4 V 10H = -100 /1A (RO, WR, PSEN, ALE)

VOH2 Output High Voltage (All Other Outputs)

2.4 V 10H = -40 /1A

IL1 Input Leakage Current (T1, INT) ± 10 /1A VSS < VIN < VCC

IU1 Input Leakage Current -500 /1A VSS + .45~VIN~VCC (P10-P17, P20-P27. EA, SS)

ILO Output Leakage Current (BUS. TO) (High Impedance State)

± 10 /1A VSS + .45~VIN~.vCC

100 VOO Supply Current 5 15 rnA

100+ Total Supply Current 60 135 rnA. ICC

BUS Pt, P2 BUS,Pt, P2 -500 /JA SOmA

e

% 0300 /J 9 30mA 9

OV OV 2V 4V

VOH VOH VOL

·100/JA 10mA

Page 156 of the Intel mcs-48 user manual — 6-13 AFN'()I354A-05,
Page 156 · click to enlarge
Page 156
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 156)
Fig. 155 · The Single Component . 2" MCS-4S™ S~stem

8048/8035L/8748/8748-6/8748-8/8035/8035-8

WAVEFORMS

Instruction Fetch From External Program Memory Read From External Data MemorY I===i--- h ·1

ALE J IL--___ ~I ---'L ALE J L 1-- 'ee --I 'eA I---

RD II .1

'm ~I I~FLOATlNG~1 i,'OR

BUS ~ --FL-O-AT-'N-G-- 1 1.'Ro-1 - t AD --

BUS

Write to External Data Memory Input and Output Waveforms for A.C. Tests

ALE J L

WR 2.4 "'"\ )(2.2- ,2.2V J O,S--TEST POINTS O.sA 0.45 '

BUS

A.C. CHARACTERISTICS T A = O·C to WC', Vee = VDD = + 5V ;: 10% ,Vss = OV

8048 18748-8** 8748-6 Symbol Parameter 874818035/8035L 8035·8 Unit I Conditions (Note 1) Min. Max. Min. Max.

tLL ALE Pulse Width 400 600 ns

tAL Address Setup to ALE 120 150 ns

tLA Address Hold from ALE 80 80 ns

tcc Control Pulse Width (PSEN, RO, WR) 700 1500 ns

tow Data Setup before WR 500 640 ns

two Data Hold After WR 120 120 ns CL = 20pF

tCY Cycle Time 2.5 15,0 4.17 15.0 IJS 6 MHz XTAL=2.5 (3.6 MHz XTAL for - 8

tOR Data Hold U 200 0 200 ns

tRO PSEN, RO to Data In 500 750 ns

tAW Address Setup to WR 230 260 ns

tAO Address Setup to Data In 950 1450 ns

tAFC Address Float to RD, PSEN 0 0 ns

tCA Control Pulse to ALE 10 20 ns

BUS Outputs: CL= tSO pF =4.17 ~s lor-8 parts uVCCand VOO for 8748-8 and 8035-6 are ±5'1.

6-13 AFN'()I354A-05,

Page 157 of the Intel mcs-48 user manual — PORT 2 TIMING
Page 157 · click to enlarge
Page 157
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 157)
Fig. 156 · The Single Component . 2" MCS-4S™ S~stem

A.C. CHARACTERISTICS (PORT 2 TIMING)

TA = O°C to 70°C, VCC= SV~ 10%, \(ss= OV (TA = O°C to 55°C for 8748-6)

TA= -40'Cto +8S'C, VCC=5V ::1:10%, VSS=OV

Min. Max.

Port Control Setup Before Failing Edge of PROG

Port Control Hold After Falling Edge of PROG

PROG to Time P2 Input Must Be Valid

Input Data Hole! Time

Output Data Setup Time

Output Data Hold Time

Port 2 110 Data Setup

Port 2110 Data Hold

PORT 2 TIMING

ALE

EXPANDER PORT

OUTPUT

PC"

EXPANDER PORT

INPUT

PC"

PROG

AFN-OI354MJ8

Show 23 more labels / short text on this page
8048/8035L/8748/8748-8/i748-8/8035/8035~8 · Symbol · Parameter · Unit rest Conditions · tcp · ns · tpc · ns · tpR · ns · tpF · ns · top · ns · tpo · ns · tpp · PROG Pulse Width · ns · tpL · ns · ns · tLP
Page 158 of the Intel mcs-48 user manual — 6-1S
Page 158 · click to enlarge
Page 158
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 158)
Fig. 157 · The Single Component . 2" MCS-4S™ S~stem

8048/8035L/8748/8748-6/8748-8/8035/8035-8

CRYSTAL OSCILLATOR MODE

LC OSCILLATOR MODE

C1 ~

.l. .£. ~ . 45"H 20 pF 5.2 MHz

f--""T--...,.---=-t2 XTAL 1

I HIMHz

120"H 20pF 3.2 MHZ - -"'l2 XTAL1

C _-1 ---.

2 -i-... '---I I I r--~--~--~ XTAL2

  • L-_ ..... _~3 XTAL2 c
  • = 5 -10 pF PIN·TO·PIN CAPACITANCE

C3 C2. 5pF + 1f2pF + STRAY 6pF C2 • CRYSTAL + STRAY 8pF C3. 20pF + 1pF + STRAY 6pF

CRYSTALSERIES RESISTANCE SHOULO BE LESS THAN 7& AT 8MHz: LESS THAN 180 AT S.BMHz.

EACH C SHOULD BE APPROXIMATELY 20 pF, INCLUDING STRAY CAPACITANCE.

DRIVING FROM EXTERNAL SOURCE

+SV

10-+- ____ 2 =-1 XTAL1

+5V

470Q

L-_ ..... _....: 3 "'XTAL2

FOR XTAL 1 ANDXTAL2DEFINE"HIGH" ASVOLTAGESABOVE 1.8VAND "LOW" AS VOLTAGES BELOW 1.8V. THE DUTY CYCLE REQUIREMENTS FOR EXTER- NALLY DRIVING XTAL 1 AND XTAL 2 USING THE CIRCUIT SHOWN ABOVE ARE AS FOLLOWS:

MUST BE HIGH 36-85'110 OF THE PERIOD.

. FOR THE 8748. XTAL MUST BE HIGH 48-t10'II0 OFTHE PERIOD AND XTAL 2 MUST BE HIGH 50-65'110 OF THE PERIOD.

  • RISE AND FALL TIMES MUST NOT EXCEED IOn

FOR THE 8046, XTAL 1 MUST BE HIGH 35-85'110 OF THE PERIOD AND XTAL 2

PROGRAMMING, VERIFYING, AND ERASING THE 8748 EPROM

WARNING:

An attempt to program a mis-socketed 8748 wlil result In severe damage to the part. An indication of a properly socketed part is the appearance of the ALE clock out- put. The lack of this clock may be used to disable the programmer. The ProgramlVerify Sequence Is:

Programming Verification

1. Voo = SV, clock applied or internal oscillator operating, AESET=OV, TEST O=SV, EA=SV, BUS and PAOG fioating.

In brief, the programming process consists of: activat· ing the program mode, applying an address, latching the address, applying data, and applying a programming pulse. Each word is programmed compietely before moving on to the next and is followed by a verification step. The following is a list of the pins used for program- ming and a description of their functions:

2. Insert 8748 in programming socket.
3. TEST 0 = OV (select program mode).
4. EA = 23V (activate program mode),

S. Address applied to BUS and P20-1.

6. AESET = SV (latch address).

Pin Function

7. Data applied to BUS.

XTAL1 Clock Input (1 to 6 MHz)

8. Voo = 2SV (programming power).

AESET Initialization and Address Latching

9. PAOG = OV followed by one SO ms pulse to 23 V.

TEST 0 Selection of Program or Verify Mode

10. Voo=SV.

EA Activation of ProgramlVerify Modes

11. TEST 0 = SV (verify mode).

BUS Address and Data Input Data Output during Verify

12. Read and verify data on BUS.
13. TEST O=OV.
14. FiES'E'f = OV and repeat from step S.

Voo Programming Power Supply

PAOG Program Puise Input

1S. Programmer should be at conditions of step 1 when 8748 is removed from socket.

6-1S

AFN..Q1364A..Q7

P20-1 Address Input

Page 159 of the Intel mcs-48 user manual — 11.4 12.6 V
Page 159 · click to enlarge
Page 159
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 159)
Fig. 158 · The Single Component . 2" MCS-4S™ S~stem

8048/8035L/8748/8748~6/8748-8/8035/8035-8

AC TIMING SPECIFICATION FOR PROGRAMMING

TA = 2SOC ± SoC, Vee = SV ± S%, Voo = 2SV ± 1V

Min. Mix. Unit

Telt Condition.

tAW Address Setup Time to RESET t

tWA Address Hold Time After RESET I

tow Data in Setup Time to PROG I

two Data in Hold Time After PROG !

tPH RESET Hold Time to Verify

tVOOH Voo Hold Time After PROG !

tpw Program Pulse Width

tTW Test 0 Setup Time for Program Mode

tWT Test 0 Hold Time After Program Mode

too Test 0 to Data Out Delay

tww RESET Pulse Width to Latch Address

tr. tf Voo and PROG Rise and Fall Times --- tcv CPU Operation Cycle Time

0.5 2.0 ",s

5.0 ",s 4tcy

tRE RESET Setup Time Before EA 1,

DC SPECIFICATION FOR PROGRAMMING

TA = 25°C ± 5°C. Vee = 5V ± 5%, VDD = 25V ± 1V

Min. Max. Unit

VOOH Voo Program Voltage High Level

24.0 26.0 V

VOOL Voo Voltage Low Level

4.75 5.25 V

VPH PROG Program Voltage High Level

21.5 24.5 V

VPL PROG Voltage Low Level

VEAH EA Program or Verify Voltage High Level

21.5 24.5 V

VEAH1 EA1 Verify Voltage High Level

11.4 12.6 V

VEAL EA Voltage Low Level

100 Voo High Voltage Supply Current

30.0 mA

IPROG PROG High Voltage Supply Current

16.0 mA

lEA EA High Voltage Supply Current

1.0 mA

Show 15 more labels / short text on this page
Symbol Parameter · 4tcy · 4tcy · 4tcy · 4tcy · 4tcy · tvoow Voo · 4tcy · 50 60 ms · 4tcy · 4tcy · 4tcy · 4tcy · Symbol Parameter · Test Conditions
Page 160 of the Intel mcs-48 user manual — 6-17 AFN-013S4A-09
Page 160 · click to enlarge
Page 160
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 160)
Fig. 159 · The Single Component . 2" MCS-4S™ S~stem

b048/8035L/8748/8748-6/8748-8/803S/803S-8

WAVEFORMS FOR PROGRAMMING

COMBINATION PROGRAMIVERIFY MODE (EPROM'S ONLY)

5V _----II

23V EA

. i--- VERIFY __ .I'"'.~--- PROGRAM ,.

TO

DATA TO BE PROGRAMMED VAllO - - -< NEXT ADDR x== VALID

DBa-DB, J--

'AW +-----<+--f-'WA

~:: '~~-mt_~W_T ______________________ _

LAST ADDRESS

NEXT ADDRESS

+23 ==rr--TI

0W 'wo PROG +5 ,

- - -,'

+0 ___ J

VERIFY MODE (ROM/EPROM)

TO,mrr \I.. _______ --J/

\'-----

\_--~/

DBa-DB, ==>- __ ADDRESS 10-71 VALID

NEXT ADDRESS

P,,-P, XI.. _____ A_D_DR_E_S_S_IB_-9_I_V_A_L_'D ____ --'X ... ______ N_EX_T_A_D_D_R_E_SS_V_A_L_'D _______ _

The 8748 EPROM can be programmed by either of two

Intel products:

1, PROMPT-48 Microcomputer Design Aid, or

2. Universal PROM Programmer (UPP series) peripheral of the Intellec$ Development System with a UPP·848 Personal ity Card.

6-17 AFN-013S4A-09

Page 161 of the Intel mcs-48 user manual — PIN CONFIGURATION LOGIC SYMBOL
Page 161 · click to enlarge
Page 161
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 161)
Fig. 160 · The Single Component . 2" MCS-4S™ S~stem

1 08048/8748/8035 L INDUSTRIAL TEMPERATURE RANGE SINGLE COMPONENT 8·BIT MICROCOMPUTER

  • 8048 Mask Programmable ROM
  • 8648 One·Time Factory Programmable EPROM
  • 8748 User Programmable/Erasable EPROM
  • 8035/8035L External ROM or EPROM
  • - 40°C to + 85°C Operation
  • 8·Bit CPU, ROM, RAM, 1/0 in Single Package
  • 1 K x 8 ROMIEPROM 64 x 8 RAM 271/0 LINES
  • Interchangeable ROM and EPROM Versions
  • Interval TimerlEvent Counter
  • Single 5V Supply
  • 2.5 fJsec and 5.0 fJsec Cycle Versions: All instructions 1 or 2 Cycles
  • Easily Expandable Memory and 1/0
  • Compatible with 808018085 Series Peripherals
  • Over 90 Instructions: 70% Single Byte
  • Single Level Interrupt

The Intel® 8048/8648/8748/8035 is a totally self·sufficient 8·bit parallel computer fabricated on a single silicon chip using Intel's N·channel silicon gate MOS process.

The 8048 contains a 1 K x 8 program memory, a 64 x 8 RAM data memory, 271/0 lines, and an 8·bit timerlcounter in addi· tion to on·board oscillator and clock circuits. For systems that require extra capability, the 8048 can be expanded using standard memories and MCS·80™IMCS·85TM peripherals. The 8035 is the equivalent of an 8048 without program memory. The 8035L has the RAM power·down mode of the 8048 while the 8035 does not. The 8648 is a one·time pro· grammable (at the factory) 8748 which can be ordered as the first 25 pieces of a new 8048 ROM order. The substitution of 8648's for 8048's allows for very fast turnaround for initial code verification and evaluation units.

To reduce development problems to a minimum and provide maximum flexibility, three interchangeable pin·compati· ble versions of this single component microcomputer exist: the 8748 with user·programmable and erasable EPROM program memory for prototype and preproduction systems, the 8048 with factory·programmed mask ROM program memory for low cost, high volume production, and the 8035 without program memory for use with external program memories.

This microprocessor is designed to be an efficient controller as well as an arithmetic processor. The 8048 has exten· sive bit handling capability as well as facilities for both binary and BCD arithmetic. Efficient use of program memory results from an instruction set consisting mostly of single byte instructions and no instructions over 2 bytes in length.

PIN CONFIGURATION LOGIC SYMBOL

BLOCK DIAGRAM

ADDRESS LATCH ENABLE

PORT EXPANDER STROBE

INTEL CORPORATION ASSUMES NO RESPONSIBILITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBODIED IN AN INTEL PROOUCT. NO OTHER CIRCUIT PATENT LlCENS(S ARE IMPlU © INTEL CORPORATION. 1979 6-18 AFN-OOBBOA-01

PlO

Page 162 of the Intel mcs-48 user manual — 108048/8748/8035L
Page 162 · click to enlarge
Page 162
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 162)
Fig. 161 · The Single Component . 2" MCS-4S™ S~stem

108048/8748/8035L

PIN DESCRIPTION

Designation Pin # Function Designation Pin # Function

VSS 20 Circuit GND potential RD 8 Output strobe activated during a

Voo 26 Programming power supply; +25V B US read. Can be used to enable

during program, +5V during oper· data onto the bus from an external ation for both ROM and PROM. device. low power standby pin in 8048 Used as a read strobe to external and 8035l. data memory. (Active low) Vee 40 Main power supply; +5V during RESET 4 Input which is used to initialize the operation and programming. processor. Also used during PROM PROG 25 Program pulse (+23V) input pin programming verification, and during 8748 programming. power down. (Active low)

Output strobe for 8243 I/O (Non TTL VIH )

expander. WR 10 Output strobe during a bus write.

P10·P17 27·34 8-bit quasi-bidirectional port. (Active low) Port 1 Used as write ·strobe to external P20-P27 21-24 8-bit quasi-bidirectional port. data memory. Port 2 35-38 P20-P23 contain the four high ALE 11 Address latch enable. This signal order program counter bits during occurs once during each cycle and an external program memory fetch is useful as a clock output. and serve as a 4-bit I/O expander

bus for 8243. The negative edge of ALE strobes

address into external data and pro- gram memory. BUS be written or read synchronously

DBo-DB7 12-19 True bidirectional port which can

PSEN 9 Program store enable. This output using the RD, WR strobes. The port can also be statically latched. occurs only during a fetch to exter-

Contains the 8 low order program nal program memory. (Active low)

counter bits during an external 55 5 Single step input can be used in con-

program memory fetch, and receives junction with ALE to "single step"

the addressed instruction under the the processor through each in-

control of P5EN. Also contains the struction. (Active low)

address and data during an external EA 7 External access input which forces RAM data store instruction, under all program memory fetches to re- control of ALE, RD, and WR. ference external memory, Useful

TO Input pin testable using the con- for emulation and debug, and

ditional transfer instructions JTO essential for testing and program

and JNTO. TO can be designated as verification. (Active high)

a clock output using ENTO ClK XTAL1 2 One side of crystal input for inter- instruction. TO is also used during nal oscillator. Also input for exter- programming. nal source. (Non TTL VIH)

T1 39 Input pin testable using the JT1, XTAl2 3 Other side of crystal input. and JNT1 instructions. Can be des- ignated the timer/counter input using the STRT CNT instruction.

INT 6 Interrupt input. Initiates an inter- rupt if interrupt is enabled. Inter- rupt is disabled after a reset. Also testable with conditional jump

instruction. (Active low)

Page 163 of the Intel mcs-48 user manual — SEL RBO Select register bank a 't
Page 163 · click to enlarge
Page 163
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 163)
Fig. 162 · The Single Component . 2" MCS-4S™ S~stem

1 08048/8748/8035 L

INSTRUCTION SET

Mnemonic Description Bytes Cycle Mnemonic Description Bytes Cycles

! CALL addr Jump to subroutine 2 2 ADD A, R' Add register to A 'i Return 2 ADD A,@R Add data memory to A 1 e RET

Return and restore status 2 ADD A, #data Add immediate to A 2 2 -g RETR ADDCA, R Add register with carry (I)

ADDCA,@R Add data memory with carry 1 CLR C Clear carry ADDC A,

CPL Fl Complement flag 1 S ORL A,@R Or data memory to A 1 .II ORLA, #data Or immediate to A 2 2 ~ E XRLA, R Exclusive or register to A 1 MOV A, R Move register to A ~ u XRL A,@R Exclusive or data memory to A 1 1 MOVA,@R Move data memory to A 1 1 u C( XRL A,

~ MOV @R,#data Move immediate to data memory 2 2 DAA Decimal adjust A

~ MOV A, PSW Move PSW to A SWAP A Swap nibbles of A

" MOV PSW, A Move A to PSW RLA Rotate A left 1; XCH A, R Exchange A and register 0 RLCA Rotate A left through carry XCHA,@R Exchange A and data memory RR A ROfate A right XCHD A,@R Exchange nibble of A and register RRCA Rotate A right through carry MOVX A,@R Move external data memory to A 2 MOVX@R,A Move A to external data memory 2 INA, P I nput port to A 2 MOVPA,@A Move to A from current page 2 OUTL P,A Output A to port 2 MOVP3 A,@A Move to A from page 3 2 ANL P, #data And immediate to port 2 2 '$ ORL P, #data Or immediate to port 2 2 MOVA, T Read timer/counter I, S- INS A, BUS Input BUS to A 2 ~ MOVT,A Load timer/counter " ~

STRT CNT Start caU nter .. .E ORL BUS,#data Or immediate to BUS 2 2 STOP TCNT Stop timer/counter MOVD A, P I nput expander port to A 1 2 E EN TCNTI Enable timer/counter interrupt MOVDP,A Output A to expander port 2 i= DIS TCNT! Disable timer/counter interrupt ANLD P, A And A to expander port 2 ORLD P, A Or A to expander port 2

OUTL BUS,A Output A to BUS 1 2 c STRTT Start timer " ANL BUS,#data And immediate to BUS 2 2 ~

EN I Enable external interrupt DISI Disable external interrupt ; INCR Increment register i

SEL RBO Select register bank a 't

INC@R I ncrement data memory

SEL RBI Select register bank 1 II: DECR Decrement register 8 SEL MBa Select memory bank a SEL MBI Select memory bank 1

J~mp unconditional 2 2 ENTO CLK Enable clock ouiput on TO JMP addr JMPP@A Ju mp ind irect 1 2 DJNZ R, addr Decrement register and skip 2 2 NOP No operation JC addr Jump on carry = 1 2 2 JNC addr Jump on carry = 0 2 2 J Z addr Jump on A zero 2 2 JNZaddr Jl.4mp on ~ not zero 2 2 ~ JTOaddr Jump on TO= 1 2 2 u c: JNTOaddr Jump on TO= a 2 2 It II! JTI addr Jump on Tl = 1 2 2 JNTI addr Jump on TI = 0 2 2 JFOaddr Jump on FO= 1 2 2 JFl addr Jump on Fl = 1 2 2 JTF addr Jump on timer flag 2 2 JNI addr Jump on iiiii' = a 2 2 JBb addr Jump on accumulator bit 2 2

Mnemonics copyright Intel Corporation 1976

6-20 AFN-ootI8OA-03

Page 164 of the Intel mcs-48 user manual — OV 2V 4V
Page 164 · click to enlarge
Page 164
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 164)
Fig. 163 · The Single Component . 2" MCS-4S™ S~stem

I DS0481S7 481S035L

ABSOLUTE MAXIMUM RATINGS·

Ambient Temperature Under Bias - 40°C to + 85°C Storage Temperature - 65°C to + 125°C Voltage On Any Pin With Respect

·COMMENT: Stresses abOve those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This Is a stress rating only and functional operation of the device at these or any other conditions above those Indicated in the operational sections of this specification is not Implied.

to Ground - 0.5V to + 7V Power Dissipation 1.5 Watt

D.C. AND OPERATING CHARACTERISTICS

TA= -40·Cto + 85·C, Vee=Voo= +5V :t:l0%, VSS=OV

Unit Test Conditions Max.

Min. Typ.

Input Low Voltage (All Except RESET, XTAL1, XTAL2)

O.B V

Input Low Voltage (RESET, Xl, X2)

VIH

Input High Voltage (All Except XTAL1, XTAL 2, RESET)

Input High Voltage (XTAL 1, XTAL2, RESET)

3.B

VOL

Output Low Voltage (BUS, RD, WR, PSEN, ALE)

0.45 V IOL= 1.6 mA

Output Low Voltage (Pl0-P17, P20-P27)

0.45 V IOL= 1.2 mA

VOl2 VOH

Output Low Voltage (All Other Outputs)

0.45 V IOL=O.B mA

Output High Voltage (BUS)

V IOH= -2BOI'A

Output High Voltage (RD, WR, ALE, PSEN)

V IOH= -BO I'A

V OH2

Output High Voltage (All Other Outputs)

V IOH= -30~

Input Leakage Current (Tl, INT)

:t: 10 ~ VSS",VIN'" Vee -600 I'A Vss+ .45",VIN",Vee

Input Leakage Current (P10-P17, P20-P27, EA, ~)

ILO

Output Leakage Current (BUS, TO) (High Impedance State)

:t:l0 I'A VSS + 0.45..:VIN",Vee

BUS

P1, P2

BUS, P1, P2

§~~ (f

.. ~f?-

:r 9

OV 2V 4V

VOH

VOH

AFN-ootI6OA..()4

Show 15 more labels / short text on this page
Limits · Symbol · Parameter · Vee V · VIHl · Vee V · VOLl · VOHl · Voo Supply Current · 20 mA · 100+ Icc · Total Supply Current · 145 mA · - sOOIiA · -300f'lA
Page 165 of the Intel mcs-48 user manual — BUS
Page 165 · click to enlarge
Page 165
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 165)
Fig. 164 · The Single Component . 2" MCS-4S™ S~stem

ID8048/8748/8035L

WAVEFORMS

Instruction Fetch From External Program Memory Read From External Data Memory

1-~tL-L_I-'cv~-'1

ALE JI !- ___ ~r---I --"L ALE J L

teA r1- tcc-I teA I-- -----1 I

tAFc-1 I--;~OATING-I tt oR

BUS ~ --FL-O-AT-'N-G--

BUS

I l.tRo-1 -- t AO -------

Write to External Data Memory Input and Output Waveforms for A.C. Tests

ALE J L

0:: ======~~-:.lX~:~>TEST POINTS:::::~:~X\" ____ _

BUS

A.C. CHARACTERISTICS

TA= -40·Cto +85·C, Vcc=Voo= +5V ±10%, Vss=OV

Symbol Parameter 8048/8035L 8748/8035 Unit Conditions (Note 1) Min. Max. Min. Max.

tLL ALE Pulse Width 200 300 ns

tAL Address Setup to ALE 120 120 ns

tLA Address Hold from ALE 80 80 ns

tcc Control Pulse Width (PSEN, RD, WR) 400 600 ns

tow Data Setup Before WR 420 600 ns

two Data Hold After WR 80 120 ns CL=20 pF

tCY Cycle Time 2.5 15.0 4.17 15.0 fJs (3.6 MHzXTAL8748/8035)

tOR Data Hold 0 200 0 200 ns

tRO PSEN, RD to Data In 400 600 ns

tAW Address Setup to WR 230 260 ns

tAD Address Setup to Data In 600 900 ns

tAFC Address Float to RD, PSEN -40 - 60 ns

tCA Control Pulse to ALE 10 10 ns

BUS OutputsCL: 150 pF 4.17 ~ for 874818035

6-22 AFr>HlO860A·05

Page 166 of the Intel mcs-48 user manual — PORT 2 TIMING
Page 166 · click to enlarge
Page 166
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 166)
Fig. 165 · The Single Component . 2" MCS-4S™ S~stem

108048/8748/8035L

A.C. CHARACTERISTICS

TA= -40·Cto +85·C, Vcc=5V ±10%, Vss=OV

Symbol Parameter

Min.

Max. Unit Test Condilions

top Port Control Setup Before Failing Edge of PROG

tpc Port Control Hold After Failing Edge of PROG

tPA PROG to Time P2 Input Must Be Valid

tpF Input Data Hold Time

top Output Data Setup Time

tpo Output Data Hold Time

tpp PROG Pulse Width

tpL Port 2 I/O Data Setup

tLP Port 2 I/O Data Hold

PORT 2 TIMING

ALE

EXPANDER PORT

OUTPUT

PCH

EXPANDER PORT

INPUT

PCH

PROG

Show 10 more labels / short text on this page
ns · ns · 860 ns · 160 ns · ns · ns · ns · ns · ns · AFN-00860A-tl8
Page 167 of the Intel mcs-48 user manual — Programming Verification
Page 167 · click to enlarge
Page 167
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 167)
Fig. 166 · The Single Component . 2" MCS-4S™ S~stem

108048/8748/8035L

CRYSTAL OSCILLATOR MODE

DRIVING FROM EXTERNAL SOURCE

+5V

,---r----'-1 XTALl

0-15 pF (INCLUDES XTAL SOCKET, STRAy)

}>--+ "-t XTALl

+5V

15-25 pF (INCLUDES SOCKET, I

STRAY) -=-

CRYSTAL SERIES RESISTANCE SHOULD BE

BOTH Xl AND X2 SHOULD BE DRIVEN. RESISTORS TO Vee ARE NEEDED TO ENSURE V,H = 3.BV IF TTL CIRCUITRY IS USED. THE MINIMUM HIGH AND THE MINIMUM LOW TIMES ARE 45%.

LC OSCILLATOR MODE

-"- ~ NOMINALf 45 flH 20 pF 5.2 MHz 120 J.lH 20 pF 3.2 MHz ...--..--"'1XTALl C,=C+3Cpp

Cpp::::: 5-10 pF PIN·TO·PIN CAPACITANCE

' +--"'1XTAL2

EACH C SHOULD BE APPROXIMATELY 20 pF,lNCLUDING STRAY CAPACITANCE.

PROGRAMMING, VERIFYING, AND ERASING THE 8748 EPROM

WARNING:

An attempt to program a mis-socketed 8748 will result in severe damage to the part. An indication of a properly socketed part is the appearance of the ALE clock out- put. The lack of this clock may be used to disable the programmer.

Programming Verification

The ProgramlVerify Sequence is:

1. Voo=5V, clock applied or internal oscillator operating, RESET=OV, TEST 0=5V, EA=5V, BUS and

In brief, the programming process consists of: activat- ing the program mode, applying an address, latching the address, applying data, and applying a programming pulse. Each word is programmed completely before moving on to the next and is followed by a verification step. The following is a list of the pins used for program- ming and a description of their functions:

PROG floating:

2. Insert 8748 in programming socket.
3. TEST 0 = OV (select program mode).
4. EA = 23V (activate program mode).
5. Address applied to BUS and P20-1.
6. RESET = 5V (latch address).
7. Data applied to BUS.

XTAL1 Clock Input (1 to 6 MHz)

8. Voo = 25V (programming power).

RESET Initialization and Address Latching

9. PROG = OV followed by one 50 ms pulse to 23 V.

TEST 0 Selection of Program or Verify Mode

10. Voo=5V.

EA Activation of ProgramlVerify Modes

11. TEST 0 = 5V (verify mode).

BUS Address and Data Input Data Output during Verify

12. Read and verify data on BUS.
13. TEST 0 = OV.
14. RESET = OV and repeat from step 5.

Voo Programming Power Supply

15. Programmer should be at conditions of step 1 when 8748 is removed from socket.

PROG Program Pulse Input

Show 8 more labels / short text on this page
1·6 mHz · 4701'1 · '-----t------"l3 XTAL2 · 4701'1 · L-_--+-_-"-j XT AL2 · Pin Function · P20-1 Address Input · AFN-008eOA-Q7
Page 168 of the Intel mcs-48 user manual — AFN-00880A-08
Page 168 · click to enlarge
Page 168
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 168)
Fig. 167 · The Single Component . 2" MCS-4S™ S~stem

ID8048/8748/8035L

AC TIMING SPECIFICATION FOR PROGRAMMING TA = 25°C ± 5°C, Vee = 5V ± 5%, Vee = 25V ± 1V

Sy,mbol Paramet.r

Min.

Max. Unit T .. t Condition.

tAW Address Setup Time to m!'I'1

tWA Address Hold Time After RESETt

tow pata In Setup Time to PROG'

two Data In Hold Time After PROG L

t pH . AmT Hold Time to Verify

tVOOH VooHold Time After PROGl

tpw Program Pulse Width

tr,w Test 0 Setup Time for Program Mode

tWT Test 0 Hold Time After Program Mode

too Test 0 to Data Out Delay

. tww ~ Pulse Width to Latch Address

t" tf Vooand PROG Rise and Fall Times

2.0 ,us

tCY CPU Operation Cycle Time

JAS

tRE RE§ET'Setup Time Before EA 1

DC SPECIFICATION FOR PROGRAMMING TA = 25°C ± 5°C, Vee = 5V ± 5%, Vee = 25V ± 1V

Min.

  • Max. Unit T
  • t Condition.

Voo'! VooProgram Voltage High Level

VOOL Voo Voltage Low Level

VPH PROG Program Voltage High Level V PL PROG Voltage Low Level

VEAH EA Program or Verify Voltage High Level

24.5 V 8746

VEAH1 EA1 Verify Voltage High Level

12.6 V 8046

VEAL EA Voltage Low Level

100 VooHlgh Voltage Supply Current

30.0 mA

I PROG PROG High Voltage Supply Current

16.0 mA

lEA EA High Voltage Supply Current

1.0 mA

AFN-00880A-08

Show 14 more labels / short text on this page
4tcy · 4tcy · 4tcy · 4tcy · 4tcy · tvoow Voo · 4tcy · 60 ms · 4tcy · 4tcy · 4tcy · 4tcy · 4tcy · Symbol Parameter
Page 169 of the Intel mcs-48 user manual — 6-26 AFN-00880A-09
Page 169 · click to enlarge
Page 169
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 169)
Fig. 168 · The Single Component . 2" MCS-4S™ S~stem

108048/8748/8035L

WAVEFORMS FOR PROGRAMMING

COMBINATION PROGRAMIVERIFY MODE (EPROM'S ONLY)

5V _--J/

EA

1---------- PROGRAM ----------t--- VERIFY--'~I.'---- PROGRAM -----

,.----'"'""

TO

DBoDB 7 ==>- --

__ -{ N. EXT ADDR L

DATA TO BE PROGRAMMED VAL 10

VALID

LAST ADDRESS

NEXT ADDRESS

voo+: tTI--U: ~-::-T +23 PROG +5 ,.- ,'- +0 f _

VERIFY MODE (ROM/EPROM)

TO,RESET \\,. ______________ __1 1 \\.-- __ --JI \\.----

DBo-DB7 J--

'~\, A_DD_R_E_S_S_(8_-9_I_V_A_LI_D I~\, NE_X_T_A_D_D_R_E_SS_V_A_L_ID

The 8748 EPROM can be programmed by either of two Intel products:

1. PROMPT -48 Microcomputer Design Aid. or
2. Universal PROM Programmer (UPP series) peripheral of the Intellec® Development System with a UPP·848 Personality Card.

6-26 AFN-00880A-09

Page 170 of the Intel mcs-48 user manual — PIN CONFIGURATION LOGIC SYMBOL
Page 170 · click to enlarge
Page 170
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 170)
Fig. 169 · The Single Component . 2" MCS-4S™ S~stem

inter

M8048/M8748/M8035L

SINGLE COMPONENT &81T MICROCOMPUTER

* 8048 Mask Programmable ROM * 8748 User Programmable/Erasable EPROM * 8035L Requires External ROM or EPROM

  • ·55°C to + 125°C 6 MHz Operation (M80481M8035L)
  • Over 90 Instructions: 70% Single Byte
  • 1K x 8 ROMIEPROM 64 x 8 RAM 27110 Lines
  • ·55°C to + 100°C 3.6 MHz Operation (M8748)
  • 8-Bit CPU, ROM, RAM, 1/0 in Single Package
  • Interval TimerlEvent Counter
  • Interchangeable ROM and EPROM Versions
  • Easily Expandable Memory and 1/0
  • Compatible with 808018085 Series Peripherals
  • Single 5V Supply
  • 2.5 IJsec and 5.0 IJsec Cycle Versions All Instructions 1 or 2 Cycles.
  • Single Level Interrupt

The Intel M80481M8748JM8035L are totally self-sufficient 8-bit parallel computers fabricated on single silicon chips using Intel's N-Channel silicon gate MOS process_

The M8048 contains an 8-bit CPU, a 1 K x 8 program memory, a 64 x 8 RAM data memory, 27 1/0 lines, and an 8-bit timerl counter in addition to on-board oscillator and clock clrcuits_ F.ro systems that require extra capability, the M8048 can be expanded using standard memories and MCS-80™IMCS-85TM peripherals_ The M8035L is the equivalent of an M8048 without program memory, and has the RAM power. down mode of the M8048_ To reduce development problems to a min- Imum and provide maximum flexibility, three Interchangeable pin-compatible' versions of this single component micro- computer exist: the M8748 with user-programmable and erasable EPROM program memory for prototype and prepro- duction systems, the M8048 with factory-programmed mask ROM program memory for low cost, high volume production, and the M8035L without program memory for use with external program memories_

This microprocessor is designed to be an efficient controller as well as an arithmetic processor. The M8048 has extensive bit handling capability as well as facilities for both binary and BCD arithmetic. Efficient use of program memory results from an instruction set consisting mostly of single byte instructions and no Instructions over 2 bytes in length.

'Vee is used to program the M8748 and used for low power standby on the M8048I8035L.

PIN CONFIGURATION LOGIC SYMBOL

BLOCK DIAGRAM

PORT

PORT "

M8048

INTEl CORPORATION ASSUMES NO RESPONSIBILITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBOmED IN AN INTEl PRODUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPLIED.

©INTEL CORP .. 1980 6-27 AFN-G0780A-ol

"

Page 171 of the Intel mcs-48 user manual — 13. TEST 0= 011
Page 171 · click to enlarge
Page 171
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 171)
Fig. 170 · The Single Component . 2" MCS-4S™ S~stem

M80481 M87 481 M8035L

CRYSTAL OSCILLATOR MODE

LCOSCILLATOR MODE

Cl ~

1-_~ ___ ""' ___ 2'-i XTAL 1

..h. .£. ~ 45 "H 20 pF 5.2 MHz 120 "H 20 pF 3.2 MHz ,---r---j XTAU

,,::~: = -=- I 1-_---'1 ___ +- ;3 1 XTAL2

c'= C + 3Cpp

C3 Cl ; SpF ± 12pF + STRAY < SpF C2 ; CRYSTAL + STRAY < 8pF C3 = 20pF ± 1pF + STRAY < SpF

Cpp ::::: 5 - 10 pF PIN·TO·PIN CAPAC IT ANCE

CRYSTAL SERIES RESISTANCE SHOULD BE LESS THAN 1SQ AT 8MHz; LESS THAN 180Q AT 3.8MHz.

EACH C SHOULD BE APPROXIMATEl Y 20 pF, INCLUDING STRAY CAPACITANCE.

DRIVING FROM EXTERNAL SOURCE

+ SV

470Q

»---+-----'-1 XTAL1

+ SV

470Q

FOR XTAL 1 AND XTAL 2 DEFINE "HIGH" AS VOLTAGES ABOVE 1.8V AND "LOW" AS VOLTAGES BELOW 1.6V. THE DUTY CYCLE REQUIREMENTS FOR EXTERNALLY DRIVING XTAL 1 AND XTAL 2 USING THE CIRCUIT SHOWN ABOVE ARE AS FOLLOWS:

BE HIGH 3S-65% OF THE PERIOD.

FOR THE 8748. XTAL MUST BE HIGH 45·50% OF THE PERIOD AND XTAL 2 MUST BE HIGH SO·SS% OF THE PERIOD.

RISE AND FALL TIMES MUST NOT EXCEED 20 ns.

FOR THE 8048. XTAL 1 MUST BE HIGH 35-6S% OF THE PERIOD AND XTAL 2 MUST

PROGRAMMING, VERIFYING, AND ERASING THE 8748 EPROM

WARNING:

An attempt to program a missocketed 8748 will reSUlt in severe damage to the part. An indication of a properly socketed part is the appearance of the ALE clock output. The lack of this clock may be used to disable the prQgrammer.

The ProgramNerify sequence is:

In brief, the programming process consists of: activating the program mode, applying an address, latching the address, applying data, and appiying a programming pulse.

1. ~ 5v, Clock applied or internal oscillator operating, RESET = OIl, TEST 0 = 5v, EA = 5v, 8US and PROG floating.

Each word is programmed completely before moving on to the next and is followed by a verification step. The follow- ing is a list of the pins used for programming and a descrip- tion of their functions:

Insert 8748 in programming socket

TEST 0 = Ov (select program mode)

EA = 23V (activate program mode)

5. Address applied to BUS and P2()'1
6. RESET = 5v (latch address)

Clock Input (1 to 6MHz)

7. Oata appl ied to BUS

Initialization and Address Latching Selection of Program or Verify Mode Activation of ProgramNerify Modes

8. VOO= 25v (programming power)
9. PROG = 011 followed by one SOms pulse to 23V
10. VOO = 5v

EA BUS

11. TEST 0 = 5v (verify mode)

Address and Data Input Data Output During Verify

12. Read and verify data on BUS

P20-1 Voo PROG

Address. Input

13. TEST 0= 011

14. RESET = 011 and repeat from step 5
15. Programmer should be at conditions of step 1 when 8748 is removed from socket.
Show 10 more labels / short text on this page
'----4-_--j XTAL2 · '---~--'-i XTAL2 · Programming Verification · Pin · Function · XTALl · Reset Test 0 · Programming Power Supply · Program Pulse Input · AFN-D076OAo02
Page 172 of the Intel mcs-48 user manual — 12.6 V 8048
Page 172 · click to enlarge
Page 172
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 172)
Fig. 171 · The Single Component . 2" MCS-4S™ S~stem

M8048/M87481 M8035L

AC TIMING SPECIFICATION FOR PROGRAMMING

TA = 25°C ± 5°C, Vee = 5V ± 5%, Voo = 25V ± 1V

Min.

  • Ma
  • Unit Test Conditions

tAW Address Setup Time to RESET ,

41CY

tWA Address Hold Time After RESET'

tow Data in Setup Time to PROG ,

Iwo Dala in Hold Time After PROG j

IPH RESET Hold Time to Verify

tVOOH Voo Hold Time After PROG j

Ipw Program Pulse Width

trw Test 0 Setup Time for Program Mode twr Test 0 Hold Time After Program Mode

too Test 0 to Data Out Delay

tww RESET Pulse Width to Latch Address

Ir. It Voo and PROG Rise and Fall Times

2.0 liS

tCY CPU Operation Cycle Time

tRE RESET Setup TIme Before EA t.

Nole: If Test 0 is high too can be triggered by RESEi' t.

DC SPECIFICATION FOR PROGRAMMING

TA = 2SOC ± SoC, Vee = SV ± 5%, Voo = 2SV ± 1V

Min.

Max. Unit Test Conditions

VOOH Voo Program Voltage High Level

2S.0 V

VOOL Voo Voltage Low Level

VPH PROG Program Voltage High Level

VPL PROG Voltage Low Level

VEAH EA Program or Verify Voltage High Level

24.5 V 8748

VEAH1 EA1 Verify Voltage High Level

12.6 V 8048

VEAL EA Voltage Low Level

100 Voo High Voltage Supply Current

30.0 mA

IPROG PROG High Voltage Supply Current

16.0 mA

lEA EA High Voltage Supply Current

1.0 mA

Show 16 more labels / short text on this page
Symbol Parameter · 41cy · 41cy · 41cy · 4tcy · tvoow Voo · 4tcy · SO mS · 4tcy · 4tcy · 4tcy · 4tcy · liS · 4tcy · Symbol Parameler · AFN-Q0780A-(l3
Page 173 of the Intel mcs-48 user manual — 6-30 AFN-Q0780A-04
Page 173 · click to enlarge
Page 173
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 173)
Fig. 172 · The Single Component . 2" MCS-4S™ S~stem

M8048/M8748/M8035L

WAVEFORMS FOR PROGRAMMING

COMBINATION PROGRAMNERIFY MODE (EPROM'S ONLY)

EA 23' / 5' 1 1+ PROGRAM t--- VERIFV---I.I~' PROGRAM tTw_

,. ,.

TO

tww-

-- -< NEXT ADDR C . VALID

DBo-DB, J--

DATA TO BE PROGRAMMED VALID

LAST ADDRESS

NEXT ADDRESS

Voo +: J-TI~·~n.-':w-.'----------------------

PROG +5------------ ~----------'"'\ +0 ___ J .... _______ _

VERIFY MODE (ROM/EPROM)

TO. RESET \ ..... _______ ..J/ \'-- __ -.J/ \'"----

DBO-OS7 =>---

ADDRESS 10-71 VALID ---< A_~_~_~_:S_S __ X ~_~_;_TV_~_~_i~...J>-

_____ ...J)<... _____ A_DD_R_E_S_S_18_-9_'_V_A_L_'D _____ )<: ... ______ N_EX_T_A_D_D_R_E_SS_V_A_L_'_D ________ _

The 8748 EPROM can be programmed by either of two Intel products:

1. PROMPT -48 Microcomputer Design Aid, or 2. Universal PROM Programmer (UPP Series) peripheral of the Intellec® Development System with a UPP-848 Personality Card.

6-30 AFN-Q0780A-04

+23 ~

Page 174 of the Intel mcs-48 user manual — 6-31 AFN-Q0780A-QS
Page 174 · click to enlarge
Page 174
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 174)
Fig. 173 · The Single Component . 2" MCS-4S™ S~stem

M8048/M8748/M8035L

INSTRUCTION SET

Mnemonic Description Bytes Cycle Mnemonic Description Bytes Cycles .. ADD A, R Add register to A ADD A,@R Add data memory to A

c CALLaddr Jump to subroutine :; e RET Return 2 ADD A, #data Add immediate to A '" RETR Return and restore status 2 ::J ADDC A, R Add register with carry

<II

ADDC A,@R Add data memory with carry CLR C Clear carry ADDC A, #data Add immediate with carry CPL C Complement carry ANL A, R And register to A ANLA,@R And data memory to A

.. CLR FO Clear flag 0 co Il CPL FO Complement flag 0 ANL A, #data And immediate to A CLR F1 Clear flag 1

ORL A, R Or register to A ORL A, @R Or data memory to A

CPL F1 Complement flag 1

::J ORL A, 'data Or immediate to A E XRL A, R Exclusive or register to A ::J

MOV A, R Move register to A MOV A,@R Move data memory to a MOV A, #data Move immediate to A XRL A, #data Exclusive or immediate to A MOV R, A Move A to register INC A Increment A MOV@R,A Move A to data memory DECA Decrement A .. MOV R, #data Move immediate to register CLR A Clear A CPL A Complement A ~

~ XRL A, @R Exclusive or data memory to A

MOV @R, #data Move immediate to data memory

::E MOV A, PSW Move PSW to A DAA Decimal adjust A SWAP A Swap nibbles of A

l! MOV PSW, A Move A to PSW co C XCH A, R Exchange A and register RL A Rotate A left XCHA,@R Exchange A and data memory RLC A Rotate A left through carry XCHD A,@R Exchange nibble of A and register RR A Rotate A right MOVXA,@R Move external data memory to A RRC A Rotate A right through carry MOVX@R,A Move A to external data memory MOVPA,@A Move to A from current page IN A, P Input port to A MOVP3 A,@A Move to A from page 3 OUTL P, A Output A to port

ANL P, #data And immediate to port MOV A, T Read timer/counter

ORL P, #data Or imm~diate to port 'S INS A, BUS Input BUS to A % OUTL BUS, A Output A to BUS 0 ., ANL BUS, #data And immediate to BUS ::J ORL BUS, #data Or immediate to BUS "- .5 MOVD A, P Input expander port to A

MOVT, A Load timer/counter

::J STRT T Start timer 0 STRT CNT Start counter 0 -;: STOP TCNT Stop timer/counter .. E EN TCNTI Enable timer/counter interrupt i=

DIS TCNTI Disable timer/counter interrupt

MOVD P, A Output A to expander port ANLD P, A And A to expander port EN I Enable external interrupt

ORLD p, A Or A to expander port DIS I Disable external interrupt i

:g SEL RBO Select register bank 0 c SEL RB1 Select register bank 1 8 SEL MBO Select memory bank 0 .. DEC R Decrement register '"

INC R Increment register INC@R Increment data memory

SEL MB1 Select memory ban k 1 ENTO CLK Enable clock output on TO

JMP addr Jump unconditional JMPP@A Jump indirect NOP No operation

DJNZ R, addr Decrement register and skip JC addr Jump on carry = 1 JNC addr Jump on carry = 0 JZ addr Jump on A zero

J: JNZ addr Jump on A not zero " JTO addr Jump on TO ~ 1 c e! JNTO addr Jump on TO ~ 0 CD

JT1 addr Jump on T1 ~ 1 JNT1 addr Jump on T1 ~ 0 JFO addr Jump on FO ~ 1 JF1 addr Jump on F1 = 1 JTF addr Jump on timer flag JNI addr Jump on INT ~ 0 JBb addr Jump on accumulator bit Mnemonics copyright Intel Corporation 1978

6-31 AFN-Q0780A-QS

~ · ~

Page 175 of the Intel mcs-48 user manual — AFN-00780A-<16
Page 175 · click to enlarge
Page 175
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 175)
Fig. 174 · The Single Component . 2" MCS-4S™ S~stem

M8048/M8748/M8035L

PIN DESCRIPTION

20 Circuit GND potential

INT

6 Interrupt input. Initiates an inter- rupt if interrupt is enabled. Inter- rupt is disabled after a reset. Also testable with conditional jump instruction. (Active low)

26 Programming power supply; +25V during program, +5V during oper- ation for both ROM and PROM. low power standby pin in 8048 and 8035L.

8 Output strobe activated during a BUS read. Can be used to enable data onto the bus from an external device.

40 Main power supply; +5V during operation and programming.

PROG

25 Program pulse (+23V) input pin during 8748 programming.

Used as a read strobe to external data memory. (Active low)

Output strobe for 8243 I/O ex- pander.

4 Input which is used to initialize the processor. Also used during PROM programming verification, and power down. (Active low) (Non TTL VIH)

P10-P17 Port 1 P20-P27 Port 2

27-34 8-bit quasi-bidirectional port.

21-24 8-bit quasi-bidirectional port. 35-38 P20-P23 contain the four high order program counter bits during an external program memory fetch and serve as a 4-bit I/O expander bus for 8243.

10 Output strobe during a bus write. (Active low)

Used as write strobe to external data memory.

12-19 True bidirectional port which can be written ~re~synchronously using the RD, WR strobes. The port can also be statically latched.

ALE

11 Address latch enable. This signal occurs once during each cycle and is useful as a clock output.

The negative edge of ALE strobes address into external data and pro- gram memory.

Contains the 8 low order program counter bits during an external program memory fetch, and re- ceives the addressed instruction under the control of PSEN. Also contains the address and data during an external RAM data store instruction, under control of ALE RD, and WR. '

9 Program store enable. This output occurs only during a fetch to exter- nal program memory. (Active low)

5 Single step input can be used in junction with ALE to "single step" the processor through each in- struction. (Active low)

TO

Input pin testable using the con- ditional transfer instructions JTO and JNTO. TO can be designated as a clock output using ENTO ClK instruction. TO is also used during programming.

EA

7 External access input which forces all program memory fetches to re- ference external memory. Useful for emulation and debug, and essential for testing and program verification. (Active high)

T1

39 Input pin testable using the JT1, and JNT1 instructions. Can be deSignated the timer/counter in- put using the STRT CNT in- struction.

2 One side of crystal input for inter- nal oscillator. Also input for exter- nal source. (Non TTL VIH)

3 Other side of crystal input.

AFN-00780A-<16

Show 10 more labels / short text on this page
Designation · Pin # Function · Designation · Pin# Function · Vss · Voo · Vee · DBa-DB? BUS · XTAl1 · XTAl2
Page 176 of the Intel mcs-48 user manual — PORT 2 TIMING
Page 176 · click to enlarge
Page 176
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 176)
Fig. 175 · The Single Component . 2" MCS-4S™ S~stem

M8048/M8748/M8035L

A.C. CHARACTERISTICS (PORT 2 TIMING)

TA = 55·C to (100·C M8748/125·C M8048/M8035L), Vcc= +5V ± 10%, Vss =OV

Min. Max.

Unit Teet Conditione

Port Control Setup Before Falling Edgeof~

Port Control Hold After Falling Edge of PROG

PROG to Time P2 Input Muat Be Valid

Input Data Hold Time

Output Data Setup Time

Output Data Hold Time

Port 2 1/0 Data Setup

Port 2 1/0 Data Hold

PORT 2 TIMING

ALE

EXPANDER PORT

OUTPUT

PCH

EXPANDER PORT

INPUT

PCH

PROG

AFN-00780A-07

Show 20 more labels / short text on this page
Symbol · Parameter · tcp · na · tpc · na · tpR · ns · tPF · ns · top tpo · na · ns · tpp · PROG Pulae Width · ns · tpL · ns · tLP · na
Page 177 of the Intel mcs-48 user manual — 6-34 AFN-00780A-08
Page 177 · click to enlarge
Page 177
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 177)
Fig. 176 · The Single Component . 2" MCS-4S™ S~stem

M8048/M87481 M8035L

WAVEFORMS

Instruction Fetch From External Program Memory Read From External Data Memory

1_-' tL-L~,-'cv-~'1

ALE JI ~ ___ ----'r-I ---'L ALE J L

- t AFC 1- 'cc ~I tCA r-- --------r-+_~ ~--~------

BUS

Write to External Data Memory Input and Output Waveforms for A.C. Tests

BUS "=X x=

ALE J L

2.0 2.0 > TEST POINTS <

0.8 0.8 0.45

A.C. CHARACTERISTICS

TA = -55·C to (100·C M8748/125·C M8048/M8035L), Vcc = Voo = +5V ± 10%, Vss =OV

M8048 M8748 Symbol Parameter M8035L Unit Conditions (Note 1) Min. Max. Min. Max.

tLL ALE Pulse Width 200 300 ns

tAL Address Setup to ALE 120 120 ns

tLA Address Hold from ALE 80 80 ns

tcc Control Pulse Width (PSEN, RD, WR) 400 600 ns

tow Data Setup before WR 420 600 ns

two Data Hold After WR 80 120 ns CL = 20pF

tCY Cycle Time 2.5 15.0 4.17 15.0 !lS (3.6 MHz XTAL 8748)

tOR Data Hold 0 200 0 200 ns

tRo PSEN, RD to Data In 400 600 ns

tAW Address Setup to WR 230 260 ns

tAD Address Setup to Data In 600 900 ns

tAFC Address Float to RD, PSEN -40 -60 ns

tCA Control Pulse to ALE 10 10 ns

6-34 AFN-00780A-08

Page 178 of the Intel mcs-48 user manual — 4V OV OV 2V 4V
Page 178 · click to enlarge
Page 178
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 178)
Fig. 177 · The Single Component . 2" MCS-4S™ S~stem

M80481 M87 48/M8035L

ABSOLUTE MAXIMUM RATINGS·

Ambient Temperature Under Bias

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device, This is a stress fating only and functional operation of the device at these or jiny other conditions above those indicated in the operational sections of this specification is not implied.

8748 -SsoC to +100°C 8048/803SL -SsoC to +12SoC Storage Temperature -6SoC to +12SoC Voltage On Any Pin With Respect

to Ground -O.S to +7V Power Dissipation 1.S Watt

D.C.AN D OPERATI NG CHARACTERISTICS

TA = -55·C to (100·C MB74B/125·C MB04B/MB035L), Vee = VDD = +5V ± 10%, Vss =OV

Symbol Parameter Limits Unit Test Conditions Min. Typ. Max.

V1L Input Low Voltage -.5 .7 V (All Except RESET, X1, X2)

V1L1 Input Low Voltage -.5 .S V (RESET, X1, X2)

V1H Input High Voltage 2.3 Vee V (All Except XTAL 1, XTAL 2, RESET)

V1H1 Input High Voltage (RESET, X1, X2) 3.B Vee V

VOL Output Low Voltage .45 V IOL = 1.2mA (BUS, RD, WR, PSEN, ALE)

VOLI Output Low Voltage .45 V iOL = O.BmA (All Other Outputs)

VOH Output High Voltage (BUS) 2.4 V IOH= -24OI'A

VOH1 Output High Voltage 2.4 V IOH = -SOI'A (RD, WR, PSEN, ALE)

VOH2 Output High Voltage 2.4 V IOH = -3OI'A (All Other Outputs)

III Input Leakage Current (T1, INT) ±10 i-

ILl1 I nput Leakage Current -700 f.1A Vss+.45 ::;VIN ::;Vee (P10-P17, P20-P27, EA, SS)

lLO Output Leakage Current (BUS, TO) ± 10 f.1A Vss + .45",V1N",Vee (High Impedance State)

IDD VDD Supply Current 10 25 mA

IDD+ lee Total Supply Current BO 155 mA

BUS P1, P2 BUS, P1, P2

SOmA G

-300j.iA. '" r 9 9 0 30mA

-100.,A t?

4V OV OV 2V 4V

VOH VOH

VOL

6-35 AFN-007BOA-09

-5001-lA lOmA · lOrnA

Page 179 of the Intel mcs-48 user manual — 'INTEL CORPORATION. 1979
Page 179 · click to enlarge
Page 179
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 179)
Fig. 178 · The Single Component . 2" MCS-4S™ S~stem

inter

NEW HIGH PERF·ORMANCE

. 8049/8039/8039·6 SINGLE COMPONENT 8·BIT MICROCOMPUTER

*8049 Mask Programmable ROM *8039 External ROM or EPROM *New 11 MHz Operation

  • 8·Bit CPU, ROM, RAM, 1/0 In Single Package
  • 2Kx 8 ROM 128 x 8 RAM 27110 Lines
  • Single 5V:t 10% Supply
  • 1.36 ILsac Cycle; AU Instructions 1 or 2 Cycles
  • Interval TlmerlEvent Counter
  • Easily Expandable Memory and 1/0
  • Over 90 Instructions: 70% Single Byte
  • Compatible with MCS Memory and 1/0
  • Pin Compatible with 8048/8748
  • Single Level Interrupt

The Intel~ 8049/8039/8039-6 Is a totally self-sufficient 8-bit parallel computer fabricated on a single silicon chip using Intel's N-channel silicon gate MOS process.

The 8049 contains a 2K x 8 program memory, a 128 x 8 RAM data memory, 27 I/O lines, and an 8·blt timer/counter in addition to on board oscillator and clock circuits. For systems that require extra C;llpabillty, the 8049 can be expanded using standard memories and MCS-80™/MCS·85TM peripherals. The 8039 is the equivalent toan 8049 without program

memory. The 8039·6 is a lower speed (6 MHz) version of the 8039. .

To reduce development problems to a minimum and provide maximum flexibility, two Interchangeable pin-compatible versions of this single component microcomputer exist: the B049 with factory-programmed mask ROM program memory for low-cost high volume production, and the 8039 without program memory for use with external program memories in prototype and preproduction systems.

This microprocessor is designed to be an efficient contl'oller as well as an arithmetic processor. The 8049 has exten- sive bit handling capability as well as facilities for both binary and BCD arithmetic. Efficient use of program memory results from an instruction set consisting mostly of single byte instructions and· no instructions over two bytes In length.

PIN CONFIGURATION LOGIC SYMBOL BLOCK DIAGRAM

INTEL CORPORATION ASSUMES NO RESPONSIBILITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBODIED IN AN INTEL PROOUCl NO OTHER CIRCUIT PATENT LICENSES ARE IMPLIED.

'INTEL CORPORATION. 1979

6-36 AFNoOO181MJl

Page 180 of the Intel mcs-48 user manual — 6-37 AFN-00181A-Q2
Page 180 · click to enlarge
Page 180
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 180)
Fig. 179 · The Single Component . 2" MCS-4S™ S~stem

80411803118031 ..

PIN DESCRIPTION

Designation Pin # Function Designation Pin # Function

Vss 20 Circuit GNO potential RO 8 Output strobe activated during a

Voo 26 +5V during operation. low power BUS read. Can be used to enable

standby pin. data onto the BUS from an extemal

Vee 40 Main power supply; +5V during device.

operation. Used as a Read Strobe to External

Data Memory. (Active low)

PROG 25 Output strobe for 8243 1/0

expander. RESET 4 Input which is used to initialize the

P10-P17 27-34 B-bit quasi-bidirectional port. processor_Also used during verifi-

Port 1 cation, and power down. (Active

P2O-P27 21-24 B-bit quasi-bidirectional port_ low) (Non TTL VIH) Port 2 35-38 P2O-P23 contain the four high WR 10 Output strobe during a BUS write.

order program counter bits during (Active low)

an external program memory fetch Used as write strobe to External and serve as a 4-bit 1/0 expander Data Memory. bus for 8243 ALE 11 Address Latch Enable. This signal 00-07 12-19 True bidirectional port which can occurs once during each cycle and BUS be written or read synchronously is useful as a clock output. using the RO, WR strobes. The The negative edge of ALE strobes port can also be statically latched. address into external data and pro- Contains the 8 low order program gram memory. counter bits during an external PSEN 9 Program Store Enable. This output program memory fetch, and receives the addressed instruction under the occurs only during a fetch to exter-

control of PSEN. Also contains the nal program memory. (Active low)

address and data during an external 55 5 Single step input can be used in con- RAM data store instruction, under junction with ALE to "single step" control of ALE, RO, and WR. the processor through each in·

TO Input pin testable using the con- struc;tion. (Active low)

ditional transfer instructions JTO EA 7 External Access input which forces and JNTO. TO can be designated as all program memory fetches to re- a clock output using ENTO ClK ference external memory. Useful instruction. for emulation and debug, and

essential for testing and program

T1 39 Input pin testable using the JT1,

and JNT1 instructions. Can be des-

ignated the timer lcounter input using XTAL1 2 One side of crystal input for inter-

the STRT CNT instruction. nal oscillator. Also input for exter-

ilalsource. (Not TTL Compatible)

INT 6 Interrupt input. Initiates an inter-

rupt if interrupt is enabled. Inter- XTAL2 3 Other side of crystal input_

rupt is disabled after a reset. Also testable with conditional jump

instruction. (Active low)

6-37 AFN-00181A-Q2

verification_ (Active high)

Page 181 of the Intel mcs-48 user manual — 6·38 AFN·00191A·03
Page 181 · click to enlarge
Page 181
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 181)
Fig. 180 · The Single Component . 2" MCS-4S™ S~stem

8049/8039

INSTRUCTION SET

Mnemonic Description Bytes Cycle Mnemonic Description Bytes Cycle ..

2 2 c CALL Jump to subroutine ADD A, R Adrl register to A

~ 2 ADD A,@R Add data memory to A 1 1 f RET Return ADD A, #data Add immediate to A 2 2 .., RETR Retu rn and restore status 2 = ADDC A, R Add register with carry '" ADDC A,@R Add data memory with carry 1 1 ADDC A, #data Add immediate with carry 2 2 CLR C Clear Carry Complement Carry CPL C ANL A, R And register to A :g, CLR Fa Clear Flag a ANLA,@R And data memory to A 1 1 .l! Complement Flag a u. CPL Fa ANL A, #data And immediate to A 2 2 Clear Flag 1 CLR Fl ORLA, R Or register to A

CPL Fl Complement Flag 1 S ORLA,@R Or data memory to A 1 .IJI ORLA, #data Or immediate to A 2 2 = E XRLA, R Exclusive Or register to A 1 MOV A, R Move register to A = ~

XRLA,@R Exclusive or data memory to A 1 1 MOVA,@R Move ~ata memory to A XRLA, #data Exclusive or immediate to A 2 2 MOV A,. #data Move immediate to A 2 2 INCA Increment A 1 MOV R,A Move A to register 1 DECA Decrement A MOV@R,A Move A to data memory 1 CLR A Clear A MOV R, #data Move immediate to register 2 2 CPL A Complement A ~ MOV @R, #data Move immediate to data memory 2 2 > DAA Decimal Adjust A 0 Move A, PSW Move PSW to A ::; SWAP A Swap nibbles of A m MOV PSW, A Move A to PSW RLA Rotate A left m XCH A, R Exchange A and register C RLCA Rotate A left through carry XCHA,@R Exchange A and data memory RR A Rotate A right XCHD A,@R Exchange nibble of A and register RRCA Rotate A right through carry MOVX A,@R Move external data memory to A 2 MOVX@R,A Move A to external data memory 2 INA, P I nput port to A 2 MOVPA,@A Move to A from current page 2 OUTL P, A Output A to port 2 MOVP3 A,@A Move to A from Page 3 2 ANL P, #cIate And immediate to port 2 2 I

ORL P, #data Or immediate to port 2 2 MOVA, T Read Timer/Counter INS A, BUS I nput BUS to A 2 .!! MOVT, A Load Timer/Counter ~

OUTL BUS, A Output A to BUS 1 2 c STRTT Start Timer = ANL BUS, #data And immediate to BUS 2 2 § STRT CNT Start Counter '" .5 ORL BUS,#data Or immediate to BUS 2 2 ~ STOP TCNT Stop Timer/Counter MOVD A, P Input Expander port to A 2 ,§ EN TCNTI Enable Timer/Counter Interrupt MOVD P, A Output A to Expander port 2 t- DIS TCNTI Disable Timer/Counter Interrupt ANLD P, A And A to Expander port 2 ORLO P, A Or A to Expander port 2

EN I Enable external interrupt

~ DISI Disable external interrupt ,I

INCR Increment registel' i

SEL RBO Select register bank a INC@R I ncrement data- memory

SEL RB1 Select register bank 1 i' DECR Decrement reg ister 8 SEL MBa Select memory ba n k a 1:1:

SEL MB1 Select memory bank 1

JMP addr Jump unconditional 2 2 ENTO ClK Enable Clock output on TO

JMPP@A Jump indirect 1 2 DJNZ R, addr Decrement register and skip 2 2 NOP No Operatior. JC addr Jump on Carry = 1 2 2 JNC addr Jump on Carry = a 2 2 J Z addr Jump on A Zero 2 2 JNZ addr Jump on A not Zero 2 2

~ JTO addr Jump on TO = 1 2 2

~ JNTO addr Jump on TO = a 2 2 d5 JTl addr Jump on Tl = 1 2 2 JNT1 addr Jump on T1 = a 2 2 JFO addr Jump on FO = 1 2 2 JF 1 addr Jump on Fl = 1 2 2 JTF addr Jump on timer flag 2 2 JNI addr Jump on INT = a 2 2 JBb addr Jump on Accumulator Bit 2 2

Mnemonics copyright Intel Corporation 1976, 1977, 1978

6·38 AFN·00191A·03

Page 182 of the Intel mcs-48 user manual — 6-39 AFN-00191A-04
Page 182 · click to enlarge
Page 182
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 182)
Fig. 181 · The Single Component . 2" MCS-4S™ S~stem

8049/8039

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification Is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

AmbientTemperatureUnderBias 0°Cto70°C Storage Temperature -65° C to +150° C Voltage on Any Pin With

Respectto Ground -0.5V to +7V Power Dissipation 1.5 Watt

D.C. AND OPERATING CHARACTERISTICS TA = o°c to 70"C, Vee = Voo = +5V ±10%, Vss = ov

Symbol Parameter Min. Typ. Max. Unit Test Conditions

Vil Input Low Voltage -0.5 0.8 V

VIH Input High Voltage (All Except XTAL1, XTAL2, RESET) 2.0 Vee V

VIH1 Input High Voltage (RESET, Xl, X2) 3.8 Vee V

VOL Output Low Vo Itage

(BUS, RD, WR, PSEN, ALE) 0.45 V IOl = 2.0mA

VOLl Output Low Voltage

(All Other Outputs Except PROG) 0.45 V IOl = 1.6mA

VOL2 Output low Voltage (PROG) 0.45 V IOl = 1.0mA

VOH Output High Voltage

(BUS, RD, WR, PSEN, ALE) 2.4 V IOH = -100/.LA

VOH1 Output High Voltage (All Other Outputs) 2.4 V IOH = -50/.LA

IlL I n put Lea kage Current (Tl, INT) ±10 /.LA VSS';;VIN';;Vee

IOl Output Leakage Current (Bus, TO)

(High Impedance State) ±10 /.LA Vss + 0.45';; VIN .;; Ve e

100 Power Down Supply Current 25 50 mA TA = 25°C

loo+lee Tota I Su pply Current 100 170 mA TA = 25°C

A.C. CHARACTERISTICS TA = o°c to 70°C, Vee = Voo = +5V ±10%, Vss = ov

Symbol Parameter Min. Max. Unit Conditions (Note 2) tll ALE Pulse Width 200 ns

tAL Address Setup to ALE 120 ns

tLA Address Hold from ALE 80 ns

tcc Control Pulse Width (PSEN, RD, WR) 400 ns

tow Data Set·Up Before WR 420 ns

two Data Hold After WR 80 ns CL=20pF

tey Cycle Time 2.5 15.0 I's llMHz XTAL

tOR Data Hold 0 200 ns

tRO PSEN, RD to Data In 400 ns

tAW Address Setup to WR 2~0 ns

tAO Address Setup to Data In 600 ns

tAFC Address Float to RD, PSEN -40 ns

Noles: 1. 8039·6 specifications are also valid for 8049/8039 operating at 6MHz.

2. Control Outputs: CL = 80pF BUS Outputs: CL = 150pF

6-39 AFN-00191A-04

Limits

Page 183 of the Intel mcs-48 user manual — BUS
Page 183 · click to enlarge
Page 183
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 183)
Fig. 182 · The Single Component . 2" MCS-4S™ S~stem

.8049/8039

WAVEFORMS

INSTRUCTION FETCH FROM EXTERNAL PROGRAM MEMORY

11---~-tLL----1 -tcv-----·I

ALE JI L-- _ _ ------..1:.--1 ----'L

- tAFCI---Icc 1 ~-+~ .~

BUS

INSTRUCTION

READ FROM EXTERNAL DATA MEMORY

ALE J L

RD

BUS

WRITE TO EXTERNAL DATA MEMORY

ALE J L

BUS FLOATING

6-40 AFN-00191A-05

Page 184 of the Intel mcs-48 user manual — PIN CONFIGURATION LOGIC SYMBOL
Page 184 · click to enlarge
Page 184
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 184)
Fig. 183 · The Single Component . 2" MCS-4S™ S~stem

NEW HIGH PERFORMANCE

18049/8039 SINGLE COMPONENT 8·BIT MICROCOMPUTER

*8049 Mask Programmable ROM *8039 External ROM or EPROM *6 MHz Operation

  • 8·BIt CPU, ROM, RAM, 110 In Single Package
  • 2K)( 8 ROM 128)( 8 RAM 27110 LInes
  • Single 5V::t 10% Supply
  • 2.5 ILsec Cycle; All Instructions 1 or 2 Cycles
  • Over 90 Instructions: 70% Single Byte
  • Interval Timer/Event Counter
  • Easily Expandable Memory and I/O
  • Compatible with MCS Memory and I/O
  • Single Level Interrupt
  • Pin Compatible with 804818748

The Intel@> 18049/8039 is totally self-sufficient 8-bit parallel computer fabricated on a single silicon chip using Intel's N-channel silicon gate MOS process.

The 8049 contains a 2K x 8 program memory, a 128 x 8 RAM data memory, 27 110 lines, and an 8-blt timer/counter In addition to on-board oscillator and clock circuits. For systems that require extra capability, the 8049 can be expanded using standard memories and MeS-80 TM/MeS-85 ™ peripherals. The 8039 is the equivalent of an 8049 without program memory.

To reduce development problems to a minimum and provide maximum flexibility, two Interchangeable pin-compatible versions of this single component microcomputer exist: the 8049 with factory-programmed mask ROM program memory for low-cost high volume production, and the 8039 without program memory for use with external program memories In prototype and preproduction systems. .

This microprocessor is designed to be an efficient controller as well as an arithmetic processor. The 8049 has exten- sive bit handling capability as well as facilities for both binary and BeD arithmetic. Efficient use of program memory results from an instruction set consisting mostly of single byte instructions and no instructions over two bytes in length.

PIN CONFIGURATION LOGIC SYMBOL

BLOCK DIAGRAM

INTeL CORPORATION ASSUMES NO RESPONSIBILITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBODIED IN AN INTeL PRODUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPLIED. olNTEL CORPORATION, 1979 AFN-00737-01

18039 18049

Page 185 of the Intel mcs-48 user manual — 6-42 AFN-00737-02
Page 185 · click to enlarge
Page 185
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 185)
Fig. 184 · The Single Component . 2" MCS-4S™ S~stem

inter 18049/8039

PIN DESCRIPTION

Designation Pin # Function Designation Pin # Function

Vss 20 Circuit GND pOtential RD 8 Output strobe activated during a

Vee 26 +5V during operation. low power BUS read. Can be used to enable

standby pin. data onto the BUS from an external

Vee 40 Main power supply; +5V during device.

operation. Used as a Read Strobe to External

Data Memory. (Active low)

MaG 25 Output strobe for 8243 1/0

expander. RESET 4 Input which is used to initialize the

P1Q.P17 27·34 B-bit quasi-bidirectional port. processor. Also used during verifi-

Port 1 cation, and power down. (Active

P2O-P27 21-24 B-bit quasi-bidirectional port_ low) (Non TTL VIH) Port 2 35-38 P20-P23 contain the four high WR 10 Output strobe during a B US write.

order program counter bits during (Active low)

an external program memory fetch Used as write strobe to External and serve as a 4-bit 1/0 expander Data Memory. bus for 8243 ALE 11 Address latch Enable. This signal 00-07 12-19 True bidirectional port which can occurs once dur ing each cycle and BUS be written or read synchronously is useful as a clock output. using the RD, WR strobes. The The negative edge of ALE strobes port can also be statically latched. address into external data and pro- Contains the 8 low order program gram memory. counter bits during an external PSEN 9 Program Store Enable. This output program memory fetch, and receives the addressed instruction under the occurs only during a fetch to exter-

controlof PSEN. Also contains the nal program memory. (Active low)

address and data during an external SS 5 Single step input can be used in con- RAM data store instruction, under junction with ALE to "single step" control of ALE, RD, and WR. the processor through each in-

TO Input pin testable using the con- struction. (Active low)

ditional transfer instructions JTO EA 7 External Access input which forces and JNTO. TO can be designated as all program memory fetches to re- a clock output using ENTO ClK ference external memory. Useful instruction. for emulation and debug, and

essential for testing and program

Tl 39 Input pin testable using the JT1,

verification. (Active high)

and JNT1 instructions. Can be des-

ignated the timer lcounter input using XTAL1 2 One side of crystal input for inter-

the STRT CNT instruction. nal oscillator. Also input for exter- iNr 6 Interrupt input. Initiates an inter-

nal source. (Not TTL Compatible)

rupt if interrupt is enabled. Inter- XTAl2 3 Other side of crystal input.

rupt is disabled after a reset. Also testable with conditional jump instruction. (Active low)

6-42 AFN-00737-02

Page 186 of the Intel mcs-48 user manual — 643 AFN-00737-03
Page 186 · click to enlarge
Page 186
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 186)
Fig. 185 · The Single Component . 2" MCS-4S™ S~stem

intJ 18049/8039

INSTRUCTION SET

Mne nic Dnc:rlption Bytes Cycl. Mn nic D-.iptlon ByleS Cycle.

ADDA.R Add register to A I .~ CALL Jump to subroutine !i RET Return 2 ADD A.@IR Add data memory to A I e Return and restore status 2 ADD A. #data Add immediate to A 2 2 i RETR ADDCA.R Add register with carry 1 III ADDCA.@R Add data memory with carry I I

CLR C Clear Carry ADDC A, #data Add immediate with carry 2 2 CPL'C Complement Car'y ANL A, R And register to A j CLR FO Clear Flag 0 ANLA,@R And data memory to A 1 I

Complement Flag 0 II. CPL FO ANL A, #data And immediate to A 2 2 CLR Fl Clear Flag 1 ORL A, R Or register to A

CPL FI Complement Flag I ~ ORLA,@R Or data memory to A .. ORL A, #data Or immediate to A 2 2 " E XRLA, R Exclusive Or ragister to A MOVA,R Move register to A 1 ii XRLA,@R Exclusive or data memory to A I MOVA,@R Move Jata memory to A I 1 C XRLA, #data Exclusive or immediate to A 2 2 MOV A, #data Move immediate to A 2 2 INCA Increment A MOVR,A Move A to register DEC A Decrement A MOV@R,A Move A to data memory I 1 CLR A Clear A MOV R, #data Move immediate to register 2 2 CPLA Complement A ! MOV @R, #data Move immediate to data memory 2 2 DAA Decimal Adjust A

~ Move A,PSW Move PSW to A SWAP A Swap nibbles of A .. MOV PSW, A Move A to PSW RLA Rotate A left ';; XCH A, R Exchange A a nd register C RLCA Rotate A left through carry XCHA,@R Exchange A and data memory 1 RRA Rotate A right XCHD A,@R Exchange nibble of A and register 1 RRCA Rotate A .right through carry MOVXA,@R Move external data memory to A 2 MOVX@R,A Move A to external data memory 2 INA,P Input port to A 2 MOVPA,@A Move to A from current page 2 OUTLP,A Output A to port 2 MOVP3 A,@A Move to A from Page 3 2 ANL P, #data And immediate to port 2 2 i ORL P, #data Or immediate to port 2 2 MOVA, T Read Timer/Counter ; INSA, BUS Input BUS to A 2 I MOVT,A Load Timer/Counter !2 OUTL BUS, A Output A to BUS 1 2 STRTT Start Timer " ; ANL BUS, #data And immediate to BUS 2 2 § STRT CNT Start Counter Q. .5 ORL BUS,#data Or immediate to BUS 2 2 • STOP TCNT Stop Timer/Counter MOVDA, P Input Expander port to A 2 .~ EN TCNTI Enable Timer/Counter Interrupt MOVDP,A Output A to Expander port 2 ... DIS TCNTI Disable Timer/Counter Interrupt ,I ANLD P,A A nd A to Expander port 2 ORLD P, A Or A to Expander port 2

EN I Enable external interrupt DISI Disable external interrupt • INCR Increment register

  • SEL RBO Select register bank 0
  • INC@R I ncrement data memory

SEL RBI Select register bank I r DECR Decrement reg ister ~ SEL MBO Select memory ban k 0 ~

SELMB1 Select memory bank I

JMP addr Jump unconditional 2 2 ENTOCLK Enable Clock output O~ iO

JMPP@A Jump indirect 1 2 DJNZ R, addr Decrement register and skip 2 2 NOP No Operatior. JCaddr Jump on Carry = I 2 2 JNC addr Jump on Carry = 0 2 2 J Z addr Jump on A Zero 2 2 JNZ addr Jump on A not Zero 2 2 .t: JTOaddr Jump on TO = 1 2 2 u " JNTO addr Jump on TO= 0 2 2 .. til JTl addr Jump on T1 = 1 2 2 JNTI addr Jump on T1 = 0 2 2 JFOaddr Jump on FO= 1 2 2 JFl addr Jump on Fl = 1 2 2 JTF addr Jump on timer flag 2 2 JNladdr Jump on INT = 0 2 2 JBbaddr Jump on Accumulator Bit 2 2

Mnemonics copyright Intel Corporation 1976, 1977, 1978

643 AFN-00737-03

~

Page 187 of the Intel mcs-48 user manual — AFN~00737~04
Page 187 · click to enlarge
Page 187
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 187)
Fig. 186 · The Single Component . 2" MCS-4S™ S~stem

18049/8039

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated iri th{} operational sections of this specification is not implied. Exposure to absolute maximum rating conGitions for extended periods may affect device reliability.

AmbientTemperatureUnderBias -40'C to +SS'C Storage Temperature -6S'C to +lS0'C Voltage on Any Pin With

Respectto Ground -O.SV to +7V Power Dissipation 1.S Watt

D.C. AND OPERATING CHARACTERISTICS TA = -40°C to +8SoC, Vee = voo = +5V ± 10%, Vss= OV

Symbol Parameter Min. Typ. Max. Uhit Test Conditions

Vil Input Low Voltage -0.5 0.6 V

VIH Input High Voltage (All Except XTALl, XTAL2, ffESEf) 2.2 Vee V

VIH1 Input High Voltage (RESET, Xl, X2) 3.S Vee V

VOL Output Low Voltage

(BUS, RD, WR, PSEN, ALE) 0.45 V IOl = 1.6 ma

VOl1 Output Low Voltage

(All Other Outputs Except PROG) 0.45 V IOl = 1.2 ma

VOL2 Output Low Voltage (PROG) 0.45 V IOl = 0.8 rna

VOH Output High Voltage

(BUS, RD, WR, PSEN, ALE) 2.4 V IOH = -80 j.la

VOH1 Output High Voltage (All Other Outputs) 2.4 V IOH = -30 j.la

III Input Leakage Current (n, INT) ±10 J.l.A VSS";;VIN";;Vee

IOl Output Leakage Current (Bus, TO)

(High Impedance State) ±10 J.l.A Vss + 0.45";; VIN ";;Ve e

100 Power Down Supply Current 50 mA TA = 25°C

loo+lee Total Supply Current 170 mA TA = 2SoC

A.C. CHARACTERISTICS T A = -400 C to +8So C, Vee = Voo = +SV ±10%, Vss = OV

Symbol Parameter Min.

Max. Unit Conditions (Note 2)

ILL ALE Pulse Width 200

t~L Address Setup to ALE 120

tLA Address Hold from ALE SO

tee Control Pulse Width (PSEN, RD, WR) 400

tow Data Set·Up Before WR 420

ns CL=20pF

two Data Hold After WR 80

tCY Cycle Time 2.5

15.0 ,..s (6 MHz XTAL for IDS049)

tOR Data Hold 0

tRO PSEN, RD to Data In

tAW Address Setup to WR 2:)0

tAD Address Setup to Data In

tAFe Address Float to RD, PSEN -40

  • Not
  • : 1. 8039·6 specifications are also valid for 8049/8039 operating at SMHz.
2. Control Outputs: CL = 80pF BUS Outputs: e L = 150pF 6-44

AFN~00737~04

Show 11 more labels / short text on this page
Limits · ns · ns · ns · ns · ns · 200 ns · 400 ns · ns · 600 ns · ns
Page 188 of the Intel mcs-48 user manual — INSTRUCTION FETCH FROM EXTERNAL PROGRAM MEMORY
Page 188 · click to enlarge
Page 188
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 188)
Fig. 187 · The Single Component . 2" MCS-4S™ S~stem

18049/8039

WAVEFORMS

INSTRUCTION FETCH FROM EXTERNAL PROGRAM MEMORY

1_-· -t-ll___ -I--'cv-------~!

ALE JI I.....- _ _ _ ~Ir-------,L - tAFCI---'cc---1 ----------~-+--, ~------------

BUS

INSTRUCTION

READ FROM EXTERNAL DATA MEMORY

ALE J L r--tCC---I

RD ------------~I ~I ------------

tAFC--1 I~OATING-I t=t OR

FLOATING ~ --F-LO-A-T-I-N-G---

I l.t RO -! I. tAD~

BUS

WRITE TO EXTERNAL DATA MEMORY

ALE J L

BUS FLOATING

6-45 AFN-00737-05

Page 189 of the Intel mcs-48 user manual — PORT 2 TIMING
Page 189 · click to enlarge
Page 189
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 189)
Fig. 188 · The Single Component . 2" MCS-4S™ S~stem

inter 18049/8039

A.C. CHARACTERISTICS

T A = -400 C to +85 0 C, Vee = Voo = +5V ±10%, Vss = OV

Symbol Parameter Min. Max. Unit Conditions (Note 2)

tcp Port Control Siltup Before Failing Edge of PROG 115 ns tpc Port Control Hold After Failing Edge of PROG 65 ns

tpA PROG to Time P2 Input Must Be Valid 860 ns

top Output Data Setup Time 230 ns

tpo Output Data Hold Time 25 ns

tpF Input Data Hold Time 0 160 ns tpp PROG Pulse Width 920 ns tpL Port 2 1/0 Data Setup 300 ns

tLp Port 2 1/0 Data Hold 120 ns

WAVEFORMS

PORT 2 TIMING

ALEJ ~ \ I

EXPANDER I

PORT I

OUTPUT I PCH I EXPANDER I PORT

PROG

6-46 AFN-00737-06

fNIJUT PCH

Page 190 of the Intel mcs-48 user manual — 6-41 AFN·00737·07
Page 190 · click to enlarge
Page 190
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 190)
Fig. 189 · The Single Component . 2" MCS-4S™ S~stem

18049/8039

CRYSTAL OSCILLATOR MODE LC OSCILLATOR MODE

C1 ~

2 XTAL1

J: £. ~ 45 .. H 20 pF 5,2 MHz 120 ... H 20 pF 3.2 MHz ,.-.,.---''1 XT AL1

I 1·6MH, __ J. __

C2 _-,-_~ c:=:::J

I ~ ~ ~: ~ ~ XTAL2

'-__ -.+ ,,3 XT AL2 Cpp ::: 5 - 10 pF PIN·TO·PIN CAPACITANCE

C1 = SpF ± 'hpF + STRAY < 5pF C2 = CRYSTAL + STRAY < 8pF C3 = 20pF ± 1pF + STRAY < 5pF

CRYSTAL SERIES RESISTANCE SHOULD BE LESS THAN 75\1 AT 8MHz; LESS THAN 18011 AT 3.8MHz.

EACH C SHOULD BE APPROXIMATELY 20 pF, INCLUOING STRAY CAPACITANCE

DRIVING FROM EXTERNAL SOURCE

+ 5V

470Q

}>--i =-j x T AL 1

+ 5V

'----'>----"-1 XTAL2

BE HIGH 35·65% OF THE PERIOD. FOR XTAL 1 AND XTAL 2 DEFINE "HIGH" AS VOLTAGES ABOVE 1.6V AND "LOW" AS VOLTAGES BELOW 1.8V. THE DUTY CYCLE REQUIREMENTS FOR EXTERNAL LV DRIVING XTAL 1 AND XTAL 2 USING THE CIRCUIT SHOWN ABOVE ARE AS FOLLOWS:

FOR THE 8748, XTAL MUST BE HIGH 45·50% OF THE PERIOD AND XTAL 2 MUST BE HIGH 51).65% OF THE PERIOD.

RISE AND FALL TIMES MUST NOT EXCEED 20 ns. FOR THE 8048, XTAL 1 MUST BE HIGH 35·65% OF THE PERIOD AND XTAL 2 MUST

6-41 AFN·00737·07

470~,

Page 191 of the Intel mcs-48 user manual — ADDRESS LATCH ENABLE
Page 191 · click to enlarge
Page 191
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 191)
Fig. 190 · The Single Component . 2" MCS-4S™ S~stem

'8021 SINGLE COMPONENT a-BIT MICROCOMPUTER

  • 8-Bit CPU, ROM, RAM, 1/0 in Single
  • 1K x 8 ROM 28-Pin Package 64 x 8 RAM 21110 Lines
  • Single 5V Supply (+4.5V to 6.5V)
  • Interval Timer I Event Counter
  • 8.38 p'sec Cycle With 3.58 MHz XTAL;
  • Clock Generated With Single Inductor All Instructions 1 or 2 Cycles
  • or Crystal
  • Instructions8048 Subset
  • Zero-Cross Detection Capability
  • High Current Drive Capability-2 Pins
  • Easily Expandable 1/0

The Intel I!> 8021 is a totally self·sufficlent a-bit parallel computer fabricated on a single silicon chip using Intel's 1')1- channel silicon gate MOS process. The features of the 8021 include a subset of the 8048 optimized for low cost, high volume applications, plus additional 1/0 flexibility and power.

The 8021 contains 1 K X 8 program memory, a 64 X 8 data memory, 21 110 lines, and an 8-bit timer I event counter, in addition to on-board oscillator and clock circuits. For systems that require extra 1/0 capability, the 8021 can be expanded using the 8243 or discrete logic.

This microprocessor is designed to be an efficient controller as well as an arithmetic processor. The 8021 has bit handling capability as well as facilities for both binary and BCD arithmetic. Efficient use of program memory results from an instru.ction set consisting mostly of single byte instructions and no instructions over two bytes in length.

To minimize the development problems and maximize flexibility, an 8021 system can be easily designed using the 8021 emulation board, the EM·1. The EM-1 contains a 40-pin socket which can accommodate either the 8748 shipped with the board or an ICE-49 plug. Also, the necessary discrete logic to reproduce the 8021 's additional 1/0 features Is Included.

PIN CONFIGURATION

LOGIC SYMBOL

BLOCK DIAGRAM

P22

P23

PAOG

PORT #,

PO, P'6 P02 P'5 P03 P,4

PORT #2

P04 P'3

POe P'2 P06 P07 ALE

ADDRESS LATCH ENABLE

PORT EXPANDER STROBE

T' XTAL2 Vss XTAL 1

PORT #fl · AFN-o'587A-ol

Page 192 of the Intel mcs-48 user manual — T1 ZERO CROSS CHARACTERISTICS
Page 192 · click to enlarge
Page 192
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 192)
Fig. 191 · The Single Component . 2" MCS-4S™ S~stem

ABSOLUTE MAXIMUM RATINGS'

Ambient Temperature Under Bias , .O°C to 70°C

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sec· tions of this specification is not implied. Exposure to absolute maxi· mum rating conditions for extended periods may affect device reliability.

Storage Temperature -65°C to +150°C Voltage on Any Pin with

Respect to Ground ............... -0.5V to + 7V

Power Dissipation ........................... 1 W

D.C. AND OPERATING CHARACTERISTICS

TA = ooe to 7ooe, Vee = 5.5V ± lV, Vss = OV

Min. Typ. Max. Unit Test Conditions

VIL Input Low Voltage

-0.5 0.8 V

VIH Input High Voltage (All except XTAL 1 & 2, T1 RESET)

3.0 Vee V

V1Hl Input High Voltage (XTAL 1 & 2, T1 RESET)

3.8 Vee V

VIH(10%) Input high voltage (all except XTAL 1 & 2, T1, RESEl)

2.0 Vee V Vee = 5.0V ± 10%

V1H1(10%) Input high voltage (XTAL 1 & 2, T1, RESEl)

3.5 Vee V Vee = 5.0V :t 10%

0,45 V IOL = 1.6 mA

VOL Output Low Voltage

2.5 V IOL = 7 mA

VOLl Output Low Voltage (P 1 0, P 11)

VOH Output High Voltage (All unless Open Drain)

2.4 V IOH = 40 J.l.A

ILO Output Leakage Current (Open Drain Option-Port 0)

±10 J.l.A Vss+0,45.:5VIN.:5Vee

lee Vee Supply Current

T1 ZERO CROSS CHARACTERISTICS

T A = O°C to 70°C, Vee = 5.5V :t W, Vss = OV, CL = 80pF

Symbol Parameter Min. Max. Unit Test Conditions

Vzx Zero·Cross Detection Input (T 1) 1 3 Vpp AC Coupled, C = .2j.1F

Azx Zero· Cross Accuracy ± 135 mV 60 Hz Sine Wave

Fzx Zero· Cross Detection Input Frequency (T 1) 0.05 1 kHZ

Show 4 more labels / short text on this page
Limits · Symbol Parameter · 40 75 mA · 6-49 AFNo01567A·02
Page 193 of the Intel mcs-48 user manual — INSTRUCTION SET
Page 193 · click to enlarge
Page 193
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 193)
Fig. 192 · The Single Component . 2" MCS-4S™ S~stem

8021 ~!m[§!!"U~UOO~!mW

PIN DESCRIPTION

Designation Pin # Function Designation Pin # Function

Vss 14 Circuit GND potential CNT instruction. Also allows

Vee 28 +5V power supply zero-crossover sensing of slowly moving inputs. PROG 3 Output strobe for 8243 1/0 RESET 17 Input used to initialize the proc- Expander essor by clearing status flip- POO-P07 4-11 8-bit quasi-bidirectional port flops and setting program port 0 counters to zero. P10-P17 18-25 8-bit quasi-bidirectional port ALE 12 Address Latch, Enable. Signal Port 1 occurring once every 30 input P20-P23 26-27 4-bit quasi-bidirectional port clocks, used as an output clock. Port 2 1-2 P20-P23 also serve as a 4-bit 110 expander bus for 8243 XTAL1 15 One side of crystal or inductor

T1 13 Input pin testable using the JT 1 input for internal oscillator. Also input for external source. (Not and JNT1 instructions. Can be TTL compatible.) designated the timer I event counter input using the STRT XTAL2 16 Other side of timing control element.

INSTRUCTION SET

Hexadecimal Hexadecimal Mnemonic Description Byte. Cycle Opcode Mnemonic Description Byte. Cycl. Opcode

ADD A,Rr Add register to A 6S'6F JMP addr Jump unconditional 2 04,24.44,64, ADD A,@R Add data memory to A 1 1 60-61 ADD A,#data Add immediate to A 2 2 03 JMPP@A Jump indirect 2 B3 ADDC A,Rr Add register with carry 7S·7F ... DJNZ R,o addr Decrement register and 2 ES-EF ADDCA,@R Add data memory with 70-71 " jump oo'R nof zero c carry ~ JC addr Jump on carry= 1 F6 ADDC A,#data Add immediate with 2 2 13 JNC addr Jump o"n carry=O 2 E6 carry JZ addr Jump on A zero 2 2 C6 ANL A,Rr And register to A 5S-5F JNZ addr Jump on A not zero 2 2 96 ANL A,@R And data memory to A 50·51 JT1 addr Jump on Tl=1 2 56 ANL A,#data And immediate to A 2 53 JNTI addr Jump on Tl=O 2 2 46 ORL A,Rr Or register to A 4S·4F JTF addr Jump on timer flag 2 16 j

ORL A,@R Or data memory to A 1 40·41 • ORL A,#data Or immediate to A 2 2 43 :Ii CALL addr Jump to subroutine 14,34,54,74 " E XRL A,Rr Exclusive Or register DS·OF g " to A .g RET " Return 2 S3 " c XRL A,@R Exclusive Or data 00·01 ..

  • memory to A i CLRC Clear carry 97 XRL A,#data Exclusive Or immediate 2 03 it CPL C Complement carry A7 to A INC A Increment A 17 MOVA,R r Move register to A FS·FF DEC A Decrement A 07 MOVA,@R Move data memory to A 1 1 FO·Fl CLR A Clear A 27 MOV A,#data Move iJ1lrnediate to A 2 2 23 CPL A Complement A 37· MOV Rr,A Move A to register AS·AF OAA O~cimal adjust A 57 MOV@R,A Move A to 'dahl memory 1 AO-Al SWAP A Swap nibbles of A -I 47 MOV Rr,#data Movf! im"!'edtate ~o 2 BS·BF RL A Rotate A left E7 ·
  • register RLC A Flotate A left through F7 · MOV@R,#data Move immediate to 2 2 BO·Bl :i carry

data memory RR A Rotate A right 77 XCHA,R, Exchange A and 2S·2F " RRC A Rotate A right through 67 register carry XCHA,@R Exchange A and data 20·21

IN A, Pp Input port to A OS,09.0A memory XCHOA,@R Exchange nibble of A 30-31 '5 OUTLP A Output A to port 2 90,39,3A and register f MOVO x.Pp Input expander port 2 OC-OF MOVPA,@A Move to A from current 2 A3 0 to A :s MOVO Pp,A Output A to expander 2 3C·3F page ! port t

MOVA,T Read timer I counter 42 ANLO Pp,A And A to expander port 2 9C·9F ORLO Pp,A Or A to expander port 2 SC·SF 0 MOVT,A Load timer J counter 62

~ STRTT Start timer 55 j INCRr Increment register IS-IF ~ STRT CNT Start counter 45

IINC@R Increment data memory 10·11 ~ STOP TCNT Stop timer I counter 65 !

NOP No operation 00

6'50 AFN-D1S87 A-Il3

Page 194 of the Intel mcs-48 user manual — ADDRESS LATCH ENABLE
Page 194 · click to enlarge
Page 194
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 194)
Fig. 193 · The Single Component . 2" MCS-4S™ S~stem

8022 SINGLE COMPONENT a-BIT MICROCOMPUTER

WITH ON-CHIP AID CONVERTER

•

  • 8-Bit CPU, ROM, RAM, 1/0 in Single 40-Pin
  • 2K x 8 ROM, 64 x 8 RAM, 28 1/0 Lines Package
  • 8.38 ,usec Cycle; All Instructions 1 or On-Chip 8-Bit AID Converter; Two Input Cycles Channels

•

8 Comparator Inputs (Port 0) • Instructions-8048 Subset

• • • • •

Zero-Cross Detection Capability • Interval Timer IEvent Counter

Single SV Supply (4.SV to 6.SV) • Clock Generated with Single Inductor

or

High Current Drive Capability-2 Pins Crystal

Two Interrupts-External and Timer • Easily Expanded 1/0

The Intel@) 8022 is the newest member of the MCS-48™ family of single chip 8-bit microcomputers_ It is designed to satisfy the requirements of low cost, high volume applications which involve analog signals, capacitive touchpanel keyboards, and I or large ROM space. The 8022 addresses these applications by integrating many new functions on- chip, such as AID conversion, comparator inputs and zero-cross detection.

The features of the 8022 include 2K bytes of program memory (ROM), 64 bytes of data memory (RAM), 28 110 lines, an on-chip AID converter with two input channels, an 8-bit port with comparator inputs for interfacing to low voltage capacitive touchpanels or other non-TIL interfaces, external and timer interrupts, and zero-cross detection capabili- ty. In addition, it contains the 8-bit interval timer I event counter, on-board oscillator and clock circuitry, single 5V power supply requirement, and easily expandable 1/0 structure common to all members of the MCS.-48 family.

The 8022 is designed to bean efficient controller as well as an arithmetic processor. It has bit handling capability plus facilities for both binary and BCD arithmetic. Efficient use of program memory results from using the MCS-48 instruction set which consists mostly of single byte instructions and has extensive conditional jump and direct table lookup capability. Program memory usage is further reduced via the 8022's hardware implementation of the AID converter which simplifies interfacing to analog signals.

PIN CONFIGURATION

LOGIC SYMBOL

BLOCK DIAGRAM

XTAL r

PORTO THRESHOLD REFERENCE ,- ___ ----,

P26

P21

P2S

P2'

VAREF

PROG

REseT

P23

P22

TEST 0..

AVSS

P21

TO

P20

P11 Pl.

TEST 1

P02

P13

P03

P04

P12

POS

P11 Pl.

PO.

AND ...

ADDRESS LATCH ENABLE

P01

RESET

ALE

XTAL 2

XTAL 1

SUBST

PORT --EXPANDER

I AID AID SUBSTRATE Vee Vas

STROBE

Show 9 more labels / short text on this page
Vee Vss · Vee · AVec · ANl · P1S Pl' · AlD REFERENCE · T1 Vss · ANl · AFN-00187A-o1
Page 195 of the Intel mcs-48 user manual — NC
Page 195 · click to enlarge
Page 195
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 195)
Fig. 194 · The Single Component . 2" MCS-4S™ S~stem

8022 ~rru[§I!..OIMlOIM~rruw

PIN DESCRIPTION

Designation Pin # Function. Designation Pin # Function

Vss 20 Circuit GND p6tential. RESET 24 Input used to initialize the proc- essor by clearing status flip- Vee 40 + 5V circuit power supply. flops and setting the program PROG 37 Output strobe for Intel@ 8243 counter to zero. I I 0 expander.

AVSS 7 AID converter GND Potential. POO-P07 10-17 8-bit open-drain port with qoin- Also establishes the lower limit Port 0 parator inputs. The switching of the conversion range. threshold is set externally by

AVee 3 AID + 5V power supply. VTH. Optional pull-up resistors may be added via ROM mask SUeST 21 Substrate pin used with a by- selection. pass capacitor to stabilize the

9 Port 0 threshold reference pin. substrate voltage and improve VTH AID accuracy. P10-P17 25-32 8-bit quasi-bidirectional port. VAREF 4 A I D converter reference volt- Port 1 age. Establishes the upper limit P20-P27 33-36 8-bit quasi-bidirectional port. of the conversion range. Port 2 38-39 P20-23 also serve as a 4-bit ANO,AN1 6,5 Analog inputs to AID converter. 1-2 1/0 expander for Intel@ 8243. Software selectable on-chip TO 8 Interrupt input and input pin via SEL ANO and SEL AN 1 testable using the conditional instructions. transfer instructions JTO and ALE 18 Address Latch Enable. Signal JNTO. Initiates an interrupt fol- occurring once every 30 input lowing a low level input if inter- clocks (once every cycle), rupt is enabled. Interrupt is used as an output clock. disabled after a reset. XTAL 1 22 One side of crystal or inductor T1 19 Input pin testable using the JT1 input for internal oscillator. Also and JNT 1 conditional transfer input for external frequency instructions. Can be designat- source. (Not TTL compatible.) ed the timer I event counter in- XTAL 2 23 Other side of timing control ele- put using the STRT CNT ment. This pin is not connected instruction. Also serves as the when an external frequency zero-cross detection input to source is used. allow zero-crossover sensing of slowly moving AC inputs. Op- tional pull-up resistor may be added via ROM mask selection.

THE STAND ALONE 8022

}-,

PI. 2.

PI' 28 [ INPUT ] AVec .. AND OUTPUT 10-2oo,u.F

P11 25

V.,.., P12 27

AV .. 2. Vaa }-.

l00pF I,F 8 .. 2 SILVER MICA

  • P2' [ WPUT ] SUBST P
  • .8 ' AND
  • OUTPUT P

AID INPUTS {

AND P26 P27 ANI VTN

}-.

PDO I.

XTAL1 POI 11

PO> 12 1M P03 13 [ INPUT ] ,. AND XTAL2 PDO ,. . OUTPUT PO! T1

NC

6-52 AFN.(J()187A-QZ

Page 196 of the Intel mcs-48 user manual — A.C. CHARACTERISTICS
Page 196 · click to enlarge
Page 196
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 196)
Fig. 195 · The Single Component . 2" MCS-4S™ S~stem

ABSOLUTE MAXIMUM RATINGS'

Ambient Temperature Under Bias O°C to 70°C Storage Temperature -S5°C to +180°C Voltage on Any Pin with

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cuase permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sec· tions of this specification is not implied. Exposure to absolute maxi· mum rating conditions for extended periods may affect device reliability.

Respect to Ground -0.5V to +7V

Power Dissipation ......................... 1 Watt

D.C. AND OPERATING CHARACTERISTICS

TA=O°C to 70°C, Vee=5.5V ± 1V, VSS=OV

Min. Typ. Max. Unit Test Conditions

VIL Input Low Voltage

-0.5 0.8 V VTH Floating

VILI Input Low Voltage (Port 0)

-0.5 VTH-O.l V

VIH High Voltage (All except XTAL 1, RESET)

2.0 Vee V Vee = 5.0V ± 10% VTH Floating

VIHI Input High Voltage (All except XTAL 1, RESET)

3.0 Vee V Vee = 5.5V ± 1V VTH Floating

VIH2 Input High Voltage (Port 0)

VTH+O.l Vee V

VIH3 Input High Voltage (RESET, XTAL 1)

3.0 Vee V Vee = 5.0V ± 10%

VTH Port 0 Threshold Reference Voltage

0 .4Vee V

VOL Output Low Voltage

0.45 V IOL = 1.S mA

VOlt Output Low Voltage (Pl0, Pll)

2.5 V IOL = 7 mA

VOH Output High Voltage (All unless Open Drain Option-Port 0)

2.4 V IOH = 50 /LA

III Input Current (T 1)

±200 /LA VCC~VIN~VSs+.45V

ILO Output Leakage Current (Open Drain Option-Port 0)

±10 /LA VCC~VIN~VSS+O.45V

lee Vee Supply Current

A.C. CHARACTERISTICS

Min. Max. Unit Test Conditions

8.38 50.0 /Ls 3 MHz XTAL= 10 /LS tey

Vzx Zero-Cross Detection Input (T 1)

1 3 VACpp AC Coupled

± 135 rnV SO Hz Sine Wave

Fzx Zero-Cross Detection Input Frequency (Tl)

0.05 1 kHz

6-53 AFN.oo187A-03

Show 6 more labels / short text on this page
Limits · Symbol Parameter · 50 100 rnA · Symbol Parameter · tey Cycle Time · Azx Zero-Cross Accuracy
Page 197 of the Intel mcs-48 user manual — 6-54 AFN-Q0187A-04
Page 197 · click to enlarge
Page 197
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 197)
Fig. 196 · The Single Component . 2" MCS-4S™ S~stem

A.C. CHARACTERISTICS

TA=O·C to 70·C, Vcc=5.5V ± 1V, vss=ov Test Conditions: Cl =80 pF tCy=8.38 j.ls

Min. Max. Unit Notes

Port Control Setup Before Falling Edge of PROG

0.5 j.lS

Port Control Hold After Falling Edge of PROG

0.8 j.ls

PROG to Time P2 Input Must Be Valid

1.0 j.ls

Output Data Setup Time

7.0 j.lS

Output Data Hold Time

8.3 j.lS

Input Data Hold Time

0 .150 j.ls

8.3 j.ls

ALE to Time P2 Input Must Be Valid

3.6 j.ls

Output Data Setup Time

0.8 j.lS

Output Data Hold Time

1.6 j.lS

tpFl tll

Input Data Hold Time

0 j.lS

3.9 23.0 j.lS tCy=8.38 j.lS for min

PORT 2 TIMING

ALEr\ ~ ______________________ ~n~ ______ ~ ______________ _

NORMAL OPERATION

~

PORT ===x

------------------------------~----------------------------------- OUTPUT

~

ALE/\ ~ ______________________ ~r_\~ ______________________ __

PORT INPUT ~(~ D_AT_A ~)(~

I·

IpAL ---ooj·1 H

ALE n

~ ______________________ ~r_\~ ______________________ __

EXPANDER OPERATION

PAOG

J!Cd-------------'''------------f .. 1

___________________________________ ~~ _______________ ~)( DATA x=====

PORT OUTPUT

L,,,...L.J ,. .--r;;;-l

ALEF\ ~ ~r_\~

PROG

\~------------------~I

PORT INPUT ~ DATA F ----------------------------~ ~--------------~~

~"c-.j

r--'''---1

6-54 AFN-Q0187A-04

Show 19 more labels / short text on this page
Symbol · Parameter · tcp · tpc · Expander Operation · tPR · top · tpo · tpF · tpp · PROG Pulse Width · tpRl · Normal Operation · tpl · tlP · ALE Pulse Width · tpFL · \~------------------~/ · '"
Page 198 of the Intel mcs-48 user manual — AFN-«I187A~
Page 198 · click to enlarge
Page 198
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 198)
Fig. 197 · The Single Component . 2" MCS-4S™ S~stem

AID CONVERTER CHARACTERISTICS

TA= O'C to 70'C, Vcc= 5.5V:!:: 1V, Vss= OV, AVcc= 5.5V:!:: W, AVss= OV, AVccl2 .. V AREF" AVCC

Min. Typ. Max.

.8% FSR:!:: 112 LSB

LSB

Sample Setup Before Falling Edge of ALE (tsal

Sample Hold After Failing Edge of ALE (tsH)

Input Capacitance (ANO, AN1)

ANALOG INPUT TIMING

ALE

ISH

ANALOG

INPUT

. NOTE:

1. The analog Input must be maintained at a conslsnt voltage during the sample time (tss+ tSH)'

AFN-«I187A~

Show 12 more labels / short text on this page
Parameter · Unit · Comments · Resolution · Bits · Absolute Accuracy · (Note 1) · tCY · tCY · pF · Conversion Time · tCY
Page 199 of the Intel mcs-48 user manual — SYMBOLS AND ABBREVIATIONS USED
Page 199 · click to enlarge
Page 199
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 199)
Fig. 198 · The Single Component . 2" MCS-4S™ S~stem

8022 ~1Rl[gI!..O~OOO~IRlW

INSTRUCTION SET

Hexadecimal Hexadecimal Mnemonic Description Byte. Cycle Opcode Mnemonic Description Bytes Cycle Opcode

ADD A,R, Add ,egiste, to A S8-6F JTOadd, Jump on TO=1 2 2 36 ADD A,@R Add data memo,y to A 60-61 JNTOadd, Jump on TO=O 2 2 26 ADD A,#data Add immediate to A 2 03 JT1 add, Jump on Tl= 1 2 2 56 ADDC A_R, Add register with carry 78-7F JNT1 add, Jump on Tl=O 2 2 46 ADDCA,@R Add data memory with 70-71 JTF add, Jump on time' flag 2 2 16 carty ADDC A,#data Add immediate with 2 2 13 • carry ~ CALL add, Jump to subroutine 2 14,34,54,74

ANL A,R, And ,egiste, to A 58-5F !! 94,B4,D4,F4 Z> RET Return .1 2 83 ANL A,@R And data memory to A 50-51 ~ '" ANL A,#data And immediate to A 2 2 53 ORL A,R, Or register to A 1 48-4F '"

CLR C Clear carry 97 ORLA,@R Or data memory to A 1 40-41 f!. CPL C Complement carry A7 ORl A,#data Or immediate to A 2 2 43 i

XRl A,R, Exclusive Or register D8-DF MOVA,R, Move register to A F8-FF

E to A MOVA,@R Move data memory to A FO-Fl

~ XRL A,@R Exclusive Or data DO-Dl MOV A,#data Move immediate to A 2 2 23 u u memory to A MOV R"A Move A to register A8-AF c

XRL A,#data Exclusive Or immediate 2 2 D3 MOV@R,A Move A to data memory AO-Al to A MOV R,,#data Move immediate to 2 2 B8-BF INC A Increment A 17 .. register • DEC A Decrement A 07 is MOII@R,#data Move immediate to 2 2 BO-Bl CLR A Clea' A 27 :I data memory CPL A Complement A 1 37 ~ XCHA,R, Exchange A and 28-2F Q DAA Decimal adjust A 1 57 register SWAP A Swap nibbles of A 47 XCH A,@R Exchange A and data 20-21 RL A Rotate A left E7 memory RLCA Rotate A left th,ough F7 XCHDa,@R Exchange nibble of A 30-31 carry and register RR A Rotate A ,ight 77 MOVPA,@A Move to A from current 2 A3 RRCA Rotate A ,ight th,ough 67 page carry , MOVA,T Read timer I counter 42 IN A, Pp Input po,t to A 2 08,09,OA ~ MOVT,A Load timer I counter 62 0 OUTL Pp.A Output A to po,t 2 90,39,3A ~ STRTT Start timer 65 ;; MOVD A,Pp Input expander port OC-OF i STRTCNT Start counter 46 S

~ to A ~ STOP TCNT Stop timer I counter 66 ~ MOVD Pp,A Output A to expander 3C-3F ;;

  • D. port i RAD Move conversion result 2 80 = ANlD Pp,A And A to expande, port 2 9C-9F 1::
  • register to A ORlD Pp,A Or A to expander port 2 8C-8F > SEl AND Select analog input 85 c 0 u zero I! ~ SEL AN1 Select analog input one 95 ZINC R, Increment register 18-1F c -ij. INC@R Increment data memory 10-11
  • EN I Enable external 05 II: interrupt

JMP add, Jump unconditional 2 04,24,44,64, DIS I Disable external 15 .. interrupt 84,A4,C4,E4 a EN TCNTI Enable timer I counter 25 JMPP@A .c DJNZ R,add, u c £ JC add,

Jump indirect 2 B3 E Decrement register and 2 ES-EF i

jump on R not zero DIS TCNTI Disable timer I counter 35

Jump on carry= 1 2 2 F6 interrupt

JNC add, JZ add, JNZ add,

Jump on carry=O 2 2 E6 RET I Return from interrupt 2 93

Jump on A zero 2 C6 NOP No operation Jump on A not zero 2 96 00

SYMBOLS AND ABBREVIATIONS USED

P Pp Rr T TO, T1

Mnemonic for "in-page" Operation Port Designator (P=O, 1,2 or 4-7) Register Designator (r=0-7) Timer Test 0, Test 1 Immediate Data Prefix Indirect Address Prefix

A addr ANO,AN1 CNT data I

11-Bit Program Memory Address Analog Input 0, Analog Input 1 Event Counter 8-Bit Number or Expression Interrupt

Show 4 more labels / short text on this page
interrupt · Accumulator · # @ · AFN-ocJ187A-08
Page 200 of the Intel mcs-48 user manual — PIN CONFIGURATION BLOCK DIAGRAM
Page 200 · click to enlarge
Page 200
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 200)
Fig. 199 · The Single Component . 2" MCS-4S™ S~stem

inter

8243 MCS-48™ INPUT/OUTPUT EXPANDER

  • Low Cost
  • Simple Interface to MCS-48 T1 ' Microcomputers
  • Four 4-Bit I/O Ports
  • AND and OR Directly to Ports
  • 24-Pln DIP
  • Single 5V Supply
  • High Output Drive
  • Direct Extension of Resident 8048 I/O Ports

The Inele 8243 is an input/output expander designed specifically to provide a low cost means of 1/0 expansion for the M£S-48" family of single chip microcomputers. Fabricated in 5 volts NMOS, the 8243 combines low cost, single supply voltage and high drive current capability.

The 8243 consists of four 4-bit bidirectional static 110 ports and one 4-bit port which serves as an interface to the MCS-48 microcomputers. The 4-bit interface requires that only 4 1/0 lines of the 8048 be used for 1/0 expansion, and also allows multiple 8243's to be added to the same bus.

The 1/0 ports of the 8243 serve as a direct extension of the resident ilO facilities of the MCS-48 microcomputers and are accessed by their own MOV, ANL, and ORL instructions.

PIN CONFIGURATION BLOCK DIAGRAM

PORT4

P40 P51 HI P52

N2 P63

1'43 P60 PORT 5 ~ P51

MOG P52

PORT 2 P23 P53

P22 P73

P21 P72

P20 P71

PORT7

6-57 AFN-00214A~1

P60 vee · PORTa GND P70

Page 201 of the Intel mcs-48 user manual — &-58 AFN-00214A-Q2
Page 201 · click to enlarge
Page 201
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 201)
Fig. 200 · The Single Component . 2" MCS-4S™ S~stem

PIN DESCRIPTION

A high to low transition of the PROG line indicates that address is present while a low to high transition indicates the presence of data. Additional 8243's may be added to the 4-bit bus and chip selected using additional output lines from the 8048/8748/8035.

Pin No. Function

PROG

7 Clock Input. A high to low transistion on PROG signi.fies that address and control are available on P20-P23, and a low to high transition signifies that data is available on P20-23.

Initial application of power to the device forces input/output ports 4, 5, 6, and 7 to the tri-state and port 2 to the input mode. The PROG pin may be either:high or low when power is applied. The first high to low transition of PROG causes device to exit power on mode. The power on sequence is initiated if Vee drops below 1V.

6 Chip Select Input. A high on CS inhil;lits any change of output or internal status.

P20-P23

11-8 Four (4) bit bi-directional port contains the address and con- trol bits on a high to' low transition of PROG. During a low to high transition contains the data for a selected output port if a write operation, or the data from a selected port before the low to high transition if a read operation.

P21 P20 Address Code P23 P22 Instruction Code

0 0 Port 4 0 0 Read 0 1 Port 5 0 Write 1 0 Port 6 1 0 ORlD 1 Port 7 ANlD

The device has three write modes. MOVD Pi, A directly writes new data into the selected port and old data is lost. ORlD Pi,A takes new data, OR's it with the old data and then writes it to the port. ANlD Pi,A takes new data AND's it with the old data and then writes it to the port. Operation

o volt supply.

GND

P40-P43 P50-P53 P60-P63 P70-P73

2-5 1,23-21 20-17 13-16

Four (4) bit bi-directional 110 ports. May be programmed to be input (during read), low impedance latched output (after write) or a tri-state (after read). Data on pins P20-23 may be directly written, ANDed or ORed with previous data.

code and port address are latched from the input port 2 on the high to low transition of the PROG pin. On the low to high transition of PROG data on port 2 is transferred to the logic block of the specified output port.

After the logic manipulation is performed, the data is latched and outputed. The old data remains latched until new valid outputs are entered.

24 +5 volt supply.

FUNCTIONAL DESCRIPTION General Operation

The device has one read mode. The operation code and port address are latched from the input port 2 on the high to low transition of the PROG pin. As soon as the read operation and port address are decoded, the appropriate outputs are tri-stated, and the input buffers switched on. The read operation is terminated by a low to high transition of the PROG pin. The port (4, 5, 6 or 7) that was selected Is switched to the tri-stated mode while port 2 is returned to the input mode.

The 8243 contains four 4-bit 1/0 ports which serve as an extension of the on-chip 1/0 and are addressed as ports 4- 7. The following operations may be performed on these ports:

  • Transfer Accumulator to Port.
  • Transfer Port to Accumulator.
  • AND Accumulator to Port,
  • OR Accumulator to Port.

Normally, a port will be in an'output (write mode) orinput (read mode). If modes are changed during operation, the first read following a write should be ignored; all follow- ing reads are valid. This is to allow the external driver on the port to settle after the first read instruction removes the low impedance drive from the 8243 output. A read of any port will leave that port in a high impedance state.

All communication between the 8048 and the 8243 occurs over Port 2 (P20-P23) with timing provided by an output pulse on the PROG pi'n of the processor. Each transfer consists of two 4-bit nibbles:

The first containing the "op code" and port address and the second containing the actual 4-bits of data.

&-58 AFN-00214A-Q2

Show 5 more labels / short text on this page
Symbol · Power On Initialization · Write Modes · Vee · Read Mode
Page 202 of the Intel mcs-48 user manual — 6-59 AFN-00214A-03
Page 202 · click to enlarge
Page 202
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 202)
Fig. 201 · The Single Component . 2" MCS-4S™ S~stem

ABSOLUTE MAXIMUM RATINGS*

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" mav cause permanent damage to the device. This is a stress rating on IV and functional opera·

Ambient Temperature Under Bias O·C to.70·C Storage Temperature -65·C to +150·C Voltage On Any Pin

tion of the device at these or anv other conditions above those indicated in the operational sections of this specifi· cation is not implied. Exposure to absolute maximum rating conditions for extended periods mav affect device reliabilitv.

With Respect to Ground -0.5 V to +7V Power Dissipation 1 Watt

D.C. AND OPERATING CHARACTERISTICS

TA = O·C to 70·C, Vee= 5V 10%

SYMBOL PARAMETER MIN.

TYP. MAX. UNITS TEST CONDITIONS

VIL Input Low Voltage -0.5

VIH Input High Voltage 2.0

.--~ Vee+0.5 V

VOL1 Output Low Voltage Ports 4-7

0.45 V IOL = 4.5 mA*

- VO L2 Output Low Voltage Port 7

1 V IOL = 20 mA

VO H1 Output High Voltage Ports 4-7 2.4

V IOH= 240MA

11L1 Input Leakage Ports 4-7 -10

20 MA Vin = Vee to OV

IIL2 Input Leakage Port 2, CS, PROG -10

10 MA Vin = Vee to OV

VO L3 Output Low Voltage Port 2

.45 V IOL= 0.6 mA

lee Vee Supply Current

VOH2 Output Voltage Port 2 2.4

IOH= 100MA

IOL Sum of all IOL from 16 Outputs

72 mA 4.5 mA Each Pin

*See following graph for additional sink current capability

A.C. CHARACTERISTICS

TA = o·c to 70·C, Vee= 5V 10%

SYMBOL PARAMETER

MIN. MAX. UNITS TEST CONDITIONS

tA Code Valid Before PROG

100 ns 80 pF Load

t8 Code Valid After PROG

60 ns 20 pF Load

te Data Valid Before PROG

200 ns 80 pF Load

to Data Valid After PROG

20 ns 20 pF Load

tH Floating After PROG

0 150 ns 20 pF Load

tK PROG Negative Pulse Width

tes CS Valid Before/After PROG

50 ns -- _. 700 ns 100 pF Load

tpo Ports 4-7 Valid After PROG

tLPl Ports 4-7 Valid Before/After PROG

tAee Port 2 Valid After PROG

650 ns 80 pF Load

2.4---"",X

8 > _ _ TEST POINTS

'0'.0

0.45 ___ oJ

6-59 AFN-00214A-03

10 20 mA · 700 ns · 100 ns

Page 203 of the Intel mcs-48 user manual — WAVEFORMS
Page 203 · click to enlarge
Page 203
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 203)
Fig. 202 · The Single Component . 2" MCS-4S™ S~stem

WAVEFORMS

PROG

~-----------------IK----------------~

PORT 2 FLOAT FLOAT

"~;1

'"'~'~'"x

PORT 2 VALID

_I PO

PORTS 4·7 PREVIOUS OUTPUT VALID OUTPUT

VALID

PORTS 4-7 INPUT VALID

6-60 AFN--0O214A-04

l,P --10> l,P · les

Page 204 of the Intel mcs-48 user manual — 6-61 AFN-00214A-Q5
Page 204 · click to enlarge
Page 204
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 204)
Fig. 203 · The Single Component . 2" MCS-4S™ S~stem

«

E

~ 100

o

~ 75 z w a: a: a 50

GUARANTEED WORST CASE CURRENT SINKING CAPABiliTIES OF ANY I/O PORT PIN vs. TOTAL SINK CURRENT OF All PINS

~ z en -I « 25 ~ o ~

o L--L __ ~~~-L __ ~~ __ -L __ ~~ __ -L __ ~~ __ ~ o 2 3 4 5 6 7 8 9 10 11 12 13

MAXIMUM SINK CURRENT ON ANY [email protected]

MAXIMUM 10L WORST CASE PIN (mA)

Sink Capability

ExampleThis example shows how the use of the 20

mA sink capability of Port 7 affects the sink- ing capability of the other I/O lines.

The 8243 can sink 5 [email protected] each of its 16 I/O lines simultaneously. If, however, all lines are not sinking simultaneously or all lines are not fully loaded, the drive capability of any individual line increases as is shown by the accompanying curve.

An 8243 will drive the following loads simul- taneously.

For example, if only 5 of the 16 lines are to sink current at one time, the curve shows that each of those 5 lines is capable of sinking 9 [email protected] (if any lines are to sink 9 mA the total 10l must not exceed 45 mA or five 9 mA loads).

2 loads - 20 mA@ 1V (port 7 only) 8 loads - 4 [email protected] 6 loads - 3.2 mA@ .45V Is this within the specified limits?

ExampleHow many pins can drive 5 TTL loads (1.6 mAl

assuming remaining pins are unloaded?

d Ol=( 2 x 20)+(8 x 4)+(6 x 3.2)=91.2 mAo From the curve: for 10l = 4 mA, dOL:: 93 mA since 91.2 mA < 93 mA the loads are within specified limits.

10l = 5 x 1.6 mA = 8 mA dOL = 60 mA from curve # pins=60 mA ... 8 mA/pin=7.5=7

In this case, 7 lines can sink 8 mA for a total of 56 mAo This leaves 4 mA sink current capa- bility which can be divided in any way among the remaining 8 I/O lines of the 8243.

Although the 20 mA@1V loads are used in calculating dOL, it is the largest current re- [email protected] determines the maximum allowable dOL'

6-61 AFN-00214A-Q5

~

Page 205 of the Intel mcs-48 user manual — EXPANDER INTERFACE
Page 205 · click to enlarge
Page 205
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 205)
Fig. 204 · The Single Component . 2" MCS-4S™ S~stem

EXPANDER INTERFACE

P' PROG

I/O

TEST P5 8048 INPUTS 8243

I/O

P6

I/O

P20-P23 DATA IN

P2

P7

I/O

OUTPUT EXPANDER TIMING

BITS 3,2 OO} REAO 01 WRITE 10 OR 11_ AND

BITS 1,0

OO~ O1J PORT Hl ADDRESS "

P20-P23 --( ..... _--'X ..... ___ ...J)r---

ADDRESS 14-BITS) DATA (4-8IT8)

BUS

PORT 1 804B

PORT 2

PROG.-----------------~------------------+_----------------~~ ________________ ~

USING MULTIPLE 8243'5

-=- · I/O cs · 6-62 AFN-oQ214A-08

Page 206 of the Intel mcs-48 user manual — PROG P62
Page 206 · click to enlarge
Page 206
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 206)
Fig. 205 · The Single Component . 2" MCS-4S™ S~stem

inter

108243 MCS-48™ INPUT/OUTPUT EXPANDER

  • - 40°C to + 85°C Operation
  • 24-Pin DIP
  • Low Cost
  • Single 5V Supply
  • Simple Interface to MCS-48™ Microcomputers
  • High Output Drive
  • Four 4-Bit 1/0 Ports
  • Direct Extension of Resident 8048 1/0
  • AND and OR Directly to Ports Ports

The Intel!!> 8243 is an input/output expander desigrjed specifically to provide a low cost means of I/O expansion for the MCS-48'· family of single chip microcomputers. Fabricated in 5 volts NMOS, the 8243 combines low cost, single supply voltage and high drive current capability.

The 8243 consists of four 4-bit bidirectional static I/O ports and one 4-bit port which serves as an interface to the MCS-48 microcomputers. The 4-bit interface requires that only 4 I/O lines of the 8048 be used for I/O expansion, and also allows multi pie 8243's to be added to the same bus.

The 1/0 ports of the 8243 serve as a direct extension of the resident 1/0 facilities of the MCS-48 microcomputers and are accessed by their own MOV, ANL, and ORL instructions.

PIN CONFIGURATION BLOCK DIAGRAM

PORT 4

P40 PS' 1'4' P52

1'42 P53

1'43 PSO PORT 5 cs P6,

PROG P62

PORT 2 P23 P63

P22 P73

P2, P72

P20 P7'

PORT 6 GNO P70

PORT 7

6-63 AFN-Q0861A-01

PSO vee

Page 207 of the Intel mcs-48 user manual — AFN-00861A-02
Page 207 · click to enlarge
Page 207
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 207)
Fig. 206 · The Single Component . 2" MCS-4S™ S~stem

PIN DESCRIPTION

A high to low transition of the PROG line indicates that address is present while a low to high transition indicates the presence of data. Additional 8243's may be added to the 4-bit bus and chip selected using additional output lines from the 8048/8748/8035.

Pin No. Function

PROG

7 Clock Input. A high to low transistion on PROG signifies that address and control are available on P20-P23, and a low to high transition signifies that data is available on P20-23.

Power On Initialization

Initial application of power to the device forces input/output ports 4, 5, 6, and 7 to thetri-state and port 2to the input mode. The PROG pin may be either high or low when power is applied. The first high to low transition of PROG causes device to exit power on mode. The power on sequence is initiated if Vee drops below 1V.

6 Chip Select Input. A high on CS inhibits any change of output or internal status.

P20-P23

11-8 Four (4) bit bi-directional port contains the address and con- trol bits on a high to low transition of PROG. During a low to high transition contains the data for a selected output port if a write operation, or the data from a selected port before the low to high transition if a read operation.

P21 P20 Address Code P23 P22 Instruction Code

0 0 Port 4 0 0 Read 0 1 Port 5 0 1 Write 0 Port 6 0 ORlD Port 7 ANlD

Write Modes

The device has three write modes. MOVD Pi, A directly writes new data into the selected port and old data is lost. ORlD Pi,A takes new data, OR's it with the old data and then writes it to the port. ANlD PiA takes new data AND's it with the old data and then writes it to the port. Operation

o volt supply.

GND

P40-P43 P50-P53 P60-P63 P70-P73

2-5 1,23-21 20-17 13-16

Four (4) bit bi-directional I/O ports. May be programmed to be input (during read), low impedance latched output (after write) or a tri-state (after read). Data on pins P20-23 may be directly written, ANDed or ORed with previous data.

code and port address are latched from the input port 2 on the high to low transition of the PROG pin. On the low to high transition of PROG data on port 2 is transferred to the logic block of the specified output port.

After the logic manipulation is performed, the data is latched and outputed. The old data remains latched until new valid outputs are entered.

24 +5 volt supply.

FUNCTIONAL DESCRIPTION General Operation

Read Mode

The device has one read mode. The operation code and port address are latched from the input port 2 on the high to low transition of the PROG pin. As soon as the read operation and port address are decoded, the appropriate outputs are tri-stated, and the input buffers switched on. The read operation is terminated by a low to high transition of the PROG pin. The port (4, 5, 6 or 7) that was selected is switched to the tri-stated mode while port 2 is returned to the input mode.

The 8243 contains four 4-bit I/O ports which serve as an extension of the on-chip I/O and are addressed as ports 4- 7. The following operations may be performed on these ports;

  • Transfer Accumulator to Port.
  • Transfer Port to Accumulator.
  • AND Accumulator to Port.
  • OR Accumulator to Port.

Normally, a port will be in an output (write mode) orinput (read mode). If modes are changed during operation, the first read following a write should be ignored; all follow- ing reads are valid. This is to allow the external driver on the port to settle after the first read instruction removes the low impedance drive from the 8243 output. A read of any port will leave that port in a high impedance state.

All communication between the 8048 and the 8243 occurs over Port 2 (P20-P23) with timing provided by an output pulse on the PROG pin of the processor. Each transfer consists of two 4-bit nibbles;

The first containing the "op code" and port address and the second containing the actual 4-bits of data.

AFN-00861A-02

Symbol · Vee

Page 208 of the Intel mcs-48 user manual — 6·65 AFN-00881A·03
Page 208 · click to enlarge
Page 208
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 208)
Fig. 207 · The Single Component . 2" MCS-4S™ S~stem

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause, permanent damage to the device. This is a stress rating only and functional opera·

Ambl.nt T.mp.ratur. Und.r Bias ,-40·C to +85·C Storage T.mperature -65·C to +1S0·C Voltag. On Any Pin

tion of the device at these or any other conditions above those indicated in the operational sections of this specifi· cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

With Respect to Ground -o.S V to +7V Pow.r Dissipation , '1 Watt

D.C. AND OPERATING CHARACTERISTICS

TA = -4O·C to +8S·C, Vee= SV 1Q11b

SYMBOL PARAMETER

MIN.

TYP. MAX. UNITS TEST CONDITIONS

VIL Input Low Voltage

VIH Input High Voltage

Vee+0.5 V

VO LI Output Low Voltage Ports 4-7

0.45 V IOL =4.5mA*

VOL2 Output Low Voltage Port 7

1 V IOL = 20 mA

VOHI Output High Voltage Ports 4-7

IILl Input Leakage Ports 4-7

20 IlA Vin = Vee to OV

IIL2 Input Leakage Port 2, CS. PROG

10 IlA Vin = Vee to OV

VOL3 Output Low Voltage Port 2

.45 V IOL= 0.6 mA

lee Vee Supply Current

VOH2 Output Voltage Port 2

IOL Sum of all IOL from 16 Outputs

80 mA 4.5 mAEach Pin

·See following graph for additional sink current capability

A.C. CHARACTERISTICS

TA =-40·C to +8S·C, Vee= SV 10%

SYMBOL PARAMETER

MIN. MAX. UNITS TEST CONDITIONS

tA Code Valid Before PROG

100 ns 80 pF Load

te Code Valid After PROG

60 ns 20 pF Load

te Data Valid Before PROG

200 ns 80 pF Load

to Data Valid After PROG

20 ns 20 pF Load

tH Floating After PROG

0 150 ns 20 pF Load

tK PROG Negative Pulse Width

tcs CS Valid Before/Afte(PROG

tpo Ports 4·7 Valid After PROG

700 ns 100 pF Load

tLPl Ports 4-7 Valid Before/After PROG

tAee Port 2 Valid After PROG

650 ns 80 pF Load

2.4 -- ,.X:: > Tm~INTS < ::X

0.45 ----' -

6·65 AFN-00881A·03

Show 6 more labels / short text on this page
V IOH= 240llA · 10 20 mA · IOH= lOOILA · 700 ns · 50 ns · 100 ns
Page 209 of the Intel mcs-48 user manual — PORTS 4-7 INPUT VALID
Page 209 · click to enlarge
Page 209
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 209)
Fig. 208 · The Single Component . 2" MCS-4S™ S~stem

WAVEFORMS

PROG

PORT 2 FLOAT DATA FLOAT

'"'~ ~'"x VALID

.~~

PORT 2

_t po

PORTS 4-7 PREVIOUS OUTPUT VALID OUTPUT

VALID

tiP --

PORTS 4-7 INPUT VALID

AFN-00861A-()4

~ tK ~ · tes

Page 210 of the Intel mcs-48 user manual — MAXIMUM SINK CURRENT ON ANY PIN@.45V
Page 210 · click to enlarge
Page 210
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 210)
Fig. 209 · The Single Component . 2" MCS-4S™ S~stem

«

E

'"":J 100

e

IN

I75 z w a: a: a 50

GUARANTEED WORST CASE CURRENT SINKING CAPABiliTIES OF ANY 1/0 PORT PIN vs. TOTAL SINK CURRENT OF All PINS

~ z en ...J « 25 le I-

o o 1 2

3 4 5 6 7 8 9 10 11 12 13

MAXIMUM SINK CURRENT ON ANY [email protected]

MAXIMUM IOL WORST CASE PIN (rnA)

Sink Capability

ExampleThis example shows how the use of the 20

mA sink capability of Port 7 affects the sink- ing capability of the other 110 lines.

The 8243 can sink 5 [email protected] on each of its 16110 lines simultaneously. If, however, all lines are not sinking simultaneously or all lines are not fully loaded, the drive capability of any individual line increases as is shown by the accompanying curve:

An 8243 will drive the following loads simul- taneously.

For example, if only 5 of the 16 lines are to sink current at one time, the curve shows that each of those 51ines is capable of sinking 9 [email protected] (if any lines are to sink 9 mA the total IOl must not exceed 45 mA or five 9 mA loads).

2 loads - 20 mA@1V (port 7 only) 8 loads - 4 [email protected] 6 loads - 3.2 [email protected] Is this within the specified limits?

ExampleHow many pins can drive 5 TTL loads (1.6 mAl

assuming remaining pins are unloaded?

d Ol=( 2 x 20)+(8 x 4)+(6 x 3.2)=91.2 mAo From the curve: for IOl = 4 mA, dOL::: 93 mA since 91.2 mA < 93 mA the loads are within specified limits.

IOl = 5 x 1.6 mA = 8 mA dOL = 60 mA from curve # pins= 60 mA-+- 8 mA/pin = 7.5= 7

In this case, 7 lines can sink 8 mA for a total of 56 mAo This leaves 4 mA sink current capa· bility which can be divided in any way among the remaining 8 110 lines of the 8243.

Although the 20 mA@ 1V loads are used in calculating dOL, it is the largest current re- [email protected] which determines the maximum allowable dOL.

6-67 AFN-00s81A-05

Page 211 of the Intel mcs-48 user manual — P4 PROG
Page 211 · click to enlarge
Page 211
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 211)
Fig. 210 · The Single Component . 2" MCS-4S™ S~stem

EXPANDER INTERFACE

":"

P4 PROG

I/O

TEST P5 8048 INPUTS 8243

I/O

P5 P20·P23 DATA IN

I/O

P2

P7

I/O

OUTPUT EXPANDER TIMING

PROG ~"" _____ ..J/

BITS 3,2 OO} READ 01 WRITE 10 OR 11_ ANO

BITS 1,0

OO} 01 PORT 10 AODRESS "

P20·P23 --<I..._--JX'- _____ ...I)>---

ADDRESS (4·8ITSI DATA (4-BITSI

BUS

PORT 1 B04B

PORT 2

PROG~----------------~------------------~-----------------4------------------~

USING MULTIPLE 8243'5

6-68 AFN-OOBB1A-OS

I/O cs

Page 212 of the Intel mcs-48 user manual — AD,
Page 212 · click to enlarge
Page 212
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 212)
Fig. 211 · The Single Component . 2" MCS-4S™ S~stem

8355* /8355-2** 16,384·8IT ROM WITH 110 *Directly Compatible with 8085A CPU

**Directly Compatible with 8085A-2

  • 2048 Words x 8 Bits
  • Each \/0 Port Line Individually Programmable as Input or Output
  • Single + 5V Power Supply
  • Internal Address Latch
  • Multiplexed Address and Data Bus
  • 2 General Purpose 8·Bit \/0 Ports
  • 40·Pin DIP

The Intel® 8355 is a ROM and I/O chip to be used in the MCS-85'· microcomputer system. The ROM portion is organized as 2048 words by 8 bits. It has a maximum access time of 400 ns to permit use with no wait states in the 8085A CPU.

The 1/0 portion consists of 2 general purpose 1/0 ports. Each 1/0 port has 8 port lines, and each 1/0 port line is indivdu o ally programmable as input or output.

The 8355-2 has a 300ns access time for compatibility with the 8085A-2 microprocessor.

PIN CONFIGURATION BLOCK DIAGRAM

RESET PB, READY N.C. (NOT CONNECTED) 5 PB,

lOW PA, eE, G

PB, ADo_7

~

PB,

PB, A B- 10 RD PB.

PA O7

PA, CE, ROM

~

AD. PAs 101M

ALE AD, PA, RD

PB O1

lOW AD, PA, RESET AD, PA, iDA AD, PAD

AD,

INT£l CORPORATION ASSlHS NO RESPONSIBIlITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIICUITRY EMBOOIEO IN AN IIITEl PROOOCT. NO OTItER CIRCIIIT PATENT LICENSES ARE IMPLIED. "INTEL CORPORATION. 1979

Show 4 more labels / short text on this page
Vee · PB, elK PB, · AD, Vee (+5VI · VSS Vss fOV)
Page 213 of the Intel mcs-48 user manual — 8355/8355-2
Page 213 · click to enlarge
Page 213
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 213)
Fig. 212 · The Single Component . 2" MCS-4S™ S~stem

8355/8355-2

When ALE (Address latch Enable is high, ADo-7, 101M, AS-1o, CE, and CE enter address latched. The signals I AD, 101M, AS-1o, CE, CE I are latched in at the trailing edge of ALE.

The ClK is used to force the READY into its high impedance state after it has been forced low by CE low, CE high and ALE high.

Ready is a 3-state output controlled by CEL CE2, ALE and ClK. READY is forced low when the Chip Enables are active during the time ALE is high, and remains low until the rising edge of the next ClK (see Figure 61.

Bidirectional AddresslData bus. The lower 8-bits of the ROM or 1/0 address are applied to the bus lines when ALE is high.

During an 1/0 cycle, Port A or Bare selected based on the latched value of ADo. It RD or lOR is low when the latched chip enables are active, the output buffers present data on the bus.

PAO-7 (I nput! Output I

These are general purpose 1/0 pins. Their input!output direction is deter- mined by the contents of Data Direction Register (DDRI. Port A is selected for write operations when the Chip Enables are active and iOW is low and a 0 was previously latched from ADo.

These are the high order bits of the ROM address. They do not affect 1/0 oper- ations.

Chip Enable Inputs: CE1 is active low and CE2 is active~. The 8355 can be accessed only when BOTH Ghip En- ables are active at the time the ALE signal latches them up. It either Chip Enab!e input is not active, the ADo-7 and READY outputs will be in a high impedance state.

Read operation is selected by either lOR low and active Chip Enables and ADo low, Q[ 101M high, RD low, active chip enables, and ADo low.

CE1 CE2 ( Inputl

This general purpose 1/0 port is identical to Port A except that it is selected by a 1 latched from ADo.

An input high on RESET causes all pins in Port A and B to assume input mode.

It the latched 10/M is high when RD is low, the output data comes from an 1/0 port. It it is low the output data comes from the ROM.

When the Chip Enables are active, a low on lOR will output the selected 1/0 port onto the AD bus. lOR low performs the same function as the combination 101M high and RD low. When lOR is not used in a system, lOR should be tied to Vee ("1").

It the latched Chip Enables are active when RD goes low, the ADo-7 output buffers are enabled and output either the selected ROM location or 1/0 port. When both RD and lOR are high, the ADo-7 output buffers are 3-state.

+5 volt supply.

Ground Reference.

lOW ( Input I

It the latched Chip Enables are active, a low on lOW causes the output port pointed to by the latched value of ADo to be written with the data on ADo-7. The state of 101M is ignored.

Show 15 more labels / short text on this page
Symbol · Function · Symbol · Function · ALE ( Inputl · ClK (lnputl · READY (Outputl · ADo-7 ( Inputl · AS-1o Iinputl · PBO-7 (Input! Outputl · RESET ( Input) · 10iM ( Inputl · lOR (Input) · RD (Inputl · Vee Vss
Page 214 of the Intel mcs-48 user manual — tAOF Data Bus Float after READ 0 100 a 85 ns
Page 214 · click to enlarge
Page 214
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 214)
Fig. 213 · The Single Component . 2" MCS-4S™ S~stem

8355/8355-2

ABSOLUTE MAXIMUM RATINGS*

'COMMENTStresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the

device. This is a stress rating only and functional opera·

tion of the device at these or any other conditions above those indicated in the operational sections of this specifi· cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

Temperature Under Bias Storage Temperature Voltage on Any Pin

O°Cto +70°C -65'Cto+1S0°C

With Respect to Ground " -o.sv to +7V Power Dissipation 1.SW

D.C. CHARACTERISTICS (TA = o°c to 70°C; Vee = 5V ± 5%)

SYMBOL PARAMETER MIN. MAX. UNITS TEST CONDITIONS

Vil Input Low Voltage -0.5 0.8 V Vee = 5.0V

VIH Input High Voltage 2.0 Vee+O· 5 V Vee = 5.0V

VOL Output Low Voltage 0.45 V IOl = 2mA

VOH Output High Voltage 2.4 V IOH = -400j.LA

III Input Leakage 10 j.LA V IN = Vee to OV

ILO Output Leakage Current ±10 j.LA 0.45V ';;;;VOUT ';;;;Vee

Icc Vee Supply Current 180 mA

A.C. CHARACTERISTICS (TA = o°c to 70°C; Vee = 5V ± 5%)

8355 8~55-2 (Prel mlnary) Symbol Parameter Min. Max. Min. Max. Units

teye Clock Cycle Time 320 320 ns

T1 CLK Pulse Width 80 80 ns

T2 CLK Pulse Width 120 120 ns

tf,t, CLK Rise and Fall Time 30 30 ns

tAL Address to Latch Set Up Time SO 30 ns

tlA Address Hold Time after Latch 80 30 ns

tle Latch to READ/WRITE Control 100 40 ns

tAD Valid Data Out Delay from READ Control 170 140 ns

tAD Address Stable to Data Out Valid 400 330 ns

tLl Latch Enable Width 100 70 ns

tAOF Data Bus Float after READ 0 100 a 85 ns

tel READ/WRITE Control to Latch Enable 20 10 ns

tee READ/WRITE Control Width 250 200 ns

tow Data In to Write Set Up Time 150 150 ns

two Data In Hold Time After WRITE 10 10 ns

twp WRITE to Port Output 400 400 ns

tpA Port Input Set Up Time 50 50 ns

tRP Port Input Hold Time 50 50 ns

tRYH READY HOLD Time 0 160 0 160 ns

tARY ADDRESS (CE) to READY 160 160 ns

tRv Recovery Time Between Controls 300 200 ns

tROE READ Control to Data Bus Enable 10 10 ns

Page 215 of the Intel mcs-48 user manual — A8-10
Page 215 · click to enlarge
Page 215
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 215)
Fig. 214 · The Single Component . 2" MCS-4S™ S~stem

8355/8355-2

O,8V

Figure 1. Clock Specification for 8355

~

A8-10

ADDRESS

)

~

ADDRESS

DATA

·eE,=') ~

ALE

1+ 'RDF •

!--'RDE~ I---'RD-

I I+---- 'RV 'ow r-- 'WD ~

I---'cc

Figure 2. ROM Read and 110 Read and Write

Show 8 more labels / short text on this page
IDiM · tAO · ~ · 'll- · ~'lA~ · I+- 'Al ~ · l----'lC~ · I------ 'Cl ~
Page 216 of the Intel mcs-48 user manual — ALE
Page 216 · click to enlarge
Page 216
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 216)
Fig. 215 · The Single Component . 2" MCS-4S™ S~stem

8355/8355·2

I. Input Mode

PORT =x INPUT

tJ~

DATA' - )( BUS --- .

b. Output Mode

GLITCH FREE /OUTPUT

PORT OUTPUT

DATA'----- ~ BUS _____ ...I\ _______ JX ____ _

'DATA BUS TIMING IS SHOWN IN FIGURE 4.

Figure 3. 1/0 Port Timing

ALE

,

.... _-----

Figure 4. Wilt Stlta Timing (READY = 0)

ROOR iOR · 'wp · ClK

Page 217 of the Intel mcs-48 user manual — PA O7
Page 217 · click to enlarge
Page 217
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 217)
Fig. 216 · The Single Component . 2" MCS-4S™ S~stem

inter

8755A 16,384-BIT EPROM WITH 1/0 • Directly Compatible with SOS5A CPU

  • 2048 Words )( 8 Bits
  • 2 General Purpose 8·Bit 1/0 Ports
  • Single + 5V Power Supply (V cd
  • Each 1/0 Port Line Individually Programmable as Input or Output
  • U.V. Erasable and Electrically Reprogrammable
  • Multiplexed Address and Data Bus
  • Internal Address Latch
  • 40·Pin DIP

The Intel@ 8755A is an erasable and electrically reprogram mabie ROM (EPROM I and liD chip to be used in the MCS-85'· microcomputer system. The EPROM portion is organized as 2048 words l:>y 8 bits. It has a maximum access time of 450 ns to permit use with no wait states in an 8085A CPU.

The 1/0 portion consists of 2 general purpose 1/0 ports. Each 1/0 port has 8 port lines, and each 1/0 port line is individu- ally programmable as input or output.

PIN CONFIGURATION BLOCK DIAGRAM

RESET READY Voo PB.

101M G

PA O7

CE, 2K)( 8

ALE 101M EPROM

~

PB O7

AD, PA. RD

AD, PA, RESET

AD. iDA ADs PA,

~VCCI+5V1 AD. AlO PROG/CE, AD, A. Voo Vss (OV) Vss

INTEL CORPORATION ASstJMES NO RESPONSIBIlITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBOOIEO IN AN INTEL PROOUCT. NO OTHER CIftCUIT PRlENT LICENSES ARE IMPLIED. © INTEl CORPORATION. 1979

Show 8 more labels / short text on this page
vee · ClK · ClK · READY A"o_, · i5R As-lO PB, · lOW · AD, PAs ALE · AD, lOW
Page 218 of the Intel mcs-48 user manual — Vee Vss
Page 218 · click to enlarge
Page 218
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 218)
Fig. 217 · The Single Component . 2" MCS-4S™ S~stem

8755A

8755AFUNCTIONAL PIN DEFINITION

Function

Function

When Address latch Enable goes high, ADo-7, 10/M, AS-1o, CE2, and CE1 enter the address latches. The signals (AD, 10/M, AB-10, CEI are latched in at the trailing edge of ALE.

READY is a 3-state output controlled by CE2, CEl,AlE and ClK. READY is forced low when the Chip Enables are active during the time ALE is high, and remains low until the rising edge of the next ClK. (See Figure 6. I

Bidirectional Address/Data bus. The lower 8-bits of the PROM or I/O address are applied to the bus lines when ALE is high.

PAO-7

These are general purpose 110 pins. Their input/output direction is deter- mined by the contents of Data Direc- tion Register (DDR I. PortA is selected for write operations when the Chip Enables are active and lOW is low and a 0 was previously latched from ADo, AD,.

During an I/O cycle, Port A or Bare selected based on the latched value of ADo. If RD or lOR is low when the latched Chip Enables are active, the output buffers present data on the bus.

Read operation is selected by either lOR low and active Chip Enables and ADo and AD, low, or 10iM high, RD low, active Chip Enables, and ADo and AD, low.

These are the high order bits of the PROM address. They do not affect I/O operations.

Chip Enable Inputs: CE 1 is active low and CE2 is active high. The 8755A can be accessed only when BOTH Chip Enables are active at the time the ALE signal latches them up. If either Chip Enable input is not active, the ADo-7 and READY outputs will be in a high impedance state. CE, is also used asa programming pin. (See section on programming. I

This general purpose I/O port is identical to Port A except that it is selected by a 1 latched from ADo and a 0 from AD1.

In normal operation, an input high on RESET causes all pins in Ports A and B to assume input mode (clear DDR register!.

When the Chip Enables are active, a low on lOR will output the selected I/O port onto the AD bus. lOR low performs the same function as the combination of 10/M high and RD low. When lOR is not used inasystem, lOR should be tied to Vce ("1"1.

If the latched 10/M is high when RD is low, the output data comes from an I/O port. If it is low the output data comes from the PROM.

If the latched Chip Enables are active when RD goes low, the ADo-7 output buffers are enabled and output either the selected PROM location or I/O port. When both RDand lOR are high, the ADo-7 output buffers are 3-stated.

Vee Vss

+5 volt supply.

Ground Reference.

Voo is a programming voltage, and must be tied to +5V when the 8755A is being read.

If the latched Chip Enables are active, a low on lOW causes the output port pOinted to by the latched value of ADo to be written with the data on ADo-7. The state of 10/M is ignored.

For programming, a high voltage is supplied with Voo= 25V, typical. (See section on programming.)

The ClK is used to force the READY into its high impedance state after it has been forced low by CE, low, CE2 high, and ALE high.

Show 18 more labels / short text on this page
Symbol · Symbol · ALE (input) · READY (output I · ADo-7 · (input/output) · (input/output 1 · AS-1o · (input) · PROG/CE1 CE2 (input) · PBO-7 (input/output 1 · RESET (inputl · lOR (input) · 10/M (input) · RD (input) · Voo · lOW (input) · ClK (input)
Page 219 of the Intel mcs-48 user manual — MODULE NAME
Page 219 · click to enlarge
Page 219
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 219)
Fig. 218 · The Single Component . 2" MCS-4S™ S~stem

8755A

ERASURE CHARACTERISTICS

SYSTEM APPLICATIONS

The erasure characteristics of the 8755A are such that erasure begins to occur when exposed to light with wavelengths shorter than approximately 4000 Angstroms

System Interface with SOSSA

A system using the 8755A can use either one of the two I/O

Interface techniques:

(AI. It should be noted that sunlight and certain types of fluorescent lamps have wavelengths in the 3000-4000A range. Data show that constant exposure to room level fluorescent lighting could erase the typical 8755A in approximately 3 years while it would take approxill1ately 1 week to cause erasure when exposed to direct sunlight. If the 8755A is to be exposed to these types of lighting conditions for extended periods of time, opaque labels are available from Intel which should be placed over the 8755 window to prevent unintentional erasure.

  • Standard I/O
  • Memory Mapped I/O

If a standard I/O technique is used, the system can use the feature of both GE2 and CE1. By using a combination of unused address lines A11-15 and the Chip Enable inputs, the

8085A system can use up to 5 each 8755A's without requiring a CE decoder.

The recommended erasure procedure for the 8755A is exposure to shortwave ultraviolet light which has a wave- length of 2537 Angstroms (AI. The integrated dose Ii.e., UV intensity X exposure time) for erasure should be a minimum of 15W-sec/cm2. The erasure time with this dosage is approximately 15 to 20 minutes using an ultra- violet lamp with a 12000",W/cm2 power rating. The 8755A should be placed within one inch from the lamp tubes during erasure. Some lamps have a filter on their tubes and this filter should be removed before erasure.

If a memory mapped I/O approach is used the 8755A will be selected by the combination of both the Chip Enables and 10/M using the AD8-15 address lines. See Figure 1.

PROGRAMMING

Initially, and after each erasure, all bits of the EPROM portions of the 8755A are in the "1" state. Information is introduced by selectively programming "0" into the desired bit locations. A programmed "0" can only be changed to a "1" by UV erasure.

The 8755A can be programmed on the Intel® Universal PROM Programmer (UPPI, and the PROMPT'" 80/85 and PROMPT-48'" design aids. The appropriate programming modules and adapters for use in programming both 8755A's and 8755's are shown in Table 1.

/1 " 1~8-15

~ BOB5A MO o. 7

"

The program mode itself consists of programming a single address at a time, giving a Single 50 msec pulse for every address. Generally, it is desirable to have a verify cycle after a program cycle for the same address as shown in the attached timing diagram. In the verify cycle (i.e., normal memory read cycle I 'Voo' should be at +5V.

V ALE - RO

WR ;---

elK 102) r--

REAOY r--

101M r-- *1 Vee ;--- I rV '\.. 7

Preliminary timing diagrams and parameter values per· taining to the 8755A programming operation are con· tained in Figure 6.

AID,., A'_10 RD elK 101M iifR ALE ilii'i READY CE

TABLE 1. 875SA PROGRAMMING MODULE CROSS

B755A

REFERENCE

'NOTE: Optional connection.

MODULE NAME

USE WITH

UPP 955 UPP UP2121 PROMPT 975 PROMPT 475

UPPI41 UPP 855 PROMPT 80/85131 PROMPT 48( 11

NOTES:

1, Described on p. 11·9 of 1978 System Data Catalog. 2. Special adaptor socket. 3. Described on p. 11·3 of 1978 System Data Catalog. 4. Described on p. 10·85 of 1978 System Data Catalog.

Figure 1. 8755A in 808SA System (Memory-Mapped 1/0)

Page 220 of the Intel mcs-48 user manual — SYMBOL PARAMETER MIN. MAX. UNITS TEST CONDITIONS
Page 220 · click to enlarge
Page 220
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 220)
Fig. 219 · The Single Component . 2" MCS-4S™ S~stem

8755A

ABSOLUTE MAXIMUM RATINGS·

'COMMENT

TemperatureUnderBias -10o e to +70o e Storage Temperature -65°eto +150 o e Voltage on Any Pin

Stresses above those listed under "Absolute Maximum Ratings" maycause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those Indicated in the operational sections of this specification is not implied.

With Respect to Ground -0.5 to +7V· Power Dissipation 1.5W

Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

·Except for programming voltage.

D.C. CHARACTERISTICS (TA = o°c to 70°C; VCC = 5V ± 5%)

SYMBOL PARAMETER MIN. MAX. UNITS TEST CONDITIONS

VIL Input Low Voltage -0.5 0.8 V

VIH Input High Voltage 2.0 Veet

VOL Output Low Voltage 0.45 V IoL=2mA

VOH Output High Voltage 2.4 V IoH = -400JjA

IlL I n put Lea kage 10 JjA VIN = Vcc to OV

ILO Output Leakage Current tl0 JjA 0.45V ';;VOUT ';;Vee

Ice Vec Supply Current 180 mA

A.C. CHARACTERISTICS (TA = o°c to 70°C; Vee = 5V ± 5%)

SYMBOL PARAMETER MIN. MAX. UNITS TEST CONDITIONS

teye Clock Cycle Time 320 ns

T, ClK Pulse Width 80 ns CLOAO = 150 pF

T2 ClK Pulse Width 120 ns (See Figure 3)

tf ,t, ClK Rise and Fall Time 30 ns

tAL Address to Latch Set Up Time 50 ns

tLA Address Hold Time after latch 80 ns

tLe latch to READ/WRITE Control 100 ns

tAD Valid Data Out Delay from READ Control 170 ns

tAO Address Stable to Data Out Valid 450 ns 150 pF load

tLL Latch Enable Width 100 ns

tAOF Data Bus Float after READ 0 100 ns

teL READIWRITE Control to latch Enable 20 ns

tee R EADIWR ITE Control Width 250 ns

tow Data In to WRITE Set Up Time 150 ns

two Data In Hold Time After WR ITE 30 ns

twp WR ITE to Port Output 400 ns

tpA Port Input Set Up Time 50 ns

tAP Port Input Hold Time 50 ns

tAYH READY HOLD TIME 0 160 ns

tAAY ADDRESS (CE) to READY 160 ns

tAv Recovery Time between Controls 300 ns

tADE Data Out Delay from READ Control 10 ns

tLO ALE to Data Out Valid 350 ns Preliminary

Page 221 of the Intel mcs-48 user manual — ADO_?
Page 221 · click to enlarge
Page 221
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 221)
Fig. 220 · The Single Component . 2" MCS-4S™ S~stem

8755A

WAVEFORMS

Figure 2. Clock Specification for 8755A

) ADDRESS ADDRESS

tAD ,-

~----< >- ) ADDRESS ~--.. ) DATA ADDRESS r---

ADO_?

t

ALE 1/

I--tALI---tLA- \

1 (PROG)/CE

J \. \

~ t--tRDE -

tROF I--- J 1"- I---tLC~ I--- tRO tow I--- f-two

ILtce

I---tCL- Pleas e note that CE1 must remain low tor the entire eyele. tRV

Figure 3. PROM Read, 1/0 Read and Write Timing

tLL_ · tLO

Page 222 of the Intel mcs-48 user manual — (CE=1) • (CE=O)
Page 222 · click to enlarge
Page 222
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 222)
Fig. 221 · The Single Component . 2" MCS-4S™ S~stem

8755A

A.

INPUT MODE

ROOR '+

PORT =x __________ ~x~ __ __ INPUT ~

lOR F---~! c- -r 'PR

DATA> - - - - - - - )(

BUS ------- ----------------------

lOW \ .; \. ~ -J. x

B. OUTPUT MODE

GLITCH FREE __________ ':: ~_ / OUTPUT

PORT OUTPUT _ ------------ -----

DATA> - """\/ BUS -A X

Figure 4. 110 Port Timing

(CE=1) • (CE=O)

ALE

, REAOY--- - .... _-----

Figure 5. Wait State Timing (READY = 0)

eLK

Page 223 of the Intel mcs-48 user manual — Symbol Parameter
Page 223 · click to enlarge
Page 223
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 223)
Fig. 222 · The Single Component . 2" MCS-4S™ S~stem

8755A

D.C. SPECIFICATION PROGRAMMING ITA = O°C to 70°C: Vee = 5V ± 5%; Vss = OV)

Symbol Parameter

Min. Typ. Max. Unit

Voo Programming Voltage (during Write to EPROM)

24 25 26 V 15 30 mA

100 Prog Supply Current

A.C. SPECIFICATION FOR PROGRAMMING (TA = O°C to 70°C; Vee = 5V ± 5%; Vss = OV)

Symbol Parameter

Min. Typ. Max. Unit 10 ns 0 ns 2 /AS 2 /AS 0.Q1 2 /AS 0.Q1 2 /AS 45 50 msec

tps Data Setup Time

tpo Data Hold Time

ts Prog Pulse Setup Time

tH Prog Pulse Hold Time

tPR Prog Pulse Rise Time

tpF Prog Pulse Fall Time

tPRG Prog Pulse Width

Page 224 of the Intel mcs-48 user manual — FUNCTION
Page 224 · click to enlarge
Page 224
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 224)
Fig. 223 · The Single Component . 2" MCS-4S™ S~stem

8755A

WAVEFORMS

  • 1 ... --------- PROGRAM CYCLE -------
  • +1
  • ----- VERIFV CYCLE' ---1_ PROGRAM CYCLE

FUNCTION

ALE

DATA TO BE PROGRAMMED

'PO

AS·10

'PS

.5----------------------------(

·VERIFY CYCLE IS A REGULAR MEMORY READ CYCLE (WITH Voe = +5V FOR 8755A)

Figure 6. 8755A Program Mode Timing Diagram

Voo

Page 225 of the Intel mcs-48 user manual — PC O5
Page 225 · click to enlarge
Page 225
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 225)
Fig. 224 · The Single Component . 2" MCS-4S™ S~stem

inter

8155/8156/8155-2/8156-2 2048 BIT STATIC MOS RAM WITH I/O PORTS AND TIMER

~

8085A 8085A-2

CPU Chip . Enable ACTIVE LOW ACTIVE HIGH

8155 8155-2 8156 8156-2

  • 2S6 Word x 8 Bits
  • Single +5V Power Supply
  • Completely Static Operation
  • Internal Address Latch
  • 2 Programmable 8 Bit 1/0 Ports
  • 1 Programmable 6-Bit 1/0 Port
  • Programmable 14-Bit Binary Counterl Timer
  • Multiplexed Address and Data Bus
  • 40 Pin DIP

The 8155 and 8156 are RAM and I/O chips to be used in the MCS-85'· microcomputer system. The RAM portion is designed with 2048 static cells organized as 256 x 8. They have a maximum access time of 400 ns to permit use with no wait states in 8085A CPU. The 8155-2 and 13156-2 have maximum access times of 330 ns for use with the 8085A-2.

The 110 portion consists of three general purpose 110 ports. One of the three ports can be programmed to be status pins, thus allowing the other two ports to operate in handshake mode.

A 14-bit programmable counter/timer is also included on chip to provide either a square wave or terminal count pulse for the CPU system depending on timer mode.

PIN CONFIGURATION BLOCK DIAGRAM

pc. vee pc. pCz

TIMER IN PC, 101M PORT A

G

RESET PCo a

ADO-7 256 X a TIMER OUT PBs STATIC 101M PBs RAM

PC. PB,

G

CE OR CE* PB. * ifD PB. ALE WR PB z

ALE PB, AD

B

ADo PBo WA AD, PA,

PC O5

ADz PAs RESET TIMEA

AD. PAs

Lvcc !+5V) AD. PA.

TIMER eLK AD. PA.

TIMER OUT Vss IOVI PAz

  • AD, PA, v
  • PAs *: 8155/8155-2 = CE, 8156/8156-2 = CE

IllEL _1I0Il_5 NO RE1I'IJIISIIlITY FOR TI£ USE OF ANY CIlCUITRI OTi£R THAN CIIClml EMBODEO IN AN IllEL PRODUCT. NO IlTHDI CIlCUIT PATENT UCENSES ARE _10. "IIIEL _lION. 1979

Show 4 more labels / short text on this page
PAs-, · ps,,-, · ADa · 6-82"
Page 226 of the Intel mcs-48 user manual — TIMER IN
Page 226 · click to enlarge
Page 226
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 226)
Fig. 225 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

8155/8156 PIN FUNCTIONS

Pulse provided by the 8085A to ini- tialize the system (connect to 8085A

ALE

Address Latch Enable: This control signal latches both the address on the ADo-7 lines and the state of the Chip Enable and 101M into the chip at the falling edge of ALE.

RESET OUT). Input high on this line resets the chip and initializes the three 1/0 ports to input mode. The width of RESETpulseshouldtypically be two 8085A clock cycle times.

Selects memory if low and I/O and commandlstatus registers if high.

3-state AddresslData lines that inter- face with the CPU lower 8-bit Ad- dresslData Bus. The 8-bit address is latched into the address latch inside the 8155156 on the falling edge of ALE. The address can be either for the memory section or the 1/0 section depending on the 10iiVi input. The 8-bit data is either written into the chip or read from the chip, depending on the WR or RD input signal.

These 8 pins are general purpose 1/0 pins. The inlout direction is selected by programming the command register.

These 8 pins are general purpose I/O pins. The inlout direction is selected by programming the command register.

These 6 pins can function as either input port, output port, or as control signals for PA and PB. Programming is done through the command reg- ister. When PCO-5 are used as control signals, they will provide the fol- lowing: PCo - A INTR (Port A Interrupt) PC1 ~ ABF (Port A Buffer Full) PC2 - A STB (Port A Strobe) PC3 - B INTR (Port B Interrupt) PC4 - B BF (Port B Buffer Full) PC5 - B STB (Port B Strobe)

CE or CE (input)

Chi'p Enable: On the 8155, this pin is CE and is ACTIVE LOW. On the 8156, this pin is CE and is ACTIVE HIGH.

RD

Read control: Input low on this line with the Chip Enable active enables and ADo-7 buffers. If 10/iVi pin is low, the RAM content will be read out to the AD bus. Otherwise the content of the selected 1/0 port or commandl status registers will be read to the AD bus.

TIMER IN

Input to the counter-timer.

Write control: Input low on this line with the Chip Enable active causes the data on the AddresslData bus to be written to the RAM or 1/0 ports and commandlstatus register depending on 101M.

Timer output. This output can be either a square wave or a pulse de- pending on the timer mode.

+5 volt supply.

Ground Reference.

Show 16 more labels / short text on this page
§ymbol · Function · §y'mbol · Function · RESET (input) · (input) · 101M (input) · ADo-7 (input) · PAO-7(8) (input/output) · PBO-7(8) (input/output) · PCo-5(6) (input/output) · (input) · WR (input) · (input) · TIMER OUT (output) · Vss
Page 227 of the Intel mcs-48 user manual — OR
Page 227 · click to enlarge
Page 227
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 227)
Fig. 226 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

DESCRIPTION

The 8155/8156 contains the following:

  • 2k Bit Static RAM organized as 256 x 8
  • Tw08-bit 1/0 ports (PA & PB) andone6-bit 110 port (PC)
  • .14-bit timer-counter .

The 101M (IO/Memory Select) pin selects either the five registers (Command. Status. PAo-7. PBO-7. PCO-5) or the memory (RAM). portion. (See Figure 1.)

The 8-bit address on the AddresslData lines. Chip Enable input CE or CEo and 101M are all latched on-chip at the falling edge of ALE. (See Figure 2.)

I

I L J

Figure 1. 8155/8156 Internal Registers

C'E 181551 \

/

\

OR

CE 181561 I

\

/

101M \

/

\

I\. / V I\. X DATA VALID

A°0-7 X

ADDRESS

ALE

RDORWR

Figure 2. 8155/8156 On-Board Memory Read/Wrlte Cycle

Page 228 of the Intel mcs-48 user manual — "-TIMER COMMAND
Page 228 · click to enlarge
Page 228
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 228)
Fig. 227 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

PROGRAMMING OF THE COMMAND REGISTER

READING THE STATUS REGISTER

The status register consists of seven latches. one for each bit; six (0-5) for the status of the ports and one (6) for the status of the timer.

The command register consists of eight latches. Four bits (0-3) define the mode of the ports. two bits (4-5) enable or disable the interrupt from port C when it acts as control port. and the last two bits (6-7) areforthetimer.

The status of the timer and the I/O sec.tion can be polled by reading the Status Register (Address XXXXXOOO). Status word format is shown in Figure 4. Note that you may never write to the status register since the command register shares the same I/O address and the command register is selected when a write to that address is issued.

The command register contents can be altered at any time by using the 110 address XXXXXOOO during a WRITE operation with the Chip Enable active and lo/fiil = 1. The meaning of each bit of the command byte is defined in Figure 3. The contents of the command register may never be read.

DEFINES PB()'7 1 = OUTPUT 1:=

DEfINESPA .. , }

0'" INPUT

OO"'AlT1 1'=ALT2 DEFINES PC0-5 { 01 = At T 3 10 = AlT 4

PORT A INTERRUPT REQUEST

PORT A BUFFER FULL/EMPTY (INPUT/OUTPUT)

PORT A INTERRUPT ENABLE

, .. ENABLE o· DISABLE '--- ________ ~:::;:U~ATB

'--------_ ~::EBRL:U~RT A

PORT B INTERRUPT ReQUEST ' _ PORT B BUFFER FULL/EMPTY

IINPUTIOUTPUT) ' _ PORT B INTERRUPT ENABLED ' TIMER INTERRUPT (THIS BIT

00 = NOP - 00 NOT AFFECT COUNTER OPERATION

01 = STOP - NOP If TIMER HAS NOT STARTED; STOP COUNTING IF THE TIMER IS RUNNING 10 = STOP AFTER Te - STOP IMMEDIATELY AFTER PRESENT Te IS REACHED (NOP IF TIMER HAS NOT STARTED)

IS LATCHED HIGH WHEN TERMINAL COUNT IS REACHED, AND IS RESET TO LOW UPON READING OF THE CIS REGISTER AND BY HARDWARE RESET).

"-TIMER COMMAND

11 = START - LOAD MODE AND CNT LEfI!GTH AND START IMMEDIATELY AFTER LOADING (IF TIMER IS NOT PRESENTLY RUNNING). If TIMER IS RUNNING, START THE NEW MODE AND CNT LENGTH IMMEDIATELY AFTER PRESENT Te IS REACHED.

Figure 3. Command Register Bit Assignment

Figure 4. Status Register Bit Assignment

}

Page 229 of the Intel mcs-48 user manual — (3) STROBED INPUT CONTROL
Page 229 · click to enlarge
Page 229
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 229)
Fig. 228 · The Single Component . 2" MCS-4S™ S~stem

INPUT/OUTPUT SECTION

The I/O section of the 8155/8156 consists of five registers: (See Figure 5.)

1/0 ADDRESSt SELECTION A7 A6 AS A4 A3 A2 A1 AD

  • Command/Status Register (CIS) - Both registers are assigned the address XXXXXOOO. The CIS address serves the dual purpose.

X 0 0 0 Interval Command/Status Register X 0 0 1 General Purpose I/O Port A X 0 1 0 General Purpose 1;0 PorI B X 0 1 1 Port C - General Purpose 1/0 or Control X 1 a 0 low-Order 8 bits of Timer Count X 1 0 1 High 6 bits of Timer Count and 2 bits of Timer Mode

When the CIS registers are selected during WRITE operation, a command is written into the command register. The content,s of this register are not accessible through the pins.

When the CIS (XXXXXOOO) is selected during a READ operation, the status information of the 1/0 ports and the timer becomes available on the ADo-7 lines.

X: Don't Care _ _ t: 1/0 Address must be qualified by CE:= 1 181561 orCE=O 181551 and 101M"" 1 in order

to select the appropriate register

  • PA Register - This register can be programmed to be either input or output ports depending on the status of the contents of the CIS Register. Also depending on the command, this port can operate in either the basic mode or the strobed mode (See timing diagram). The I/O pins assigned in relation to this register arePAo-7. The ,address of this register is XXXXX001.

Figure 5. 1/0 port and Timer Addressing Scheme

Figure 6 shows how 1/0 PORTS A and B are structured within the 8155 and 8156:

  • PB Register - This register functions the same as PA Register. The I/O pins assigned are PBO-7. Theaddress of this register is XXXXX010.

8155/8156 ONE BIT OF PORT A OR PORT B

  • PC Register - This register has the address XXXXX011 and contains only 6 bits. The 6 bits can be programmed to be either input ports, output ports or as control signals for PA and PB by properly programming the AD2 and AD3 bits of the CIS register.

When PCO-5 is used as a control port, 3 bits are assigned for Port A and 3 for Port B. The first bit is an interrupt that the 8155 sends out. The second is an output signal indicating whether the buffer is full or empty, and the third is an input pin to accept a strobe for the strobed input mode. (See Table 1.)

When the 'C' port is programmed to either AL T3 or AL T4, the control signals for PA and PB are initialized as follows:

NOTES:

STS

(2) SIMPLE INPUT MULTIPLEXER (1) OUTPUT MODE }

(4) '" 1 FOR OUTPUT MODE

CONTROL INPUT MODE OUTPUT MODE

z 0 FOR INPUT MODE

(3) STROBED INPUT CONTROL

BF Low Low INTR Low High

READ PORT = OO/M":o1j. (RD=O). (CE ACTIVE). (PORT ADDRESS SELECTED) WRITE PORT = (IO/M"'l). (WR=O). (CE ACTIVE). (PORT ADDRESS SELECTED)

STB Input Control Input Control

Figure 6. 8155/8156 Port Functions

8155/8156/8155~2/8156-2

Page 230 of the Intel mcs-48 user manual — Figure 7. Example: Command Register = 00111001
Page 230 · click to enlarge
Page 230
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 230)
Fig. 229 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

TABLE 1. TABLE OF PORT CONTROL ASSIGNMENT.

Pin ALT 1 ALT 2 ALT 3 pca input Port Output Port A INTR (Port A Interrupt) PC1 Input Port Output Port A BF (Port A Buffer Full) PC2 Input Port Output Port A STB (Port A Strobe) PC3 Input Port Output Port PC4 Input Port Output Port PC5 Input Port Output Port

ALT4

A INTR (Port A Interrupt)

A BF (Port A Buffer Full)

A STB (Port A Strobe) B INTR (Port B Interrupt)

Output Port Output Port Output Port

B BF (port B Buffer Full)

B STB (Port B Strobe)

TO 8085 RST INP UT The outputs of the 8155/8156 are "glitch-free" meaning that you can write a "1" to a bit position that was previ- ously "1" and the level at the output pin will not change. PORT A OUTPUT PORT A r A INTA (SIGNALS DATA RECEIVED) Note also that the output latch is cleared when the port enters the input mode. The output latch cannot be loaded by writing to the port if the port is in the input mode. The result is that each time a port mode is changed from input to output, the output pins will go low. When the 8155/56 is RESET, the output latches are all cleared and al13 ports enter the input mode.

, .. 1 ,,> '",,,,,,m "'~,

I A srB (ACKNOWL DATA RECEIVED)

TO/FROM PERIPHERAL INTERFACE

PORT C B STS (LOADS PORT B LATCH)

B SF (SIGNALS BUFFER IS FULL)

B INTR (SIGNALS BUFFER r

READY FOR READINGI 1

PORT B INPUT TO 8085 INPUT P ORT (OPTIONAL)

When in the AL T 1 or AL T 2 modes, the bits of PORT C are structured like the diagram above in the simple input or output mode, respectively.

TO 8085 RST INPUT

Reading from an input port with nothing connected to the pins will provide unpredictable results.

Figure 7 shows how the 8155/8156 1/0 ports might be configured in a typical MCS-85 system.

Figure 7. Example: Command Register = 00111001

}

Page 231 of the Intel mcs-48 user manual — 1. SINGLE SQUARE WAVE
Page 231 · click to enlarge
Page 231
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 231)
Fig. 230 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

TIMER SECTION

The timer is a 14-bit down-counter that counts the TIMER IN pulses and provides either a square wave or pulse when terminal count (TC) is reached.

The timer has the I/O address XXXXX100forthe low order byte of the register and the I/O address XXXXX101 for the high order byte of the register. (See Figure 5).

To program the timer, the COUNT LENGTH REG is loaded first, one byte at a time, by selecting the timer addresses. Bits 0-13 of the high order count register will specify the length of the next count and bits 14-15 of the high order register will specify the timer output mode (see Figure 8). The value loaded into the count length register can have any value from 2H through 3FFH in Bits 0-13.

In case of an odd-numbered count, the first half-cycle of the squarewave output, which is high, is one count longer than the second (low) half-cycle, as shown in Figure 10.

6 5 4 3 2 0 I M21 Ml I T131 T121 Tll I Tl0 I T91 Tal

I I II I I TIMER MODE MSB OF CNT LENGTH 65432 o

Figure 10; Asymmetrical Square-Wave Output Resulting from Count of 9

I LSB OF CNT LENGTH

Figure 8. Timer Format

The counter in the 8155 is not initialized to any particular mode or count when hardware RESET occurs, but RESET does stop the counting. Therefore, counting cannot begin following RESET until a START command is issued via the CIS register.

There are four modes to choose from: M2 and M1 define the timer mode, as shown in Figure 9.

TIMER OUT WAVEFORMS:

Please note that tlie timer circuit on the 8155/8156 chip is designed to be a square-wave timer, not an event counter. To achieve this, it counts down by twos twice in completing one cycle. Thus, its registers do not con- tain values directly representing the number of TIMER IN pulses received. You cannot load an initial value of 1 into the count register and cause the timer to operate, as its terminal count value is 10 (binary) or 2 (decimal). (For the detection of single pulses, it is suggested that one of the hardware interrupt pins on the 8085A be used.) After the timer has started counting down, the values residing in the count registers can be used to calculate the actual number of TIMER IN pulses required to com- plete the timer cycle if desired. To obtain the remaining count, perform the following operations in order:

MOOE

START COUNT

TERMINAL (TERMINAL) COUNT COUNT

BITS

~ _____ 1 ____ _

M2 M1 o 0

1. SINGLE SQUARE WAVE

2. CONTINUOUS SQUARE WAVE

3. SINGLE PULSE ON TERMINAL COUNT

4. CONTINUOUS PULSES

Figure 9. Timer Modes

Bits 6-7 (TM2 and TM1) of command register contents are used to start and stop the counter. There are four commands to choose from:

1. Stop the count
2. Read in the 16-bit value from the count length registers

TM2 TMl o 0 NOP - Do not affect counter operation. o STOP - NOP if timer has not started; stop counting if the timer is running. o STOP AFTER TC - Stop immediately after present TC is reached (NOP if timer has not started)

3. Reset the upper two mode bits
4. Reset the carry and rotate right one position all 16 bits through carry
5. If carry is set, add 1/2 of the full original count (112 full count - 1 if full count is odd).

START - Load mode and CNT length and start immediately after loading (if timer is not presently running). If timer is running, start the new mode and CNT length immediately after present TC is reached.

---~ · ur ~

Page 232 of the Intel mcs-48 user manual — 40 MOV C,L
Page 232 · click to enlarge
Page 232
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 232)
Fig. 231 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

EXAMPLE PROGRAM

Following is an actual sequence of program steps that adjusts the 8155/56 count register contents to obtain the count, extracted from Intel@ Application Note AP38. "Application Techniques for the Intel8085A Bus." First store the value of the full original count in register HL of the 8085A. Then stop the count to avoid getting an incorrect count value. Then sample the timer-counter, storing the lower-order byte of the current count register in register C and the higher-order count byte in register B. Then, call the following 8080A/8085A subroutine:

ADJUST,78 MOV A,B

;Load accumulator with upper half ; of count.

E63F ANI3F

;Reset upper 2 bits and clear carry.

1F RAR

;Rotate right through carry.

47 MOV B,A

;Store shifted value back in B.

79 MOV A,C

;Load accumulator with lower half.

1F RAR

;Rotate right through carry.

4F MOV C,A

;Store lower byte in C.

00 RNC

;If in 2nd half of count, return. ;If in 1st lialf, go on.

3F CMC

;Clear carry.

7C MOV A,H

;Divide full count by 2. (If HL ;is odd, disregard remainder.)

1F RAR

67 MOV H,A

70 MOV A,L

1F RAR

6F MOV L,A

09 DAD B

;Double-precision add HL and BC.

44 MOV B,H

;Store results back in BC.

40 MOV C,L

C9 RET

;Return.

After executing the subroutine, BC will contain the remaining count in the current count cycle.

Page 233 of the Intel mcs-48 user manual — 8156 - l
Page 233 · click to enlarge
Page 233
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 233)
Fig. 232 · The Single Component . 2" MCS-4S™ S~stem

8155/'156/8155-2/8156-2

8085A MINIMUM SYSTEM CONFIGURATION

Figure 11 shows a minimum system using three chips, containing:

  • 256 Bytes RAM'
  • 2K Bytes ROM
  • 381/0 Pins
  • 1 Interval Timer
  • 4 Interrupt Levels

"

A8-1S

ADO-7

---.!. ;.. v

ALE

B085A RD

WR

VCC - vv~ --- - - 1

101M

READY , , , ,- ,

Vee ,

7:~~<; 7~~ _101 iIDiOvi ,

I TIMER I IN WR AD ALE CE" 7 G

101M

"

CE M ALE elK RS~RDY

RESET

~ '-l LATCHES

'--'-- I

T~~~R_

8355 J ROM ... I/O I OR 8755 I PROM + lID I

CONTROL 256 x 8 RAM

8156 - l

~~cp$

- NOTE, OPTIONAL CONNECTIONS B. B B

B B

Figure 11. 808SA Minimum System Conllguratlon. (Memory Mapped 1/0)

Show 4 more labels / short text on this page
"- · ClK · RESET DUTt · ~
Page 234 of the Intel mcs-48 user manual — SYMBOL PARAMETER MIN. MAX. UNITS TEST CONDITIONS
Page 234 · click to enlarge
Page 234
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 234)
Fig. 233 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155·2/8156·2

ABSOLUTE MAXIMUM RATINGS·

,'COMMENTStresses above those'listed under "Absolute

Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional opera·

Temperature Under Bias O°C to +70°C Storage Temperature : -65°Cto+150°C Voltage on Any Pin

tion of the device at these or any other conditions above those indicated in the operationfjl sections of thisspecifi· cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

With Respect to Ground -O.5V to +7V Power Dissipation 1.5W

D.C. CHARACTERISTICS (TA = o°c to 70°C; Vee = 5V ± 5%)

SYMBOL PARAMETER MIN. MAX. UNITS TEST CONDITIONS

VIL Input Low Voltage -0.5 0.8 V

VIH Input High Voltage 2.0 Veet{)·5 V

VoL Output Low Voltage 0.45 V IoL = 2mA

VoH Output High Voltage 2.4 V IOH = -4001lA

IlL Input Leakage ±10 IlA VIN = Vee to OV

ILO Output Leakage Current ±10 IlA 0.45V .;;; VOUT .;;; Vee

Icc Vee Supply Current 180 mA

IldCE) Chip Enable Leakage

8155 +100 p.A VIN = Vee to OV 8156 -100 p.A

Page 235 of the Intel mcs-48 user manual — SYMBOL PARAMETER MIN. MAX. MIN. MAX. UNITS
Page 235 · click to enlarge
Page 235
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 235)
Fig. 234 · The Single Component . 2" MCS-4S™ S~stem

A.C. CHARACTERISTICS ITA = o°c to 70°C; VCC = 5V ± 5%)

SYMBOL PARAMETER MIN. MAX. MIN. MAX. UNITS

tAL Address to Latch Set Up Time

'.' 50 30 ns

tLA Address Hold Time after Latch 80 30 ns

tlC Latch to R EAD/WR ITE Control 100 40 ns'

tRO Valid Data Out Delay from READ Control 170 140 ns

tAO Address Stable to Data Out Valid 400 330 ns tll Latch Enable Width 100 70 ns

tROF Data Bus Float After READ 0 100 0 80 ns

tCl READ/WRITE Control to Latch Enable 20 10 ns

tcc READ/WRITE Control Width 250 200 ns

tow Data In to WR ITE Set Up Time 150 100 ns

two Data In Hold Time After WR ITE 0 0 ns

tRV Recovery Time Between Controls 300 200 ns

twp WR ITE to Port Output 400 300 ns

tPR Port Input Setup Time 70 50 ns

tRP Port Input Hold Time 50 10 ns

tSBF Strobe to Buffer Full 400 300 ns

tss strobe Width 200 150 ns

tRBE READ to Buffer Empty 400 300 ns

tSI Strobe to INTR On 400 300 ns

tROI READ to INTR Off 400 300 ns

tPSS Port Setup Time to Strobe Strobe 50 0 ns

tPHS Port Hold Time After Strobe 120 100 ns

tSBE Strobe to Buffer Empty 400 300 ns

tWBF WR ITE to Buffer Full 400 300 ns

tWI WR ITE to INTR Off 400 300 ns

tTL TIMER·IN to TIMER·OUT Low 400 300 ns

tTH TIMER·IN to TIMER·OUT High 400 300 ns

tROE Data Bus Enable from READ Control 10 10 ns

tl TIMER·IN Low Time 80 40 ns

t2 TIMER·IN High Time 120 70 ns

8155/8156/8155~218156-2 · 8155/8156 8155·2/8156-2 (Preliminary) · 6·92

Page 236 of the Intel mcs-48 user manual — -,1 "-- I~ tcc~ --------- tRY -----------
Page 236 · click to enlarge
Page 236
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 236)
Fig. 235 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

WAVEFORMS

a. Read Cycle

CE (8155 I \- \

OR

-' / '\

CE 18156

101M \ / \ . tA:D

~

DATA VALID ~ -+-- t AL ______

ADDRESS ~

--- t LA

AL E Ifl\ (

f tLL~ I ... t RDE .. I-- tRDF -

~I'-l ~tRD_ V I\- tLc - - t eL ! tee ~ tRY ~

b. Write Cycle

CE 18155 I \ \

OR

CE 18156 I I -'[\ /

IO/i> n \ ,V ~

ADDRESS K ) DATA VALID -"K I--- t AL -- I---tLA - -tow +- -tel-

ADO_7 ~

ALE l 1\ V \- -- t lL - t Le ---:1 - two .

-,1 "-- I~ tcc~ tRY

Figure 12. 8155/8156 Read/Write Timing Diagrams

Page 237 of the Intel mcs-48 user manual — BF
Page 237 · click to enlarge
Page 237
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 237)
Fig. 236 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

a. Strobed Input Mode

/ \

BF

~r-../ ~~~ I-t5S - tRBE - 7\ \. / \"7 L \ /

INTR

--tpss tpHS

INPUT DATA

~ ~

FROM PORT

b. Strobed Output Mode

J \ -)'

BF

~~ I_~

/ /

INTR

'WI J j ) \ /

OUTPUT DATA

~

TO PORT

Figure 13. Strobed 1/0 Timing

tSBF · tWBF · I t--twp

Page 238 of the Intel mcs-48 user manual — RELOAD MODE ,!M1 MODE BIT'" ')
Page 238 · click to enlarge
Page 238
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 238)
Fig. 237 · The Single Component . 2" MCS-4S™ S~stem

8155/8156/8155-2/8156-2

a. Basic Input Mode

DATA BUS' ~ = = =:: :: J

b. Basic Output Mode

DATA BUS·

OUTPUT

·DATA BUS TIMING IS SHOWN IN FIGURE 7.

Figure 14. Basic 1/0 Timing Waveform

RELOAD COUNTER FROM CLR -I

LOAD COUNTER FROM CLR --I I 2 I 1 I

I 2 I 1

TIMER IN

TIMER OUT (PULSE)

\ (NOTE 1) "

___ J

\ I \ (NOTE 1( I '--------_..1

TIMER OUT (SQUARE WAVE)

RELOAD MODE ,!M1 MODE BIT'" ')

Figure 15. Timer Output Waveform Countdown from 5 to 1

6·95

Page 239 of the Intel mcs-48 user manual — ALE
Page 239 · click to enlarge
Page 239
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 239)
Fig. 238 · The Single Component . 2" MCS-4S™ S~stem

inter

8185/8185-2 1024 x 8-BIT STATIC RAM FOR MCS_85™

  • Multiplexed Address and Data Bus
  • Low Standby Power Dissipation
  • Directly Compatible with 8085A and 8088 Microprocessors
  • Single +5V Supply
  • Low Operating Power Dissipation
  • High Density 18-Pin Package

The Intel'" 8185 is an 8192-bit static random access memory (RAM) organized as 1024 words by 8-bits using N-channel Silicon-Gate MOS technology. The multiplexed address and data bus allows the 8185 to interface directly to the 8085A and 8088 microprocessors to provide a maximum level of system integration.

The low standby power dissipation minimizes system power requirements when the 8185 is disabled.

The 8185·2 is a high-speed selected version of the 8185 that is compatible with the 5 MHz 8085A-2 and the full speed 5 MHz 8088.

PIN CONFIGURATION

BLOCK DIAGRAM

AD, RD

AD, WR

AD, ALE

AD, CS

R!W LOGIC

AD5 CE,

RO WALE

AD, CE,

AD, A,

BUS RAM ---v

~ DATA 1K x 8

BUFFER MEM0RY

ARRAY

X-V DECODE ~ U

PIN NAMES

;:..

ADO·AD7 As. A9 CS CE, CE, ALE RO WJj

ADDRESS/DATA LINES ADDRESS LINES CHIP SELECT CHIP ENABLE (101M) CHIP ENABLE ADDRESS LATCH ENABLE READ ENABLE WRITE ENABLE

v:'

ADDRESS

LATCH

Aa. Ag

ALE

AFN-Q0201A-01

ADo Vee · cs CE, CE, · Vss As

Page 240 of the Intel mcs-48 user manual — AFN-00201 A-02
Page 240 · click to enlarge
Page 240
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 240)
Fig. 239 · The Single Component . 2" MCS-4S™ S~stem

8185/8185-2

OPERATIONAL DESCRIPTION

The 8185 has been designed to provide for direct interface to the multiplexed bus structure and bus timing of the 8085A microprocessor.

--

RST7,5 HLDA -- AST6,S 8085A SOD '-- RST5,5 SID - INTR 9, r-- 1NTA RESET

r1D~

TRAP X, X, RESET IN -

HOLD

At the beginning of an 8185 memory access cycle, the 8- bit address on ADo-7, As and Ag, and the status of CEI and CE2 are all latched internally in the 8185 by the falling edge of ALE. If the latched status of both CEI and CE2 are active, the 8185 powers itself up, but no action occurs until the CS line goes low and the appropriate RD or WR control signal input is activated.

90. ADDRi OUT ADDR DATA ALE Ali WIi 101M ROY eLK

,81 ,81 VI' T H- ~ POR~~

The CS input is not latched by the 8185 in order to allow the maximum amount of time for address decoding in selecting the 8185 chip. Maximum power consumption savings will occur, however, only when CEI and CE2 are activated selectively to power down the 8185 when it is not in use. A possible connection would be to wirethe 8085A's 101M line to the 8185's CEI input, thereby keeping the 8185 powered down during 1/0 and interrupt cycles.

WR ~ _ PORT (8) R0 8156 B

ALE 'ORTP(> DATAl c (6)

ADDR " IN 101M TIMER ~ RESET OUT

TABLE 1. TRUTH TABLE FOR POWER DOWN AND FUNCTION ENABLE

ALE p(> PORT Il-rCE A

CE1 CE2 CS {CS*)[2] 8185 Status

"- As.10 V 8355/ 8755A DATAl ADDR

1 X X 0 Power Down and Function Disablell]

101M p(> PORT

X 0 X 0 Power Down and Function Disable[l]

RESET 8

0 1 1 0 Powered Up and Function Disable[l]

0 1 0 1 Powered Up and Enabled

vs! v!c V~D tROG

  • Notes: X: Don't Care. 1: Function Disable implies Data Bus in high impedance state and not writing. 2: CS' = (CEI = 0)
  • (CE2 = 1)
  • (CS = 0) CS· = 1 signifies all chip enables and chip select active

WR

RO

CE, 8185

ALE H-- es, CE2 H-- As, Ag

TABLE 2. TRUTH TABLE FOR CONTROL AND DATA BUS PIN STATUS

ADQ.7

ADo_7 During Data RD WR Portion of Cycle 8185 Function

(CS*)

X X Hi-Impedance No Function

0 1 Data from Memory Read

Figure 1. 8185 in an MCS-85 System.

1 0 Data to Memory Write

1 1 Hi-Impedance Reading, but not Driving Data Bus

4 Chips: 2K Bytes ROM 1 .25K Bytes RAM 38 I/O Lines 1 Counter/Timer 2 Serial I/O Lines 5 Interrupt Inputs

X: Don't Care.

AFN-00201 A-02

Show 7 more labels / short text on this page
Vss Vee · lOW · Ali · ~~ · ROV ~ eLK · Vee · Vee
Page 241 of the Intel mcs-48 user manual — 6-98 AFN-00201 A.()3
Page 241 · click to enlarge
Page 241
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 241)
Fig. 240 · The Single Component . 2" MCS-4S™ S~stem

ABSOLUTE MAXIMUM RATINGS*

'COMMENT

  • Temperature Under Bias .............. o·c to +70·C Storage Temperature .........
  • .... -65·C to +150·C Voltage on Any Pin. . . with Respect to Ground .......
  • ...... -o.5V to +7V Power Dissipation .............. . . . . .. .. . . . . . .. 1.5W

Stresses above thos'e listed under"Absolute Maximum-Ratings" may cause

p~rmanent damage to the device. This is a s~ress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of thts specification is not implied. Exposure to absolute maximum rating conditions for extended periods may, affect device reliability.

D.C. CHARACTERISTICS (TA = o·c to 70·C; Vee = 5V± 5%)

Symbol Parameter Min. Max. Units Test Conditions

VIL Input Low Voltage -0.5 0.8 V

VIH Input High Voltage 2.0 Vcc+0.5 V

VOL Output Low Voltage 0.45 V IOL =2mA

VOH Output High Voltage 2.4 IOH = - 400,uA

hL Input Leakage ±10 ,uA VIN = Vee to OV

ILO Output Leakage Current ±10 ,uA 0.45V ::; VOUT ::; Vce

lec Vce Supply Current

Powered Up 100 mA Powered Down 35 mA

A.C. CHARACTERISTICS (TA = o·c t070·C; Vee = 5V ± 5%)

8185 8185-2 Preliminary Preliminary

Symbol Parameter [11 Min. Max. Min. Max. Units

tAL Address to Latch Set Up Time 50 30 ns

tLA Address Hold Time After Latch 80 30 ns

tLC Latch to READ/WRITE Control 100 40 ns

tRO Valid Data Out Delay from READ Control 170 140 ns

tLO ALE to Data Out Valid ~OO 200 ns

tLL Latch Enable Width 100 70 ns

tROF Data Bus Float Afte~ READ 0 100 0 80 ns

tCL READ/WRITE Contrpl to Latch Enable 20 10 ns

tcc READ/WRITE Control Width. 250 200 ns

tow Data In to WRITE Set Up Time 150 150 ns

two Data In Hold Time After WRITE 20 " 20 ns

tse Chip Select Set Up to Control Line 10 10 ns

tes Chip Select Hold Time After Control 10 .10 ns

tALCE Chip Enable Set Up to ALE Falling 30 10 ns

tLACE Chip Enable Hold Time After ALE 50 30 ns

Input Waveform for A.C. Tests:

6-98 AFN-00201 A.()3

818~~8185-2

Page 242 of the Intel mcs-48 user manual — ALE
Page 242 · click to enlarge
Page 242
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 242)
Fig. 241 · The Single Component . 2" MCS-4S™ S~stem

8185/8185-2

ALE

(CE2'" 1)

ADO·AD7

(READ CYCLE)

(WRITE CYCLE)

(SELECTED)

(DESELECTED)

Figure 3.8185 Timing.

Show 4 more labels / short text on this page
tEE, =0)- · WR,Ro · (Aa, Ag) · 6-99 AFN'00201A-tl4
Page 243 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 243 · click to enlarge
Page 243
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 243)
Fig. 242 · The Single Component . 2" MCS-4S™ S~stem
Page 244 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 244 · click to enlarge
Page 244
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 244)
Fig. 243 · The Single Component . 2" MCS-4S™ S~stem
Page 245 of the Intel mcs-48 user manual — AFN-01462A-01
Page 245 · click to enlarge
Page 245
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 245)
Fig. 244 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751 SINGLE-COMPONENT 8-BIT MICROCOMPUTER

  • S031 - Control Oriented CPU With RAM and I/O
  • S051 - An S031 With Factory Mask-Programmable ROM
  • S751 - An S031 With User Programmable/Erasable EPROM
  • 4K x S ROM/EPROM
  • Boolean Processor
  • 128 x S RAM
  • MCS-4STM Architecture Enhanced with:
  • Four S-Bit Ports, 32 I/O Lines
  • Non-Paged Jumps
  • Two 16-Bit Timer/Event Counters
  • Direct Addressing
  • High-Performance Full-Duplex
  • Four S-Register Banks Serial Channel
  • Stack Depth Up to 12S-Bytes
  • External Memory Expandable to 12SK
  • Multiply, Divide, Subtract, Compare
  • Compatible with MCS-SOTM /MCS-S5™
  • Most Instructions Execute in 1ps Peripherals
  • 4ps Multiply and Divide

The Intel® 8031/8051/8751 is a stand-alone, high-performance single-chip computer fabricated with Intel's highly-reliable +5 Volt, depletion-load, N-Channel, silicon-gate HMOS technology and packaged in a 40-pin DIP. It provides the hardware features, architectural enhancements and new instructions that are necessary to make it a powerful and cost effective controller for applications requiring up to 64K bytes of program memory and/or up to 64K bytes of data storage. The 8051/8751 contains a non-volatile 4K x 8 read only program memory; a volatile 128 x 8 read/write data memory; 32 I/O lines; two 16-bit timer/counters; a five-source, two-priority-Ievel, nested interrupt structure; a serial I/O port for either multi-processor communications, I/O expansion, or full duplex UART; and on-chip oscillator and clock circuits. The 8031 is identical, except that it lacks the program memory. For systems that require extra capability, the 8051 can be expanded using standard TTL compatible memories and the byte oriented MCS-80 and MCS-85 peripherals. The 8051 microcomputer, like its 8048 predecessor, is efficient both as a controller and as an arithmetic processor. The 8051 has extensive facilities for binary and BCD arithmetic and excels in bit-handling capa- bilities. Efficient use of program memory results from an instruction set consisting of 44% one-byte, 41% two-byte, and 15% three-byte instructions. With a 12 MHz crystal, 58% of the instructions execute in 1,us, 40% in 2,us and multiply and divide require only 4,us. Among the many instructions added to the standard 8048 instruction set are multiply, divide, subtract and compare.

FREQUENCY REFERENCE

L-""..-....J 1

RXO __ I TXD4-

1 1 ........... -...,.-11

~-+- ... INT1 .... ~

TO :!i Tl A- m

Rb

CONTROL PARALLEL PORTS, ADDRESS/DATA 8US, AND 110 PINS

SERIAL SERIAL IN OUT

Figure 1. Pin Configuration

Figure 2. Logic Symbol

Figure 3. Block Diagram

AFN-01462A-01

r---""' , 1 · (

Page 246 of the Intel mcs-48 user manual — PROGRAM COUNTER
Page 246 · click to enlarge
Page 246
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 246)
Fig. 245 · The Single Component . 2" MCS-4S™ S~stem

inter 8031/8051/8751

1.0 INTRODUCTION This data sheet provides an introduction to the 8051 family. A detailed description of the hardware re- quired to expand the 8051 with more program mem- ory, data memory, I/O, specialized peripherals and into multiprocessor configurations is described in the 8051 Family User's Manual.

modified and updated in the field.

2.0 MACRO-VIEW OF THE 8051 ARCHITECTURE On a single die the 8051 microcomputer combines CPU; non-volatile 4K x 8 read-only program me·mory; volatile 128 x 8 read/write data memory; 321/0 lines; two 16-bit timer/event counters; a five-source, two- priority-level, nested interrupt structure; serial I/O port for either multi-processor communciations, I/O expansion, or full duplex UART; and on-Chip oscilla- tor and clock circuits. This section will provide an overview of the 8051 by providing a high-level de- scription of its major elements: the CPU architecture and the on-chip functions peripheral to the CPU. The generic term ".8051" is used to refer collectively to the 8031,8051, and 8751.

1.1 THE 8051 FAMILY The 8051 is a stand-alone high-performance single-

chip computer intended for use in sophisticated real-time applications such as instrumentation, industrial control and intelligent computer periph- erals. It provides the hardware features, architectural enhancements and new instructions that make it a powerful and cost effective controller for applications requiring up to 64K-bytes of program memory and/or up to 64K-bytes of data storage. A Block Diagram is shown in Figure 3. The 8031 is a control-oriented CPU without on-chip program memory. It can address 64K-bytes of external Program Memory in addition to 64K-bytes of External Data Memory. For systems requiring extra capability, each member of the 8051 family can be expanded using standard memories and the byte oriented MCS-80 and MCS-85 peripherals. The 8051 is an 8031 with the lower 4K-bytes of Program Memory filled with on-chip mask programmable ROM while the 8751 has 4K-bytes of UV-light- erasable/electrically-program mabie ROM. The three pin-compatible versions of this com- ponent reduce development problems to a minimum and provide maximum flexibility. The 8751 is well suited for development, prototyping, low-volume production and applications requiring field updates; the 8051 for low-cost, high volume production; and the 8031 for applications desiring the flexibility of external Program Memory which can be easily

2.1 8051 CPU ARCHITECTURE The 8051 CPU manipulates operands in four memory spaces. These are the 64K-byte Program Memory, 64K-byte External Data Memory, 384-byte Internal Data Memory and 16-bit Program Counter spaces. The Internal Data Memory address space is further divided into the 256-byte Internal Data RAM and 128-byte Special Function Register (SFR) address spaces shown in Figure 2.1. Four Register Banks (each with eight registers), 128 addressable bits, and the stack reside in the Internal Data RAM. The stack depth is limited only by the available Internal Data RAM and its location is determined by the 8-bit stack pointer. All registers except the Program Counter and the four 8-Register Banks reside in the Special Function Register address space. These memory mapped registers include arithmetic regis- ters, pointers, I/O ports, interrupt system registers, timers and serial port. 128 bit locations in the SFR address space are addressable as bits. The 8051 con- tains 128 bytes of Internal Data RAM and 20 SFRs.

!

64K

64K

EXTERNAL

OVERLAPPED SPACE I

4095 Il

-------

~r-----A

12: I I 128 I

INTERNAL 255 I I 255 I

I 0 ~ PROGRAM MEMORY

' ... '

' ... '

PROGRAM COUNTER

INTERNAL DATA RAM

SPECIAL FUNCTION REGISTERS

EXTERNAL DATA MEMORY

INTERNAL DATA MEMORY

Figure 2.1. 8051 Family Memory Organization

AFN-01462A-Q2

, · ,

Page 247 of the Intel mcs-48 user manual — inter 8031/8051/8751
Page 247 · click to enlarge
Page 247
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 247)
Fig. 246 · The Single Component . 2" MCS-4S™ S~stem

inter 8031/8051/8751

2.2 ON-CHIP PERIPHERAL FUNCTIONS Thus far only the CPU and memory spaces of the 8051 have been described. In addition to the CPU and memories, an interrupt system, extensive I/O facilities, and several peripheral functions are inte- grated on-Chip to relieve the CPU of repetitious, complicated or time-critical tasks and to permit stringent real-time control of external system inter- faces. The extensive I/O facilities include the I/O pins, parallel I/O ports, bidirectional address/data bus and the serial port for I/O expansion. The CPU peripheral functions integrated on-chip are the two 16-bit counters and the serial port. All of these work together to greatly boost system performance.

The 8051 provides a non-paged Program Memory address space to accommodate relocatable code. Conditional branches are performed relative to the Program Counter. The register-indirect jump permits branching relative to a 16-bit base register with an offset provided by an 8-bit index register. Sixteen-bit jumps and calls permit branching to any location in the contiguous 64K Program Memory address space. The 8051 has five methods for addressing source operands: Register, Direct, Register-Indirect, Im- mediate and Base-Register- plus Index-Register-

Indirect Addressing. The first three methods can be used for addressing destination operands. Most instructions have a "destination, source" field that specifies the data type, addressing methods and operands involved. For operations other than moves, the destination operand is also a source operand. Registers in the four 8-Register Banks can be accessed through Register, Direct, or Register-

2.2.1 Interrupt System External events and the real-time-driven on-phip peripherals require service by the CPU asynchronous to the execution of any particular section of code. To tie the asynchronous activities of these functions to normal program execution, a sophisticated mul- tiple-source, two-priority~level, nested interrupt sys- tem is provided. Interrupt response latency ranges from 3ps to 711S when using a 12 MHz crystal. The 8051 acknowledges interrupt requests from five sources: Two from external sources via the INTO and iN'R pins, one from each of the two internal counters and one from the serial I/O port. Each

Indirect Addressing; the 128 bytes of Internal Data RAM through Direct or Register-Indirect Addressing; and the Special Function Registers through Direct Addressing. External Data Memory is accessed through Register-Indirect Addressing. Look-Up- Tables resident in Program Memory can be accessed through Base-Register- plus Index-Register- Indirect Addressing. The 8051 is classified as an 8-bit machine since the internal ROM, RAM, Special Function Registers, Arithmetic/Logic Unit and external data bus are each 8-bits wide. The 8051 performs operations on bit, nibble, byte and double-byte data types. The 8051 has extensive facilities for byte transfer, logic, and integer arithmetic operations. It excels at bit handling since data transfer, logic and condi- tional branch operations can be performed directly on Boolean variables. The 8051's instruction set is an enhancement of the instruction set familiar to MCS-48 users. It is enhanced to allow expansion of on-Chip CPU peripherals and to optimize byte efficiency and execution speed. Op codes were reassigned to add new high-power operations and to permit new addressing modes which make the old operations more orthogonal. Efficient use of program memory results from an instruction set consisting of 49 single-byte, 45 tWO-byte and 17 three-byte instruc- tions. When using a 12 MHz oscillator, 64 instructions execute in 1/.1s and 45 instructions execute in '2/.Js. The remainin,g instructions (multiply and divide)

interrupt vectors to a separate location in Program Memory for its service program. Each of the five sources can be assigned to either of two priority levels and can be independently enabled and dis- abled. Additionally all enabled sources can be globally disabled or enabled. Each external interrupt is pro- grammable as either level- or transition-activated and is active-low to allow the "wire or-ing" of several interrupt sources to the input pin. The interrupt system is shown diagrammatically in Figure 2.2

2.2.2 1/0 Facilities The 8051 has instructions that treat its 32 I/O lines as 32 individually addressable bits and as four parallel 8-bit ports addressable as Ports 0,1,2 and 3. Ports 0, 2 and 3 can also assume other functions. Port 0 provides the multiplexed low-order address ahd data bus used for expanding the 8051 with standard memories and peripherals. Port 2 provides the high-order address bus when expanding the 8051 with external Program Memory or more than 256 bytes of External Data Memory. The pins of Port 3 can be configured individually to provide ex- ternal interrupt request inputs, counter inputs, the serial port's receiver input and transmitter output, and to generate the control signals used for reading and writing External Data Memory. The generation or use of an alternate function on a Port 3 pin is done automatically by the 8051 as long as the pin

require only 4/.1s. The number of bytes in each instruc- tion and the number of oscillator periods required for execution are listed in the appended 8051 Instruc- tion Set Summary.

AFN-ol482A-03

Page 248 of the Intel mcs-48 user manual — AFN-01462A-04
Page 248 · click to enlarge
Page 248
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 248)
Fig. 247 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

POLLING HAROWARE

INPUT LEVEL AND INTERRUPT ENABLE INTERRUPT REQUEST REGISTER: FLAG REGISTERS: SOURCE GLOBAL ENABLE ENABLE

INTERRUPT PRIORITY REGISTER:

~ ----

EXTERNAL V INTO -

f ..

HIGH PRIORITY INTERRUPT REOUEST

EXTERNAL V INT1 -

INTERNAL V

TIMER 0

SOURCE

~

VECTOR

I.D.

INT R08T'1

INTERNAL V

TIMER 1

~

INTERNAL~ V SERIAL

LOW PRIORITY INTERRUPT REQUEST

~l

  • FIVE INTERRUPT SOURCES
  • EACH INTERRUPT CAN BE INDIVIDUALLY ENABLED/DISABLED
  • ENABLED INTERRUPTS CAN BE GLOBALLY ENABLED/DISABLED
  • EACH INTERRUPT CAN BE ASSIGNED TO EITHER OF TWO PRIORITY LEVELS
  • EACH INTERRUPT VECTORS TO A SEPARATE LOCATION IN PROGRAM MEMORY
  • INTERRUPT NESTING TO TWO LEVELS
  • EXTERNAL INTERRUPT REQUESTS CAN BE PROGRAMMED TO BE LEVEL~ OR TRANSITION-ACTIVATED

Figure 2.2. 8051 Interrupt System

pullup resistor of approximately 20K- to 40K-ohms is provided to hold the external driver's loading at a TTL high level. Ports 1, 2 and 3 can sink/source one TTL load.

is configured as an input. The configuration of the ports is shown on the 8051 Family Logic Symbol of Figure 2. 2.2.2.1 OPEN DRAIN I/O PINS Each pin of Port 0 can be configured as an open drain output or as a high impedance input. Resetting the microcomputer programs each pin as an input by writing a one (1) to the pin. If a zero (0) is later written to the pin it becomes configured as an output and will continuously sink current. Re-writing the pin to a one (1) will place its output driver in a high- impedance state and configure the pin as an input. Each I/O pin of Port 0 can sink two TTL loads.

2.2.2:3 MICROPROCESSOR BUS A microprocessor bus is provided to permit the 8051 to solve a wide range of problems and to allow the

upward growth of user products. This multiplexed address and data bus provides an interface com- patible with standard memories, MCS-80 peripherals and the MCS-85 memories that include on-chip programmable I/O ports and timing functions. These are summarized in the 8051 Microcomputer Expan- sion Cdmponents chart of Figure 2.3. When accessing external memory the high-order address is emitted on Port 2 and the low-order address on Port O. The ALE signal is provided for strobing the address into an external latch. The program store enable (PSEN) signal is provided for enabling an external memory device to Port 0 during a read from the Program Memory address space. When the MOVX instruction is executed Port 3 auto- matically generates the read (RD) Signal for enabling an External. Data Memory device to Port 0 or gener- ates the write (WR) signal for strobing the external memory device with the data emitted by Port O. Port o emits the address and data to the external memory through a push/pull driver that can sink/source two

2.2:2.2 QUASI-BIDIRECTIONAL I/O PINS Ports 1, 2 and 3 are quasi-bidirectional buffers. Resetting the microcomputer programs each pin as an input by writing a one (1) to the pin. If a zero (0) is later written to the pin it becomes configured as an output and will continuously sink current. Any pin that is configured as an output will be recon- figured as an input when a one (1) is written to the pin. Simultaneous to this reconfiguration the output driver of the quasi-bidirectional port will source current for two. oscillator periods. Since current is sourced bnly when a bit previously written to a zero

(0) is updated to a one (1), a pin programmed as an input will not source current into the TTL gate that is driving it if the pin is later written with.anoth.er one (1). Since the quasi-bidirectional output driver sources current for only two oscillator periods, an internal

TTL loads. At the end of the read/write bus cycle Port 0 is automatically reprogrammed to its high

AFN-01462A-04

tNT ROST 0 · PORT "Ft · ~

Page 249 of the Intel mcs-48 user manual — AFN-01462A~05
Page 249 · click to enlarge
Page 249
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 249)
Fig. 248 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

Program Crystal Or Data Frequency Category 1.0. Description Comments Memory MHz (Max)

I/O Expander 8 Line I/O Expander Low Cost I/O Expander 12 (Shift Register)

Standard EPROMs 2758 1 K x 8 450 ns Light User programmable and P 9 Erasable erasable. 2716-1 2K x 8 350 ns Light P 11 Erasable 2732 4K x 8 450 ns Light P 9 Erasable 2732A 4K x 8 250 ns Light P 12 Erasable

Standard RAMs 2114A 1Kx4100nsRAM Data memory can be D 12 2148 1 K x 4 70 ns RAM easily expanded using D 12 2142-2 1 K x 4 200 ns RAM standard NMOS RAMs. D 12 "' C Multiplexed Address/ 8185A 1 K x 8 300 ns RAM D 12

1. 8283 8-Bit I/O Port D 12 co 8255A Programmable Three 8-bit programmable D 12 23 co Peripheral Interface I/O ports. en 8251A Programmable ComSerial Communications D 12 U munications Interface Receiver/Transmitter. :2

Universal Peripheral 8041A ROM Program Memory User programmable to D/P 12/11.7 Interfaces 8741A EPROM Program perform custom I/O and D/P 12/11.7 Memory control functions.

Memories with 8155-2 256 x 8 330 ns RAM D 12 on-chip I/O and 8355-2 2K x 8 330 ns ROM P 11.6 Peripheral Functions. 8755-2 2K x 8 330 ns EPROM P 11.6

Figure 2.3. 8051 Microcomputer Expansion Components

2.2.3 Timer/Event Counters The 8051 contains two 16-bitcountersformeasuring time intervals, measuring pulse widths, counting events and generating precise, periodic interrupt re- quests. Each can be programmed independently to operate similar toan 80488-bittimerwith divide by32 prescaler or as an 8-bit counter with divide by 32 pre- scaler (Mode 0), as a 16-bit time-interval or event counter (Mode 1), or as an 8-bittime-interval orevent counter with automatic reload upon overflow (Mode 2).

impedance state and Port 2 is returned to the state it had prior to the bus cycle. The 8051 generates the address, data and control signals needed by memory and I/O devices ina manner that minimizes the requirements placed on external program and data memories. At 12 MHz, the Program Memory cycle time is 500ns and the access times required from stable address and PSEN are approximately 320ns and 150ns respectively. The External Data Memory cycle time is 1J,Js and the access times required from stable address and from read (RD) or write (WR) command are approximately 600ns and 250ns respectively.

Additionally, counter 0 can be programmed to a mode that divides it into one 8-bit time-interval or

AFN-01462A~05

Page 250 of the Intel mcs-48 user manual — AFN·01462A·06 7-6
Page 250 · click to enlarge
Page 250
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 250)
Fig. 249 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

event counter and one 8-bit time-interval counter

(Mode 3). When counter 0 is in Mode 3, counter 1 can be programmed to any of the three aforementioned modes, although it cannot set an interrupt request flag or generate an interrupt. This mode is useful because counter 1's overflow can be used to pulse the serial port's transmission-rate generator. Along with their multiple operating modes and 16-bit pre- cision, the counters can also handle very high input frequencies. These range from 0.1 MHz to 1.0 MHz (for 1.2 MHz to 12 MHz crystal) when programmed for an input that is a division by 12 of the oscillator frequency and from 0 Hz to an upper limit of 50 KHz to 0.5 MHz (for 1.2 MHz to 12 MHz crystal) when programmed for external inputs. Both internal and external inputs can be gated to the counter by a second external source for directly measuring pulse widths. The counters are started and stopped under software contro/. Each counter sets its interrupt request flag when it overflows from all ones to all zeros (or auto- reload value). The operating modes and input sources are summarized in Figures 2.4A and 2.4B. The effects of the configuration flags and the status flags are shown in Figures 2.5A and 2.5B. 2.2.4 Serial Communications The 8051 has a serial I/O port that is useful for serially linking peripheral devices as well as multiple 8051s through standard asynchronous protocols with full-duplex operation. The serial port also has a synchronous mode for expansion of I/O lines using CMOS and TTL shift registers. This hardware serial communications interface saves ROM code and permits a much higher transmission rate than could be achieved through software. In response to a serial port interrupt request the CPU has only to read/write the serial port's buffer to service the serial link. A block diagram of the serial port is shown in Figure 2.6. Methods for linking UART (universal asynchro- nous receiver/transmitter) devices are shown in

OVERFLOW (INTERRUPT '-- J - ~~~~~ST)

  • 8-BIT TIMER/COUNTER WITH PRESCALER
  • 16-81T TIMER/COUNTER
  • 8-BIT AUTO·RELOAD TIMER/COUNTER

PULSE TO SERIAL PORT

Figure 2.4.A Timer/Event Counter

Modes 0, 1 and 2

OVERFLOW (INTERRUPT REQUEST) "- ___ J _FLAG 1

  • 8-BIT TIMER (INTERRUPT REQUEST) FLAG 0

L .OVERFLOW

  • 8-BIT TIMER/COUNTER

PULSE TO SERIAL PORT

Figure 2.4.B Timer/Event Counter 0 In Mode 3

INTERRUPT REQUEST

COUNTER 0

MODE 0: .·BIT TIMER WITH 5·BIT PRESCALER/

.·BIT COUNTER WITH 5·BIT PRESCALER MODE 1: 16·BIT TIMER/COUNTER MODE 2: .·BIT AUTO·RELOAD TIMER/COUNTER MODE 3: .·BIT TIMER COUNTER (TLO)

TO +_'

XTAL1

Figure 2.S.A Timer/Counter 0 Control and Status Flag Circuitry

AFN·01462A·06 7-6

GATE COUNTER/TiMER RUN

Page 251 of the Intel mcs-48 user manual — ,.----------, INTERRUPT
Page 251 · click to enlarge
Page 251
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 251)
Fig. 250 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

GATE COUNTER/TIMER RUN INTERRUPT REQUEST

TIMERI COUNTER 0 IN MODE 3

PULSE TO SERIAL PORT

COUNTER 1

MODE 0: S-BIT TIMER WITH PRESCALERI

8-BIT COUNTER WITH PRESCALER MODE 1: 16-BIT TIMER/COUNTER MODE 2: S-BIT AUTO-RELOAD TIC MODE 3: PREVENTS INCREMENTING OF TIC 1

l ~:=- __ J:~~====~[) .j 8-BITTIMER (THO)

COUNTER 0

Figure 2.5.8 Timer/Counter 1 Control and Status Flag Circuitry ,------ -------~N;,;T;;;--I

I I I I I I I

,---------, INTERRUPT

r-----*iU ___ ...,.. ..... ___ J-----.--~~~~SMIT

I L ________ L-_--_--_--_----_--_--_----_--.....I--'-~;~:IVE

Figure 2.6.A Serial Port-Synchronous Mode 0

.10 OR 11 BIT FRAME I- ~R~S;;"T-;; - 1

  • BAUD RATE I GENERATION FROM OSCILLATOR OR TIMER 1 I
  • ADDRESS FRAME I RECOGNITION

,. , INTERRUPT

t____ ..,-.~~~~SMIT 4__ -,.., ___ '"

I I I I I

CRYSTAL OSCILLATOR

TIMER 1 OVERFLOW

RECEIVER

=:;-;=;-:;:=-:;;;=-=:;-;;=I::;N=T=ER;:-R=U:;:P~T======c;;;;If__-~~i!1VE

Figure 2.6.8 Serial Port-UART Modes 1, 2, and 3

Page 252 of the Intel mcs-48 user manual — AFN-01462A-08
Page 252 · click to enlarge
Page 252
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 252)
Fig. 251 · The Single Component . 2" MCS-4S™ S~stem

inter 8031/8051/8751

i J

TXD -

TXD RXD TXD RXD TXD RXD RXD TXD TXD RXD TXD RXD

RXD

TXD PORT PIN CTS

RXD ~

8051 8051 6051 8051 8051 8051

A. MULTI-80s1 INTERCONNECT -HALF DUPLEX B. MULTI-80s1 INTERCONNECT -FULL DUPLEX

C. 8051-8251 INTERFACE

Figure 2.7. UART Interfacing Schemes

Figure 2.7 and a method for 110 expansion is shown in Figure 2.8. The full-duplex serial I/O port provides asyn- chronous modes to facilitate communications 'vvith

standard UART devices, such as printers and CRT terminals, or communications with other 8051s in

multi-processor systems. The receiver is double buffered to eliminate the overrun that would occur if the CPU failed to respond to the receiver's interrupt before the beginning of the next frame. Double buffer- ing of the transmitter is not needed since the 8051 can generally maintain the serial link at its maximum rate without it. A minor degradation in transmission rate can occur in rare events such as when the servic- ing of the transmitter has to wait for a lengthy inter- rupt service program to complete. In asynchronous modes, false start-bit rejection is provided on re- ceived frames. For noise rejection a best two-out-of- three vote is taken on three samples near the center of each received bit.

DATA

CLOCK

PORT PIN

EN

B. 1/0 OUTPUT EXPANSION

Figure 2.8. 1/0 Expansion Technique

When interfacing with standard UART devices the serial channel can be programmed to a mode (Mode 1) that transmits/receives a ten-bit frame or pro- grammed to a mode (Mode 2 or 3) that transmits/ receives an eleven-bit frame as shown in Figure 2.9. The frame consists of a start bit, eight or nine data bits and a stop bit. In Modes 1 and 3, the transmission- rate timing circuitry receives a pulse from counter 1 each time the counter overflows. The input to counter

TTY I I~

MODE

START 7·BIT DATA PARITY~

2 STOP {"

TYPICAL START 7-81T DATA MARK STOP

CRT

I I I START 8-BIT DATA PARITY STOP r I

1 can be an external source or a division by 12 of the oscillator frequency. The auto-reload mode of the counter provides communication rates of 122 to 31,250 bits per second (including start and stop bits) for a 12 MHz crystal. In Mode 2 the communication

MULTI- STAAT 8-BIT DATA ADDRi STOP PROCESSOR DATA COMMUNICA-

TIONS I I

rate is a division by 64 of the oscillator frequency yielding a transmission rate of 187,500 bits per second (including start and stop bits) for a 12 MHz crystal. Distributed processing offers a faster, more power- ful system than can be provided by a single CPU processor. This results from a hierarchy of intercon- nected processors, each with its own memories and

START 9·BIT DATA STOP

10 S-BITS ~DATA EXPANSION

---... eLK

Figure 2.9. Typical Frame Formats

AFN-01462A-08

Show 4 more labels / short text on this page
8051 8251 · os · 2&3 · 2 & 3
Page 253 of the Intel mcs-48 user manual — AFN·01482A-<JS
Page 253 · click to enlarge
Page 253
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 253)
Fig. 252 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

It is also the multiplexed low-order address and data bus when using external memory. It is used for data input and output during programming and verifica- tion. Port 0 can sink/source two TTL loads.

1. Slaves-Configure serial port to interrupt CPU if the received ninth data bit is a one (1). 2. Master-Transmit frame containing address in first 8 data bits and set ninth data bit (Le. ninth data bit designates address frame). 3. Slaves-Serial port interrupts CPU when address frame is received. Interrupt service program compares received address to its address. The slave which has been addressed recon- figures its serial port to interrupt the CPU on all subsequent trans- missions. 4. Master-Transmit control frames and data frames (these will be accepted only by the previous.ly addressed slave).

Port 1 Port 1 is an S-bit quasi-bidirectional I/O port. It is used for the low-order address byte during program- ming and verification. Port 1 can sink/source one TTL load. Port 2 Port 2 is an S-bit quasi-bidirectional 110 port. It also emits the high-order 8 bits of address when accessing external memory. It is used for the high-order address and the control signals during programming and verification. Port 2 can sink/source one TTL load.

Port 3 Port 3 is an S-bit quasi-bidirectional I/O po.rt. It also contains the interrupt, timer, serial port and RD and WR pins that are used by various options. The out- put latch corresponding to a special function must be programmed to a one (1) for that function to operate. Port 3 can sink/source one TTL load. The special functions are assigned to the pins of Port 3, as follows: -RXD/data (P3.0). Serial port's receiver data input

Figure 2.10. Protocol for Multi-Processor

Communications

I/O. In multiprocessing, a host 8051 microcomputer controls a multiplicity of 8051s configured to operate simultaneously on separate portions of the program, each controlling a portion of the overall process. The interconnected 8051s reduce the load on the host processor and result in a low-cost system of data transmission. This form of distributed process- ing is especially effective in systems where controls in a complex process are required at physically separated locations.

(asynchronous) or data input/output (synchro- nous). - TXD/clock (P3.1). Serial port's. transmitter data

output (asynchronous) or clock output (synchro- nous). -INTO (P3.2). Interrupt 0 input or gate control input

for counter O. -INT1 (P3.3). Interrupt 1 input or gate control

In Modes 2 and·3 the automatic wake-up of slave processors through interrupt driven address-frame recognition is provided to facilitate interprocessor communications. The protocol for interprocessor communications is shown in Figure 2.10.

input for counter 1. - TO (P3.4). Input to counter O. - T1 (P3.5). Input to counter 1. - WR (P3.6). The write control signal latches the data byte from Port 0 into the External Data Memory. - RD (P3.7). The read control signal enables External

In synchronous mode (Mode 0) the high speed serial port provides an efficient, low-cost method of expand- ing I/O lines using standard TTL and CMOS shift registers. The serial channel provides a clock output for synchronizing the shifting of bits to/from an external register. The data rate is a division by 12 of the oscillator frequency and is 1 M bits per second at 12 MHz.

Data Memory to Port O.

RSTIVPD A low to high transition on this pin (at approximately 3V) resets the S051. If VpD is held within its spec (approximately +5V). while VCC drops below spec, VpD will provide standby power to the RAM. When VpD is low, the RAM's current is drawn from VCC· A small internal resistor permits power-on reset using only a capacitor connected to VCC· ALE/PROG Provides Address Latch Enable output used for latching the address into external memory during normal operation. Receives the program pulse

2.3 8051 FAMILY PIN DESCRIPTION

VSS Circuit ground potential. Vee +5V power supply during operation, programming and verification. Port 0 Port 0 is an S-bit open drain bidirectional I/O port.

AFN·01482A-<JS

Page 254 of the Intel mcs-48 user manual — AFN-01462A-10
Page 254 · click to enlarge
Page 254
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 254)
Fig. 253 · The Single Component . 2" MCS-4S™ S~stem

inter 8031/8051/8751

input during EPROM programming. PSEN The Program Store Enable output is a control signal that enables the external Program Memory to the bus during normal fetch operations. EAIVOO When held at a TTL high level, the 8051 executes instructions from the internal ROM/EPROM when the PC is less than 4096. When held at a TTL low level, the 8051 fetches all instuctions from external

assembly language instructions into machine exe- cutable object code. These assembly language mnemonics are easier to program and are more readable than binary or hexidecimal machine in- structions. Also, by allowing the programmer to give symbolic names to memory locations rather than absolute addresses, software design and debug are performed more quickly and reliably.

ASM51 provides symbolic access forthe many use- ful addressing methods in the 8051 architecture which reference bit, nibble and byte locations.

Program Memory. The pin also receives the 21V EPROM programming supply voltage. XTAL1 Input to the oscillator's high gain amplifier. A crystal or external source can be used. XTAL2 Output from the oscillator's amplifier. Required when a crystal is used.

The assembler supports macro definitions and calls. This provides a convenient means of program- ming a frequently used code sequence only once. The assembler also provides conditional assembly capabilities. Cross referencing is provided in the symbol table listing, which shows the user the lines in which each symbol was defined and referenced.

If an 8051 program contains errors, the assembler provides a comprehensive set of error diagnostics, which are included in the assembly listing.

The object code generated may be used to program the 8751 EPROM version of the chip or sent to Intel for fabricating the 8051 ROM version. The assembler output can also be debugged using the

ICE-51 in-circuit emulator.

8048 to 8051 Assembly Language Converter Utility Program (CONV51) The 8048 to 8051 assembly language converter is a utility to help users of the MCS-48 family of micro- computers upgrade their designs to the high per- formance 8051 architecture. By converting 8048 source code to 8051 source code, the investment in software developed for the 8048 is maintained when the system is upgraded.

  • 8051 FAMILY DEVELOPMENT SYSTEM AND SOFTWARE SUPPORT The 8051 is supported by a total range of Intel development tools. This broad range of support shortens the product development cycle and thus brings the product to market sooner.
  • ASM51 Absolute macro assemblerfor the 8051.
  • CONV51 8048 assembly language source code to 8051 assembly source code conversion program.
  • EM-51 ,8051/8751 emulator board that uses a

8051 Emulation Board (EM-51) The EM-51 8051 emulation board is a small (2.85" x 5.25") board which emulates an 8031/8051/8751 microcomputer using standard PROMs or EPROMs in place of the 8051's on-chip program memory. The board includes a modified 8051 microcomputer, supporting circuits, and two sockets for program memory. The user may select two 2716 EPROMs, a 2732 EPROM, or two 3636 bipolar PROMs depend- ing on crystal frequency and power requirements.

  • modified 8051 and an EPROM.
  • ICE-51'· Real-time in-circuit emulator.
  • UPP-8051 PROM programmer personality card.
  • 8051 Workshop.

8051 Software Development Package (ASM51 and CONV51) The 8051 software development package provides development system support for the powerful 8051 family of single chip microcomputers. The package contains a symbolic macro assembler and a 8048 to 8051 source code converter. This diskette-based software package runs under ISIS-II on any Intellec® Microcomputer Development System with 64K bytes of memory.

8051 In-Circuit Emulator (ICE-51™) The 8051 In-Circuit Emulator resides in the Intellec development system. The development system interfaces with the user's 8051 system through an in-cable buffer box with the cable terminating in an 8051 pin-compatible plug. Together these replace the 8051 device in the system. With the emulator plug in place, the designer can exercise the system in real-time while collecting up to 255 instruction

8051 Macro Assembler (ASM51) The 8051 macro assembler translates symbolic 8051

AFN-01462A-10

Page 255 of the Intel mcs-48 user manual — AFN-01462A~11
Page 255 · click to enlarge
Page 255
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 255)
Fig. 254 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

cycles of real-time data. In addition, he can single step the system program. Static RAM memory is available in the ICE-51 buffer box to emulate the 8051 's internal and external pro- gram memories and external data memory. The designer can display and alter the contents of the replacement memory in the ICE-51 buffer box, internal 8051 registers, internal data RAM, and Special Function Registers. Symbolic reference capability allows the designer to use meaningful symbols provided by ASM51 rather than absolute values when examining and modifying these mem- ory, register, flag, and I/O locations in his system.

Programmer is an Intellec system peripheral cap- able of programming and verifying the 8751 when the UPP-851 is inserted. Programming and verifica- tion operations are initiated from the Intellec de- velopment system console and are controlled by the Universal PROM Mapper (UPM) program. 8051 Workshop The workshop provides the design engineer or system designer hands-on experience with the 8051 microcomputers. The course includes explanation of the Intel 8051 architecture, system timing and input/output design. Lab sessions will allow the attendee to gain detailed familiarity with the 8051 family and support tools. INSITE™ Library The INSITE Library contains 8051 utilities and applications programs.

Universal PROM Programmer Personality Card (UPP-851) The UPP-851 is a personality card for the UPP-103 Universal PROM Programmer. The Universal PROM

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute MaxImum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this speCification is not implied. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability.

  • Ambient Temperature Under Bias .......... o· e to 70· e Storage Temperature ................
  • -65· e to +150· e Voltage on Any Pin With Respect to Ground (VSS) ..
  • .. : ..
  • ...... -0.5V to +7V Power Dissipation ...
  • ...
  • ............... 2 Watts

D.C. CHARACTERISTICS

CONDITIONS; T A = O· C TO 70· C; VCC = SV ± 5%; VSS = OV

Typ Max Units Test Conditions

VIL Input Low Voltage (All except XTAL 1) -0.5

VIL 1 Input Low Voltage (XTAL1) -0.5

TBD V

VIH Input High Voltage 2,0 (All ExceptXTAU. RSTIVPD)

VIH1 Input High Voltage (XTAL 1) TBD

VCC+0,5 V

VIH2 Input High Voltage (RST) 3,0

VCC + 0,5 V

VIH3 Input High Voltage (VpD) 4,5

5,5 V Power Down Only (Vee = 0)

VOL Output Low Voltage (All Outputs Except Port 0)

0.45 V 10L =2 mA

VOU Output Low Voltage (Port 0)

0.45 V 10L =4 mA

VOH Output High Voltage (All Outputs 2.4 Except Port O. ALE and J5'S"Bij)

V IOH=-100/JA

VOH1 Output High Voltage (ALE and PSEN, 2,4 Port 0 In External Bus Mode)

V IOH=-400/JA

ILO Pullup Resistor Current (P1, P2. P3)

-250 /JA .45Vs VIN sVCC

IL01 Output Leakage Current (PO)

:t.10 }JA .45VSVIN sVce

ICC Power Supply Current

150 mA TA=25· C

IPD Power Down Supply Current

20 mA T A= 25° C, VpD = 5V, Vce=OV

CIO Capacitance Of I/O Buffer

10 pF fc=1 MHz

AFN-01462A~11

Symbol Parameter Min · Vec+0,5 V

Page 256 of the Intel mcs-48 user manual — AFN-01462A-12 7-12
Page 256 · click to enlarge
Page 256
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 256)
Fig. 255 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

A.C.CHARACTERISTICS

CONDITIONS: TA = O°C TO 70°C; VCC=5V±5% Port 0, ALE and PSEN Outputs - CL = 150 PF;

All Other Outputs - CL = 80PF

Program Memory Characteristics

Variable Clock 12M Hz Clock 1/TCLCL=1.2 MHz to 12 MHz

Symbol Parameter Min. Max. Units Min. Max. Units

TCLQi.. Oscillator Period 83 ns ns

TCY Min Instruction Cycle Time 1.0 I1s 12TCLCL 12TCLCL ns

TLHLL ALE Pulse Width 140 ns 2TCLCL-30 ns

TAVLL Address Set Up To ALE 45 ns TCLCL-40 ns

TLLAX Address Hold After ALE 50 ns TCLCL-35 ns

TPLPH PSEN Width 230 ns 3TCLCL-20 ns

TLHLH PSEN, ALE Cycle Time 500 ns 6TCLCL ns

TPLDV PSEN To Valid Data In 150 ns 3TCLCL-100 ns

TPHDX Input Data Hold After PSEN 0 ns 0 ns

TPHDZ Input Data Float After PSEN 75 ns TCLCL-10 ns

TAVDV Address To Valid Data In 320 ns 5TCLCL-100 ns

TAZPL Address Float To PSEN 0 ns 0 ns

External Data Memory Characteristics

12MHz Clock Variable Clock

Symbol Parameter Min. Max. Units Min. Max. Units

TRLRH RD Pulse Width 400 ns 6TCLCL-100 ns

TWLWH WR Pulse Width 400 ns 6TCLCL-100 ns

TRLDV RDTo Valid Data In 250 ns 5TCLCL-170 ns

TRHDX Data Hold After RD 0 ns 0 ns

TRHDZ Data Float After RD 100 ns 2TCLCL-70 ns

TAVDV Address To Valid Data In 600 ns 9TCLCL-150 ns

TAVWL Address To WR or RD 200 ns 4TCLCL-130 ns

TOVWH Data Setup Before WR 400 ns 7TCLCL-180 ns

TWHOX Data Held After WR 80 ns 2TCLCL-90 ns

Address setup and hold time from ALE are the same for data and program memory.

AFN-01462A-12 7-12

Page 257 of the Intel mcs-48 user manual — TAYWL
Page 257 · click to enlarge
Page 257
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 257)
Fig. 256 · The Single Component . 2" MCS-4S™ S~stem

8031/8051/8751

T12 Tl T2 T3 T4 T5 T& T7 T6 T9 Tl0

TIl T12 T1 T2

OSC

ALE

PORT 2

OR

PORTO

Program Memory Read Cycle

ALE

PSEN

TRLRH

PORT 2 ADDRESS A15-AS

ADD SFR

RESS OR P2

r---TRHDZ ---- r--

~TAYWL

TRLDYI+-

TAYDY

TRHDX-

LOAT }@ ORF

PORTO INSTR IN IFLOAT)< A7AO

FLOAT )< DATA IN

FLOAT

RESS

Data Memory Read Cycle

ALE

PSEN

TWLWH

ADDR SFRP

ESSOR 2

PORT 2 ADDRESS AIS-As

TAYWL

TQYWH

TWHQX--!

ADDR ESS

PORTO (INSTR IN IFLOAT)< A7-AO DATA OUT

OAT OR FL

Data Memory Write Cycle

AFN-01462A-13

RD, Wii

Page 258 of the Intel mcs-48 user manual — AFN-01462A-14
Page 258 · click to enlarge
Page 258

inter 8031/8051/8751

Intel mcs-48 — inter 8031/8051/8751 diagram (page 258)
Fig. 257 · inter 8031/8051/8751

TABLE 2-1 8051 INSTRUCTION SET SUMMARY

Interrupt Response Timf3: To finish execution of current instruction, respond to the interrupt request, push the PC and to vector to the first instruction of the interrupt service program requires 38 to 81 oscillator periods (3 to 7 ps @12MHz).

Internal Data Ram location (0-127) or a SFR (i.e. I/O port, control register, status register, etc. (128-255). -8-bil Internal Data RAM location (!f-255) addressed in-

INSTRUCTIONS THAT AFFECT FLAG SETTINGS'

directly through register Rl or RO. -8-bit constant included in instruction.

-1~bit constant included in instruction. #data #datal6 addr16 -16-bit destinatien address. Used by LCALL & LJMP. A

INSTRUCTION FLAG INSTRUCTION FLAG C OV AC C OV AC ADD X X X CLR C 0 AD DC X X X CPL C X SUBB X X X ANL C, bit X MUL 0 X ANL C,Ibit X DIV 0 X ORL C, bit X DA X ORL C,Ibit X RRC X MOV C, bit X RLC X CJNE X SETB C 1

branch can be anywhere within the 64K-byte Program Memory address space. addrll

-II-bit destination address. Used by ACALL &AJMP. The

branch will be within the same 2K-byte page of program memory as the first byte of the following instruction. -Signed (two's complement) 8-bit offset byte. Used by

SJMP and all conditional jumps. Range is -128 to +127 bytes relative to first byte of the following Instruction. -Direct Addressed bit in Internal Data RAM or Special

Function Register. - New operation not provided by 8048/8049.

'Note that operations on SFR byte address 208 or bit addresses 209- 215 (I.e. the PSW or bits in the PSW) will also affect flag settings.

Oscillalor Mnemonic Description Bytes Periods MOV A,Rn Move register to A 1 12 'MOV A,data Move direct byte to A 12 MOV A,@Ri Move indirect RAM to A 12 MOV A,#data Move immediate data to A 12 MOV Rn,A Move A to register 12 'MOV Rn,dala Move direct byte to register 24 MOV Rn,#data Move immediate data to 12 register 'MOV data,A Move A to direct byte 12 'MOV data,Rn Move register to direct byte 24 'MOV data,data M6ve direct byte to direct 24 byte 'MOV data,@Ri Move indirect RAM to direct 24 byte 'MOV data,#data Move immediate data to 24 direct byte MOV@Ri,A Move A to indirect RAM 12 'MOV @Ri.data Move direct byte to indirect 24 RAM MOV @Ri,#data Move immediate data to 12 indirect RAM 'MOV DPTR, Move 16-bit constant to Data 24 #datal6 Pointer 'MOV C,bit Move direct bit to carry 12 'MOV bit,C Move carry to di rect bit 24 'MOVC A,@A+ Move Program Memory byte 24 DPTR addressed by A+DPTR to A 'MOVC A,@A+PC Move Program Memory byte 24 addressed by A+PC to A MOVX A,@Ri Move External Data (8-bil 24 address) to A 'MOVX A,@DPTR Move External Data (16-bit 24 address) to A MOVX @Ri,A Move A to External Data 24 (8-bit address) 'MOVX @DPTR,A Move A to External Data 24 (16-bit address) 'PUSH data Move direct byte to stack 24 and inc. SP 'POP data Move direct byte from stack 24 and dec. SP XCH A,Rn Exchange register with A 12 'XCH Adata Exchange direct byte with A 12 XCH A,@Ri Exchange indirect RAM 12 with A XCHD A,@Ri Exchange indirect RAM's 12 least sig nibble with A's LSN

Oscillator Mnemonic Description Bytes Periods ANL A,Rn AND register 10 A 1 12 'ANL A.data AND direcl byte to A 12 ANL A,@Ri AND indirect RAM to A 12 ANL A,#dala AND immediate data to A 12 'ANL data,A AND A to direct byte 12 'ANL data,#data AND immediate data to direct 24 byte 'ANL G,bit AND direct bit to carry 24 'ANL C,Ibit AND complement of direct bit 24 to carry ORL A,Rn OR reg ister to A 12 'ORL A,data OR direct byte to A 12 ORL A,@Ri OR indirect RAM to A 12 ORL A,#data OR immediate data to A 12 'ORL dataA OR A to direct byte 12 'ORL data,#data OR immediate data to direct 24 byte 'ORL C,bit OR direct bit to carry 24 'ORL C,Ibit OR complement of direct bit 24 to carry XRL A,Rn Exclusive-OR register to A 12 'XRL A,data Exclusive-OR direct byte to A 12 XRL A,@Ri Exclusive-OR indirect RAM 12 to A XRL A,#data Exclusive-OR immediate 12 data to A 'XRL data,A Exclusive-OR A to direct byte 12 , XRL data,#data Exclusive-OR immediate 24 data to direct byte 'SETB C Set carry 12 'SETS bit Set direct bit 12 CLR A Clear A 12 CLR C Clear carry 12 'GLR bit Clear direct bit 12 CPL A Complement A 12 CPL C Complement carry 12 'CPL bit Complement direct bit 12 RL A Rotate A Left ·1 12 RLC A Rotate A Left through carry 12 RR A Rotate A Right 12 RRC A Rotate A Right through carry 12 SWAP A Rotate A left four (exchange 12 nibbles wi.thin A)

All mnemonics copyrlghled@ Intel Corporation 1980.

AFN-01462A-14

Show 5 more labels / short text on this page
@Ri · rei · bit · Data Transfer · Logic
Page 259 of the Intel mcs-48 user manual — AFN~01462A~15 7-15
Page 259 · click to enlarge
Page 259

inter 8031/8051/8751 ~!ru~lLO[M]OOO&'!ruW

Intel mcs-48 — inter 8031/8051/8751 ~!ru~lLO[M]OOO&'!ruW diagram (page 259)
Fig. 258 · inter 8031/8051/8751 ~!ru~lLO[M]OOO&'!ruW

Arithmetic Control Transfer (Branch) Oscillator Oscillator Mnemonic Oescrlptlon Bytes Periods Mnemonic Description Bytes Periods ADD A,An Add register to A 1 12 AJMP addr 11 Absolute Jump 2 24 "ADD A,data Add direct byte to A 2 12 "LJMP addr16 Long Jump 3 24 ADD A,@Ai Add indirect AAM to A 12 "SJMP rei Short Jump 24 ADD A,#data Add immediate data to A 12 "JMP @A+DPTA Jump indirect relative to 24 ADDC A,An Add register and carry flag to A 12 the DPTA "ADDC A,data Add direct byte and carry flag 12 JZ rei Jump if A is zero 24 to A JNZ rei Jump if A is not zero 24 ADDCA,@Ai Add indirect RAM and carry 12 JC rei Jump if carry is set 24 flag to A JNC rei Jump if carry is not set 24 ADDC A,#data Add immediate data and carry 12 "JB bit,rel Jump relative if direct bit 3 24 flag to A is set "SUBB A,An Subtract register and carry flag 12 • JN8 bitt rei Jump relative if direct bit 3 24 from A is not set "SUBB A,data Subtract direct byte and carry 12 "JBC bit,rel Jump relative if direct bit 24 flag from A is set, then clear bit "SUBBA,@Ai Subtract indirect RAM and 12 "CJNE A,data,rel Compare direct byte to A 3 24 carry flag from A & Jump if not Eq. "SUBB A,#data Subtract immediate data and 12 See Note 8. carry flag from A "CJNE A.#data,rel Compare immed. to A & Jump 3 24 INCA Increment A 12 jf not Eq. See Note a. INC An Increment register 12 "CJNE An,#data, Compare immed. to reg & 3 24 "INC data Increment direct byte 12 rei Jump if not Eq. See Note a. INC@Ai Increment indirect RAM 12 "CNJE@Ri, Compare immed. to indirect 3 24 DECA Decrement A 12 #data,rel AAM & Jump if not Eq. DEC An Decrement register 12 See Note a. "DEC data Decrement direct byte 12 DJNZ An,rel Decrement register & Jump 3 24 "DEC@Ai Decrement indirect RAM 12 if not zero "INC DPTR Increment Data Pointer 24 "DJNZ data,rel Decrement direct byte & 24 "MUL AB Multiply A times B 48 Jump if not zero "DIVAB Divide A by B 48 Note a) Set C if the first operand is less than the second operand; DAA Decimal add Adjust of A 12 else clear

Oscillator Mnemonic Description Bytes Periods Other ACALL addrll Absolute Subroutine Call 2 24 Oscillator LCALL addr16 Long Subroutine Call 3 24 Mnemonic Description Bytes Periods AET Return from Subroutine Call 24 NOP No Operation 1 12 AETI Return from Interrupt Call 24

All mnemonics copyrlghted@ Intel Corporation 1980"

AFN~01462A~15 7-15

Control Transfer (SubrOUtine)

Page 260 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 260 · click to enlarge
Page 260
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 260)
Fig. 259 · The Single Component . 2" MCS-4S™ S~stem
Page 261 of the Intel mcs-48 user manual — 'U
Page 261 · click to enlarge
Page 261
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 261)
Fig. 260 · The Single Component . 2" MCS-4S™ S~stem

, 8

Compatible MCS-48™ Components

'U

.,

,

"

"

,

h'

Show 4 more labels / short text on this page
'" · / · " · - ,
Page 262 of the Intel mcs-48 user manual — PIN NAMES
Page 262 · click to enlarge
Page 262
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 262)
Fig. 261 · The Single Component . 2" MCS-4S™ S~stem

inter

2114A 1024 X 4 BIT STATIC RAM

  • 2114AL-1 2114AL-2 2114AL-3 2114AL-4 2114A-4 2114A-5 I Max. Access Time (ns) 100 120 150 200 200 250 I Max. Current (mA) 40 40 40 40 70 70
  • HMOS Technology
  • Completely Static Memory - No Clock
  • Low Power, High Speed or Timing Strobe Required
  • Directly TTL Compatible: All Inputs
  • Identical Cycle and Access Times and Outputs
  • Single +5V Supply ±10%
  • Common Data Input and Output Using
  • Three-State Outputs
  • High Density 18 Pin Package
  • 2114 Upgrade

The Intele> 2114A is a 4096-bit static Random Access Memory organized as 1024 words by 4-bits using HMOS, a high per- formance MOS technology. It uses fully DC stable (static) circuitry throughout, in both the array and the decoding, therefore it . requires no clocks or refreshing to operate. Data access is particularly simple since address setup times are not required. The data is read out non destructively and has the same polarity as the input data. Common input/output pins are provided.

The 2114A is designed for memory applications where the high performance and high reliability of HMOS, low cost, large bit storage, and simple interfacing are important design objectives. The 2ll4A is placed in an la-pin package for the highest possible density.

It is directly TTL compatible in all respects: inputs, outputs, and a single +5V supply. A separate Chip Select (CS) lead allows easy selection of an individual package when outputs are or-tied.

PIN CONFIGURATION LOGIC SYMBOL BLOCK DIAGRAM ® ~ Ao vee

A, Vee Ao A ® -ill-GND II,; , A, A, 1/°1 ® A, As ROW MEMORY ARRAY Ao (i') SELECT 64 ROWS

As '-' 64 COLUMNS Ao 110, @ A, A, Ao 1/°1 @ As A,

A,

A, 110, A. 1/°3 IIO,@ A, 1/°3 A,

1/° 4 A, 1/°4 IIO,@

WE A. 110,@ WE es

PIN NAMES

AO-Ag ADDRESS INPUTS Vee POWER 1+5VI o = PIN NUMBERS

WE WRITE ENABLE GND GROUND C! CHIP SELECT 1/01-1/04 OATA INPUT/OUTPUT

INTEL CORPORATION ASSUMES NO RESPONSIBILITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBODIED IN AN INTEL PRODUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPLIED. ·.INTEL CORPORATION, 1977. 1979 DECEMBER. 1979 8-1

Page 263 of the Intel mcs-48 user manual — A.C. CONDITIONS OF TEST
Page 263 · click to enlarge
Page 263
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 263)
Fig. 262 · The Single Component . 2" MCS-4S™ S~stem

in1:ef 2114A FAMILY

ABSOLUTE MAXIMUM RATINGS·

Temperature Under Bias -lOoC to 80°C Storage Temperature -6SoC to 1S0°C Voltage on any Pin

·COMMENT: Stresses. above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device.

This is a stress rating only and functional operation ofthe device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Ex- posure is not implied. Exposure to absolute maximum rating conditions for extended· periods may affect device reliability.

With Respect to Ground -3.SV to +7V Power Dissipation 1.0W D.C. Output Current SmA

D.C. AND OPERATING CHARACTERISTICS

TA = O°C to 70°C, Vee = sv ± 10%, unless otherwise noted.

2114AL-1/L-2/L-3/L-4 SYMBOL PARAMETER Min. Typ.111

2114A-4/-S Min. Typ.lll Max. UNIT CONDITIONS

Max.

III Input Load Current (All Input Pins)

10 /lA V ,N ~ 0 to 5.SV

IILOI 1/0 Leakage Current

10 /lA CS ~ V'H

VI/O = GND to VCC

IcC Power Supply Current 25

50 70 mA Vee = max, 11/0 = 0 mA, TA = DoC

VIL Input Low Voltage -3.0

O.B

-3.0 O.B V

VIH Input High Voltage 2.0

2.0 6.0 V

10L Output Low Current 2.1 9.0

2.1 9.0 mA VOL = O.4V

10H Output High Current -1.0 -2.5

-1.0 -2.5 mA VOH ~ 2.4V

IOsI2) Output Short Circuit Current

2. Duration not to exceed 30 seconds.

CAPACITANCE

TA = 2SoC, f = 1.0 MHz

SYMBOL TEST

MAX

UNIT CONDITIONS

pF V'/O ~ OV

pF VIN = OV

A.C. CONDITIONS OF TEST

Input Pulse Levels 0.8 Volt to 2.0 Volt

Input Rise and Fall Times 10 nsec

Input and Output Timing Levels 1.5 Volts

Output Load 1 TTL Gate and CL = 100 pF

40 mA · CliO Input/Output Capacitance · CIN Input Capacitance

Page 264 of the Intel mcs-48 user manual — D,N
Page 264 · click to enlarge
Page 264
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 264)
Fig. 263 · The Single Component . 2" MCS-4S™ S~stem

inter 2114A FAMILY

A.C. CHARACTERISTICS TA = O'C to 70'C. Vee" 5V ± 10%. unless otherwise noted.

READ CYCLE (1)

2114AL-1 2114AL-2 2114AL-3 2114A-4/L-4 2114A-5

SYMBOL PARAMETER Min. Max. Min. Max. Min. Max. Min. Max. Min. Max. UNIT

tRC Read Cycle Time 100 120 150 200 250 ns

tA Access Time 100 120 150 200 250 ns

tco Chip Selection to Output Valid 70 85 ns

tcx Chip Selection to Output Active 10 ns

toro Output 3-state from Deselection 30 35 40 50 60 ns

tOHA Output Hold from Address Change 15 ns

WRITE CYCLE [2)

2114AL-1 2114AL-2 2114AL-3. 2114A-4/L-4 2114A-S

SYMBOL PARAMETER Min. Max. Min. Max. Min. Max. Min. Max. Min. Max. UNIT

twc Write Cycle Time 100 120 150 200 250 ns

tw Write Time 75 75 90 120 135 ns

tWR Write Release Time 0 ns

torw Output 3-state from Write 30 35 40 50 60 ns

tow Data to Write Time Overlap 70 70 90 120 135 ns

tOH Data Hold from Write Time 0 ns

WAVEFORMS READ CYCLE@

WRITE CYCLE

I------toc-------I i------tA--------i

ADDRESS

ADDRESS -..II'-------------i--'l'---

0c~ l"""" f/I I I III I III II,

® ~\\'\

-tor=!

NOTES:

DOUT

3. WE is high for a Read Cycle. 4. If the CS low transition occurs simultaneously with the WE low transition, the output buffers remain in a high impedance state. 5. WE must be high during all address transitions.

D,N

Show 4 more labels / short text on this page
twe · ~tw"- · tw · [tow _I tDH
Page 265 of the Intel mcs-48 user manual — OUTPUT SOURCE CURRENT
Page 265 · click to enlarge
Page 265
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 265)
Fig. 264 · The Single Component . 2" MCS-4S™ S~stem

inter 2114A FAMILY

TYPICAL D.C. AND .A.C. CHARACTERISTICS

NORMAUZED ACCESS TIME VS.

NORMALIZED ACCESS TIME VS.

SUPPLY VOLTAGE

AMBIENT TEMPERATURE

,:$ ---

~ o 0.9 w I 08 :.---

$. c· 0.9 i

o. 7

o. 7

o. 6

o. 5

o. 5

4.75 5.00 5.25

NORMALIZED ACCESS TIME VS.

~ 1.0 --

NORMALIZED POWER SUPPLY CURRENT

OUTPUT LOAD CAPACITANCE

VS. AMJlIENT TEMPERATURE

I--- -- r-

1.3 /

/

./' ,,/

o i

$ Q w !:lI

1.0 ,,-/

0.7 100 150

0.5 o

OUTPUT SOURCE CURRENT

OUTPUT SINK CURRENT

VS. OUTPUT VOLTAGE

VS. OUTPUT VOLTAGE

/ /

/ /

~ K

~

V OH (V)

VOL (V)

Show 7 more labels / short text on this page
20 40 60 · Vcc(V) · ~ · ~ · 200 250 300 · 20 40 60 · o o
Page 266 of the Intel mcs-48 user manual — A,
Page 266 · click to enlarge
Page 266
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 266)
Fig. 265 · The Single Component . 2" MCS-4S™ S~stem

2316E 16K (2K )( 8) ROM

  • EPROM/ROM Pin Compatible for Cost-Effective System
  • Fast Access Time-450 ns Max.
  • Single +5V.:!:. 10% Power Supply

Development

  • Completly Static Operation
  • Intel MCS 80 and 85 Compatible
  • Inputs and Outputs TTL Compatible
  • Three Programmable Chip Selects for Simple Memory Expansion and Sy·stem Interface
  • Three-State Output for Direct Bus Interface

The Intel® 2316E is a 16,384-bit static, N-channel MaS read only memory (ROM) organized as 2048 words by 8 bits. Its high bit density is ideal for large, non-volatile data storage applications such as program storage. The three-state outputs and TTL input/output levels allow for direct interface with common system bus structures. The 2316E single +5V power supply and 450 ns access time are both ideal for usage with high performance microcomputers such as the Intel MCSTM-80 and MCSTM-85 devices.

A cost-effective system development program may be implemented by using the pin compatible Intel 2716 16K UV EPROM for prototyping and the lower cost 2616 PROM and 2316E ROM for production. The three 2316E programmable chip selects may be defined by the user and are fixed during the masking process. To simplify the conversion from 2716 prototyping to 2316E production, it is recommended that the 2316E programmable chip select logic levels be defined the same as that shown in the below data sheet pin configuration. This pin configuration and these chip select logic levels are the same as the 2716.

PIN CONFIGURATION BLOCK DIAGRAM

AS A. A, • .. es,

A, CS2 A, A. 0, D. Os AS

0, Os A, 0, 04 .. 03 A,

A,

PIN NAMES

A,

A.

Show 5 more labels / short text on this page
A, Vee · As A8 · A3 CSl Ag · A, AlO A8 · 8-5 AFN-00684A-Gl
Page 267 of the Intel mcs-48 user manual — AFN-00684A-02
Page 267 · click to enlarge
Page 267
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 267)
Fig. 266 · The Single Component . 2" MCS-4S™ S~stem

2316E

ABSOLUTE MAXIMUM RATINGS·

Ambient Temperature Under Bias 10°C to BOoC Storage Temperature 65°C to +150°C Voltage On Any Pin With Respect

·COMMENT: Stresses above those listed under "Absolute Maxi- mum Ratings" may cause permanent damage to the device. This Is a stress rating only and functional operation of the devica at these or at any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability .

to Ground -0.5V to +7V Power Dissipation ' 1.0 Watt

D.C. AND OPERATING CHARACTERISTICS

T A = O°C to +70°C. Vee = 5V ±10%. unless otherwise specified.

LIMITS SYMBOL PARAMETER

UNIT TEST CONDITIONS MIN. TYP.(11 MAX.

ILl Input Load Current 10 IlA VIN = 0 to 5.25V (All Input Pins)

ILOH Output Leakage Current 10 IlA Chip Deselected. VOUT = 4.0V

ILOL Output Leakage Current -20 IlA Chip Deselected. VOUT = O.4V

ICC Power Supply Current 7D 120 mA All Inputs 5.25V Data Out Open

VIL Input "Low" Voltage -0.5 0.8 V

VIH Input "High" Voltage 2.4 Vee+1.OV V

VOL Output "Low" Voltage 0.4 V IOL = 2.1 mA

VOH Output "High" Voltage 2.4 V IOH =- 400 IlA

A.C. CHARACTERISTICS

T A = O°C to +70°C. Vee = +5V ±10%. unless otherwise specified.

LIMITS

SYMBOL PARAMETER

UNIT MIN. MAX.

tA Address to Output Delay Time 450 ns

teo Chip Select to Output Enable Delay Time 120 ns

tOF Chip Deselect to Output Data Float Delay Time 10 100 ns

CONDITIONS OF TEST FOR A.C. CHARACTERISTICS

CAPACITANCE121 TA = 25°C. f = 1 MHz

LIMITS SYMBOL TEST

Output Load ........... 1 TTL Gate and CL = 1bo pF

TYP. MAX.

Input Pulse Levels 0.8 to 2.4V Input Pulse Rise and Fall Times (10% to 90%) 20 ns Timing Measurement Reference Level

CIN All Pins Except Pin Under 5pF 10 pF Test Tied to AC Ground

Input 1 V and 2.2V Output 0.8V and 2.0V

COUT All Pins Except Pin Under 10 pF 15 pF Test Tied to AC Ground

tested.

AFN-00684A-02

Page 268 of the Intel mcs-48 user manual — AFN-006B4A-03
Page 268 · click to enlarge
Page 268
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 268)
Fig. 267 · The Single Component . 2" MCS-4S™ S~stem

A.C. Waveforms

ADDRESS

1------ tco ------"'I

PROGRAMMABLE

CHIP SELECTS

~----------IA------------~

DATA OUTPUT ----=HIGHZ~--~~~~~~~~~~-OU-T~TV-ALIO~~~JlJJI

Typical System Application (8K )( 8 ROM Memory)

\ ADDRESS BUS

I I \ CONTROL BUS

J

_Ll I \ DA.TA BUS

MEMR At2 An An-Al0

~ fl

eli CHIP ROM SELECT Fll

.. veS3 '3 1 DECODER

liNTEL t--- 82051 t- C!2 es, I +5V es, ~~ r- '--- ~ ~ C!2 cs,l ROM +5V eS3 V

.,

os. es, ROM +SV eS3 • 0 - 2316E

AFN-006B4A-03

Show 5 more labels / short text on this page
~ · Mes-so SYSTEM BUS · , · f"07-00 · ~
Page 269 of the Intel mcs-48 user manual — OUTPUT BUFFERS
Page 269 · click to enlarge
Page 269
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 269)
Fig. 268 · The Single Component . 2" MCS-4S™ S~stem

intel~

2708 8K (1 K x 8) UV ERASABLE PROM

Max. Power Max. Access

  • 2708·6 800mW 550ns
  • Low Power Dissipation - 425 mW
  • Data Inputs and Outputs TTL Max. (270SL) Compatible during both Read and
  • Fast Access Time - 350 ns Max. Program Modes
  • (270S·1)
  • Three·State Outputs - OR· Tie
  • Static - No Clocks Required Capability

The Intel@ 2708 is an 8192-bit ultraviolet light erasable and electrically reprogrammable EPROM, Ideally suited where fast turnaround and pattern experimentation are Important requirements. All data Inputs and outputs are TTL com- patible during both the read and program modes. The outputs are three-state, allowing direct interface with common system bus structures.

The 2708L at 425mW is available for systems requiring lower power dissipation than from the 2708. A power dissipation savings of over 50% without any sacrifice in speed is obtained with the 2708L. The 2708L has high input noise Immunity and is specified at 10% power supply tolerance. A high-speed 2708-1 is also available at 350ns for microprocessors requiring fast access times.

The 2708 family is fabricated with the N-channel silicon gate FAMOS technology and is available in a 24-pln dual in-line package.

PIN CONFIGURATION

BLOCK DIAGRAM

DATA OUTPUT

00-07 I

A. A.

t t

A. ~.

OUTPUT BUFFERS

A, CSNIE

V GATING

A, PROGRAM

ADDRESS INPUTS A. A sA._ A,- A._ ~-

X DECODER

64 X 128 ROM ARRAY

PIN CONNECTION DURING READ OR PROGRAM

PIN NAMES

PIN NUMBER

ADDRESS DATA I/O INPUTS 9-11. 1-8. V,. PROGRAM Voo CStwE MODE 13·17 22.23 12 18 19 20 READ DOUT AIN GND GND +12 VIL DESELECT HIGH IMPEDANCE DON'TeARE GND GND +12 V,H PROGRAM D,N A'N GND PULSED +12 VIHW NY

01..()a DATA OUTPUTS/INPUTS C /WE CHIPSELECT/WRITE ENABLE INPUT

Va. Vee 21 2' -s +5 -5 +s -5 +s

INTEL CORPORATION ASSUMES NO RESPONSIBllITV FOR THE USE OF ~NV CIRCUITRV OTHER THAN CIRCUITRV EMBODIED IN AN INTEL PRODUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPLIED.

@INTELCORPORATION 1980 January 1980 . 8-8 AFN-ol104A-ol

Show 14 more labels / short text on this page
2708 800mW 450ns · 2708L 425mW 450ns · 2708·1 800mW 350ns · A, ~e · As A9 · CHIP SELECT lOGIC · A2 lobo · v DECODER · (UB) Ao 071MSBI · ILSBIOo 00 · 0, Os · 02 0, · ~ 03 · Ao·Ag ADDRESS INPUTS
Page 270 of the Intel mcs-48 user manual — READ OPERATION
Page 270 · click to enlarge
Page 270
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 270)
Fig. 269 · The Single Component . 2" MCS-4S™ S~stem

2708 FAMILY

PROGRAMMING The programming specifications are described in the Data Catalog PROM/ROM Programming Instructions Section. Absolute Maximum Ratings*

Temperature Under Bias Storage Temperature Voo With Respect to VBB VCC and Vss With Respect to VBB All Input or'Output Voltages With Respect

_25°C to +85°C _65°C to +125°C

'COMMENT

Stresses above those listed under" Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these·or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

+20V to -0.3V +15V to -0.3V

to VBB During Read +15V to -0.3V CSIWE Input With Respect to VBB

During Programming +20V to -0.3V Program I nput With Respect to VBB " +35V to -0 3V Power Dissipation 1.5W

nco AND A.C.OPERATING CONDITIONS DURING READ

2708·6 2708L

Temperature Range 0·C-70·C 0·C-70·C

0·C-70·C 0·C-70·C 5V±5% 5V±10% 12V±5% 12V ± 10% -5V±5% -5V±10%

Vcc Power Supply 5V±5% 5V±5%

Voo Power Supply 12V±5% 12V±5% VBB Power Supply -5V±5% -5V:t.5%

READ OPERATION

D.C. AND OPERATING CHARACTERISTICS

2708.2708·1.2708,8 Limit. 2708L Limits Symbol Parameter Unit. Te.t Conditions Min. Typ.12I Max. Min. Typ.l2l Max.

ILl Address and Chip Select Input Sink 1 10 1 10 ~A VIN = 5.25V or VIN = VIL Current

ILO Output Leakage Current 1 10 1 10 ~A VOUT = 5.5V, CSJWE = 5V

100[31 Voo Supply Current 50 65 21 28 mA Worst Case Supply Currents[4]

IcC[3] Vcc Supply Current 6 10 2 4 mA All Inputs High;

IBB[3] VBB Supply Current 30 45 10 14 mA CSWE=5V;TA=0'C

VIL Input Low Voltage Vss 0.65 Vss 0.65 V

VIH Input High Voltage 3.0 VCC+1 2.2 Vcc+1 V

VOL Output Low Voltage 0.45 0.4 V 10L = 1.6mA (2706. 2708-1, 2708-6)

10L = 2mA (2706L)

VOH1 Output High Voltage 3.7 3.7 V 10H= -100~A

VOH2 Output High Voltage 2.4 2.4 V 10H= -lmA

PO Power Dissipation 600 325 mW TA=70'C

NOTES: 1. VBB must be applied prior to Vcc and Voo. VBB must also be the last power supply switched ofl. 2. Typical values are for TA = 25'C and nominal supply voltages. 3. The total power dissipation Is not calculated by summing the various currents (100• Icc, and IBB) multiplied by their respective vol· tages since current paths exist between the various power supplies and Vss. The 100. Icc. and IBB currents should be used to deter· mine power supply capacity only. 4. IBB for the 2708L Is specified in the programmed state and is lSmA maximum In the unprogrammed state.

2708 2708·1 · 425 mW TA=O'C · 8-9 AFN-Qll04A-Q2

Page 271 of the Intel mcs-48 user manual — AFN-O"04A-03
Page 271 · click to enlarge
Page 271
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 271)
Fig. 270 · The Single Component . 2" MCS-4S™ S~stem

2708 FAMILY

2708L RANGE OF SUPPLY CURRENTS

2708,2708·1, AND 2708·6 RANGE OF SUPPLY CURRENTS

VS. TEMPERATURE

VS. TEMPERATURE ACCESS TIME VS. TEMPERATURE

i 1 1 TTL LOAD + l00pF

80 ~ ALL POSSIBLE OPERATING CONDITIONS:

-- -- -- - ,..--

VCC " 5.25V \fOO ~ 12.6V 400 Vea = -5.25V

'DD

20D

.~~~~~hH~cJ o 20 40 80 80 100 ~ 20 TA,r e)

40 60 80 TAf'C)

20 4. 80 8.

TA 1°C)

A.C. CHARACTERISTICS

2708, 2708L Limits 2708·1 limits Min. Max. Min. Max.

2708·6 Limits Min. Max. Units

t ACC Address to Output Delay

tco Chip Select to Output Delay 120 120 160 ns

tOF Chip Deselect to Output Float 0 120

0 120 0 160

tOH Address to Output Hold 0

CAPACITANCE [1] TA = 25°C, f = 1 MHz

A.C. TEST CONDITIONS:

Output Load1 TTL gate and CL = 100 pF

Symbol Parameter Typ. Max. Unit. Conditions

Input Rise and Fall Times";;;20 ns
Timing Measurement Reference Levels0.8V and

CIN I nput Capacitance 4 6 pF VIN = OV

2.8V for inputs; 0.8V and.2.4V for outputs. Input Pulse Levels: 0.65V to 3.0V

COUT Output Capacitance 8 12 pF VOUT =OV

AFN-O"04A-03

Show 7 more labels / short text on this page
'00 · '00 · Symbol Parameter · 450 350 · 550 ns · ns · ns
Page 272 of the Intel mcs-48 user manual — AFN-01104A-04
Page 272 · click to enlarge
Page 272
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 272)
Fig. 271 · The Single Component . 2" MCS-4S™ S~stem

2708 FAMILY

A.C. WAVEFORMS 121

VALID K

ADDRESSES

ADDRESSES

CS/WE

I----+-- tACC (31-------1 toH

OUTPUT _____ ...:.:.HI:;;:G:.:.H,:,Z ____ -f+~H~+_~H++_t_< ~ HIGH Z VALID OUTPUT

NOTES:

2. ALL TIMES SHOWN IN PARENTHESES ARE MINIMUM AND ARE NSEC UNLESS OTHERWISE SPECIFIED. 3. CS MAY BE DELAYED UP TO tACC·tCO AFTER ADDRESSES ARE VALID

4.~1;7~~~~~I~~iri ~R'6::~'OR ADDRESS CHANGE, WHICHEVER OCCURS FIRST.

ERASURE CHARACTERISTICS

The erasure characteristics of the 2708 family are such that erasure begins to occur when exposed to light with wave- lengths shorter than approximately 4000 Angstroms (A). It should be noted that sunlight and certain types of fluores- cent lamps have wavelengths in the 3000-4000A range. Data show that constant exposure to room level fluores- cent lighting could erase the typical device in approxi- mately 3 years, while it would take approximately 1 week to cause erasure when exposed to direct sunlight. If the 2708 is to be exposed to these types of lighting conditions for extended periods of time, opaque labels are available from Intel which should be placed over the 2708 window to prevent unintentional erasure.

The recommended erasure procedure (see Data Catalog PROM/ROM Programming Instructions Section) for the 2708 family is exposure to shortwave ultraviolet light which has a wavelength of 2537 Angstroms (A). The inte- grated dose (j,e" UV intensity X exposure time) for erasure should be a minimum of 15 W-sec/cm2. The erasure time with this dosage is approximately 15 to 20 minutes using an ultraviolet lamp with a 12000 /J.W/cm2 power rating, The device should be placed within 1 inch of the lamp tubes during erasure, Some lamps have a filter on their tubes which should be removed before erasure,

AFN-01104A-04

Show 4 more labels / short text on this page
~--- teo I'II---~ · tOF (4) · (a) · ~//
Page 273 of the Intel mcs-48 user manual — INPUTS
Page 273 · click to enlarge
Page 273
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 273)
Fig. 272 · The Single Component . 2" MCS-4S™ S~stem

2716 16K (2K )( 8) UV ERASABLE PROM

  • Fast Access Time - 350 ns Max. 2716·1 - 390 ns Max. 2716·2 - 450 ns Max. 2716 490 ns Max. 2716·5 - 650 ns Max. 2716·6
  • Pin Compatible to Intel® 2732 EPROM
  • Simple Programming Requirements Single Location Programming - Programs with One 50 ms Pulse
  • Single + 5V Power Supply
  • Inputs and Outputs TTL Compatible during Read and Program
  • Low Power Dissipation 525 mW Max. Active Power - 132 mW Max. Standby Power
  • Completely Static

The intei® 2716 is a 16,384·bit ultraviolet erasable and electrically programmable read-only memory (EPROM). The 2716 operates from a single 5·volt power supply, has a static standby mode, and features fast single address location program- ming. It makes designing with EPROMs faster, easier and more economical.

The 2716, with its single 5-volt supply and with an access time up to 350 ns, is ideal for use with the newer high performance +5V microprocessors such as Intel's 8085 and 8086. A selected 2716-5 and 2716-6 is available for slower speed applications. The 2716 is also the first EPROM with a static standby mode which reduces the power dissipation without increasing access time. The maximum active power dissipation is 525 mW while the maximum standby power dissipation is only 132 mW, a 75% savings.

The 2716 has the simplest and fastest method yet devised for programming EPROMs - single pulse TTL level programming. No neeo for high voltage pulsing because all programming controls are handled by TTL signals. Program any location at any time-either individuallY, sequentially or at random, with the 2716's single address location programming. Total programming time for all 16,384 bits is only 100 seconds.

PIN CONFIGURATION

MODE SELECTION

I~

CE/PGM OE v" Vee OUTPUTS I,a, 120' ,2', 1241 19·11,13.171 MODE

A,

A6

Read V'L V'L '5 +6 DOUT

  • Standby V," Don't Care +5
  • High Z

A, 0, AO o. o. 0, 0, 0,

Program Pulled VIL to V1H VIH .2. '5 DIN

V'L V'L '25 '5 DOUT

  • V'C V,H +25
  • HiWt Z

GNO GNO

BLOCK DIAGRAM

00 ·01 --

Yccc>--.-

data sheet for specifications

PIN NAMES

"o-A,O ADDRESSES C IPGM CHIP ENABI.E/PROGRAM DE OUTPUT ENABLE 0-0 OUTPUTS

INPUTS

AFN-008' 1 A-01

Show 6 more labels / short text on this page
2716 2732t · Program Verify · Program Inhibit · tRefer to 2732 · UATAOllTPlITS · AO-Al0 ADDRESS
Page 274 of the Intel mcs-48 user manual — TEMPERATURE ( CI
Page 274 · click to enlarge
Page 274
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 274)
Fig. 273 · The Single Component . 2" MCS-4S™ S~stem

PROGRAMMING The programming specifications are described in the Data Catalog PROM/ROM Programming Instructions Section.

Temperature Under Bias 10°C to +80°C 'COMMENT: Stresses above those listed under "Absolute Max;· mum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sec- tions of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

Storage Temperature -65°C to +125°C All Input or Output Voltages with

Respect to Ground +6V to -0.3V Vpp Supply Voltage with Respect

to Ground During Program +26.5V to -0.3V

DC and AC Operating Conditions During Read

2716 2716-1 2716-2 2716-5 2716-6

Temperature Range O°C _ 70°C O°C _ 70°C O°C _ 70°C O°C _ 70°C OoC _ 70°C

Vcc Power Supply[1.2] 5V ±5% 5V ±10% 5V ±5% 5V ±5% 5V ±5%

Vpp Power Supply[2] Vcc Vcc Vcc VCC VCC

READ OPERATION D.C. and Operating Characteristics

Limits Conditions Symbol Parameter Typ.[3] Unit Min. Max.

III Input Load Current 10 f.lA VIN = 5.25V

ILO Output Leakage Current 10 f.lA VOUT = 5.25V

IpPl [2] Vpp Current 5 mA Vpp = 5.25V

ICCl [2] Vcc Current (Standby) 10 25 mA CE = VIH. OE = VIL

ICC212] V cc Current (Active) 57 100 mA O"E=cr=VIL

VIL I nput Low Voltage -0.1 0.8 V

VIH Input High Voltage 2.0 Vcc+1 V

VOL Output Low Voltage 0.45 V IOL = 2.1 mA

VOH Output High Voltage 2.4 V IOH = -400f.lA

2. Vpp may be connected directly to Vee except during programming. The supply current would then be the sum of ICC and IPP1.
3. Typical values are for T A = 25° C and nominal supply voltages.
4. This parameter is only sampled and is not 100% tested.

ICC CURRENT

ACCESS TIME

ACCESS TIME

vs. TEMPERATURE

vs. CAPACITANCE

vs. TEMPERATURE

r-- r- - - ICC2 ACTIVE CURRENT

~ -

Cl:=Vll vccr v --

f-- -

" !:} 30

~ .- 300

r--

CE=VIH VCC=5V _

T

o 10 W ~ 40 ~ M ro M

o 100 200 300 400 500 600 700 MO

o 10 W ~ ro ~

TEMPERATURE ( CI

TEMPERATURE ('C)

AFN-00811A'()2

Show 10 more labels / short text on this page
Absolute Maximum Ratings* · Typical Characteristics · Vcc = 5V · ~ 40 ! · ]" 400 · ICCl STANDBY CURRENT · o · o · o · CL (pF)
Page 275 of the Intel mcs-48 user manual — 8-14 AFN-00811 A-03
Page 275 · click to enlarge
Page 275
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 275)
Fig. 274 · The Single Component . 2" MCS-4S™ S~stem

A.C. Characteristics

2716 2716-1 2716-2 2716-5 2716-6 Test Symbol Parameter Conditions Min. Max. Min. Max. Min. Max. Min. Max. Min. Max.

tACC Address to Output Delay 450 350 390 450 450 CE=OE=VIL

tCE CE to Output Delay 450 350 390 490 650 OE = VIL

tOE Output Enable to Output Delay 120 120 120 160 200 CE=VIL

tOF Output Eneble High to Output Float 0 100 0 100 0 100 0 100 0 100 CE=VIL

tOH Output Hold from Addresses, CE or 0 CE = OE = VIL DE Wh iehever Oeeu rred First

Capacitance [4] TA = 2SoC, f = 1 MHz A.C. Test Conditions:

Symbol Parameter Typ.

Max. Unit

Output Load: 1 TTL gate and CL = 100 pF Input Rise and Fall Times: ';;;20 ns

CIN Input Capacitance 4

VIN = OV

Input Pulse Levels0.8V to 2.2V

COUT Output Capacitance 8 12 I I I

pF VOlJT = OV I

Timing Measurement Rp.fp.renr.e Leve!:

Inputs 1 V and 2V Outputs 0.8V and 2V

A. C. Waveforms [1]

ADDRESSES

ADDRESSES

VALID

CE--------------~--~

5E--------------~----------~

1'' +-

[6J 'OF

  • ,...~....,....,,...,,...,t--.

HIGH Z

  • '-a.. ................ 't--
2. Vpp may be connected directly to VCC except during programming. The supply current would then be the sum of ICC and IpP1. 3. Typical values are for TA = 25' C and nominal supply voltages. 4. This parameter is only sampled and is not 100% tested. 5. OE may be delayed up to tACC - tOE after the falling edge of CE without impact on tACC. 6. tDF is specified from OE or CE, whichever occurs first.

8-14 AFN-00811 A-03

Show 4 more labels / short text on this page
Limits (ns) · Conditions · 6 pF · HIGH Z OUTPUT----------------------------i-~~_+~<
Page 276 of the Intel mcs-48 user manual — o
Page 276 · click to enlarge
Page 276
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 276)
Fig. 275 · The Single Component . 2" MCS-4S™ S~stem

TYPICAL 16K EPROM SYSTEM

A8-15 1-_--+ .

ADO-7 ~""--"-"'I 8212

ADDRESS ALE ~t ., LATCH

101M

o This scheme accomplished by using CE (PO) as the primary decode. OE (CS) is now controlled by previously unused

signal. RO now controls data on and off the bus by way of OE.

o A selected 2716 is available for systems which require CE access of less than 450 ns for decode network operation.

o The use of a PROM as a decoder allows for:

a) Compatibility with upward (and downward) memory expansion.

b) Easy assignment of ROM memory modules, compatible with PUM modular software concepts.

SK, 16K, 32K, 64K 5V EPROM/ROM FAMILY PRINTED CIRCUIT BOARD LAYOUT

o a o 0

o

o c,

RD~t ~~ ~ 8085

Page 277 of the Intel mcs-48 user manual — PROGRAM VERIFY
Page 277 · click to enlarge
Page 277
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 277)
Fig. 276 · The Single Component . 2" MCS-4S™ S~stem

ERASURE CHARACTERISTICS

OUTPUT OR-TIEING

The erasure characteristics of the 2716 are such that erasure

Because 2716's are usually used in larger memory arrays, Intel has provided a 2 line control function that accomo- dates this use of multiple memory connections. The two line control function allows for:

begins to occur when exposed to light with wavelengths shorter than approximately 4000 Angstroms (A). It should be noted that sunlight and certain "types of fluorescent lamps have wavelengths in the 3000-4000A range. Data show that constant exposure to room level fluorescent

a) the lowest possible memory power dissipation, and b) complete assurance that output bus contention will

lighting could erase the typical 2716 in approximately 3 years, while it would take approximatley 1 week to cause erasure when exposed to direct sunlight. If the 2716 is to be exposed to these types of lighting conditions for ex· tended periods of time, opaque labels are available from

not occur.

To most efficiently use these two control lines, it is recom- mended that CE (pin 18) be decoded and used as the primary device selecting function, while OE (pin 20) be made a common connection to all devices in the array and connected to the READ line from the system control bus. This assures that all deselected memory devices are in their low power standby mode and that the output pins are only active when data is desired from a particular memory device.

Intel which should be placed over the 2716 window to prevent unintentional erasure.

The recommended erasure procedure (see Data Catalog

PROM/ROM Programming Instruction Section) for the 2716 is exposure to shortwave ultraviolet light which has a wavelength of 2537 Angstroms (A). The integrated dose (i.e., UV intensity X exposure time) for erasure should be a minimum of 15 W-sec/cm 2. The erasure time with this dosage is approxirnatdy i 5 to 20 minutes using an uitra- violet lamp with a 12000 pW/cm2 power rating. The 2716 should be placed within 1 inch of the lamp tubes during erasure. Some lamps have a filter on their tubes which should be removed before erasure.

PROGRAMMING

Initia;Jy, cmu oTter each erasure, aii bits of the 2/10 are in the "1" state. Data is introduced by selectively program- ming "O's" into the desired bit locations. Although only "O's" will be programmed, both "l's" and "O's" can be presented in the data word. The only way to change a "0" to a "1" is by ultraviolet light erasure.

DEVICE OPERATION

The 2716 is in the programming mode when the Vpp power supply is at 25V and OE is at V IH. The data to be pro- grammed is applied 8 bits in parallel to the data output pins. The levels required for the address and data inputs are TTl.

The five modes of operation of the 2716 are listed in Table

I. It should be noted that all inputs for thefive modes are at TTL levels. The power supplies required are a +5V V cc and a Vpp. The Vpp power supply must be at 25V during the three programming modes, and must be at 5V in the other two modes.

When the address and data are stable, a 50 msec, active high, TTL program pulse is applied to the CE/PGM input. A program pulse must be applied at each address location to be programmed. You can program any location at any time - either individually, sequentially, or at random. The program pulse has a maximum width of 55 msec. The 2716 must not be programmed with a DC signal applied to the CE/PGM input.

TABLE I. MODE SELECTION ~

CE/PGM DE Vpp Vee OUTPUTS (181 (201 (211 (24) (9.11,13-17)

MODE

Read V'L V'L +, +, DOUT

Standby V'H Don't Care +, +, High Z

Program Pulsed VIL to VIH V'H +25 +, D'N

Program Verify V'L V'L +2' +, DOUT

Programming of multiple 2716s in parallel with the same data can be easily accomplished due to the simplicity of the programming requirements. like inputs of the paral- leled 2716s may be connected together when they are pro- grammed with the same data. A high level TTL pulse applied to the CE/PGM input programs the paralleled 2716s. PROGRAM INHIBIT

Program Innibit V'L V'H +2' +, High Z

READ MODE The 2716 has two control functions, both of which must be logically satisfied in order to obtain data at the outputs. Chip Enable (CE) is the power control and should be used for device selection. OUtput Enable (OE) is the output control and should be used to gate data to the output

pins, independent of device selection. Assuming that addresses are stable, address access time (tACC) is equal to the delay from CE to output (tCE). Data is available at the outputs 120 ns (tOE) after the falling edge of OE, assuming that CE has been low and addresses have been stable for at least tACC - tOE, STANDBY MODE

Programming of multiple 2716s in parallel with different data is also easily accomplished. Except for CE/PGM, all like inputs (including OE) of the parallel 2716s may be common. A TTL level program pulse applied to a 2716's CE/PGM input with Vpp at 25V will program that 2716. A low level CE/PGM input inhibits the other 2716 from

being programmed.

PROGRAM VERIFY

The 2716 has a standby mode which reduces the active power dissipation by 75%, from 525 mW to 132 mW. The 2716 is placed in the standby mode by applying a TTL high signal to the CE input. When in standby mode, the outputs are in a high impedence state, independent of the DE input.

A verify should be performed on the programmed bits to determine that they were correctly programmed. The verify may be performed wth V pp at 25V. Except during pro- gramming and program verify, Vpp must be at 5V.

AFN-00911 A-oS

Page 278 of the Intel mcs-48 user manual — X DECODER
Page 278 · click to enlarge
Page 278
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 278)
Fig. 277 · The Single Component . 2" MCS-4S™ S~stem

2732A 32K (4K x 8) UV ERASABLE PROM

  • 200ns (2732A·2) Maximum Access Time ... HMOS*·E Technology
  • Pin Compatible to 2764 EPROM
  • Industry Standard Pinout . .. JEDEC Approved
  • Compatible to High Speed 8mHz 8086·2 MPU .. . Zero WAIT State
  • Low Standby Current . .. 35mA Max.
  • Two Line Control

The Intel 2732A Is a 5Vonly, 32,384 bit ultraviolet erasable and electrically programmable read-only memory (EPROM). It Is pin compatl~le to Intel's 450ns 2732. The standard 2732A's access time is 250ns with speed selection (2732A-2) available at 200ns. The access time is compatible to high performance microprocessors, such as the 8mHz 8086-2. In these systems, the 2732A allows the microprocessor to operate without the addition of WAIT states.

An Important 2732A feature is the separate output control, Output Enable (OE), from the Chip Enable control (CE). The OE control eliminates bus contention in multiple bus microprocessor systems. Intel's Application Note AP-72 describes the microprocessor system implementation of the OE and CEcontrols on Intel's EPROMs. AP-72 Is available from Intel's Literature Department.

The 2732A has a standby mode which reduces the power dissipation without increasing access time. The maximum active current Is 150mA, while the maximum standby current is only 35mA, a 75% saving. The standby mode Is achieved by applying a TTL-high signal to the CE input.

The 2732A Is fabricated with HMOS*-E technology, Intel's high speed N-channel MOS Silicon Gate Technology.

2764 2732A PIN CONFIGURATION

MODE SELECTION ~ MODE

PIN CONFIGURATION v,, 'Vee An POM

CE OENpp Vcc OUTPUTS (18) (20) (24) (9·11,13·17)

A1 N.CJ11

VIL VIL -+;5 DOUT

As A8 A, Ag

VIH Don't Care +5 High Z

VIL Vpp +5 DIN

A, A11

A3 OE A. A,O

VIL VIL +5 DOUT

VIH Vpp +5 High Z

A, CE

AO

00 0, 0, o. 0,

BLOCK DIAGRAM

GND 03

DATA OUTPUTS

('(For total compatibility from 2732A provide a trace to pin 26

VCC~ GNDO

PIN NAMES

Y·GATING

AQ-A" ADDRESS

CE CHIP ENABLE ~ OUTPUT ENABLE °o-Or OUTPUTS

INPUTS -

X DECODER

32.788·8IT CELL MATRIX

·HMOS Is a patented process of Intel Corporation.

Show 6 more labels / short text on this page
Read · Standby · Program · Program Veri Iy · Program Inhibit · AO-Al1 ADDRESSES
Page 279 of the Intel mcs-48 user manual — E3 6 11 0. E,
Page 279 · click to enlarge
Page 279
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 279)
Fig. 278 · The Single Component . 2" MCS-4S™ S~stem

8205 HIGH SPEED 1 OUT OF8 BINARY DECODER

  • 1/0 Port or Memory Selector
  • Low Input Load. Current - 0.25 mA Max, 1/6 Standard TTL Input Load
  • Simple Expansion - Enable Inputs
  • Minimum Line Reflection - Low Voltage Diode Input Clamp
  • Hig"h Speed Schottky Bipolar Technology - 18 ns Max Delay
  • Outputs Sink 10 mA Min
  • Directly Compatible with TTL Logic Circuits
  • 16·Pin Dualln·Line Ceramic or Plastic Package

The Intel'" 8205 decoder can be used for expansion of systems which utilize input ports, output ports, and memory components with active low chip select input. When the 8205 is enabled, one of its 8 outputs goes "low", thus a single row of a memory system is selected. The 3·chip enable inputs on the 8205 allow easy system expansion. For very large systems, 8205 decoders can be cascaded such that each decoder can drive 8 other decoders for arbitrary memory expansions.

The 8205 is packaged in a standard 16-pin dual in-line package, and its performance is specified over the temperature range of oDe to +75°e, ambient. The use of Schottky barrierdlode clamped transistors to obtain fast switching speeds results in higher performance than equivalent devices made with a gold diffussion process.

PIN CONFIGURATION LOGIC SYMBOL

Ao 16 V.cc Ao

A, 15 0 0 A,

A2 3 14 0, A2

E, 4 13 °2 8205 8205 E2 5 12 03

E3 6 11 0. E,

0, 10 °5 E2

GRD 8 0 6 EJ

ADDRESS ENABLE OUTPUTS PIN NAMES Ao A, A, E, E, E3 0 1 2 3 • 0 6 )

L H L H L H H L H AO· A2 ADDRESS INPUTS L Ii L L L H H H L H L L L H L H L L H L L H L H H H E ,. E3 ENABLE INPUTS 00· 0, DECODED OUTPUTS H L H L L H L H H l H H L L H L H L L H L X X X L L L H X X X H L L H X X X L H L H X X X H H L H X X X H L H X X X L H X X X H

8-18 AFN-00204B-ol

Page 280 of the Intel mcs-48 user manual — AFN-D0204B-02
Page 280 · click to enlarge
Page 280
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 280)
Fig. 279 · The Single Component . 2" MCS-4S™ S~stem

FUNCTIONAL DESCRIPTION

Decoder

The 8205 contains a one out of eight binary decoder. It ac· cepts a three bit binary code and by gating this input, creates an exclusive output that represents the value of the input code.

A,

A.z

0, DECODER

For example, if a binary code of 101 was present on the AO, A 1 and A2 address input lines, and the device was enabled, an active low signal would appear on the 05 outputJine. Note that all of the other output pins are sitting at a logic high, thus the decoded output is said to be exclusive. The decoders outputs will follow the truth table shown below in the same manner for all other input variations.

Ei:==~:) .. E3

Enable Gate

ENABLE GATE

When using a decoder it is often necessary to gate the out·

puts with timing or enabling signals so that the exclusive output of the decoded value is synchronous with the overall system.

The 8205 has a built-in function for such gating. The three enable inputs (~, ~, E3) are ANDed together and create. a single enable signal for the decoder. The combination of both active "high" and active "low" device enable inputs provides the designer with a powerfully flexible gating func- tion to help reduce package count in his system.

Figure 1. Enable Gate

ADDRESS ENABLE

OUTPUTS 0 1 2 3 4 5 6 7

Ao A, A2 E, E2 E3

L H H L H L H L L L H H H L L L H L L H L L H H L H L L H L H H L L H L L H X X X L L L X X X H L L X X X L H L X X X H H L X X X H L H X X X L H H X X X H H H

L H L H L H L H L H L H L H L H

AFN-D0204B-02

Show 7 more labels / short text on this page
Ao · 0; · 0, · 0;; · 0;; · 0, · fEH2·E3)
Page 281 of the Intel mcs-48 user manual — OS;;
Page 281 · click to enlarge
Page 281
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 281)
Fig. 280 · The Single Component . 2" MCS-4S™ S~stem

APPLICATIONS OF THE 8205

ray of 8205s can be used to create Ii simple interface to a 24K memory system.

The 8206 can be used in a wide variety of applications in microcomputer systems. I/O ports can be decoded from the address bus, chip select signals can be generated to select memory devices and the type of machine state such as in 8008 systems can ~ derived from a simple decoding of the state lines (SO, S1, S2) of the 8008 CPU.

The memory devices used can be either ROM or RAM and are 1 K in storage capacity. 8308s and 81 02s are the devices typically used for this application. This type of memory de- vice has ten (10) address inputs and an active "low" chip select (CS). The lower order address bits AO·A9 which come from the microprocessor are "bussed" to all memory ele-

ments and the chip select to enable a specific device or group of devices comes from the array of ~206s. The output of the 8206 is active low so it is directly compatible with the memory components.

1/0 Port Decoder

Shown in the figure below is a typical application of the 8206. Address input lines are decoded by a group of 8206s (3). Each input has a binary weight. For example, AO is as· signed a value of 1 and is the LSB; A4 is assigned a value of

Basic operation is that the CPU issues an address to identify a specific memory location in which it wishes to "write" or "read" data. The most significant address bits A 10·A 14 are decoded by the array of 8206s and an exclusive, active low, chip select is generated that enables a specific memory de· vice. The least significant address bits AO.A9 irt.!I1tify !! specific location within the selected device. Thus, all ad' dresses th roughout the entire memory array are exclusive

16 and is: the MSB. By connecting them to the decoders as shown, an active low signal that is exclusive in nature and represents the value of the input address lines, is available at the outputs of the 8206s.

This circuit can be used to generate enable signals for I/O

ports or any other decoder related application. Note that no external gating is required to decode up to 24 exclusive devices and that a simple addition of an inverter or two will allow expansion to even larger decoder net· works.

in nature and are non·redundant.

This technique can be expanded almost indefinitely to sup·

port even larger systems with the addition of a few inverters and an extra decoder (8205).

Chip Select Decoder

> ~~MORIES

Using a very similar circuit to the I/O port decoder, an ar·

,1

"---~-I A,---..,-r--t

A,

A",----~_I ... ,---~+-I A,,---.-1--+--1

A,

A,

A,

A,

E1 .. '3

A 13 --..,-H+-q A 14 -_-t-H-+-q

E,

E, '3 .. A,

A, -T"1-t--t-1t--ClI 'N -+-t-t--t-t---t

OS;

A.

A,

A,

A,

OS;; cr,; CHIP es;; SELECTS es;;

f1 8205 PORT 12 NUMBERS

E,

E1 r, '3 .. A,

Eii-+-IH-+t-

E, "

OS;;

A,

!!Iii an

A,

A,

A,

E,

E, '3

Figure 2. 1/0 Port Decoder

Figure 3. 32K Memory Interface

8-20 AFN-0020411-03

Show 16 more labels / short text on this page
A,,--~-+-+--t · Vee --+--+-H-+--1 · CIj · CIj · f3 · ONO ~>-+-t--Ht-t-q · Cfi4 · ~ · is · fi · is · CI1a es;; · 11 8206 2ij · ill;;; ~ csu · E1 r, '3 · CliO
Page 282 of the Intel mcs-48 user manual — 8-21 AFN-002048-04
Page 282 · click to enlarge
Page 282
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 282)
Fig. 281 · The Single Component . 2" MCS-4S™ S~stem

Logic Element Example

Probably the most overlooked application of the 8205 is that of a general purpose logic element. Using the "on-chip" enabling gate, the 8205 can be configured to gate its de- coded outputs with system timing signals and generate strobes that can be directly connected to latches, flip-flops and one-shots that are used throughout the system.

and T2 decoded strobes can connect directly to devices like 8212s for latching the address information. The other de- coded strobes can be used to generate signals to control the system data bus, memory timing functions and interrupt structure. RESET is connected to the enable gate so that strobes are not generated during system reset, eliminating accidental loading.

An excellent example of such an application is the "state decoder" in an 8008 CPU based system. The 8008 CPU is- sues three bits of information (SO, S1, S2) that indicate the nature of the data on the Data Bus during each machine state. Decoding of these signals is vital to generate strobes that can load the address latches, control bus discipline and general machine functions.

The power of such a circuit becomes evident when a single decoded strobe is logically broken down. Consider fi out- put, the boolean equation for it would be:

T1 ~ (SO'S1'S2)-(SYNC'Phase 2'Reset)

A six input NAND gate plus a few inverters would be need- ed to implement this function. The seven remaining outputs would need a similar circuit to duplicate their function, obviously a substantial savings in components can be achieved when using such a technique .

In the figure below a circuit is shown using the 8205 as the "state decoder" for an 8008 CPU that not only decodes the SO, S1, S2 outputs but gates these signals with the clock

(phase 2) and the SYNC output of the 8008 CPU. The T1

. , .,

2 '3 1'1 .. 11 1'2 -, " T3

S, I I I T1I T1 T2 WAIT T3 STOP T' TO

7 1'4 82O!) 10 .. TO

I Sill I - I 2-..u I

1 I .. ill I OUTPUTS 0 I FROM ill I I I ,- I 8200 W I 7 W I I .. w---r Iff

0 10 WAIT

12 STOP E, 3" .- ru

SYSTEM RESET

So ., "

STATE 0 1 0 T1 0 1 1 T1I 0 0 1 T2 0 0 0 WAIT 1 0 0 T3 1 1 0 STOP 1 1 1 T' 1 0 1 T5

Figure 4. 8205 State Decoder Circuit

8-21 AFN-002048-04

So · State Control Coding

Page 283 of the Intel mcs-48 user manual — OUTPUT "HIGH' VOLTAGE (V)
Page 283 · click to enlarge
Page 283
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 283)
Fig. 282 · The Single Component . 2" MCS-4S™ S~stem

ABSOLUTE MAXIMUM RATINGS·

'COMMENT Stresses above those listed under "Absolute Maximum Rat- ing" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or at any other condition above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

Temperature Under BiasCeramic -65°C to +125°C Plastic -65°C to + 75°C

Storage Temperature -65°C to +160oC

All Output or Supply Voltages

-0.5 to +7 Volts

All I nput Voltages

-1.0 to +5.5 Volts

Output Currents 125 mA

D.C. CHARACTERISTICS

TA = O·C to + 75·C, Vee = 5V ± 5%

LIMIT MIN. MAX. UilJiT TEST CONDiTiONS

IF INPUT LOAD CURRENT

-0.25 mA Vee - 5.25V, V F - 0.45V

IR INPUT LEAKAGE CURRENT

10 ~A Vee = 5.25V, VR = 5.25V

Ve INPUT FORWARD CLAMP VOLTAGE

-1.0 V Vee = 4.75V, Ie = -5.0 mA

Val OUTPUT "LOW" VOLTAGE

0.45 V Vee - 4.75V, IOl - 10.0 mA

V OH OUTPUT HIGH VOLTAGE

2.4 V Vee = 4.75V, IOH = -1.5 mA

V 1L INPUT "LOW" VOLTAGE

0.85 V Vee = 5.0V

V 1H INPUT "HIGH" VOLTAGE

2.0 V Vee = 5.0V -40 -120 mA Vee = 5.0V, VOUT = OV

Ise OUTPUT HIGH SHORT

CIRCUIT CURRENT

Vox OUTPUT "LOW" VOLTAGE

0.8 V Vee = 5.0V, lox = 40 mA

@ HIGH CURRENT

Icc POWER SUPPLY CURRENT -

70 mA Vee = 5.25V

TYPICAL CHARACTERISTICS

OUTPUT CURRENT VS. OUTPUT CURRENT VS. OUTPUT "LOW" VOLTAGE

OUTPUT "HIGH" VOLTAGE

DATA TRANSFER FUNCTION

100 TA '" 75°C ___ Y

r-- ~cc J 50~ flV I HIt. ~ 25"C

I _I. vee'" s.ov f- -

TA~25"C~ -., ~

TA=O°C- ~ TA~-~ /I , I i If i J I b

Vee'" 5.0V I ~ TA '" DOC 80 -10

i# -20

TA - DOC

60 J

'I 1\ I\'<

TA " 25"C M f..\

40 '"

TA "" 75"C f--I \ ! \

TA ~ 75"C~ ~

/, ~ TA. '" DOC 20 -40 .,M r-- ,

I ,\ \.. ~ ~

I TA.= 25"C o -50 o .2 .4 .6 .8 1.0

1.0 2.0 3.0 4.0 5.0

.2 .4 ,6 .8 1.0 1.2 1.4 1.6 1.B 2.0

OUTPUT "lOW" VOL TAGE (V)

OUTPUT "HIGH' VOLTAGE (V)

INPUT VOL TAGE (V)

AFN-00204B-05

SYiviBOL PARAMETER

Page 284 of the Intel mcs-48 user manual — AFN-00204B-06
Page 284 · click to enlarge
Page 284
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 284)
Fig. 283 · The Single Component . 2" MCS-4S™ S~stem

SWITCHING CHARACTERISTICS

Conditions of Test:

Input pulse amplitudes2.5V
Input rise and fall times5 nsee between 1 V and 2V

Measurements are made at 1.5V

All Transistors 2N2369 or Equivalent. CL = 30 pF

ADDRESS OR ENABLE

INPUT PULSE

OUTPUT

A.C. CHARACTRISTICS

TA = DOG to + 75°G, Vee = 5V ± 5% unless otherwise specified.

SYMBOL PARAMETER MAX. LIMIT

UNIT TEST CONDITIONS . - ---.- .. .-~-.--.- ns ._ ,-- ns

t -+ ADDRESS OR ENABLE TO 18

_.- ---" ns -- "-_._- .. - ns . - pF f = , MHz. Vee = ov pF VSIAS = 2.0V. TA < 250 e

t+_ OUTPUT DELAY 18

t 18 -- C IN (1l INPUT CAPACITANCE P8205 4(typ.) C8205 5(typ.)

1. This parameter IS periodically sampled and IS not 100 Yo tested.

TYPICAL CHARACTERISTICS

ADDRESS OR ENABLE TO OUTPUT

ADDRESS OR ENABLE TO OUTPUT DELAY VS. AMBIENT TEMPERATURE

DELAY VS. LOAD CAPACITANCE

20 " I.,ov Vee CL 30 pF

Vee'" 5.0V

TA " 25"C

'5 I I I, • I_ I ------ .. ------ I '0--·--

~ 15 I---------+-

0 '" w -' "' " iii '" 0

w -' "' " iii '" '01------1o

~ '" o 51

~ '" 0 0 "

I"

oL__ L__ L__ L-_~ o 50 '00 '50 200

0 _I

0 25 50 75

AMBIENT TEMPERATURE. {"Cl

AFN-00204B-06

Show 6 more labels / short text on this page
Test Load · 390n · Test Waveforms · t++ 18 · 20r---r---r---'---~ · LOAD CAPACITANCE {pFl
Page 285 of the Intel mcs-48 user manual — DO. 00 5
Page 285 · click to enlarge
Page 285
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 285)
Fig. 284 · The Single Component . 2" MCS-4S™ S~stem

inter

8212 8-BIT INPUT/OUTPUT PORT

  • Fully Parallel8-Bit Data Register and Buffer
  • 3.6SV Output High Voltage for Direct Interface to 8008, 8080A, or 808SA CPU
  • Service Request Flip-Flop for Interrupt Generation
  • Asynchronous Register Clear
  • Low Input Load Current - .2SmA Max.
  • Three State Outputs
  • Replaces Buffers, Latches and Multiplexers in Microcomputer Systems
  • Outputs Sink 1SmA
  • Reduces System Package Count

The 8212 input/output port consists of an 8-bit latch with 3-state output buffers along with control and device selection logic. Also included is a service request flip-flop for the generation and control of interrupts to the microprocessor.

The device is multi mode in nature. It can be used to implement latches, gated buffers or multiplexers. Thus, all of the principal peripheral and input/output functions of a microcomputer system can be implemented with this device.

PIN CONFIGURATION

LOGIC DIAGRAM

SERVICE A~UEST FF

MO INT

01, 01.

IT> os, [i]> oS2

DO, DO.

01 2 017 002 007

013 DI. 003 DO.

ID> STB +--;_J

OUTPUT

BUFFER

1. 01 5

DO. 00 5

IT> 0', ---------++t

OATA LATCH

GNO OS2

[B>o', -------=-+t

Vo'3 ----------t-+t

[E> D '. --------I-+t

PIN NAMES

GD ~'s -------+-H

IT> D '6 ---------7--H

~ D', --------++1

0> D'B ----------'--+i

IE> Cl R -----4

Show 5 more labels / short text on this page
os, vee · [[> Mo -----t-<H_~ · STe CLR · DOsIE> · AFN-00731 A-o,
Page 286 of the Intel mcs-48 user manual — CLR - RESETS DATA LATCH
Page 286 · click to enlarge
Page 286
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 286)
Fig. 285 · The Single Component . 2" MCS-4S™ S~stem

FUNCTIONAL DESCRIPTION

Service Request Flip-Flop

The (SR) flip-flop is used to generate and control interrupts in microcomputer systems. It is asynchron- ously set by the CLR Input (active low). When the (SR) flip- flop is set it Is In the non-Interruptl!lg state.

Data Latch

The 8 flip-flops that make up the data latch are of a "0" type design. The output (0) of the flip-flop will follow the data Input (0) while the clock Input (C) Is high. Latching will occur when the clock (C) returns low.

The output of the (SR) flip-flop (0) is connected to an inverting input of a "NOR" gate. The other Input to the "NOR" gate is non-inverting and Is connected to the device selection logic (OS1 • OS2). The output of the "NOR" gate (00) Is active low (interrupting state) for connection to active low Input priority generating circuits.

The latched data Is cleared by an asynchronous reset Input (CIA). (Note: Clock (C) Overrides Reset (CLR).)

Output Buffer

The outputs of the data latch (0) are connected to 3-state, non-Inverting output buffers. These buffers have a common control line (EN); this control line either enables the buffer to transmit the data from the outputs of the data latch (0) or disables the buffer, forcing the output Into a high Impedance state. (3-state)

SERVICE REQUEST FF

\

The high-impedance state allows the designer to connect the 8212 directly onto the microprocessor bl-directional data bus.

[i> MD +H~rt' [j) STa -.. i_~

Control Logic

Il> D " --------++1

The 8212 has control inputs OS1, OS2, MO and STB. These inputs are used to control device selection, data latching, output buffer state and service request flip-flop.

DATA LATCH

[Z> D '3 --------r-+1

DS1, DS2 (Device Select)

These 2 inputs are used for device selection. When OS1 Is low and OS2 is high (OS1 • OS2) the device is selected. In the selected state the output buffer is enabled and the service request flip-flop (SR) is asynchronously set.

IE> D '. +-+1

I)]> D 's --------++1

MD (Mode)

I)]> D '6 --------;--+1

This input is used to control the state of the output buffer and to determine the source of the clock input (C) to the data latch.

[lg> D '7 +-+1

When MO is high (output mode) the output buffers are enabled and the source of clock (C) to the data latch is from the device selection logic (OS1 • OS2).

§>D'8 ~+1

When MO is low (input mode) the output buffer state is determined by the device selection logic (OS1 • OS2) and the source of clock (C) to the data latch.ls the STB

  • o 3·STATE DATA DUTEClJAJLS elR (151;-0121 STa ·SR: INT o
  • 0 , r 1 , 0 , ,

(Strobe) input.

STa . MO

o 0, o ,

3·STATE DATA LATCH DATA LATCH DATA LATCH . DATA IN DATA IN DATA IN

o , 0 • , I 0

o o ·1

, . 0 • " I ' , ':""'\-. 1 0

STB (Strobe)

-INTERNAL SR FLIP· FLOP

This input is used as the ciock (C) to the data latch for the input mode MO = 0) and to synchronously reset the service request flip-flop (SR).

CLR - RESETS DATA LATCH

SETS SR FLlp·FLOP INO EFFECT ON OUTPUT BUFFERI

Show 4 more labels / short text on this page
(08,-0821 · o · ~ ·;-·~tg · AFN-00731 Ao02
Page 287 of the Intel mcs-48 user manual — AFN.(JQ731 A-OG
Page 287 · click to enlarge
Page 287
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 287)
Fig. 286 · The Single Component . 2" MCS-4S™ S~stem

Applications of the 8212 For Microcomputer Systems

I Basic Schematic Symbol II Gated Buffer III BI-Directlonal Bus Driver IV Interrupting Input Port

V Interrupt Instruction Port VI Output Port ' VII '8080A,$,tatus Latch VIII 8085A'-Address Latch

1. Basic Schematic Symbols

Two examples of ways to draw the 8212 on system schematics - (1) the top being, the detailed view showing pin numbers, and (2) the bottom being the symbolicview

showing the system input or output as a system bus (bus containing 8 parallel lines). The output to the data bus is symbolic In referencing 8 parallel lines.

BASIC SCHEMATIC SYMBOLS

INPUT DEVICE

OUTPUT DEVICE

11 STB 4 01 DO 6 8 9 10

~ 01 STB DO :

16 8212 15 18 (DETAILED)

GND INPUT STROBE----;:=L...,

Vee .. _..c:::;~-- OUTPUT, FLAG

(SYMBOLIC) SYSTEM OUTPUT

SYSTEM INPUT

GND DATA BUS

II. Gated Butter (3-State)

GATED BUFFER

The simplest use of the 82121s that of a gated butter. By tying the mode signal low and the strobe input high, the data latch is acting as a straight through gate. The output buffers are then enabled from the device selection logic DS1 and DS2. '

vcc--~ .---~

STB

INPUT DATA, (250.AI

OUTPUT DATA (15mA) (3.65V MIN)

When the device selection logic is false, the outputs are 3- state. '

When the device selection logic is true, the input data from the system is directly transferred to the output. The input data load Is 250 micro amps. The output data can sink 15 milll amps. The minimum high output is ,3.65 volts.

GATING { CONTROL (m.DS2) , __ -:-_ ,-_---.J

AFN.(JQ731 A-OG

~

Page 288 of the Intel mcs-48 user manual — AFN·OO731A·04
Page 288 · click to enlarge
Page 288
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 288)
Fig. 287 · The Single Component . 2" MCS-4S™ S~stem

III. BI-Dlrectlonal BUB Driver

BI-DIRECTIONAL BUS DRIVER

A pair of 8212's wired (back-to-back) can be used as a symmetrical drive, bi-directional bus driver. The devices are controlled by the data bus input control which is connected to DS1 on the first 8212 and to DS2 on the second. One device is active, and acting as a straight through buffer the other is in 3-state mode. This is a very useful circuit in small system design.

J.

STB

DATA

,.l

DATA

BUS

:. v

BUS

CLR

DATA BUS CONTROL (0= L - RJ (I = R - LJ

Y G~D L--

STB

~ 8212 L CLR

"

----..J f---Y

GND

IV. Interrupting Input Port

INTERRUPTING INPUT PORT

This use of an 8212 is that of a system input port that accepts a strobe from the system input source, which in turn clears the service request flip-flop and interrupts the processor. The processor then goes through a service routine, identifies the port, and causes the device selection logic to go true -enabling the system input data onto the data bus.

DATA

INPUT STROBE

BUS

STB

SYSTEM INPUT

SYSTEM RESET

PORT { SELECTION (DS1·DS2J -------' t----- T~c~~0~R~6~JCKT

OR

TO CPU INTERRUPT INPUT

V. Interrupt Instruction Port

INTERRUPT INSTRUCTION PORT

The 8212 can be used to gate the interrupt instruction, normally RESTART instructions, onto the data bus. The device is enabled from the interrupt acknowledge signal from the microprocessor and from a port selection signal. This signal is normally tied to ground. (DS1 could be used to multiplex a variety of interrupt instruction ports onto a common bus).

DATA

BUS

STB

RESTART INSTRUCTION (RST 0 - RST 7J

(DSIJ PORT SELECTION

INTERRUPT ACKNOWLEDGE --l

AFN·OO731A·04

"- · ~

Page 289 of the Intel mcs-48 user manual — 13 12 '('1 DATA DBIN
Page 289 · click to enlarge
Page 289
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 289)
Fig. 288 · The Single Component . 2" MCS-4S™ S~stem

VI. Output Port (With Hand-Shaking)

OUTPUT PORT (WITH HAND-SHAKING)

The 8212 can be used to transmit data from the data bus to a system output. The output strobe could be a hand- shaking signal such as "reception of data" from the device that the system is outputting to. It In turn, can interrupt the system signifying the reception of data. The selection of the port comes from the device selection logic.(OS1· OS2)

DATA

BUS r---- .... - OUTPUT STROBE

STB

SYSTEM OUTPUT

SYSTEM RESET

PORT SELECTION L--'-' ____ - :~~~2~ONTROL)

SYSTEM INTERRUPT

VII. 808GA Status Latch

Here the 8212 is used as the status latch for an 8080A microcomputer system. Tha input to the 8212 ;atch Is directly from the 8080A data bus. Timing shows that when the SYNC signal is true, which is connected to the OS2 input and the phase 1 signal is true, which is a TTL level coming from the clock generator; then, the status data will be latched into the 8212.

It is shown that the two areas of concern are the bl- di rectional data bus ofthe microprocessor and the control bus.

/:

10 9 8 7 3 4 5 6

0 1 O2 0 3 04 8080A 0 5 06 0 7

DATA BUS

19 r!1-

SYNC

DB IN

STATUS

LATCH

22 15 12V" ovJ '- .""" l----,

--4 ~ 7 9 16 18 20

Do 4- ~ rfur,s 8212 P,tffgrt"" r:-

INTA wo 11 T2

STACK HLTA ~1 OUr

BASIC Ml CONTROL ¢2 INP BUS MEMR SYNC CLR DS2 MD OS1

~Tl) 22 r;1

CLOCK GEN.

13 12 '('1 DATA DBIN

STATUS

8-28 AFN..(J0731Ao05

} · \11 \12 · Io DRIVER

Page 290 of the Intel mcs-48 user manual — LOW ORDER ADDRESS BUS
Page 290 · click to enlarge
Page 290
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 290)
Fig. 289 · The Single Component . 2" MCS-4S™ S~stem

VIII. 808SA Low-Order Address Latch

The 808SA microprocessor uses a multiplexed address/ data bus that contains the low order 8-bits of address information during the first part of a machine cycle. The same bus contains data at a later time in the cycle. An address latch enable (ALE) signal is provided by the 808SA to be used by the 8212 to latch the address so that it may be available through the whole machine cycle. Note: In this configuration, the MODE input is tied high, keeping the 8212's output buffers turned on at all times.

12 /:

13 AD, 14 AD2 1S AD3 16 AD4 17 BOSSA AD5 AD6 18

DATA BUS

19 AD7

ALE ~

VJc 11 ~DI, STBDO,&

5 ~ 7 8 9 ~ 16 ~ 18 8212 f-j7

LOW ORDER ADDRESS BUS

20 r,g-

22 _ 121: f CLR " .';, j~ 1

1 _ Vcc

AFN-00731 A-()6

Page 291 of the Intel mcs-48 user manual — D.C. CHARACTERISTICS TA = o·c to +75·C, Vcc = +5V ±5%
Page 291 · click to enlarge
Page 291
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 291)
Fig. 290 · The Single Component . 2" MCS-4S™ S~stem

ABSOLUTE MAXIMUM RATINGS·

  • Temperature Under Bias Plastic ....... O·C to +70·C Storage Temperature .............. -65·C to +160·C All Output or Supply Voltages ........ -0.5 to +7 Volts All Input Voltages .....
  • ........... -1.0 to 5.5 Volts Output Currents ..........
  • .........
  • .......
  • 100mA

·COMMENT

Stresses above those listed under"Absolu~e Maximum Ratings" mayc~use permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditio'ns above those indicated in the operational sections of this specificaUon is' not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. .

D.C. CHARACTERISTICS TA = o·c to +75·C, Vcc = +5V ±5%

Limits Unit Test Conditions Parameter

Min. Typ. Max.

IF Input Load Current, ACK, OS2, CR, 011-01a Inputs -.25 mA VF = A5V

IF Input Load Current MO Input -.75 mA VF = .45V

IF Input Load Current OSl Input -1.0 mA VF = .45V

IR Input Leakage Current, ACK, OS, CR, 011-01a Inputs 10 p.A VR SVcc

IR Input Leakage Current MO Input 30 p.A VR S Vcc

IR Input Leakage Current OSl Input 40 p.A VR S Vcc

Vc Input Forward Voltage Clamp -1 V Ic = -5mA

VIL Input "Low" Voltage .85 V

VIH Input "High" Voltage 2.0 V

VOL Output "Low" Voltage 045 V IOL = 15mA

VOH Output "High" Voltage 3.65 4.0 V IOH = -1mA

Isc Short Circuit Output Current -15 -75 mA Va = OV, Vcc = 5V

1101 Output Leakage Current High Impedance State 20 p.A Va = .45V/5.25V

Icc Power Supply Current 90 130 mA

Symbol · 8-30 AFNoOO731A-Il7

Page 292 of the Intel mcs-48 user manual — TEMPERATURE (OCI
Page 292 · click to enlarge
Page 292
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 292)
Fig. 291 · The Single Component . 2" MCS-4S™ S~stem

TYPICAL CHARACTERISTICS

INPUT CURRENT VS. INPUT VOLTAGE

OUTPUT CURRENT VS. OUTPUT "LOW" VOLTAGE

loor . r ~ __,

Vee .15.ov ~ ~

Vee - +5.0V

~I'

! -100

C ! Iili a: a: :> " I-

TA"O~C V- V'TA ' 25'C i-"'V TA • 75"C

I- ili ~ -150 i3

-2 -1 +1 +2

INPUT VOLTAGE (VI

OUTPUT "LOW" VOLTAGE (V)

OUTPUT CURRENT VS. OUTPUT "HIGH" VOLTAGE

DATA TO OUTPUT DELAY VS. LOAD CAPACITANCE

Vee ~ ~5.0V

TA'= 25 U C ~-t

i r-----:.-

~ 0 I-

! -- ~-- i \~"'-- f...- ! _-_1.- ~ 20 -r--r-- ~

~ :> 0 0 I- .. ~ 0

10 -.,

50 100 150 ~o 250

OUTPUT "HIGH" VOLTAGE (V)

DATA TO OUTPUT DELAY

WRITE ENABLE TO OUTPUT DELAY

VS. TEMPERATURE

VS. TEMPERATURE

Vee =+5.0V

Vee = +S.OV

! >-

~~----+-----+-----+------+-----~ !

I i ! ~!.. I -- . --,..,

~ 0 I-

>- 18 :5 ~ I-

~ :> 0 0 Iw -' .. .. ffi w lii: i:

ST~< f---- -" - t+_ os, --

~'\ .. %

0 t-_ 0 I- .. 14 I- .. 0

r-=:.- os;<

t __ t---- ~ !

10 -25 25 50 75 100

25 50 75 100

TEMPERATURE (OCI

Show 13 more labels / short text on this page
50~-----+------_+------~----~ · ~! -200 · ~ 0 · ~ · -300 -3 · +3 · °o~--~~~-----L-------L------J · c >- · LOAD CAPACITANCE (pFJ · 22r-----r-----r-----~----~----, · ~ · TEMPERATURE reI · AFN-00731A-oB
Page 293 of the Intel mcs-48 user manual — AFN-00731A-09
Page 293 · click to enlarge
Page 293
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 293)
Fig. 292 · The Single Component . 2" MCS-4S™ S~stem

A.C. CHARACTERISTICS TA = o·c to HO·C. Vee = +5V ± 5%

Min. Typ.

Max.

tpw Pulse Width 30

tPD Data to Output Delay

tWE Write Enable to Output Delay

tSET Data Set Up Time 15

tH Data Hold Time 20

tR Reset to Output Delay

ts Set to Output Delay

tE Output Enable/Disable Time

te Clear to Output Delay

CAPACITANCE* F = 1MHz. VBIAS = 2.5V. Vee = +5V. TA = 25·C

Typ. Max.

CIN 051 MD Input Capacitance 9pF 12pF

CIN 052. CK. ACK. DI1-Dls Input Capacitance 5pF 9pF

COUT 001-DOs Output Capacitance 8pF 12pF

'This parameter is sampled and not 100% tested.

SWITCHING CHARACTERISTICS

Input Pulse Amplitude = 2.5V Input Rise and Fall Times 5ns Between 1V and 2V Measurements made at 1.5V with 15mA and 30pF Test Load

Test CL* R1 R2

tPD. tWE. tA. ts. tc 30pF 3000 6000

TO D.U.T.

tEo ENABLE! 30pF 10KO 1KO

tEo ENABLE I 30pF 3000 6000

tEo DISABLE! 5pF 3000 6000

tEo DISABLEI 5pF 10KO 1KO

"INCLUDING JIG & PROBE CAPACITANCE

'Includes probe and jig capacitance.

AFN-00731A-09

Show 16 more labels / short text on this page
Limits Symbol Parameter · Unit Test Conditions · ns · ns Note 1 · ns Note 1 · ns · ns · ns Note 1 · ns Note 1 · ns Note 1 · ns Note 1 · Limits Symbol Test · Conditions of Test · Test Load · l5mA &30pF · Vee
Page 294 of the Intel mcs-48 user manual — ~aorOO1.-D-S-2---.,...-----~~--------1-.5~V~~ ______________ __
Page 294 · click to enlarge
Page 294
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 294)
Fig. 293 · The Single Component . 2" MCS-4S™ S~stem

TIMING DIAGRAM

DATA 1.5V'J:'"-Y,.5V '. ~tpw ../1' 1,-- "I" tH ~

STa or l5S1 • DS2 1.5vl --- ' 1._5V ,...- l-_tw_E::J r ---

OUTPUT IX 1_.5_V

1.5V! \1.5V ' l tE -1 r _ ~E~~~WL _ ~-t-D-+ ~ . ;::::::::::;::~ Itpw~

OUTPUT

1.5V\ 11.5V I. tC"I, ____ _

_______________ )( .... 1.5_V _____ _ DO

OATA 15VX y1.5V J~ 'I~ tSET - - -r - tH --I

~aorOO1.-D-S-2---.,... ~~ 1-.5~V~~

_______ ~_t_PD_j r ___________ _

'OUTPUT _________ --' \ .... 1._5V ____________________ _

STa ______ -J~ .... 1._5V _____________________________ _ Ltpw ------.-- --~-----""\

-=ci

NOTE: ALTERNATIVE TEST LOAD

OUT

eL "::" ·'K

vec'OK · 8-33 AFN-ClO731A-10

Page 295 of the Intel mcs-48 user manual — ENABLE NEXT LEVEL GROUP
Page 295 · click to enlarge
Page 295
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 295)
Fig. 294 · The Single Component . 2" MCS-4S™ S~stem

inter 8214/3214* PRIORITY INTERRUPT CONTROL UNIT

  • 8 Priority Levels
  • Fully Expandable
  • Current Status Register
  • High Performance (50 ns)
  • Priority Comparator
  • 24·Pin Dual In·Llne Package

The Intel~ 8214 is an 8·level priority Interrupt control unit (PICU) designed to simplify interrupt·driven microcomputer systems.

The PICU can accept 8 requesting levels; determine the highest priority. compare this priority to a software controlled current status register and issue an interrupt to the system along with vector information to identify the service routine.

The 8214 is fully expandable by the use of open collector interrupt output vector information. Control signals are also provided to simplify this function.

The PICU is designed to support a wide variety of vectored interrupt structures and reduce package count in Interrupt· driven microcomputer systems.

'Note: The specifications for the 3214 are Identical with those for the 8214.

PIN CONFIGURATION

LOGIC DIAGRAM

·0 Vee ., Ees ., A;

~ Ra I!!> R; [!D R, I!!> R, I!!> ;;:; ~ "- ~ As ~ R;

REQUEST ACTIVITY

A.[D iI,[D A,11!>

SGS A,

'NT R,

elK A, 8214 R, 'NTE

A;; A,

I:!> B, ID s:; II> B, [D SGS l?D EcS

A, A,

A, R,

GNO ETLG

CC>'NTE-----------------~ OC> ~--------------------------~

PIN NAMES

INPUTS

RO-A? REQUEST LEVELS IR7 HIGHEST PRIORITY) 80-82 CURRENT STATUS iGi STATUS GROUP SELECT ECi ENABLE CURRENT STA'JUS INTE INTERRUPT ENABLE ill CLOCK UNT F·FI ELA ENABLE lEVEL READ ETLG ENABLE THIS LEVEL GROUP

OUTPUTS: , M ENLO

REQUEST LEvl:LS }-OPEN INTEARUPT(ACT. LOW) COLLECTOR

ENABLE NEXT LEVEL GROUP

Show 4 more labels / short text on this page
IE> ElR I1!>ETlG-- · PRIOR lTV COMPARATOR · ElA ENLG · AFN·00210A-ol
Page 296 of the Intel mcs-48 user manual — AFN·OO210A-02
Page 296 · click to enlarge
Page 296
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 296)
Fig. 295 · The Single Component . 2" MCS-4S™ S~stem

821413214

ABSOLUTE MAXIMUM RATINGS·

  • Temperature Under Bias. . . . . .
  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • . . . . . . . .
  • . . . . . .. O°C to 75°C Storage Temperature ......................................................... _65°C to +160°C All Output and Supply Voltages. . . . . . . . . . . . . . . .
  • . . . . . . . . . . . . . . . . .
  • . . . . . . . . . . . . . . . .. -0.5V to +7V All Input Voltages .......
  • ... ' .................
  • .........
  • ..................... -1.0V to +5.5V Output Currents ....................
  • ........................
  • ................... ." 100 mA

'COMMENT: Stresses above those listed under "Absolute Maximum Rating" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or at any other condition above those indicated in the operational sections of this specifi· cations is not implied. Exposure to absolute maximum ratings for extended periods may affect device reliabilitY.

D.C. AND OPERATING CHARACTERISTICS

TA = o°c to +70°C, VCC = 5V ±5%.

Limits Unit Conditions Typ.[l] Max.

Symbol Parameter Min.

Vc Input Clamp Voltage (all inputs)

-1.0 V Ic=-5mA

IF Input Forward CurrentETLG input all other inputs

-.15 -0.5 mA VF=0.45V -.08 -0.25 mA

IR Input Reverse CurrentETLG input all other inputs

80 p.A VR=5.25V 40 p.A

V il Input LOW Voltage: all inputs

0.8 V VCC=5.0V

VIH Input HIGH Voltageall inputs 2.0

V VCC=5.0V

Icc Power Supply Current

90 130 mA See Note 2.

VOL Output LOW Voltageall outputs

.3 .45 V 10l =15mA

VOH Output HIGH VoltageENLG output 2.4

3.0 V 10H=-lmA

los Short Circuit Output CurrentEN LG output -20

-35 -55 mA VOs=OV, Vcc=5.0V

ICEX Output Leakage CurrentINT and Ao·A2

100 p.A VCEx=5.25V

AFN·OO210A-02

Page 297 of the Intel mcs-48 user manual — CAPACITANCE[S)
Page 297 · click to enlarge
Page 297
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 297)
Fig. 296 · The Single Component . 2" MCS-4S™ S~stem

8214/3214

A.C. CHARACTERISTICS TA = o°c to +70°C, VCC = +5V ±5%

limits Symbol Parameter Min. Typ.(1) Max. Unit

tCY ClK Cycle Time 80 50 ns

tpw ClK, ECS, I NT Pulse Width 25 15 ns

tlSS INTE Setup Time to ClK 16 12 ns

tlSH INTE Hold Time after ClK 20 10 ns

tETCS[21 ETlG Setup Time to ClK 25 12 ns

tETCH[21 ETlG Hold Time After ClK 20 10 ns

tECCS[21 ECS Setup Time to ClK 80 25 ns

tECCH[31 ECS Hold Time After ClK 0 ns

tECRS[31 ECS Setup Time to ClK 110 70 ns

tECRH[31 ECS Hold Time After ClK 0

tECSS[21 ECS Setup Time to ClK 75 70 n. ---

tECSH[21 ECS Hold Time After ClK 0 ns

tocs[21 SGS and Bo·B2 Setup Time to ClK 70 50 ns

tOCH[21 SGS and Bo·B2 Hold Time After ClK 0 ns

tRCS[31 Ro·R 7 Setup Time to ClK 90 55 ns

tRCH[31 RO·R7 Hold Time After ClK 0 ns

tiCS INT Setup Time to ClK 55 35 ns

tCI ClK to INT Propagation Delay 15 25 ns

tRIS[41 RO·R7 Setup Time to INT 10 0 ns

tRIH[41 Ro·R7 Hold Time After INT 35 20 ns

tRA Ro·R7 to AO·A2 Propagation Delay 80 100 ns

tELA E lR to Ao·A2 Propagation Delay 40 55 ns

tECA ECS to Ao·A2 Propagation Delay 100 120 ns

tETA ETlG to Ao·A2 Propagation Delay 35 70 ns

tOECS[41 SGS and Bo·B2 Setup Time to ECS 15 10 ns

tOECH[41 SGS and Bo·B2 Hold Time After ECS 15 10 ns

tREN Ro·R7 to EN lG Propagation Delay 45 70 ns

tETEN ETlG to ENlG Propagation Delay 20 25 ns

tECRN ECS to ENlG Propagation Delay 85 90 ns

tECSN ECS to ENlG Propagation Delay 35 55 ns

CAPACITANCE[S)

limits Symbol Parameter Min. Typ.l11 Max Unit

CIN I nput Capacitance 5 10 pF

COUT Output Capacitance 7 12 pF

Test ConditionsV SIAS = 2.5V, vcc = 5V, TA = 25°C, f = 1 MHz

8-36 "FN·00210"-o3

Page 298 of the Intel mcs-48 user manual — 8-37 AFN-00210A-04
Page 298 · click to enlarge
Page 298
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 298)
Fig. 297 · The Single Component . 2" MCS-4S™ S~stem

821413214

WAVEFORMS

)(-----------------)( x------- ._-----, :I~-----~j tRCS tRCH tRIS tRIH

ETlG ------- --"'\ ;-------1..------- 1( .... _--------- X

_J 1

tETCH ------- 1--- --------y -X----- -----------

INTE

'I~ -.II

----------- '~ ~- .... __ J

r---- "\ -------JF P

'ISS

'oECS _~CH 'oes tecss tecsH II 'oCH \ 1:;i

ECRS 'I 'ECRH 'ECCS teecH '

'<:1 ~ r "'\ -- 1 ~-- J

'ECRN ~

'1"--- 'PW -- ----- --- ------ 1-------"\ t--- -----------

tecA 'RA ~ tELA ___ X-... -"'\ --~--- ---f-. tETEN '

tecsN tREN "\ ENLG Jx

NOTES:

(1) Typical values are for T A ~ 25'e ,Vee ~ 5,QV,

(2) Required for proper operation if ISE is enabled during next clock pulse.

(3) These times are not required for proper opera'tion but for desired change in interrupt flip-flop.

(4) Required for new request or status to be properly loaded.

Test Load Circuit VCC

Input pulse amplitude: 2.5 volts.

Input rise and fall times: 5 ns between 1 and 2 volts.

Output loading of 15 mA and 30 pf.

Speed measurements taken at the 1.5V levels.

30 pf ..on

8-37 AFN-00210A-04

Show 7 more labels / short text on this page
tETes · tlSH · 'lj · j · Test Conditions · 300" · OUTo---~--------------+
Page 299 of the Intel mcs-48 user manual — OlEN o__ ...... ___ ....J
Page 299 · click to enlarge
Page 299
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 299)
Fig. 298 · The Single Component . 2" MCS-4S™ S~stem

inter

8216/8226 4·BIT PARALLEL BIDIRECTIONAL BUS DRIVER

  • Data Bus Buffer Driver for 8080 CPU
  • 3.65V Output High Voltage for Direct Interface to 8080 CPU
  • .. ow Input Load Current - 0.25 mA Maximum
  • 3·State Outputs
  • High Output Drive Capability for Driving System Bus
  • Reduces System Package Count

The 821618226 Is a 4-blt bidirectional bus driver/receiver_ All Inputs are low power TIL compatible. For driving MOS. the DO outputs provide a high 3.65V "OH, and for high capacitance terminated bus structures, the DB outputs provide a high 50 mA 10L capability. A non-Inverting (8216) and an inverting (8226) are available to meet a wide variety of applica- tions for buffering In microcomputer systems.

·NoleThe speclflcatlone for Ihe 321613226 are identical with those for the 821618226,

PIN CONFIGURATION

LOGIC DIAGRAM

LOGIC DIAGRAM

0. DiiN

0'. . 0 DB,

os. 00,

DB.

DO,

01, • .----001,

DB,

DO,

O~ 08,

GNO 0',

0', . 008,

D0,

PIN NAMES

01, .---0 DB,

DIo.otl, DATA BUS II·DIRECTIONAL 0'0"'0, DATA INPUT 00.,00 DATA OUTPUT

oo'~---+--~.t-~--~

O'EN DATA IN ENAILE DIRECTION CONTROL i!I CHIP SELECT

' + 0 a

~ +~ ~a OlEN ~ __ """ J

OlEN o J

Show 14 more labels / short text on this page
cs Vee · 0'0 · 0'0 01, · 00, 0', · 0', · 08, 00, · 00, · 0', · 08, · 00, · 0', · 08, · 00, · AFN-Q0733A-Ol
Page 300 of the Intel mcs-48 user manual — 8-39 AFN-00733A-Q2
Page 300 · click to enlarge
Page 300
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 300)
Fig. 299 · The Single Component . 2" MCS-4S™ S~stem

821818226

FUNCTIONAL DESCRIPTION

Microprocessors like the 8080 are MOS devices and are generally capable of driving a single TTL load. The same is true for MOS memory devices. While this type of drive is sufficient in small systems with few componenu, quite often

01. ()O p_-+-.,

08. DO. <>---t--G--+--'

it is necessary to buffer the microprocessor and memories when adding components or expanding to a multi·board system.

01, o---t--t>--+---,

08, DO,o---t--G--+--'

The 8216/8226 is a four bit bi-directional bus driver specif· ically designed to buffer microcomputer system components.

01, o---t--t>--+---,

08, DO,o---t--G--+--'

Each buffered line of the four bit driver consists of two separate buffers that are tri-state in nature to achieve direct bus Interface and bi-directional capability. On one side of the driver the output of one buffer and the input of another are tied together (DB), this side is used to interface to the system side components such as memories, 1/0, etc., be- cause its interface is direct TTL compatible and it has high drive (50mA). On the other side of the driver the inputs and outputs are separated to provide maximum flexibility. Of course, they can be tied together so that the driver can be used to buffer a true bi-directional bus such as the 8080 Data Bus. The DO outputs on this !ide of the driver have a special high voltage output drive capability (3.65V) so that direct interface to the 8080 and 8008 CPUs is achieved with an adequate amount of noise immunity (350mV worst case).

01, o---t---t~-+---..,

DB, DO, C>---t--c.I--+ '

' t o cs

DO.

Control aatlng OlEN, CS

The CS input is actually a device select. When it is "high" the output drivers are all forced to their high-impedance state. When it is at "zero" the device is selected (enabled) and the direction of the data flow is determined by the OlEN input.

DO,

DO,

The OlEN input controls the direction of data flow (see

Figure 1) for complete truth table. This direction control is accomplished by forcing one of the pair of buffers into its high impedance state and allowing the other to transmit its data. A simple two gate circuit is used for this function.

DO,

The 8216/8226 is a device that will reduce component count in microcomputer systems and at the same time enhance noise immunity to assure reliable, high performance op- eration.

0 0 01 . DB , 0 DB· 00 t-+ t+ , , } HIGH IMPEDANCE

Figure 1. 821818228 Logic Diagrams

8-39 AFN-00733A-Q2

Show 8 more labels / short text on this page
Bidirectional Driver · OlEN · (a) 8216 · 01, · 01, · 01, · (b) 8226 · OlEN CS
Page 301 of the Intel mcs-48 user manual — ",
Page 301 · click to enlarge
Page 301
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 301)
Fig. 300 · The Single Component . 2" MCS-4S™ S~stem

821618226

WAVEFORMS

A.C. CHARACTERISTICS

Limits Symbol Parameter Min. Typ.ll) Max. U"nit Conditions

TpOl Input to Output Delay DO Outputs 15 25 ns CL=30pF,R,=300n

Tp02 Input to Output Delay DB Outputs

8216 19 30 ns " CL =300pF, R 1 =90n

16 25 ns R2 = 180n

Te Output Enable Time

42 65 ns (Note 2)

36 54 ns (Note 3)

TO Output Disable Time

16 35 ns (Note 4)

T.st Conditions:

Test Load Circuit

Input pulse amplitude of 2.5V. I nput rise and fall times of 5 ns between 1 and 2 volts. Output loading is 5 mA and 10 pF. Speed measurements are made at 1.5 volt levels.

",

OUT O---T------+

",

CAPACITANCEIII

Limits Min. Typ.(1) Max.

Test Conditions VBIAS = 2.5V, Vee = 5.0V, TA = 25°C, f = 1 MHz.

2. 00 Outputs. CL· 3OpF, R, ·300110 K.!l, R2· 180/1K.!l; 08 Outputs. CL = 300pF, R, = 90110 KO. R2 = 180/1 KO. 3. 00 Outputs, CL = 3OpF, R, • 3OO/10K.!l, R2 = 6OOI1K; DB Outputs, CL =300pF, R, =90/l0KO, R2= 180/1 KO. 4. 00 Outputs. CL· 6pF, R, = 3OO/10KO, R2· 60011 KO; DB Outputs, CL = 6pF, R, = 90/10 KO, R2 = 180/1 KO. S. This parameter i. periodically sampled and not 100% tested.
Show 10 more labels / short text on this page
R2=600n · Symbol Parameter · Unit · CIN Input Capacitance · pF · COUT! Output Capacitance · pF · CoUT2 Output Capacitance · pF · 8-40 AFN-«l733A-03
Page 302 of the Intel mcs-48 user manual — AFN.O()733A-04
Page 302 · click to enlarge
Page 302
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 302)
Fig. 301 · The Single Component . 2" MCS-4S™ S~stem

8216/8226

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent dam~ge to the device. This is a stress rating only and functional opera·

Temperature Under Bias O°C to 70°C

Storage Temperature -65°C to +150°C

tion of the device at these or any other conditions above those indicated in the operational sections of this specifi- cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

All Output and Supply Voltages -0.5V to +7V

All Input Voltages -1.0V to +5.5V

Output Currents 125 mA

D.C. AND OPERATING CHARACTERISTICS

Symbol Parameter Min.

Typ. Max. Unit Conditions

IFI Input Load Current OlEN, CS

-0.15 -.5 mA VF =0.45

IF2 Input Load Current All Other Inputs

-0.08 -.25 mA VF=0.45

IRI Input Leakage Current OlEN, CS

80 JJ.A VR =5.25V

IR2 Input Leakage Current 01 Inputs

40 JJ.A VR =5.25V

Ve Input Forward Voltage Clamp

-1 V Ie = -5mA

VIL Input "Low" Voltage

VIH Input "High" Voltage 2.0

1101 Output Leakage Current DO (3-State) DB

20 JJ.A Vo = 0.45V /5.25V 100

8216 lee Power Supply Current

VOLI Output "Low" Voltage

0.3 .45 V DO Outputs IOL=15mA DB Outputs 10L =25mA

8216 VOL2 Output "Low" Voltage

0.5 .6 V DB Outputs IOL=55mA

0.5 .6 V DB Outputs 10L =50mA

VOHI Output "High" Voltage 3.65

4.0 V DO Outputs 10H = -lmA - 3.0 V DB Outputs 10H = -10mA

VOH2 Output "High" Voltage 2.4

-35 -65 mA DO Outputs Vo == OV, -75 -120 mA DB Outputs Vec=5.0V

lOS Output Short Circuit Current -15 -30

AFN.O()733A-04

Limits · 95 130 mA · 85 120 mA

Page 303 of the Intel mcs-48 user manual — AFN-00733A-05
Page 303 · click to enlarge
Page 303
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 303)
Fig. 302 · The Single Component . 2" MCS-4S™ S~stem

821618226

APPLICATIONS OF THE 8216/8226

8080 Data Bus Buffer

The 8080 CPU Data 8us is capable of driving a single TTL

The 8216/8226 can be used in a wide variety of other buf· fering functions in microcomputer systems such as Address Bus Drivers, Drivers to peripheral devices such as printers, and as Drivers for long length cables to other peripherals or systems.

load and is more than adequate for small, single board sys· tems. When expanding such a system to more than one board to increase 1/0 or Memory size, it is necessary to provide a buffer. The 8216/8226 is a device that is exactly fitted to th is appl ication.

Shown in Figure 2 are a pair of 8216/8226 connected di·

rectly to the 8080 Data Bus and associated control signals. The buffer is bi·directional in nature and serves to isolate the CPU data bus.

BUSEN

On the system side, the DB lines interface with standard semiconductor liD and Memory components and are com·

~l DB, ,.

pletely TTL compatible. The DB lines also provide a high drive capability (SOmA) so that an extremely large system can be dirven along with possible bus termination networks.

0, 8216 8226 0, 11

DB,

12 ", 1. CS

13 DB,

On the 8080 side the 01 and DO lines are tied together and are directly connected to the 8080 Data Bus for bi·directional operation. The DO outputs of the 8216/8226 have a high voltage output capability of 3.65 volts which allows direct connection to the 8080 whose minimum input voltage is 3.3 volts. I t also gives a very adequate noise margin of 350mV (worst case).

SYSTEM DATA BUS

01 OlEN 0, DO

DB

DB,

0, 8216 8226 0, 11

DB,

The OlEN inputs to 8216/8226 is connected directly to the 8080. DIEN is tied to DBIN so that proper bus flow is maintained, and CS is tied to BUSEN so that the system side Data Bus will be 3-stated when a Hold request has been acknowledged during a DMA activity.

10 DB,

12 0, 1. cs

13 DB,

Memory and 1/0 Interface to a Bidirectional Bus

In large microcomputer systems it is often necessary to pro- vide Memory and liD with their own buffers and at the same time maintain a direct, common interface to a bi·directional Data Bus. The 8216/8226 has separated data in and data out lines on one side and a common bi·directional set on the other to accomodate such a function.

FIgure 2. 8080 Data BUI Buffer

Shown in Figure 3 is an example of how the 8216/8226 is used in this type of application.

MEMORY

I/O

The interface to Memory is simple and direct. The memories used are typically Intel® 8102,81 02A, 8101 or 8107B·4 and have separate data inputs and outputs. The 0 I and DO lines of the 8216/8226 tie to them directly and under control of the MEMR signal, which is connected to the OlEN input, an interface to the bi·directional Data Bus is maintained.

The interface to liD is similar to Memory. The 110 devices

used are typically Intel® 8255s, and can be used for both input and output ports. The 110 R signal is connected di· rectly to the 01 EN input so that proper data flow from the 110 device to the Data Bus is maintained.

FIgure 3. Memory and 110 Intertace

to a BIdIrectional BUI

AFN-00733A-05

Do · 8080 15

Page 304 of the Intel mcs-48 user manual — OE 007 OE 007
Page 304 · click to enlarge
Page 304
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 304)
Fig. 303 · The Single Component . 2" MCS-4S™ S~stem

8282/8283 OCTAL LATCH

  • Address Latch for iAPX 86,88, MCS·80™, MCS·85™, MCS·48™ Families
  • 3·State Outputs
  • High Output Drive Capability for Driving System Data Bus
  • 20·Pin Package with 0.3" Center
  • Fully Parallel 8·Bit Data Register and Buffer
  • No Output Low Noise when Entering or Leaving High Impedance State
  • Transparent during Active Strobe

The 8282 and 8283 are 8-bit bipolar latches with 3-state output buffers. They can be used to implement latches, buffers, or multiplexers. The 8283 inverts the input data at its outputs while the 8282 does not. Thus, all of the principal periph- eral and input/output functions of a microcomputer system can be implemented with these devices.

01 0 VCC 01 0 VCC

011 000 011 000

012 001 012 001

013 002 013 002

014 003 014 003

015 004 015 004

016 005 016 005

017 006 017 006

OE 007 OE 007

GNO STS GNO STS

Figure 1. 8282 Pin Configuration Figure 2_ 8283 Pin Configuration

Page 305 of the Intel mcs-48 user manual — OE
Page 305 · click to enlarge
Page 305
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 305)
Fig. 304 · The Single Component . 2" MCS-4S™ S~stem

intJ

828218283

8282 r-------, &- __ IOQ :

I I I I I L ______ _

L ______ _

Figure 3. Logic Diagrams

PIN DEFINITIONS OPERATIONAL DESCRIPTION

D.scrlptlon

The 8282 and 8283 octal latches are 8·bit latches with 3·state output buffers. Data having satisfied the setup time requirements is I.atched Into the data latches by strobing the STe line HIGH to LOW. Holding the STB line In its active HIGH state makes the latches appear transparent. Data Is presented to the data output pins by activating the ~ Input line. When OE Is Inactive HIGH· the output buffers are In their high Impedance state. Enabling or disabling the output buffers will not cause negatlve·golng transients to appear on the data output bus.

STB

STROBE (Input). STB Is an Input control pulse used to strobe data at the data Input pins (Ao-A7) Into the data latches. This signal Is active HIGH to admit Input data. The data Is latched at the HIGH to LOW transition of STB.

OE

OUTPUT ENABLE (Input). C5"E Is an Input control signal which when active LOW enables the contents of the data latches onto the data output pin (Bo-B7). OE being Inactive HIGH forces the output buffers to their high Impedance state. DATA INPUT PINS (Input). Data presented at these pins satisfying setup time re- quirements when STB Is strobed and latched Into the data Input latches.

000-007 (8282) 000-1)(57 (8283)

DATA OUTPUT PINS (Output). When OE Is true, the data In the data latches Is pre- sented as Inverted (8283) or non·lnverted (8282) data onto the data output pins.

Pin · 010-017 · AFN oo727B

Page 306 of the Intel mcs-48 user manual — 8-45 AFN 00727B
Page 306 · click to enlarge
Page 306
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 306)
Fig. 305 · The Single Component . 2" MCS-4S™ S~stem

828218283

ABSOLUTE MAXIMUM RATINGS·

  • Temperature Under Bias ................. O·C to 70·C Storage Temperature .
  • ..
  • ....... -65·C to + 150·C All Output and Supply Voltages ........ - 0.5V to + 7V All Input Voltages .................. - 1.0V to + 5.5V Power Dissipation .........
  • ................ 1 Watt

'NOTICE: Stresses above those listed under"AbsoluteMaxlmum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

D.C. CHARACTERISTICS

ConditionsVee = 5V ± 10%, TA = ooe to 70 0 e

Max Units Test Conditions

Vc Input Clamp Voltage

-1 V Ic = -5 rnA

Icc Power Supply Current

IF Forward Input Current

-0.2 rnA VF = 0.45V

IR Reverse Input Current

50 ,..A VR = 5.25V

VOL Output Low Voltage

.45 V 10L = 32 rnA

VOH Output High Voltage 2.4

V 10H = -5 rnA

10FF Output Off Current

± 50 ,..A VOFF = 0.45 to 5.25V

VIL Input Low Voltage

0.8 V .Vcc= 5.0V See Note 1

VIH Input High Voltage 2.0

V Vcc=5.0V See Note 1 F= 1 MHz 12 pF VBIAS = 2.5V, Vcc= 5V TA=25·C

CIN Input Capacitance

A.C. CHARACTERISTICS

ConditionsVee = 5V ± 10%, TA = ooe to 70 0 e

Loading: Outputs - 10L = 32 rnA, IOH = - 5 rnA, CL = 300 pF

Symbol Parameter Min Max Units Test Conditions

TIVOV Input to Output Delay (See Note 1) -Inverting 5 22 ns -Non-Inverting 5 30 ns

TSHOV STB to Output Delay

-Inverting 10 40 ns - Non·lnverting 10 45 ns

TEHOZ Output Disable Time 5 18 ns

TELOV Output Enable Time 10 30 ns

TIVSL Input to STB Setup Time 0 ns

TSLIX Input to STB Hold Time 25 ns

TSHSL STB High Time 15 ns

8-45 AFN 00727B

Symbol Parameter Min · 160 rnA

Page 307 of the Intel mcs-48 user manual — 8·46 AFN 007278
Page 307 · click to enlarge
Page 307
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 307)
Fig. 306 · The Single Component . 2" MCS-4S™ S~stem

828218283

WAVEFORMS

INPUTS \1 \V ______ -JJ\~ ______ _J/~~ ____________________________ _

-TIVSL-!-TSLIX.

V \ STa / ~ --J! +TSHSL~ '

V /

\

\

-TIVOV- _ TEHOZ ~ TELOV- } --+ '"""\/r ' VOH-.W OUTPUTS >- ~ ~

I.(\ AVOL+.W 1\

SEE NOTE 1 TSHOV

2. ALL TIMING MEASUREMENTS ARE MADE AT 1.5V UNLESS OTHERWISE NOTED,

Figure 4. Timing Diagram

1.5V 1.5V

OUT 0---< OUTe>-- OUT~

1300PF 1300 pF 1300 pF

3·STATE TO VOL 3·STATE TO VOH SWITCHING

Figure 5. Output Test Load Circuits

8·46 AFN 007278

331l 1801l

Page 308 of the Intel mcs-48 user manual — 8-47 AFN 00727B
Page 308 · click to enlarge
Page 308
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 308)
Fig. 307 · The Single Component . 2" MCS-4S™ S~stem

inter 8282/8283

&l I/) z >- c ... III CI

Figure 6. Output Delay vs. Capacitance

8-47 AFN 00727B

pF LOAD · pF LOAD

Page 309 of the Intel mcs-48 user manual — @INTELCORPORATION, 1980 8-48
Page 309 · click to enlarge
Page 309
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 309)
Fig. 308 · The Single Component . 2" MCS-4S™ S~stem

intel'

8286/8287 OCTAL BUS TRANSCEIVER

  • Data Bus Buffer Driver for iAPX 86,88, MCS·80™, MCS·85™, and MCS·48™ Families
  • 3·State Outputs
  • 20·Pin Package with 0.3" Center
  • High Output Drive Capability for Driving System Data Bus
  • No Output Low Noise when Entering or Leaving High Impedance State
  • Fully Parallel 8·Bit Transceivers

The 8286 and 8287 are 8-bit bipolar transceivers with 3-state outputs. The 8287 inverts the input data at its outputs while the 8286 does not. Thus, a wide variety of applications for buffering in microcomputer systems can be met.

AO Vee AO Vee

A1 BO A1 So

A2 B1 A2 B1

A3 B2 A3 B2

A4 B3 A4 B3

AS B4 AS B4

A6 Bs A6 BS

A7 B6 A7 B6

OE B7 OE B7

GND T GND T

Figure 1. 8286 Pin Configuration Figure 2_ 8287 Pin Configuration

Intel Corporation Assumes No Responsibilty for the Use of Any Circuitry Other Than Circuitry Embodied in an Intel Product. No Other Circuit Patent Licenses afa Implied.

@INTELCORPORATION, 1980 8-48

Page 310 of the Intel mcs-48 user manual — 8-49 AFN 01506A
Page 310 · click to enlarge
Page 310
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 310)
Fig. 309 · The Single Component . 2" MCS-4S™ S~stem

8286/8287

8286 r-------,

8287 r-------, I I I L-_~~

I I ~ I ........ ! L I I

Figure 3. Logic Diagrams

Table 1. Pin Description

T TRANSMIT (Input). T is an input control signal ul!ed to control the direction of the transceivers. When HIGH, it configures the transceiver's Bo-B7 as outputs with ArrA7 as inputs. T LOW con· figures Ao-A7 as the outputs with Bo-B7 serVing as the Inputs.

OE OUTPUT ENABLE (Input). OE Is an input control signal used to enable the appropriate output driver (as selected by T) onto its respective bus. This signal Is active LOW.

Ao-A7 LOCAL BUS DATA PINS (Input/Output). These pins serve to either present data to or accept data from the processor's local bus depending upon the state of the T pin.

~-!!z (8286) SYSTEM BUS DATA PINS (Input/Output). These pins serve to either present data to or accept Bo-B7 (8287) data from the system bus depending upon the state of the T pin.

FUNCTIONAL DESCRIPTION

The 8286 and 8287 transceivers are 8·bit transceivers with high impedance outputs. With T active HIGH and OE active LOW, data at ~he Ao-A7 pins is driven onto the Bo-B7 pins. With T inactive LOW and OE active LOW, data at the Bo-B7 pins is driven onto the Ao-A7 pins. No output low glitchlng will occur whenever the transceivers are entering or leaving the high impedance state.

8-49 AFN 01506A

Pin ~e~crlpllon

Page 311 of the Intel mcs-48 user manual — AFN 01506A
Page 311 · click to enlarge
Page 311
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 311)
Fig. 310 · The Single Component . 2" MCS-4S™ S~stem

8286/8287

ABSOLUTE MAXIMUM RATINGS·

Temperature Under Bias O°C to 70°C Storage Temperature - 65°C to + 150°C All Output and Supply Voltages , ... - 0.5V to + 7V All Input Voltages - 1.0V to + 5.5V Power Dissipation 1 Watt

*NOTICE: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any -other conditions above those indicated in the operational sections 01 this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

D.C. CHARACTERISTICS FOR 8286/8287

ConditionsVee = 5V ±10% T A = 0° C to 70° C

Min Max Units Test Conditions

Vc Input Clamp Voltage

Icc Power Supply Current-8287

130 mA ;60 mA

IF Forward Input Current

-0.2 mA VF=0.45V

IR Reverse Input Current

50 J.'A VR= 5.25V

VOL Output Low Voltage -B Outputs

.45 V IOL = 32 mA .45 V IOL = 16 mA

-A Outputs

V OH Outpu1 High Voltage -B Outputs

2.4 V IOH=-5 mA 2.4 V IOH=-1mA

-A Outputs

IOFF Output Off Current

IF VOFF = 0.45V IR VOFF = 5.25V

IOFF Output Off Current

V IL Input Low Voltage -A Side -B Side

0.8 V Vee = 5.0V, See Note 1 0.9 V V cc = 5.0V, See Note 1

VIH Input High Voltage

2.0 V V ce = 5.0V, See Note 1

F= 1 MHz 12 pF VSIAS =2.5V, Vcc=5V TA= 25°C

A.C. CHARACTERISTICS FOR 8286/8287 Conditions: Vee = 5V ±10%, TA = O°C to 70°C

Loading: B Outputs - IOL = 32 mA, IOH = -5 mA, CL = 300 pF A Outputs - IOL = 16 mA, IOH = -1 mA, CL = 100 pF

Max Units Test Conditions

TIVOV Input to Output Delay

Inverting 5 Non·lnverting 5

22 ns (See Note 1) 30 ns

TEHTV Transmit/Receive Hold Time 5

TTVEL Transmit/Receive Setup 10

TEHOZ Output Disable Time 5

TELOV Output Enable Time 10

AFN 01506A

Show 8 more labels / short text on this page
Symbol Parameter · -1 V le=-5mA · CIN Input Capacitance · Symbol Parameter Min · ns · ns · 18 ns · 30 ns
Page 312 of the Intel mcs-48 user manual — 8-51 AFN 01506A
Page 312 · click to enlarge
Page 312
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 312)
Fig. 311 · The Single Component . 2" MCS-4S™ S~stem

8286/8287

INPUTS _ _ t ________ _

WAVEFORMS

1 - - - { t~

I, mm:1 , '; TEHOZ :. VOH _ .W TELOV-, -< ~ +I--}V:~~--+ '

0E ___

OUTPUTS

I~ TEHTV - -! ~ TTVEL ______________________________________________ -J)k~ ______________ _

Figure 4. 8286/8287 Timing

[;! .. z S .. "

Figure 5. Output Delay vs. Capacitance

8-51 AFN 01506A

Show 5 more labels / short text on this page
'50 · 200 400 800 · 800 1000 · pF LOAD · pF LOAD
Page 313 of the Intel mcs-48 user manual — 1.SV 1.5V 2.14V
Page 313 · click to enlarge
Page 313
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 313)
Fig. 312 · The Single Component . 2" MCS-4S™ S~stem

inter 8286/8287

!-" l~ t·" OUT 1 OUT 1

1.SV 1.5V 2.14V

oUT l r

OOPF r

100PF r

300PF

3·STATE TO VOL 3·STATE TO VOL SWITCHING

B OUTPUT A OUTPUT B OUTPUT

1.5V 1.SV 2.2BV

OUT 0--- OUT OUT r 300 pF

3·STATE TO VOH 3·STATE TO VOH SWITCHING

B OUTPUT A OUTPUT A OUTPUT

Figure S. Test Load Circuits

8-52 AFN 01506A

180\1 8002 11411

Page 314 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 314 · click to enlarge
Page 314
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 314)
Fig. 313 · The Single Component . 2" MCS-4S™ S~stem
Page 315 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 315 · click to enlarge
Page 315
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 315)
Fig. 314 · The Single Component . 2" MCS-4S™ S~stem
Page 316 of the Intel mcs-48 user manual — ----.~---- 0,-00 Data Bus (8 blts~ I
Page 316 · click to enlarge
Page 316
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 316)
Fig. 315 · The Single Component . 2" MCS-4S™ S~stem

8251 A/S2657 PROGRAMMABLE COMMUNICATION INTERFACE

  • Synchronous and Asynchronous Operation
  • Asynchronous Baud Rate - DC to 19.2K Baud
  • Full Duplex, Double Buffered, Trans· mitter and Receiver
  • Synchronous 5·8 Bit Characters; Internal or External Character Synchro· nization; Automatic Sync Insertion
  • Error Detection - Parity, Overrun and Framing
  • Asynchronous 5·8 Bit Characters; Clock Rate-1, 16 or 64 Times Baud Rate; Break Character Generation; 1, 1 Y2, or 2 Stop Bits; False Start Bit Detection; Automatic Break Detect and Handling.
  • Ful!y Compatible with 808018085 CPU
  • 28·Pin DIP Package
  • All Inputs and Outputs are TTL Compatible
  • Single + 5V Supply
  • Synchronous Baud Rate - DC to 64K Baud
  • Single iTL Clock

The Intel'" 8251A is the enhanced version of the industry standard, Intel'" 8251 Universal Synchronous/Asynchronous Receiver/Transmitter (USART), designed for data communications with Intel's new high performance family of microprocessors such as the 8085. The 8251A is used as a peripheral device and is programmed by the CPU to operate using virtually any serial data transmission technique presently in use (including IBM "bi-sync"). The USART accepts data characters from the CPU in parallel format and then converts them into a continuous serial data stream for transmission. Simultaneously, it can receive serial data streams and convert them into parallel data characters for the CPU. The USART will signal the CPU whenever it can accept a new character for transmission or whenever it has received a character for the CPU. The CPU can read the complete status of the USART at any time. These include data transmission errors and control signals such as SYNDET, TxEMPTY. The chip is constructed using N·channel silicon gate technology.

PIN CONFIGURATION BLOCK DIAGRAM

D, D,

D] D" R,D vcc.:

GND R.e

D, DTR ° 7 ,0 0 Ds RTS

D" DSR

D, RESET r;c eLK ViR hD cs TlCEMPTY

PIN NAMES

DSR Data Set Ready e/D Control or Data 15 to be Wntten Of Re

.~ 0,-00 Data Bus (8 blts~ I

RTS Request to Send Data eLK Clock Pulse ITTlI RESET Reset CTS Clear to Send Data fKC Transm!t1er Clock T.E Transmitter Empty T.D Transmitter Data Vee +5 Volt Supply R;c Receiver Clock

GND Ground R.D Receiver Data RxRDY Receiver Ready Ihas character for 80801 I hRDY Transmitter Ready Iready for char from 808011

CIO eTS · AD SYNDn/BO · RIIRDV TlCRDY

Page 317 of the Intel mcs-48 user manual — 00216A
Page 317 · click to enlarge
Page 317
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 317)
Fig. 316 · The Single Component . 2" MCS-4S™ S~stem

8251 A/S2657

FEATURES AND ENHANCEMENTS

  • Tx Enable logic enhancement pre~ents a Tx Disable command from halting transmission until all data previously· written has been transmitted. The logic also prevents the transmitter from turning off in the middle of a word.

8251A is anadval'lced designon"-e industry stan, dard USAR:r, the Intel® 8251. The 8251A oper- ates with an extended range of I ntel micropro- cessors that includes the new 8085 CPU and main- tains compatibility with the 8251. Familiarization time is minimal because of compatibility and involves only knowing the additional features and enhancements, and reviewing the AC and DC ·speci- fications of the 8251A.

  • When External Sync Detect is programmed, Internal Sync Detect is disabled, and an External Sync Detect status is provided via a flip-flop which clears itself upon a status read.
  • Possibility of false sync detect is minimized by ensuring that if double character sync is programmed, the characters be contiguously detected and also by clearing the Rx register to all ones whenever Enter Hunt command is issued in Sync mode.

The 8251A incorporates all the key features of the 8251 and has the following additional features and enhancements:

  • 8251A has double-buffered data paths with separate I/O registers for control, status,
  • As iong as the 825iA is not seiecteu, the RD and WR do not affect the internal operation of the device.

Data In, and Data Out, which considerably simplifies control programming and mini- mizes CPU overhead.

  • The 8251A Status can be read at any time but the status update will be inhibited during status read.
  • In asynchronous operations, the Receiver detects and handles "break" automatically,

relieving the CPU of this task.

  • A refined Rx initialization prevents the Receiver from starting when in "break" state, preventing unwanted interrupts from a disconnected USART.
  • The 8251A is free from extraneous glitches and has enhanced ACand DC characteristics, providing higher speed and better operating margins.
  • At the conclusion of a transmission, TxD line will always return to the marking state unless SBRK is programmed.
  • Synchronous Baud rate from DC to 64K.
  • Fully compatible with Intel's new industry standard, the MCS-85.

00216A

Page 318 of the Intel mcs-48 user manual — 00216A
Page 318 · click to enlarge
Page 318
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 318)
Fig. 317 · The Single Component . 2" MCS-4S™ S~stem

8251 A/S2657

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional opera-

Ambient Temperature Under Bias oDe to 700 e Storage Temperatur~ -65°e to +1500 e Voltage On Any Pin

tion of the device at these or any other conditions above those indicated in the operational sections of this specifi- cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

With Respect to Ground -0.5V to +7V Power Dissipation 1 Watt

D.C. CHARACTERISTICS

T A = OOC to 70°C; Vee = 5.0V ±5%; GND = OV

Symbol Parameter Min.

Max. Unit Test Conditions

VIL Input Low Voltage -0.5

VIH Input High Voltage 2.2

'Icc V

VOL Output Low Voltage

0.45 V IOL = 2.2 mA

VOH Output High Voltage 2.4

V IOH = -400 !LA

±10 !LA VOUT = Vee TO O.4SV

IOFL Output Float Leakage

IlL I nput Leakage

±10 !LA VIN = Vee TO 0.45V

Icc Power Supply Current

100 mA All Outputs = High

CAPACITANCE

T A = 2SoC; Vee = GND = OV

Symbol Parameter Min. Max.

CIN Input Capacitance 10

pF fc = lMHz

CliO I/O Capacitance 20

pF Unmeasured pins returned to GND

.20,---., r , ,

~ 0 ... :> ~ :> 0 .., -'0

1N914

8251A 1----,--+---0 OUT

-20 '---'--:': ' ='= ' -'00

CL"'160pF.

Figure 16. Test Load Circuit

Figure 17. Typical 4 Output Delay vs. 4

00216A

Show 6 more labels / short text on this page
Unit Test Conditions · +'0 · ~ > · <20n · ~ CAPACITANCE (pFI · Capacitance (pF)
Page 319 of the Intel mcs-48 user manual — TEST POINTS
Page 319 · click to enlarge
Page 319
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 319)
Fig. 318 · The Single Component . 2" MCS-4S™ S~stem

8251A/S2657

A.C. CHARACTERISTICS

Bus Parameters !(Note 1)

Read Cycle:

SYMBOL PARAMETER

MIN.

MAX.

UNIT

TEST CONDITIONS

tAR Address Stable Before READ (CS, C/O)

tRA Address Hold Time for READ (CS, C/O)

tRR READ Pulse Width

tRD Data Delay from READ

3, CL = 150 pF

tDF READ to Data Floating

Write Cycle:

SYMBOL PARAMETER

MIN.

MAX.

UNIT

TEST CONDITIONS

tAW Address Stable Before WR ITE

tWA Address Hold Time for WR ITE

tww WRITE Pulse Width

tow Data Set Up Time for WRITE

two Data Hold Time for WRITE

tRV Recovery Time Between WRITES

2. Chip Select (CS) and Command/Oata (C/O) are considered as Addresses. 3. Assumes that Address is valid before RD"
4. This recovery time is for Mode InitialiZ!'tion only. Write Data is allowed only when TxRDY = 1.

Recovery Time between Writas for Asynchronous Mode is 8 tCY and for Synchronous Mode is 16 tCY'

Input Waveforms for AC Tests

2.4 X oJ ~:: 0.45

:::x'- ___ _

TEST POINTS

00216A

Show 11 more labels / short text on this page
ns · ns · ns · ns · ns · ns · ns · ns · ns · ns · tCY
Page 320 of the Intel mcs-48 user manual — 9-5 00216A
Page 320 · click to enlarge
Page 320
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 320)
Fig. 319 · The Single Component . 2" MCS-4S™ S~stem

8251A/S2657

Other Timings:

SYMBOL PARAMETER MIN. MAX. UNIT TEST CONDITIONS

tCY Clock Period 320 1350 ns Notes 5, 6

tq, Clock High Pulse Width 140 tCY-90 (IS

1:$ Clock Low Pulse Width 90 ns

tR, tF Clock Rise and Fall Time 20 ns

tDTx TxD Delay from Falling Edge of TxC 1 J.Ls

fTx Transmitter I nput Clock Frequency

lx Baud Rate DC 64 kHz 16x Baud Rate DC 310 kHz 64x Baud Rate DC 615 kHz

tTPW Transmitter I nput Clock Pulse Width

1 x Baud Rate 12 tCY 16x and64x Baud Rate 1 tCY tTPD Transmitter Input Clock Pulse Delay

1 x Baud Rate 15 tCY 16x and 64x Baud Rate 3 tCY fRx Receiver Input Clock Frequency

lx Baud Rate DC 64 kHz 16x Baud Rate DC 310 kHz 64x Baud Rate DC 615 kHz

tRPW Receiver Input Clock Pulse Width

lx Baud Rate 12 tCY 16x and 64x Baud Rate 1 tCY tRPD Receiver Input Clock Pulse Delay

lx Baud Rate 15 tCY l6x and 64x Baud Rate 3 tCY tTxRDY TxRDY Pin Delay from Center of last Bit 8 tCY Note 7

tTxRDY CLEAR TxRDY ~ from Leading Edge of WR 6 tCY Note 7

tRxRDY RxRDY Pin Delay from Center of last Bit 24 tCY Note 7

tRxRDY CLEAR RxRDY ~ from Leading Edge of RD 6 tCY Note 7

tiS Internal SYNDET Delay from Rising 24 tCY Note 7 Edge of RxC

tES External SYNDET Set· Up Time Before 16 tCY Note 7 Falling Edge of RxC

tTxEMPTY TxEMPTY Delay from Center of Last Bit 20 tCY Note 7 twc Control Delay from Rising Edge of 8 tCY Note 7 WRITE (TxEn,DTR, RTS)

tCR Control to READ Set-Up Time (DSR, CTS) 20 tCY Note 7

5. The TxC and RxC frequencies have the following limitations with respect to elK. For 1 x Baud Rate, fTx or fRx < 11(30 tCY) For 16x and 64x Baud Rate. fTx or fRx < 1/(4.5 tCyl
6. Reset Pulse Width ~ 6 tCY minimum; System Clock must be running during Reset.
7. Status update can have a maximum delay of 28 clock periods from the event affecting the status.

9-5 00216A

Page 321 of the Intel mcs-48 user manual — INTERNAL BUS /
Page 321 · click to enlarge
Page 321
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 321)
Fig. 320 · The Single Component . 2" MCS-4S™ S~stem

inter

8253/8253·5 PROGRAMMABLE INTERVAL TIMER

  • MCS-85™ Compatible 8253·5
  • Count Binary or BCD
  • 3 Independent 16·Blt Counters
  • Single + 5V Supply
  • DC to 2 MHz
  • Programmable Counter Modes
  • 24·Pin Dual In·Line Package

The IntelC!> 8253 is a programmable counter/timer chip designed for use as an Intel microcornputer peripheral. It uses nMOS technology with a single +5V supply and is packaged in a 24·pin plastic DiP.

It is organized as 3 independent 16·bit counters, each with a count rate of up to 2 MHz. All modes of operation are soft· ware programmable.

PIN CONFIGURATION

BLOCK DIAGRAM

0, Vee o. ViR

DATA

BUS BUFFER

GATE 0

oJ A, 0, Ao 0, eLK 2

RD --~-CI

eLK 0 GATE 2

OUT 0 eLK 1

GATE 0 GATE 1

GATE 1

AO---~

GNO OUT 1

OUT 1

CS--------'

PIN NAMES

°7,0 DATABUS(8BtTf elK N COUNTER CLOCK INPUTS GATE N COUNTER GATE INPUTS

COUNTER

GATE 2

OUT 2

OUT N COUNTER OUTPUTS RD READ COUNTER

WR WRITE COMMAND OR OAT A

CS CHIP SELECT

Vee +5 VOL T5 GND GROUND

INTERNAL BUS /

INTEL CORPORATION ASSUMES NO RESPONSIBILITY FOR THE USE OF ANY CIRCUITRY OTHER THAN CIRCUITRY EMBODIED IN AN INTEL PRODUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPlIEO.

Show 10 more labels / short text on this page
elK 0 · Ali · 0, ~ · our 0 · Do OUT 2 · elK 1 · Al~- · eLK 2 · "2 · A~A COUNnR SELECT
Page 322 of the Intel mcs-48 user manual — AFN-00745A-{)2
Page 322 · click to enlarge
Page 322
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 322)
Fig. 321 · The Single Component . 2" MCS-4S™ S~stem

8253/8253·5

FUNCTIONAL DESCRIPTION General

AO,A1

These inputs are normally connected to the address bus. Their function is to select one of the three counters to be operated on and to address the control word register for mode selection.

The 8253 is a programmable interval timerlcounter specifically designed for use with the Intel'· Micro- computer systems. Its function is that of a general purpose, multi-timing element that can be treated as an array of 1/0 ports in the system software.

CS (Chip Select)

A "low" on this input enables the 8253. No reading or writing will occur unless the device is selected. The CS input has no effect upon the actual operation of the counters.

The 8253 solves one of the most common problems in any microcomputer system, the generation of accurate time delays under software control. Instead of setting up timing loops in systems software, the programmer configures the 8253 to match his requirements, initializes one of the counters of the 8253 with the desired quantity, then upon command the 8253 will count out the delay and interrupt the CPU when it has completed its tasks. It is easy to see that the software overhead is minimal and that multiple delays can easily be maintained by assignment of priority levels.

". ,,-"

> >.t·

Other counterltimer functions that are non-delay in nature but also common to most microcomputers can be implemented with the 8253.

.-t! .. :. -..;.,..;.;o.q VIIi -.,--".,q

  • Programmable Rate Generator
  • Event Counter
  • Binary Rate Multiplier
  • Real Time Clock
  • Digital One-Shot
  • Complex Motor Controller

.~,.", .. "-'-~"'1 . . ;Ai.'

Data Bus Buffer

This 3-state, bi-directional, 8-bit buffer is used to interface the 8253 to the system data bus. Data is transmitted or received by the buffer upon execution of INput or OUTput CPU instructions. The Data Bus Buffer has three basic functions.

1. Programming the MODES of the 8253. 2. Loading the count registers. 3. Reading the count values.

ReadIWrite Logic

The ReadlWrite Logic accepts inputs from the system bus and in turn generates control signals for overall device operation. It is enabled or disabled by CS so that no operation can occur to change the function unless the device has been selected by the system logic.

Figure 1. Block Diagram Showing Data Bus Buffar and

RD (Read) A "low" on this input informs the 8253 that the CPU is inputting data in the form of a counters value.

CS RD WR A, Ao

0 1 0 0 0 Load Counter No. 0

0 1 0 0 1 Load Counter No.1

WR (Write)

0 1 0 1 0 Load Counter No.2

A "low" on this input informs the 8253 that the CPU is outputting data in the form of mode information or loading counters.

0 1 0 1 1 Write Mode Word

0 0 1 0 0 Read Counter No. 0

0 0 1 0 1 Read Counter No.1

0 0 1 1 0 Read Counter No.2

0 0 1 1 1 No-O peration 3-State

1 X Disable 3-State

0 1 1 X X No-Operation 3-State

AFN-00745A-{)2

RaadIWrita Logic Functions

Page 323 of the Intel mcs-48 user manual — 9-8 AFN-00745A-03
Page 323 · click to enlarge
Page 323
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 323)
Fig. 322 · The Single Component . 2" MCS-4S™ S~stem

8253/8253·5

Control Word Register

The Control Word Register is selected when AD, A 1 are 11. It then accepts information from the data bus buffer and stores it in a register. The information stored in this register controls the operational ~~ODE of each counter, selection of binary or BCD counting and the loading of each count register.

The Control Word Register can only be written into; no read operation of its contents is available.

Counter #0, Counter #1, Counter #2

These three functional blocks are identical in operation so only a single Counter will be described. Each Counter consists of a single, 16-bit, pre-settable, DOWN counter. The counter can operate in either binary or BCD and its input, gate and output are configured by the selection of MODES stored in the Control Word Register.

The counters are fully independent and each can have separate Mode configuration and counting operation, binary or BCD. Also, there are special features in the control word that handle the loading of the count value so that software overhead can be minimized for these functions.

The reading of the contents of each counter is available to the programmer with simple READ operations for event counting applications and special commands and logic are included in the 8253 so that the contents of each counter can be read "on the fly" without having to inhibit the clock input.

Figure 2. Block Diagram Showing Control Word

8253 SYSTEM INTERFACE The 8253 is a component of the Intel'· Microcomputer Systems and interfaces in the same manner as all other peripherals of the family. It is treated by the systems software as an array of peripheral I/O ports; three are counters and the fourth is a control register for MODE programming.

Register and Counter Functions

ADDRESS BUS (16)

CONTROL BUS

Basically, the select inputs AD, A 1 connect to the AD, A 1 address bus signals of the CPU. The CS can be derived directly from the address bus using a linear select method. Or it can be connected to the output of a decoder, such as an Intel® 82D5 for larger systems.

DATA BUS (8)

:·1

A, Ao CS 0 0 .07 RD WR

8253 COUNTER COUNTER COUNTER 0 1 2 ,

I lOUT GATE elK I j I I 1 I I j I )

I lOUT GATE elK'

lOUT GATE elK I

Figure 3. 8253 System Interface

9-8 AFN-00745A-03

Show 6 more labels / short text on this page
\ · \ · A, Ao · ~ · liOR I/OW · ~
Page 324 of the Intel mcs-48 user manual — 9-9 AFN-00745A-Q4
Page 324 · click to enlarge
Page 324
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 324)
Fig. 323 · The Single Component . 2" MCS-4S™ S~stem

8253/8253·5

M - MODE:

OPERATIONAL DESCRIPTION

0 0 0 Mode 0

The complete functional definition of the 8253 is programmed by the systems software. A set of control words must be sent out by the CPU to initialize each counter of the 8253 with the desired MODE and quantity information. These control words program the MODE, Loading sequence and selection of binary or BCD counting.

0 0 1 Mode 1

X 1 0 Mode 2

X 1 1 Mode 3

1 0 0 Mode 4

1 0 1 Mode 5

Once programmed, the 8253 is ready to perform whatever

timing tasks it is assigned to accomplish. BCD:

The actual counting operation of each counter is completely independent and additional logic is provided on-chip so that the usual problems associated with efficient monitoring and management of external, asynchronous events or rates to the microcomputer system have been eliminated.

o Binary Counter 1 &bits

Binary Coded Decimal (BCD) Counter (4 Decades)

All of the MODES for each counter are programmed by the systems software by simple I/O operations.

The count register is not loaded until the count value is written (one or two bytes, depending on the mode selected by the RL bits), followed by a rising edge and a falling edge of the clock. Any read of the counter prior to that falling clock edge may yield invalid data.

Each counter of the 8253 is individually programmed by writing a control word into the Control Word Register.

(AD, Al = 11)

0, DO

MODE 0: Interrupt on Terminal Count. The output will be initially low after the mode set operation. After the count is loaded into the selected count register, the out· put will remain low and the counter will count. When ter· minal count is reached the output will go high and re- main high until the selected count register is reloaded with the mode or a new count is loaded. The counter continues to decrement after terminal count has been reached.

SC1 SCO RL1 MO BCD

SC - Select Counter:

0 0 Select Counter 0

Rewriting a counter register during counting results in the following:

0 1 Select Counter 1

1 0 Select Counter 2

(1) Write 1st byte stops the current counting. (2) Write 2nd byte starts the new count.

RL - Read/Load:

MODE 1: Programmable One·Shot. The output will go low on the count following the rising edge of the gate in- put.

0 0 Counter Latching operation (see R EADIWR ITE Procedure Section)

The output will go high on the terminal count. If a new count value is loaded while the output is 10\\1 it will not affect the duration of the one-shot pulse until the suc- ceeding trigger. The current count can be read at any time without affecting the one-shot pulse.

1 0 Read/Load most significant byte only.

0 1 Read/Load least significant byte only.

The one-shot is retriggerable, hence the output will re- main low for the full count after any rising edge of the gate input.

1 1 Read/Load least significant byte first, then most significant byte.

9-9 AFN-00745A-Q4

Show 10 more labels / short text on this page
M2 Ml MO · General · Programming the 8253 · Counter Loading · Control Word Format · MODE Definition · Definition of Control · SCl SCO · 1 1 Illegal · RLl RLO
Page 325 of the Intel mcs-48 user manual — 9-10 AFN-00745A-05
Page 325 · click to enlarge
Page 325
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 325)
Fig. 324 · The Single Component . 2" MCS-4S™ S~stem

825318253·5

MODE 2: Rate Generator. Divide by N counter. The out· put will be low for one period of the input clock. 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.

If the count register is reloaded between output pulses the present period will not be affected, but the subse- quent period will reflect the new value. The count will be inhibited while the gate input is low. Reloading the counter register will restart counting beginning with the new number.

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.

MODE 5: Hardware Triggered Strobe. The counter will start counting after the rising edge of the trigger input and will go low for one clock period when the terminal count is reached. The counter is retriggerable. The out· put will not go low until the full count after the rising edge of any trigger.

When this mode is set, the output will remain high until after the count register is loaded. The output then can also be synchronized by software.

MODE 3: Square Wave Rate Generator.Simi lar to MODE 2 except that the output will remain high until one half the count has been completed (for even numbers) and go low for the other half of the count. This is accom· plished by decrementing the counter by two on the fall· ing edge oi each ciock puise. Wilen the counter reaches terminal count, the state of the output is changed and the counter is reloaded with the full count and the whole process is repeated.

Low Status Or Going Modes Low Rising High

~I

~~ Fn;:!htp

1 ~~ 1) Initiates ~~

counting 2) Resets output after next clock

If the count is odd and the output is high, the first clock pulse (after the count is loaded) decrements the count by 1. Subsequent clock pulses decrement the clock by 2. After timeout, the output goes low and the full count is reloaded. The first clock pulse (following the reload) decrements the counter by 3. Subsequent clock pulses decrement the count by 2 until timeout. Then the whole process is repeated. In this way, if the count is odd, the output will be high for (N + 1)/2 counts and low for (N -1)/2 counts.

2 1) Disables counting Initiates Enables 2) Sets output counting counting immediately high

3 1) Disables counting Initiates Enables

2. Sets output counting counting Immediately high

4 Disables ~~ Enables counting counting

MODE 4: Software Triggered Strobe. After the mode is set, the output will be high. When the count is loaded, the counter will begin counting. On terminal count, the output will go low for one input clock period, then will go high again.

Figure 4. Gate Pin Operations Summary

9-10 AFN-00745A-05

Show 5 more labels / short text on this page
0 Disables · counting counting · 5 ~~ Initiates · counting · ~~
Page 326 of the Intel mcs-48 user manual — AFN-00745A-06
Page 326 · click to enlarge
Page 326
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 326)
Fig. 325 · The Single Component . 2" MCS-4S™ S~stem

825318253·5

MODE 0Interrupt on Terminal Count
MODE 3Square Wave Generator

CLOCK

CLOCK

i I WRn~

OUTPUT (n = 4)

I I 4 3 2 1 0 OUTPUT (INTERRUPT) l ' I In = 41 I---t--n --+]

OUTPUT (n = 51

I WRm~

I I GATE ~:L___Jr~I

5 4 2 1 OUTPUT (INTERRUPTI

A

MODE 1Programmable One·Shot
MODE 4Software Triggered Strobe

CLOCK

~~~2 __ '~~

TRIGGER ~

OUTPUT

4 3 2 1 ~i~~~~-f OUTPUT

TRIGGER~

GATE -------~~~---------

4i_~3 __ :2~4 __ 3~~2 __ '~j OUTPUT ,.

~4 4~_3 __ 2 __ ~1__;0 u-

OUTPUT

MODE 2Rate Generator
MODE 5Hardware Triggered Strobe

CLOCK

GATE ------I r -----

4 3 2 1 0 OUTPUT (n • 41 L.J

GATE~ 4343210 OUTPUT In • 41 W

Figure 5. 8253 Timing Diagrams

AFN-00745A-06

(m "'51 '--' · A+B=-m

Page 327 of the Intel mcs-48 user manual — Figure 7. Alternate Programming Formats
Page 327 · click to enlarge
Page 327
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 327)
Fig. 326 · The Single Component . 2" MCS-4S™ S~stem

8253/8253-5

8253 READIWRITE PROCEDURE

Write Operations

The systems software must program each counter of the 8253 with the mode and quantity desired. The program- mer must write out to the 8253 a MODE contrel word and the programmed number of count register bytes (1 or 2) prior to actually using the selected counter.

LSB Col,lnt Register byte

MSB Cou nt Register byte

The actual order of the programming is quite flexible. Writing out of the MODE control word can be in any sequence of counter selection, e.g., counter #0 does not have to be first or counter #2 last. Each counter's MODE control word register has a separate address so that its loading is completely sequence independent. (SCO, SC1)

does not imply that it is the only format that can be used.

Figure 6. Programming Format

The loading of the Count Register with the actual count value, however, must be done in exactly the sequence programmed in the MODE control word (RLO, RL 1). This loading of the counter's count register is still sequence independent like the MODE control word loading, but when a selected count register is to be loaded it !!!..!!§! be loaded with the number of bytes programmed in the MODE control word (RLO, RL 1). The one or two bytes to be loaded in the count register do not have to follow the associated MODE control word. They can be programmed at any time following the MODE control word loading as long as the correct number of bytes is loaded in order.

No.1 MODE Control Word

No.2 MODE Control Word 1 1 Counter 1

MODE Control Word 1 1 Counter 2 No.3

All counters are down counters. Thus, the value loaded into the count register will actually be decremented. Loading all zeroes into a count register will result in the maximum count (2'6 for Binary or 10'for BCD). In MODE 0 the new count will not restart until the load has been completed. It will accept one of two bytes depending on how the MODE control words (RLO, HL 1) are program- med. Then proceed with the restart operation.

LSB Count Register Byte 0 1 Counter 1 No.4

Count Register Byte 0 1 MSB Counter 1 No.5

LSB Count Register Byte 1 0 Counter 2 No.6

MSB Count Register Byte 1 0 Counter 2 No. 7

LSB Count Regist~r Byte 0 0 Counter 0 No.8

MSB Count Register Byte 0 0 Counter 0 No.9

the task of programming the 8253 a very simple matter. and maximum effective use of the device will result if this feature is fully utilized.

Figure 7. Alternate Programming Formats

AFN-00745A-G7

Show 5 more labels / short text on this page
MODE Control Word · Counter· n· · Counter n · Counter n · Counter 0
Page 328 of the Intel mcs-48 user manual — 9-13 AFN-00745A-08
Page 328 · click to enlarge
Page 328
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 328)
Fig. 327 · The Single Component . 2" MCS-4S™ S~stem

8253/8253·5

In most counter applications it becomes necessary to read the value of the count in progress and make a computational decision based on this quantity. Event counters are probably the most common application that uses this function. The 8253 contains logic that will allow the programmer to easily read the contents of any of the three counters without disturbing the actual count in progress.

Al AD RD a a a Read Counter No, a a 1 a Read Counter No. I

1 a a Read Counter No.2

1 1 0 Illegal

There are two methods that the programmer can use to read the value of the counters. The first method involves the use of Simple 1/0 read operations of the selected counter. By controlling the AO, A I inputs to the 8253 the programmer can select the counter to be read (remember that no read operation of the mode register is allowed AO, AI-II). The only requirement with this method is that in order to assure a stable count reading the actual operation of the selected counter must !:!f inhibited either by controlling the Gate Input or by external logic that Inhibits the clock Input. The corotents of the counter selected will be available as follows:

I n order for the programmer to read the contents of any counter without effecting or disturbing the counting operation the 8253 has speCial internal logiC that can be accessed uSing simple WR commands to the MODE register. BaSically. when the programmer wishes to read the contents of a selected counter "on the fly" he loads the MODE register with a special code which latches the present count value Into a storage register so that Its contents contain an accurate, stable quantity. The programmer then Issues a normal read command to the selected counter and the contents of the latched register IS available

first I/O Read contains the least significant byte (lSB).

second 1/0 Read contains the most significant byte (MSB).

MODE Register for Latching Count

Due to the internal logic of the 8253 it is absolutely necessary to complete the entire reading procedure. If two bytes are programmed to be read then two bytes must be read before any loading WR command can be sent to the same counter.

AD, A1 11

SCI,SCO- speCify counter to be latched.

00 designates counter latching operation.

don't care.

The same limitation applies to this mode of reading the counter as the previous method. That is, it is mandatory to complete the entire read operation as programmed, This command has no effect on the counter's mode.

  • 1,5MHz ClK

"If an 8085 clock output is to drive an 8253·5 clock input, it must be reduced to 2 MHz or less,

Figure 8. MCS-8S™ Clock Interface"

9-13 AFN-00745A-08

Show 5 more labels / short text on this page
Read Operations · Read Operation Chart · Reading While Counting · 05,04 · 3MHz ClK
Page 329 of the Intel mcs-48 user manual — AFN-00745A-09
Page 329 · click to enlarge
Page 329
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 329)
Fig. 328 · The Single Component . 2" MCS-4S™ S~stem

8253/8253·5

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional opera-

Ambient Temperature Under Bias Storage Temperature Voltage On Any Pin

O"e to 70 0 e -65°e to +150 o e

tion of the device at these or any other conditions above those indicated in the operational sections of this specifi- cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

With Respect to Ground Power Dissipation

-0.5Vto+7V

D.C. CHARACTERISTICS (TA = O°Cto 70°C; Vee = 5V ±5%)

SYMBOL PARAMETER

MIN_

MAX. UNITS TEST CONDITIONS

V,L Input Low Voltage

0_8 V

V,H Input High Voltage

VOL Output Low Voltage

0.45 V Note 1

VOH Output High Voltage

±10 /lA V,N = Vee to OV

I,L Input Load Current

±10 /lA VOUT = Vee to OV

IOFL Output Float Leakage

lee Vee Supply Current

CAPACITANCE TA = 25°C; Vee = GND = ov

Typ_ Max.

pF Ic = 1 MHz

pF Unmeasured pins returned to VSS

AFN-00745A-09

Show 10 more labels / short text on this page
1 Watt · -0_5 · 2_2 · Vee+-5V V · V Note 2 · 140 mA · Symbol Parameter Min_ · Unit Test Conditions · C'N Input Capacitance · CliO I/O Capacitance
Page 330 of the Intel mcs-48 user manual — 2.4--.....,.X
Page 330 · click to enlarge
Page 330
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 330)
Fig. 329 · The Single Component . 2" MCS-4S™ S~stem

8253/8253·5

A.C. CHARACTERISTICS TA = o°c to 70°C; Vcc = 5.0V ±5%; GND = OV

Bus Parameters (Note 1)

Re.dCycle:

SYMBOL PARAMETER MIN. MAX. MIN. MAX. UNIT

tAR Address Stable Before READ 50 30 ns

tRA Address Hold Time for READ 5 5 ns

tRR READ Pulse Width 400 300 ns

tRO Data Delay From READI21 300 200 ns

tOF READ to Data Floating 25 125 25 100 ns

tRV Recovery Time Between READ 1 1 and Any Other Control Signal /-IS

Write Cycle:

SYMBOL PARAMETER MIN. MAX. MIN. MAX, UNIT

tAW Address Stable Before WR ITE 50 30 ns

tWA Address Hold Time for WR ITE 30 30 ns

tww WR ITE Pulse Width 400 300 ns

tow Data Set Up Time for WR ITE 300 250 ns

two Data Hold Time for WR ITE 40 30 ns

tRv Recovery Time Between WRITE 1 1 IlS

and Any Other Control Signal

2. Test Conditions: 8253. CL = 1 OOpF; 8253-5: CL = 150pF.
Write TimingRead Timing:

Ao-t. CS __ "1' t--f"'-

DATA BUS

0.45 ---..I <::X __ _

Input Waveforms for A.C. Tests:

0 2,.28 > _ _ TEST POINTS

2.4-- ,.X

8253 8253-5 · 8253 8253-5 · 9-15 AFN-0074SA-tO

Page 331 of the Intel mcs-48 user manual — SYMBOL PARAMETER MIN. MAX. MIN. MAX. UNIT
Page 331 · click to enlarge
Page 331
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 331)
Fig. 330 · The Single Component . 2" MCS-4S™ S~stem

825318253·5

Clock and Gate Timing:

SYMBOL PARAMETER MIN. MAX. MIN. MAX. UNIT

tCLK Clock Per iod 380 de 380 de ns

tPWH High Pulse Width 230 230 ns

tPWL Low Pulse Width 150 150 ns

tGW Gate Width High 150 150 ns

tGL Gate Width Low 100 100 ns

tGS Gate Set Up Time to CLKt 100 100 ns

tGH Gate Hold Time After CLKt 50 50 ns

too Output Delay From CLK~111 400 400 ns

tOOG Output Delay From Gate~111 300 300 ns

8253 8253-5 · elK · 9-16 AFN-007~A-ll

Page 332 of the Intel mcs-48 user manual — 9-17 AFN-00744A-01
Page 332 · click to enlarge
Page 332
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 332)
Fig. 331 · The Single Component . 2" MCS-4S™ S~stem

8255A/8255A·5 PROGRAMMABLE PERIPHERAL INTERFACE

  • MCS.85 ™ Compatible 8255A·5
  • Direct Bit SetlReset Capability Easing Control Application Interface
  • 24 Programmable 1/0 Pins
  • Completely TTL Compatible
  • 40·Pin Dual In·Line Package
  • Fully Compatible with Intel® Micro· processor Families
  • Reduces System Package Count
  • Improved Timing Characteristics
  • Improved DC Driving Capability

The Intel@ 8255A is a general purpose programmable I/O device designed for use with Intel@ microprocessors. It has 24110 pins which may be individually programmed in 2 groups of 12 and used in 3 major modes of operation. In the first mode (MODE 0), each group of 12 1/0 pins may be programmed in sets of 4 to be input or output. In MODE 1, the second mode, each group may be programmed to have 8 lines of input or output. Of the remaining 4 pins, 3 are used for hand- shaking and interrupt control signals. The third mode of operation (MODE 2) is a bidirectional bus mode which uses 8 lines for a bidirectional bus, and 5 lines, borrowing one from the other group, for handshaking.

PIN CONFIGURATION 8255A BLOCK DIAGRAM

S~~;l~;S {-- m

-_GND 10 PA,-PAO

PIN NAMES

0,-°0 OAT A BUS (BI·DIRECTIONAl)

RESET RESET INPUT CHIP SELECT READ INPUT WR WAITE INPUT AD,A, PORT AODRESS PA7·PM PORT A IBITI ps,._ PORTB IBITI

~,-'CO PORT C (BIT) Vee

9-17 AFN-00744A-01

Page 333 of the Intel mcs-48 user manual — 9-18 AFN-00744A-()2
Page 333 · click to enlarge
Page 333
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 333)
Fig. 332 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

8255A FUNCTIONAL DESCRIPTION

(RD)

Read. A "low" on this input pin enables the 8255A to send the data or status information to the CPU on the data bus. In essence, it allows the CPU to "read from" the 8255A.

Oeneral

The 8255A is a programmable peripheral interface (PPI) device designed for use in Intel~ ,microcomputer systems. Its function is that of a general purpose 1/0 component to interface peripheral equipment to the microcomputer system bus. The functional configura· tion of the ,8255A is programmed by the system ,software so that normally no external logic Is necessary to inter· face peripheral devices or structures. '

(WR)

Write. A "low" on this input pin enables the CPU to write data or control words into the 8255A.

(Ao and AI)

Data Bus Buffer

Port Select 0 and Port Select 1. These input signals, in conjunction with the RD and WR inputs, control the selection of one of the three ports or the control word registers. They are normally connected to the least significant bits of the address bus (Ao and A,).

This 3·state bidlrectional8·bit buffer is used to interface the 8255A to the system data bus. Data is transmitted or received by the buffer upon execution of input or output instructions by the CPU. Control words and status infor· mation are also transferred through the data bus buffer.

8255A BASIC OPERATION

0 0 0 , 0 PORT A ... DATA BUS 0 1 0 1 0 PORT B'" DATA BUS 1 0 0 1 0 PORTC-DATABUS OUTPUT OPERATION (WRITE)

Al AO RD WR CS INPUT OPERATION (READ)

ReadlWrl~e and Control Logic

The function of this block is to manage all of the internal and external transfers of both Data and Control or Status

words. It accepts inputs from the CPU Address and Con· trol busses and in turn, issues commands to both of the Control Groups.

0 0 1 0 0 DATA BUS'" PORT A 0 1 1 0 0 DATA BUS'" PORT B 1 0 1 0 0 DATA BUS'" PORT C 1 1 1 0 0 DATA BUS'" CONTROL

DISABLE FUNCTION

(CS)

X 1 DATA BUS'" 3-STATE 1 1 0 1 0 ILLEGAL CONDITION

Chip Select. A "low" on this input pin enables the com·

muniction between the 8255A and the CPU.

X X 1 1 0 DATA BUS'" 3-STATE

Figure 1. 82SSA Block Diagram Showing Data Bus Buffer and Read/Write Control Logic Functions

9-18 AFN-00744A-()2

Page 334 of the Intel mcs-48 user manual — CI ___ --'
Page 334 · click to enlarge
Page 334
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 334)
Fig. 333 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

(RESET)

Ports A, B, and C

Reset. A "high on this input clears the control register and all ports (A, C, C) are set to the Input mode.

The 8255A contains three 8-bit ports (A, B, and C). All can be configured in a wide variety of functional charac· teristlcs by the system software but each has its own special features or "personality" to further enhance the power and flexibility of the 8255A.

Group A and Group B Controls

The functional configuration of each port is program· med by the systems software. In essence, the CPU "out· puts" a control word to the 8255A. The control word con- tains information such as "mode", "bit set", "bit reset", etc., that initializes the functional configuration of the 8255. -

Port A. One 8-bit data output latch/buffer and one 8-bit data input latch.

Port B. One 8-bit data input/output latch/buffer and one 8·bit data input buffer.

Each of the Control blocks (Group A and Group 8) accepts "commands" from the ReadlWrite Control Logic, receives "control words" from the internal data bus and issues the proper commands to its associated ports.

Port C. One 8-bit data output latch/buffer and one 8·bit data input buffer (no latch for input). This port can be divided into two 4-bit ports under the mode control. Each 4-bit port contains a 4-blt latch and It can be used for the control signal outputs and status signal inputs in conjunction with ports A and B.

Control Group A - Port A and Port C upper (C7·C4) Control Group B - Port B and Port Clower (C3-CO)

The Control Word Register can Only be written into. No

Read operation of the Control wo;:d Register is allowed.

PIN CONFIGURATION

PIN NAMES

"

D7 00 ·DATA BUS (BI·DIRECTIONALI RESET RESET INPUT CS CHIP SELECT -- "e READ INPUT -- W" WRITE INPUT AG,A1 PORT ADDRESS -- PA7·PAD PORT A 181Tl PB7·P80 PORT BIBITI Pe7·pca PORT C (BITI

CI ___ --'

Vee +5 VOL 15 GNe 'VOLTS

Figure 2. 8225A Block Diagram Showing Group A and

Group B Control Functions

AFNoOO744A-03

Page 335 of the Intel mcs-48 user manual — 9-20 AFN-00744A-04
Page 335 · click to enlarge
Page 335
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 335)
Fig. 334 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

8255A OPERATIONAL DESCRIPTION

CONTROL WORD

There are three basic modes of operation that can be select- ed by the system software:

Mode 0 - Basic Input/Output Mode 1 - Strobed Input/Output Mode 2 - Bi-Directional Bus

I GROUPS \

When the reset input goes "high" all ports will be set to the input mode (i.e_, all 24 lines will be in the high im- pedance state)_ A Iter the reset is removed the 8255A can remain in the input mode with no additional initialization required_ During the executi.on of the system program any of the other modes may be selected using a single output instruction_ This allows a single 8255A to service a variety of peripheral devices with a simple software maintenance routine_ lIIIt'.

PORT C (LOWER) 1'" INPUT • 0 '" OUTPUT

PORT B 1'" INPUT 0'" OUTPUT

MODE SELECTION O=MODEO ,,, MODE 1 L _I GROUP A

The modes for Port A and Port B can be separately defined, while Port C is divided into two portions as required by the Port A and Port B definitions_ All of the output registers, in- cluding the status fl ip-flops, will be reset whenever the mode is changed_ Modes may be combined so that their functional definition can be "tailored" to almost any I/O structure_ For instance; Group B can be programmed in Mode 0 to monitor simple switch closings or display compu- tational results, Group A could be programmed in Mode 1 to monitor a keyboard or tape reader on an interrupt-driven basis_

PORT C IUPPERI 1'" INPUT

0= OUTPUT

PORT A 1 '" INPUT 0= OUTPUT

MODE SELECTION 00 = MODE 0 01'" MODE 1 lX=MODE2

MODE SET FLAG 1'" ACTIVE

ADDRESS BUS

CONTROL BUS

Figure 4_ Mode Definition Format

MOOED

The mode definitions and possible mode cOfTlbinations may seem confusing at first but after a cursory review of the complete device operation a simple, logical 1/0 ap- proach will surface_ The design of the 8255A has taken into account things such as efficient PC board layout, control signal definition vs PC layout and complete functional flexibility to support almost any peripheral device with no external logic_ Such design represents the maximum use of the available pins.

Single Bit Set/Reset Feature

Any of the eight bits of Port C can be Set or Reset using a single OUTput instruction_ This feature reduces software Figure 3_ Basic Mode Definitions and Bus Interface requirements in Control-based applications.

9-20 AFN-00744A-04

Mode Selection

Page 336 of the Intel mcs-48 user manual — 9-21 AFN-00744A-05
Page 336 · click to enlarge
Page 336
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 336)
Fig. 335 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

When Port C is being used as status/control for Port A or B. these bits can be set or reset by using the Bit Set/Reset op· eration just as if they were data output ports.

CONTROL WORD

When the 8255A ie programmed to operate in mode 1 or mode 2, control signals are provided that can be used as interrupt request inputs to the CPU. The interrupt reo quest signals, generated from port C, can be inhibited or enabled by setting or resetting the associated INTE flip· flop, using the bit set/reset function of port C.

BIT SET/RESET 1 "'SET 0= RESET

BIT SELECT

01234567 0101010180 001100118, 00001'118

This function allows the Programmer to disallow or allow a specific I/O device to interrupt the CPU without affecting any other device in the interrupt structure.

INTE flip-flop definition:

BIT SET/RESET FLAG 0'" ACTIVE

(BIT-SET) -INTE is SET - Interrupt enable (BIT-RESET) - INTE is RESET - Interrupt disable

Figure 5. Bit Set/Reset Format

mode selection and device Reset.

Mode 0 Basic Functional Definitions:

  • Two 8-bit ports and two 4-bit ports.
  • Any port can be input or output.
  • Outputs are latched.
  • Inputs are not latched.
  • 16 different Input/Output configurations are possible in this Mode.

MODE 0 (Basic Input/Output). This functional configura· tion provides simple input and output operations for each of the three ports. No "handshaking" is required, data is simply written to or read from a specified port.

--'r C IR -

-t HR -!

INPUT

t==..t AR -

- tRA------:! 1 I. toF l---

---- ------ ~<

MODE 0 (Basic Input)

7 f-

twA - -

CS. A1, AD

OUTPUT

MODE 0 (Basic Output)

9-21 AFN-00744A-05

Show 11 more labels / short text on this page
Interrupt Control Functions · Operating Modes · tRR 0 · -, <- · CS, Al, AD · tRo · 'wW---~- · ~r- · I'---tow 'wo--l · <> · tAW -I
Page 337 of the Intel mcs-48 user manual — 9-22 AFN-Q07.4A-06
Page 337 · click to enlarge
Page 337
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 337)
Fig. 336 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

MODE 0 Port Definition

A B GROUPA GROUPB

04 03 0, DO PORTA PORTC PORTC

(UPPERI # PORTB (LOWERI

0 OUTPUT OUTPUT 0 OUTPUT OUTPUT 0 0 0 1 OUTPUT OUTPUT 1 OUTPUT INPUT 0 0 1 0 OUTPUT OUTPUT 2 INPUT OUTPUT 0 0 1 1 OUTPUT OUTPUT 3 INPUT INPUT 0 1 0 0 OUTPUT INPUT 4 OUTPUT OUTPUT 0 1 0 1 OUTPUT INPUT 5 OUTPUT INPUT 0 1 1 0 OUTPUT INPUT 6 INPUT OUTPUT 0 1 1 1 OUTPUT INPUT 7 INPUT INPUT 1 0 0 0 INPUT OUTPUT 8 OUTPUT OUTPUT 1 0 0 1 INPUT OUTPUT 9 OUTPUT INPUT 1 0 1 0 INPUT OUTPUT 10 INPUT OUTPUT 1 0 1 1 INPUT OUTPUT 11 INPUT INPUT 1 1 0 0 INPUT INPUT 12 OUTPUT OUTPUT -- I 1 0 1 INPUT INPUT 13 OUTPUT INPUT 1 1 1 0 INPUT INPUT 14 INPUT OUTPUT 1 INPUT INPUT 15 INPUT INPUT

CONTROL WORD #0 CONTROL WORD #2 0, D. D, D. 0, D. D. D, Do I,!o!o!o!o!o! o 1 0 I I ,

1 0 1 0 1 0 1 0 1 0 1 , 1 0 I

  • PA,-PAc A
  • PA,.PA o

8255A 8255A

c{ c{ °7'°0 . °,,°0 4 • pc3,peO Pe3·peO

4 Pe,·pee 4 pc,.pee

B B PII,-P80 8 8 PII,-P8o

CONTROL WORD #1 CONTROL WORD #3 0, o. 0, o. 0, 0, 0, Do 0, 0, 0, D. 0, 0, 0, Do I ' 1 0 1 o 1 0 1 0 1 0 1 o 1 ' I 1,10101010101, I, I

A 8 PA,-PAc A 8 PA,-PAc

c{ c{ 0,.00 °7'°0 I . . /. PC3,PCO • Pc.-pco I

8255A 8255A 4 PC7 -PC 4 • Pe"pee

8 • PII,.P8 0 8~-PII,.P8o

9-22 AFN-Q07.4A-06

MODE 0 Configurations

Page 338 of the Intel mcs-48 user manual — 9-23 AFN-00144A-01
Page 338 · click to enlarge
Page 338
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 338)
Fig. 337 · The Single Component . 2" MCS-4S™ S~stem

8255AJ8255A·5

CONTROL WORD #4 CONTROL WORD ::8

0, DO 0, DO I , I

0 I 0 I 0 I , 1 0 1 0 1 0 1 I, 1 0 1 o 1 ,

1 o 1 o 1 0 1 0 1

8 PA7·pAo A /8 PA7,PAa I

A

4 PC7·PC4 c{ c{ °7,00 • . °7-0 0 4 pel,pcn 4 pel,pcO

8255A 8255A

4 PC,.PC4

8 B PB7,PSo B 8 PB7,PSo

CONTROL WORD #5 CONTROL WORD #9

1 , I 0 1 0 1 0 1 ,

0, DO 0,

1 0 1 0 1,1 I, 1 0 1 0 1 ,

1 o 1 o 1 o I, 1

A 8 PA7,PAa A . /8 PA 7 ,PAa I

  • 4 PC 7 ,PC 4 c{ c{ OrO!)
  • . °, ,0 0
  • 4 PC 3 ,PC O /4 pel,pc a I

8255A 8255A 4 PC 7 ,PC 4

8 8 PBrPBo B 8 PB7,PSa

CONTROL WORD #6 CONTROL WORD .::10

0, I ,

1 0 1 0 1 0 1 , 1 0 1 , 1 0 1 I' 1 o 1 0

1 ,

1 o 1 o 1 , 1 0 1

8 A 8 A PA7,PAo PA7,PAo

  • 4 PC 7 ,PC 4 c{ c{ ° 7 ,0 0
  • ° 7 ,0 0

8255A 8255A

4 PC 7 ,PC 4

4 4 pel,pcO pe3 ,pca

B 8 PB7,PSa 8 /8 P87,P80 I

CONTROL WORD #7 CONTROL WORD #11

0, D. D. 0, Do I ,

1 0 1 0 1 0 1 , I 0 1 , 1'1 I, 1 0 1 0 1 ,

1 o 1 o 1 ,

1 , 1

A 8 PArPAo A 8 PA,.PA,

4 PC7·PC4 c{ c{ °7,00 DrDa 4 PCl,PCo

8255A 8255A

4 PC 7 ,PC 4

8 8 PB7,PSa 8 8 ..,·p80

9-23 AFN-00144A-01

4 pel,PCO

Page 339 of the Intel mcs-48 user manual — AFN-00744A-08
Page 339 · click to enlarge
Page 339
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 339)
Fig. 338 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

CONTROL WORD #12

CONTROL WORD =14

0, 06 05 04 D3 02 0, DO I ' I, I 0 I 0 I 0 I

0, 06 05 04 03 02 D, 00 I ' I 0 I 0 I ' I ' I 0 I ' I 0 I

A 0 ,8 I PA,·PAO

A 0 I ,8 PA,·pAo

B2SSA

8211A c{

0 I ' , PC,·PC4

0 I "

PC,.PC4

0 0 c ,

0,.°0

pe3,pea

Pe3,peO

8 B PB,.PBo

B ,8 I PB,·PBo

CONTROL WORD ... is

CONTROL WORD #15

0,. D. Da D4 D3 02 0, DO I 0 I ' I

0, 0 6 05 D4 03 02 0, DO I ' I 0 I 0 I ' I ' I 0 I ' I I

A 8

I ' ,

8211A 4

B25SA

c{

0 . c{

4 Pe,.pc;,

8 B

8 8 P..,.P8,

Operating Modes

Mode 1 Basic Functional Definitions:

  • Two Groups (Group A and Group B)
  • Each group contains one a-bit data port and one 4-bit control/data port.
  • The a-bit data port can be either input or output. Both inputs and outputs are latched.
  • The 4-bit port is used for control and status of the a-bit data port.

MODE 1 (Strobed Input/Output). This functional con- figuration provides a means for transferring 1/0 data to or from s specified port In conjunction with strobes or "handshsklng" signals. In mode 1, port A and Port B use the lines on port C to generate or accept these "hand- shaking" signals.

AFN-00744A-08

A 8 PA,·pAo

Page 340 of the Intel mcs-48 user manual — ---"T~
Page 340 · click to enlarge
Page 340
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 340)
Fig. 339 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

Input Control Signal Definition

MODE 1 (PORT Al

STB (Strobe Input). A "low" on this input loads data into the input latch.

CONTROL WORO

IBF (Input Buffer Full F/F)

07 06 05 0. 0 3 02 0, Do I, I 0 I, I, 11IoMXW

A "high" on this output indicates that the data has been loaded into the input latch; in essence, an acknowledgement IBF is set by STB input being low and is reset by the rising edge of the RD input.

L ~"~PUT o a OUTPUT

Ro_

A "high" on this output can be used to interrupt the CPU when an input device is requesting service. INTR is set by the STB is a "one", IBF is a "one" and INTE is a "one".

MODE 1 (PORT BI

It is reset by the falling edge of RD. This procedure allows an input device to request service from the CPU by simply strobi ng its data into the port.

CONTROL WORD

07 06 0 5 D4 03 02 0, Do 1'~'I'w

INTE A

Controlled by bit set/reset of PC4.

INTE B

Controlled by bit set/reset of PC2.

Figure 6. MODE 1 Input

---"T~

V 1\ ""',,8-11

1 ~J

\ 1_'.,81 ') i/ 1 JL J

IBF

INTR

_tPH_!

INPUT FROM PERIPHERAL ---

Figure 7. MODE 1 (Strobed Input)

9-25 AFN-oG744A..Q9

INTR (Interrupt Request) · tSIT

Page 341 of the Intel mcs-48 user manual — AFN.Q0744A-'O
Page 341 · click to enlarge
Page 341
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 341)
Fig. 340 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

Output Control Signal Definition

MODE. (PORT AI

OBF (Output Buffer Full F/F). The OBF output will go "low" to Indicate that the CPU has written data out to the specified port. The OBF F/F will be set by the rising edge of the WR Input and reset by ACK Input being low.

PA,.p 8

CONTROL WORD

D7 D. Os 04 03 02 0, Do /. 10 I. 1 °1·IOMXlXl

r-- , I INTE I I A I __ J

L~

ACK (Acknowledge Input). A "low" on this Input informs the 8255A that the data from port A or port B has been ac· cepted. In essence, a response from the peripheral device indicating that it has received the data output by the CPU.

O-OUTPUT

WR-

MODE 1 (PORT BI

INTR (Interrupt Reque,t). A "high" on this output can be used to interrupt the CPU when an output device has ac- cepted data transmitted by the CPU. INTR is set when ACK is a "one", OBF IS a "one" and INTE is a "one". It is reset by the falling edge of WR.

PB1.P~~

CONTROL WORD

INTEA

Controlled by bit set/reset of PC6.

INTE B

Controlled by bit set/reset of PC2.

Figure 8. MODE 1 Output

r

INTR

...t tAK

OUTPUT

Figure 9. Mode 1 (Strobed Output)

AFN.Q0744A-'O

PC, ODs · INTRa

Page 342 of the Intel mcs-48 user manual — 9-27 AFN-00744A-11
Page 342 · click to enlarge
Page 342
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 342)
Fig. 341 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

Combinations of MODE 1

Port A and Port B can be individually defined as input or output in Mode 1 to support a wide variety of strobed I/O applications.

PC, STB A

PC, IBFA

PC, INTRA

2 Pe 6.7 -+-- I/O

I/O

PD O 8

PC,

pe2 -ACKB

PC,

INTRB

PC.

PORT A - (STROBED INPUT) PORT B - (STROBED OUTPUT)

PORT A - (STROBED OUTPUT) PORT B - (STROBED INPUT)

Figure 10. Combinations 01 MODE 1

MODE 2 (Strobed Bidirectional Bus 1/0). This functional configuration provides a means for communicating with a peripheral device or structure on a single S·bit bus for both transmitting and receiving data (bidirectional bus 1/0). "Handshaking" signals are provided to maintain proper bus flow discipline in a similar manner to MODE 1. Interrupt generation and enableldisable functions are also available.

OBF (Output Buffer Ful). The OBF output will go "low" to indicate that the CPU has written data out to port A.

ACK (Acknowledge). A "low" on this input enables the tri-state output buffer of port A to send out the data. Otherwise, the output buffer will be In the high im- pedance state.

  • MODE 2 Basic Functional Definitions:
  • Used in Group A only.
  • One S-bit, bi-directional bus Port (Port A) and a 5-bit control Port (Port C).
  • Both inputs and outputs are latched.
  • The 5-bit control port (Port C) is used for control and status for the B-bit, bi-directional bus port (Port A).

INTE 1 (The INTE Flip-Flop Associated with OBF)_ Con- trolled by bit setlreset of PCs.

STB (Strobe Input)_ A "low" on this input loads data into the Input latch.

IBF (Input Buffer Full F/F)_ A "high" on this output in- dicates that data has been loaded into the input latch.

Bidirectional Bus 1/0 Control Signal Definition

INTR (Interrupt Request). A high on this output can be used to Interrupt the CPU for both input or output opera- tions.

INTE 2 (The INTE Flip-Flop Associated with IBF)_ Con- trolled by bit setlreset of PC4•

9-27 AFN-00744A-11

Show 7 more labels / short text on this page
PA7,PAn · pe" · INTRa · Operating Modes · Output Operations · Input Operations · STB (Strobe Input)
Page 343 of the Intel mcs-48 user manual — AFN·OO744A·12
Page 343 · click to enlarge
Page 343
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 343)
Fig. 342 · The Single Component . 2" MCS-4S™ S~stem

8255.Al8255A·5

CONTROL WORD

PC2~ 1'" INPUT o "'OUTPUT

' PORT B

1'" INPUT 0= OUTPUT

'------- GROUP 8 MODE

0" MODE ,0 1'" MODE 1

Figure 11. MODE Control Word

Figure 12. MODE 2

DATA FROM /; CPU TO 8255A

/

INTR

IBF

1----""-----

I --ltAOi- r

t---

PERIPHERAL

BUS

DATA FROM PERIPHERAL TO 8255A

DATA FROM 8255A TO 8080

Figure 13. MODE.2 (Bidirectional)

AFN·OO744A·12

Page 344 of the Intel mcs-48 user manual — AFN-00744A-'3
Page 344 · click to enlarge
Page 344
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 344)
Fig. 343 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

MODE 2 AND MODE 0 (INPUT)

MODE 2 AND MODE 0 (OUTPUT)

\----INTR A

PC, t---- INTRA

PC, 1---_ OBF A

PC,

CONTROL WORD

CONTROL WORD

PC 6 --ACK A

07 0 6 05 04 03 02 0, DO I, I, e>

07 0 6 05 04 03 02 0, DO \, I, e>

PC z .() PC, 1 IBFA 1'" INPUT o ~ OUTPUT

pc,. 1'" INPUT 0= OUTPUT

PC Z .() -+- I/O

PCz.() -+-1/0

MODE 2 AND MODE 1 (OUTPUT)

MODE 2 AND MODE 1 (INPUT)

PC, 1---_ INTRA

PC, 1---_ INTRA

PC, OBF A

PC, OBF A

CONTAOl WORD PC, ACKA

CONTROL WORD PC, -ACKA 0, 0 6 Os 04 03 02 0, 0. 1,I'NXCX1,I,[XJ PC, STBA

07 Os 05 04 0 3 02 01 00 I, I, k)(D1)

PC, IBFA

IBFA

PB7"PBa

PC, -s=rEIrJ

RO--_~ PC, ACKa

WR--_~ pc. INTRa

pc. INTRa

Figure 14. MODE 2 Combinations

AFN-00744A-'3

PC, OBFs · PC, 1BFa · 9·29

Page 345 of the Intel mcs-48 user manual — 9-30 AFN-00744A-14
Page 345 · click to enlarge
Page 345
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 345)
Fig. 344 · The Single Component . 2" MCS-4S™ S~stem

8'255A18255A·5

OUT .. ~ . OUT - OUT .. ~ OUT --- OUT - OUT --- OUT --- OUT --- OUT

MODE a MODE' MODE 2

IN OUT IN

OUT GROUPAONLV

PAo IN OUT IN

PAl IN OUT IN

PA2 IN OUT IN

PA3 IN OUT IN

PA4 IN OUT IN

PAS IN OUT IN

-- -- -- -- -- -- -- -- 1

PAa IN OUT IN

PA7 IN OUT IN

PBa IN OUT IN

PB, IN OUT IN

OUT

PB2 IN OUT IN

OUT

OR MODE 1 J ONLY

PB3 IN OUT IN

OUT

MODE 0

PB4 IN OUT IN

OUT

PBS IN OUT IN

OUT

PBa IN OUT IN

OUT

PB7 IN OUT IN

OUT

PCa IN OUT INTRB

INTRB I'D

PC, IN OUT IBFB

OBFB I/O

PC2 IN OUT STBB

ACKB I/O

PC3 IN OUT INTRA

INTRA INTRA

PC4 IN OUT rnA

I/O STBA

PCs IN OUT IBFA pca IN OUT I/O

I/O IBFA

ACKA ACKA

PC7 IN OUT I/O

OBFA OBFA

Special Mode Combination Considerations

allows the programmer to test or verify the "status" of each peripheral device and change the program flow accordingly.

There are several combinations of modes when not all of the

bits in Port C are used for control or status. The remaining bits can be used as follows:

There is no special instruction to read the status informa- tion from Port C. A normal read operation of Port C is executed to perform th is fu nction.

If Programmed as Inputs - All input lines can be accessed during a normal Port C read.

INPUT CONFIGURATION

If Programmed as Outputs - Bits in C upper (PC7-PC41 must be individually accessed using the bit set/reset function.

Bits in Clower (PC3-PCol can be accessed using the bit set/reset function or accessed as a threesome by writing

OUTPUT CONFIGURATION

into Port C.

Source Current Capability on Port B and Port C

" j , GROUPS

Any set of eight output buffers, selected randomly from Ports Band C can source 1mA at 1.5 volts. This feature allows the "8255 to directly drive Darlington type drivers and high-voltage displays that require such source current.

Figura 1.5. MODE 1 Status Word Format

01 0 6 Os 04 03 D2 0, Do I OBF. IINTE, IIBFA IINTE·IINTRA t>

Reading Port C Status

In Mode 0, Port C transfers data to or from the peripheral device. When the 8255 is programmed to function in Modes

, i " ' GROUP A GROUP 8

1 or 2, Port C generates or accepts "hand-shaking" signals with the peripheral device. Reading the contents of Port C

(DEFINED BY MODe 0 OR MODE 1 SELECTION)

Figura 18. MODE 2 Statu. Word Format

9-30 AFN-00744A-14

Mode Definition Summary · i GRQUPA

Page 346 of the Intel mcs-48 user manual — AFN-00744A-15
Page 346 · click to enlarge
Page 346
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 346)
Fig. 345 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

REQU EST I

INTERRUPT

APPLICATIONS OF THE 8255A

PC,

R. R,

The 8255A is a very powerful tool for interfacing peripheral equipment to the microcomputer system. It represents the optimum use of available pins and is flex- ible enough to interface almost any 110 device without the need for additional external logic.

8255A

PA,

R, FULLY R, DECODED KEYBOARO R,

PA,

PA,

R,

MODE1 (INPUT)

SHIFT

Each peripheral device in a microcomputer system usually has a "service routine" associated with it. The routine manages the software interface' between the device and the CPU. The functional definition of the 8255A is programmed by the 110 service routine and becomes an extension of the system software. By ex· amining the 110 devices interface characteristics for both data transfer and timing, and matching this infor· mation to the examples and tables in the detailed opera· tional description, a control word can easily be devel· oped to initialize the 8255A to exactly "fit" the applica- tion. Figures 17 through 23 present a few examples of typical applications of the 8255A.

PA,

CONTROL

PC,

STROBE

PC, -

ACK

PB.

B.

PB,

B,

PB,

B, BURROUGHS

SELF-SCAN B, DISPLAY

PB,

PB,

B,

PB, MODE 1 ---.j PB, (OUTPUT)

B,

, : PB 7

BACKSPACE

CLEAR

I PC,

DATA READY

INTERRUPT

PC,

ACK

REQUEST

BLANKING

PC.

~C7

CANCEL WORD

UPT~ INTERR

PA,

REQUEST

HIGH-SPEED

PA,

PRINTER

PA,

Figure 18. Keyboard and Display Interface

MODE 1

REOU EST I

(OUTPUT) PA,

PA,

HAMMER RELAYS

INTERRUPT

PAc -- PA,

PC, PC, PC,

R.

R,

--!C 4

PA,

R,

8255A

R, FULLY DECODED R, KEYBOARD

PB.

MODE 1 (INPUT)

PA,

PA,

PB,

PB,

R,

PB,

8255A

PA,

SHIFT

PB, MODEl PB, (OUTPUT) PB,

PA,

CONTROL

PC,

STROBE

PB,

PC,

ACKNOWLEDGE

PC, PC, ACK

PC, I PC, ,--

BUSY LT

TEST L T

-- "'0- -- '1>- -- '1>- -- "'0- -- '1>- -- t>-- -- 0- --0-.-

PC.

- --

PB.

TERMINAL ADDRESS

CONTROL LOGIC ANO DRIVERS INTERAUPT

PB,

REQUEST

PB,

MODE 0 (INPUT)

PB,

Figure 11. Printer Interface

PB,

PB, l PB. PB,

Figure 19. Keyboard and Terminal Address Interface

AFN-00744A-15

Show 7 more labels / short text on this page
PAa PA, · PAs PAs · i PCs · PAc PA, · PAs · pc, · PAs
Page 347 of the Intel mcs-48 user manual — HOR. STEP STROBE
Page 347 · click to enlarge
Page 347
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 347)
Fig. 346 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

INTERRUPT

PA,

LSB

PC,

PA. D. PA, 0, PA, · · 0, PA, 0, FLOPPY DISK

PA,

PA,

MODE 0 PA, -- IOUTPUTI PA,

PA,

PA. · · D. CONTROLLER

PA.

AND DRIVE PA, · · 0, · · PA, D·A t-- CONVERTER ANALOG OUTPUT PAs 0,

12·BIT

MODE 2

PC. IDACI

PA, 0,

PC, r------

PC. DATA STS

8255A PC,

PC, 1---- MSB

PC, ACK (IN)

PC, DATA READY

PC. r----- SrB DATA

PC, ACK (OUT)

PC, OUTPUT EN

8255A

BIT SET/RESET

PC, TRACK "0" SENSOR

PC. SYNC READY

PC, SAMPLE EN

PC, INDEX r

PC, STB

I PB. LSB

PB, 8-BIT A·D PB, --

ENG,A.GE ~EA!)

FORWARD/REV. PB, READ ENABLE

CONVERTER

- ANALOG INPUT

MODE 0 PB, IADCI

MODe a PB3 WRITE ENABLE

(I NPUTI PB. PB,

(OUTPUT) PB4 DISC SELECT PB, ENABLE CRe

PB,

PB, TEST

PB, MSB

PB, BUSY IT

Figure 20. Digital to Analog, Analog to Digital

Figure 22. Basic Floppy Disc interface

R INTERRUPT

INTERRUPT

REaU EST_:l

EaUES Tj

--- R. R, -- R, 8 lEVEL PAPER R, TAPE

PC,

PA.

  • R. R, CRT CONTROLLER R,
  • CHARACTER GEN. R,
  • REFRESH BUFFER

PC,

PA.

PA,

PA,

PA,

PA,

PA,

PA,

PA.

R. • CURSOR CONTROL

PA.

R. READER

PA, PA,

R,

PA,

R,

MODE 1 IOUTPUT!

SHIFT

R, R,

PA,

CONTROL -

PC,

DATA READY

PC,

STB

PC,

ACK

PC,

ACK

PC,

BLANKED f--- BLACKIWHtTE

PC,

STOP/GO

8255A

PC.

8255A

rca PC,

MACHINE TOOL

MODE 0 (INPUT)

START/STOP

PC,

ROW STB

LIMIT SENSOR (HIV)

PC,

PC,

OUT OF FLUID

pc.

CURSOR HIV STB

PB. - PB,

PB.

CHANGE TOOL

PB,

MODE 0 IOUTPUTI

PB,

PB,

UP/DOWN

i PB, I I PB4

CURSOR/ROW/COLUMN ADDRESS H&V

MODE 0 (OUTPUT)

PB, PB.

HOR. STEP STROBE

VERT. STEP STROBE

PB,

PB,

SLEW/STEP

PB, PB,

PB,

FlUID ENABLE 1---- EMERGENCY STOP

PB,

Figure 21. Basic CRT Controller Interface

Figure 23. Machine Tool Controller Interface

9-32 AFN-00744A-16

Show 5 more labels / short text on this page
REaUE ST', · MODe 1 (INPUT) · PAs PA, · COLUMN SrB · lEFT/RIGHT
Page 348 of the Intel mcs-48 user manual — 9-33 AFN·00744A·'7
Page 348 · click to enlarge
Page 348
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 348)
Fig. 347 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional opera·

Ambient Temperature Under Bias o°c to 70°C Storage Temperature 65°C to +150°C Voltage on Any Pin

tion of the device at these or any other conditions above those indicated in the operational sections of this specifi· cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

With Respect to Ground -0.5V to +7V Power Dissipation 1 Watt

D.C. CHARACTERISTICS

TA = o°c to 70°C. Vee = +5V ±5%; GND = ov

SYMBOL PARAMETER MIN.

MAX. UNIT TEST CONDITIONS

VIL Input Low Voltage -0.5

VIH Input High Voltage 2.0

VOL (DB) Output Low Voltage (Data Bus)

0.45 V IOL = 2.5mA

VOL (PER) Output Low Voltage (Peripheral Port)

0.45 V IOL =1.7mA

VOH(DB) Output High Voltage (Data Bus) 2.4

V IOH = -400!-LA

VOH(PER) Output High Voltage (Peripheral Port) 2.4

V IOH = -200!-LA

IDAR[11 Darlington Drive Current -1.0

-4.0 mA REXT = 750n; VEXT= 1.5V

lee Power Supply Current

IlL Input Load Current

±10 !-LA VIN = Vee to OV

IOFL Output Float Leakage

±10 !-LA VOUT = Vee to OV

CAPACITANCE

SYMBOL PARAMETER MIN. TYP.

MAX. UNIT TEST CONDITIONS

10 pF fc = 1MHz

20 pF Unmeasured pins returned to GN

o

~:O~'~ LJ l ~_~ : y y--------.,.. VEXT" I 100pF

'VEXT Is set at various voltages during testing to guarantee the specification.

Figure 24. Test Load Circuit (for dB)

9-33 AFN·00744A·'7

Show 5 more labels / short text on this page
Vee V · 120 mA · TA =25°C;Vee=GND=OV · CIN Input Capacitance · CliO I/O Capacitance
Page 349 of the Intel mcs-48 user manual — AFN-00744A-18
Page 349 · click to enlarge
Page 349
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 349)
Fig. 348 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

A.C. CHARACTERISTICS

TA = O°C to 70°C; Vcc = +5V ±5%; GND = OV

Bus Parameters Read:

Write:

:~'

8255A

  • ns

SYMBOL PARAMETER

MIN.

MAX. UNIT

tAW Address Stable Before WR ITE

twA Address Stable After WR ITE

tww WRITE Pulse Width

"~,100;i:"'~~" ;:

tow Data Valid to WR ITE (T.E.)

ns ""' .. , :.". "J:~", .. ' ns

MAX. . MIN. UNIT

two Data Valid After WR ITE

~"i:.:J:,';:';;).:'\:;:,',:"':::.:,i'i·'

Other Timings:

'~,'

8255A

SYMBOL PARAMETER

MIN.

tws WR = 1 to Outputl1 ]

350 ' ," ns ;'e) i;' ., ns f6>:' ns Ft:r··

tlR Peripheral Data Before RD

tHR Peripheral Data After RD

tAK ACK Pulse Width

tST STB Pulse Width

"' ," ns ,c· ,

tps Per. Data Before T.E. of STB

ns .. . ns

tpH Per. Data After T.E. of STB

tAO ACK = 0 to Outputl1 ]

300 ~.' ns

tKO ACK = 1 to Output Float

250 '2025(} ns

twos WR = 1 to OBF = 011]

350 350 ns

tAOS ACK = 0 to OBF = 1111

300 300 ns

tRIB RD = 1 to IBF = 0[1]

tRIT RD = Oto INTR = 0[1]

400 400 ns

tSIT STB = 1 to INTR = 1[1]

300 .300 ns

350 3S0 . ns

850 ' ....... ns

tAIT ACK = 1 to INTR = 1[1]

tWIT WR = Oto INTR = 011 ]

Not,.: 1. Test Conditions: 8255A: CL = loopF;8255A·5: CL = 150pF.

2. Period of Reset pulse must be at leest SOl'S during or after power on. Subsequent Reset pulse can be 500 ns min.

AFN-00744A-18

Show 6 more labels / short text on this page
ns · ns · ns · 650 650 ns · 300 300 ns · tSIB STB=OtoIBF=1[1]
Page 350 of the Intel mcs-48 user manual — 9-35 AFN-D0744A·18
Page 350 · click to enlarge
Page 350
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 350)
Fig. 349 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

2.4 X :::;;; TEST POINTS ::: ::: X

0.46 I _

Figure 25. Input Waveforms for A.C. Tasts

. tRR .

RO ""', --, ~ CIR- ~tHR-1

INPUT

j---t AR _ ...-- tAA-----+1

B.A'.AD

----------- -( ---

tRO . to. .

Figure 28. MODE 0 (Basic Input)

  • B. A
  • AD

OUTPUT

Figure 27. MODE 0 (Basic Output)

9-35 AFN-D0744A·18

'w0 · twA

Page 351 of the Intel mcs-48 user manual — 9-36 AFN-00744A-20
Page 351 · click to enlarge
Page 351
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 351)
Fig. 350 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5.

-tsT-

j 1

~ -t SI8

\ ~} l_tR1B_j

IBF

l--t RIT "1 ~/

INTR

/ II /

_t PH "_!

---------------------

INPUT FROM PERIPHERAL ---

Figure 28. MODE 1 (Strobed Inut)

_t AOB --

OUTPUT

--1-twB

Figure 29. MODE 1 (Strobed Output)

9-36 AFN-00744A-20

Show 4 more labels / short text on this page
1/ · ) · tSIT · tpi
Page 352 of the Intel mcs-48 user manual — AFN-00744A-21
Page 352 · click to enlarge
Page 352
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 352)
Fig. 351 · The Single Component . 2" MCS-4S™ S~stem

8255A18255A·5

DATA FROM A 8080 TO 8255

\ _t AOB _ \

j i / ~'WOB-~

INTR

\

~ 1 \ -t AK - k:' , /~

,_t sT -_

V \

rBF 'SIB-Ii

- 1-"01- - ' •. 1-_ -i --- ---

BUS

PERIPHERAL

/

_ tpHI--- / __ tRIB

OATAInOM OATA~OM PERIPHERAL TO 8255 8255 TO PERIPHERAL

/ DATA FROM 8255 TO 8OBO

Figure 30. MODE 2 (Bidirectional)

  • NOTE: Any sequence where WR occurs before ACK and STB occurs before RD is permissible. (lNTR = IBF
  • MASK· STB
  • RD + OBF
  • MASK' ACK
  • WR )

AFN-00744A-21

Page 353 of the Intel mcs-48 user manual — IRO-IR7
Page 353 · click to enlarge
Page 353
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 353)
Fig. 352 · The Single Component . 2" MCS-4S™ S~stem

8259A PROGRAMMABLE INTERRUPT CONTROLLER

  • MCS·86™ Compatible
  • Programmable Interrupt Modes
  • MCS·80185™ Compatible
  • Individual Request Mask Capability
  • Elght·Level Priority Controller
  • Single + 5V Supply (No Clocks)
  • Expandable to 64 Levels
  • 28·Pin Dual·ln·Line Package

The Intell!l 8259A Programmable Interrupt Controller handles up to eight vectored priority interrupts for the CPU. It is cas cad able for up to 64 vectored priority interrupts without additional circuitry. It is packaged in a 28-pin DIP, uses NMOS technology and requires a single + 5V supp!y_ Circuitry is static, requiring no clock input.

The 8259A is designed to minimize the software and real time overhead in handling mUlti-level priority interrupts_ It has several modes, permitting optimization for a variety of system requirements.

The 8259A is fully upward compatible with the Intel 8259. Software originally written for the 8259 will operate the 8259A in all 8259 equivalent modes (MCS-80/85, Non-Buffered, Edge Triggered).

PIN CONFIGURATION

BLOCK DIAGRAM

CS

INTA INT

AD

IR7

IRG

DATA

IR5

BUS BUFFER

IR4

IR3

IR2

D,

IRI

IRO

-IRO

CASO

INT

-IR1

SP/EN

WR-

CASI

GND

CAS2

PIN NAMES

DATA BUS IBI-DIRECTIONALI

D7·~.~L AD iVA

READ INPUT

--.~----- ._". WRITE INPUT COMMAND SELECT ADDRESS

CAS1 _

CHIP SELECT CAS2-CASO CASCADE LINES !lI'/£I'J SLAVE PROGRAM INPUT/ENABLE

CAS2 ... --

'INTERNAL BUS

INT

__ 'NT~!l.uPT OU!!.l!!

INTERRUPT ACKNOWLEDGE INPUT INTERRUPT REaUEST INPUTS

IRO-IR7

INTEL CORPORAmlN ASSUMES NO RESPONSIBILITY FOR THE US[ Of ANY CIRCUITRY OTHER THAN CIRCUITRY EIIIIOOlEO IN AN INTEL PRODUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPlIEO. " INTEL CORPORATION. 1979 9-38

Show 9 more labels / short text on this page
vee · iVA · Au INTA · 0, 0, · Os 0, · 0, 0, · 0, · cs - · Ao cs
Page 354 of the Intel mcs-48 user manual — Interrupt Method
Page 354 · click to enlarge
Page 354
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 354)
Fig. 353 · The Single Component . 2" MCS-4S™ S~stem

8259A

INTERRUPTS IN MICROCOMPUTER SYSTEMS Microcomputer system design requires that 1/0 devices such as keyboards, displays, sensors and other com- ponents receive servicing in an efficient manner so that large amounts of the total system tasks can be assumed by the microcomputer with little or no effect on through- put.

match his system requirements. The priority modes can be changed or reconfigured dynamically at any time dur- ing the main program. This means that the complete interrupt structure can be defined as required, based on the total system environment.

The most common method of servicing such devices is the Polled approach. This is where the processor must test each device in sequence and in effect "ask" each one if it needs servicing. It is easy to see that a large por- tion of the main program is looping through this con- tinuous polling cycle and that such a method would have a serious, detrimental effect on system through- put, thus limiting the tasks that could be assumed by the microcomputer and reducing the cost effectiveness of using such devices.

CPU·DRIVEN MULTIPLEXOR

CPU

RAM

A more desirable method would be one that would allow the microprocessor to be executing its main program and only stop to service peripheral devices when it is told to do so by the device itself. In effect, the method would provide an external asynchronous input that would inform the processor that it should complete whatever instruction that is currently being executed and fetch a new routine that will service the requesting device. Once this servicing is complete, however, the processor would resume exactly where it left off.

ROM

This method is called Interrupt. It is easy to see that system throughput would drastically increase, and thus more tasks could be assumed by the microcomputer to further enhance its cost effectiveness.

Polled Method

The Programmable Interrupt Controller (PIC) functions as an overall manager in an Interrupt-Driven system environment. It accepts requests from the peripheral equipment, determines which of the incoming requests is of· the highest importance (priority), ascertains whether the incoming request has a higher priority value than the level currently being serviced, and issues an interrupt to the CPU based on this determination. Each peripheral device or structure usually has a special program or "routine" that Is associated with its specific functional or operational requirements; this Is referred to as a "service routine". The PIC, after issuing an Inter- rupt to the CPU, must somehow input information into the CPU that can "point" the Program Counter to the service routine associated with the requesting device. This "pointer" is an address In a vectoring table and will often be referred to, In this document, as vectoring data.

CPU INT

RAM

ROM

8259A BASIC FUNCTIONAL DESCRIPTION GENERAL

The 8259A Is a device specifically designed for use in real time, Interrupt driven microcomputer systems. It Manages eight levels or requests and has built-In fea- tures for expandabillty to other 8259A's (up to 64 levels). It is programmed by the system's ·software as an 1/0 peripheral. A selection of priority modes Is available to the programmer so that the manner In which the re- quests are processed by the 8259A can be configured to

Interrupt Method

Page 355 of the Intel mcs-48 user manual — WR(WRITE)·
Page 355 · click to enlarge
Page 355
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 355)
Fig. 354 · The Single Component . 2" MCS-4S™ S~stem

8259A

INTERRUPT REQUEST REGISTER (IRR) AND IN·SERVICE REGISTER (ISR)

The interrupts at the IR input lines are handled by two registers in cascade, the Interrupt Request Register (IRR) and the In·Service Register (ISR). The IRR is used to store all the interrupt leveis which are requesting ser· vice; and the ISR is used to store all the interrupt levels which are being serviced.

PRIORITY RESOLVER

This logic block determines the priorities of the bits set in the IRR. The highest priority is selected and strobed into the corresponding bit of the ISR during INTA pulse.

INTERRUPT MASK REGISTER (IMR)

The IMR stores the bits which mask the interrupt lines to be masked. The IMR operates on the IRR. Masking of a higher priority input will not affect the interrupt request lines of lower priority.

INT (INTERRUPT)

This output goes directly to the CPU interrupt input. The VOH level on this line is designed to be fully compatible with the 8080A, 8085A and 8086 input levels.

iNTi (INTERRUPT ACKNOWLEDGE)

INTA pulses will cause the 8259A to release vectoring information onto the data bus. The format of this data • depends on the system mode ("PM) of the 8259A.

DATA BUS BUFFER

This 3-state, bidirectional 8·bit buffer Is used to inter· face the 8259A to the system Data Bus. Control words and status information are transferred through the Data Bus Buffer.

READIWRITE CONTROL LOGIC

The function of this block is to accept OUTput com· mands from the CPU. It contains the Initialization Com· mand Word (ICW) registers and Operation Command Word (OCW) registers which store the various control formats for device operation. This function block also allows the status of the 8259A to be transferred onto the Data Bus.

CS (CHIP SELECT)

A LOW on this Input enables the 8259A. No reading or writing of the chip will occur unless the device is selected.

WR(WRITE)·

A LOW on this input enables the CPU to write control words (ICWs and OCWs) to the 8259A.

Ao This input signal is used in conjunction with WR and RD signals to write commands into the various command registers, as well as reading the various status registers of the chip. This line can be tied directly to one of the ad· dress lines.

A LOW on this Input enables the 8259A to send the status of the Interrupt Request Register (IRR), In Service Register (lSR), the Interrupt Mask Register (IMR), or the Interrupt level onto the Data Bus.· .

8259A Block Diagram · 8259A Block Diagram · Fffi (READ)

Page 356 of the Intel mcs-48 user manual — I,
Page 356 · click to enlarge
Page 356
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 356)
Fig. 355 · The Single Component . 2" MCS-4S™ S~stem

8259A

THE CASCADE BUFFER/COMPARATOR

If no interrupt request is present at step 4 of either sequence (i.e., the request was too short in duration) the 8259A will issue an interrupt level 7. Both the vectoring bytes and the CAS lines will look like an interrupt level 7 was requested.

This function block stores and compares the IDs of all 8259A's used in the system. The associated three I/O pins (CASO-2) are outputs when the 8259A is used as a master and are inputs when the 8259A is used as a slave. As a master, the 8259A sends the 10 of the inter- rupting slave device onto the CASO-2 lines. The slave thus selected will send Its preprogrammed subroutine address onto the Data Bus during the next one or two consecutive INTA pulses. (See section "Cascading the 8259A".)

INTERRUPT SEQUENCE

The powerful features of the 8259A in a microcomputer system are its programmability and the interrupt routine addressing capability. The latter allows direct or indirect jumping to the specific interrupt routine requested without any polling of the interrupting devices. The nor- mal sequence of events during an interrupt depends on the type of CPU being used.

The events occur as follows in an MCS-80/85 system:

1. One or more of the INTERRUPT REQUEST lines (IR7-0) are raised high, setting the corresponding IRR bit(s).
2. The 8259A evaluates these requests, and sends an INT to the CPU, if appropriate. 3. The CPU acknowledges the INT and responds with an INTA pulse.

4. Upon receiving an INTA from the CPU group, the highest priority ISR bit is set, and the corresponding IRR bit is reset. The 8259A will also release a CALL in- struction code (11001101) onto the 8-bit Data Bus through its 07-0 pins. 5. This CALL instruction will initiate two more INTA pulses to be sent to the 8259A from the CPU group. 6. These two INTA pulses allow the 8259A to release its preprogrammed subroutine address onto the Data Bus. The lower 8-bit address is released at the first INTA pulse and and the higher 8-bit address is re- leased at the second INTA pulse. 7. This completes the 3-byte CALL instruction released by the 8259A. In the AEOI mode the ISR bit is reset at the end of the third INTA pulse. Otherwise, the ISR bit remains set until an appropriate EOI command is issued at the end of the interrupt sequence.

The events occurring in an MCS-86 system are the same until step 4.

4. Upon receiving an INTA from the CPU group, the highest priority ISR bit is set and the corresponding IRR bit is reset. The 8259A does not drive the Data Bus during this cycle.

CASCADE { LINES

5. The MCS-86 CPU will initiate a second INTA pulse. During this pulse, the 8259A releases an 8-bit pointer onto the Data Bus where it is read by the CPU.

I,

, INTERRUPT

6. This completes the interrupt cycle. In the AEOI mode the ISR bit is reset at the end of the second INTA pulse. Otherwise, the ISR bit remains set until an appropriate EOI command is issued at the end of the interrupt subroutine.

8259A Interface to Standard System Bus

8259A Block Diagram · REQuESTS

Page 357 of the Intel mcs-48 user manual — IRO
Page 357 · click to enlarge
Page 357
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 357)
Fig. 356 · The Single Component . 2" MCS-4S™ S~stem

8259A

INTERRUPT SEQUENCE OUTPUTS

During the third INTApuise the higher address of the appropriate service routine, which was programmed as byte 2 of the initialization sequence (As - A1sl, is enabled onto the bus.

MCS·80/85 SYSTEM

This sequence is timed by three INTA pulses. During the

first iiifi'A pulse the CALL opcode is enabled onto the data bus. -

Content of Third Interrupt

Content of First Interrupt

07 06 A15 A14

05 D4 03 02 A13 A12 All Al0

01 DO

D7 D8 D5 D4 D3 D2 Dl DO

A9 AS

CALLCODE ~1_l 0 0 0 l~1

MCS·8S SYSTEM

During the second INTA pulse the lower address of the appropriate service routine is enabled onto the data bus. When Interval = 4 bits A5-A7 are programmed, while Ao- A4 are automatically inserted by the 8259A. When Inter· val = 8 only A6 and A7 are programmed, while Ao-A5 are automatically inserted.

MCS·86 mode is similar to MCS·80 mode except that only two Interrupt Acknowledge cycles are issued by the processor and no CALL opcode is sent to the proc· essor. The first interrupt acknowledge cycle is similar to that of MCS-80/85 systems in that the 8259A uses it to internally freeze the state of the interrupts for priority resoiuiion ana as a master it issues the interrupt code on the cascade lines at the end of the INTA pulse. On this first cycle it does not issue any data to the proc- essor and leaves its data bus buffers disabled. On the second interrupt acknowledge cycle in MCS·86 mode the master (or slave if so programmed) will send a byte of data to the processor with the acknowledged inter· rupt code composed as follows (note the state of the ADI mode control is ignored and A5-All are unused in MCS-86 mode):

Content of Second Interrupt

IR

Intervll-4 D8 D5 04 D3 02

D7

Dl DO 0

A7 A7

A6 A5 1 1 1

A6 A5 1 1 0 A6 A5 1 0 1

A7

A7

A6 A5 1 0 0

4 3 2 1 0

A7 A7

A6 A5 0 1 1 A6 A5 0 1 0 A6 A5 0 0 1 A6 A5 0 0 0

A7 A7

Content of Interrupt Vector Byte

for MCS·86 System Mode

IA

07 08 05 04 03 02 01 00

o7 o_6 D_5 o_4 o_3 D_2_~_0_1 __ ~0~~_ 7 ~~ A~6~ ~ ___ ~ __ ~ ___ ~O~ __ ~O O~ 6 A7 __ A~6 ~ __ ~ __ ~O __ ~O: ~O ~

IR7

A15 A14 A13 A12 All 1 1 1

IR6

A15 A14 A13 A12 All 1 1 0

IR5

A15 A14 A13 A12 All 1 0 1

~~~A-7 A~6 0~ ~--~O O~--~O~

IR4

A15 A14 A13 A12 All 1 0 0

4 A7 A6 0 c

IR3

'115 A14 A13 A12 Al_~ 1 1

3 A7 A6 0 1 0 0 o.~ 2 A7 A6 0 1 0 --- ~--~-.- 1--1 __ ~7 __ ~6 ___ ~ __ Cl ~ O" ~ __ ~ o A7 A6 0

IR2 IRI

A15 A14 A13 A12 'Ill 0 1 0

A15 A14 A13 A12 All 0 0 1

IRO

A15 A14 A13 A12 All 0 0 0 ~ ___ L -- __ ~_

Show 4 more labels / short text on this page
Vector Byte · Vector Byte · Vector Byte · Interval =8
Page 358 of the Intel mcs-48 user manual — DISABLE FUNCTION
Page 358 · click to enlarge
Page 358
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 358)
Fig. 357 · The Single Component . 2" MCS-4S™ S~stem

8259A

PROGRAMMING THE 8259A

INITIALIZATION

The 8259A accepts two types 01 command words gener· ated by the CPU:

GENERAL

Whenever a command is issued with AO = 0 and D4 = 1, this is interpreted as Initialization Command Word 1 (ICW1). ICW1 starts the initialization sequence during which the following automatically occur.

1. Initialization Command Words (lCWs): Belore normal operation can begin. each 8259A in the system must be brought to a starting point - by a sequence 01 2 to 4 bytes timed by imi pulses. This sequence is described in Figure 1.

a. The Interrupt Mask Register is cleared.

b. IR 7 input is assigned priority 7.

c. The slave mode address is set to 7.

2. Operation Command Words (OCWs): These are the command words which command the 8259A to oper· ate in various interrupt modes. These modes are: a. Fully nested mode b. Rotating priority mode c. Special mask mode d. Polled mode

d. Special Mask Mode is cleared and Status Read is set to

IRR.

e. If IC4 = O. then all functions selected in ICW4 are set to

zero. (Non-Buffered mode'. no Auto-EOI. MCS-80/85 system. non SFNM).

The OCWs can be written into the 8259A anytime alter initialization.

'Nol.: Master/Slave In ICW4 Is only used in the buffered mode.

Ao D4 D3 RD WR CS

INPUT OPERATION (READ)

0 0 1 0 1 0 1 0

IRR. ISR or Interrupting Level-+-DATA BUS (Note 1) IMR .--DATA BUS

OUTPUT OPERATION (WRITE)

0 0 0 1 0 1 1 0 0 0 1 X 1 0 0 1 X X 1 0 0

DATA BUS --OCW2 DATA BUS --OCW3 DATA BUS ICW1 DATA BUS OCW1.ICW2.ICW3.ICW4 (Note 2)

DISABLE FUNCTION

X X X 1 1 0 X 1

DATA BUS - 3-STATE (NO OPERATION) DATA BUS - 3-STATE (NO OPERATION)

Nol." t. Selection of IRR. ISR or Interrupting Level Is based on the content of OCW3 written before the READ operation.

2. On-chip sequencer logic queues these commands into proper sequence.

8259A Ba.le Operation

Page 359 of the Intel mcs-48 user manual — MIS AEO'
Page 359 · click to enlarge
Page 359
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 359)
Fig. 358 · The Single Component . 2" MCS-4S™ S~stem

8259A

INITIALIZATION COMMAND WORDS 1 AND 2 (ICW1,ICW2)

INITIALIZATION COMMAND WORD 3 (ICW3)

This word is read only when there is more than one 8259A in the system and cascading is used, in which case SNGL = O. It will load the 8-bit slave register. The functions of this register are:

As-A1S: Page starting address of service routines. In an MCS 80/85 system, the 8 request levels will generate CALls to 8 locations equally spaced in memory. These can be programmed to be spaced at intervals of 4 or 8 memory locations, thus the 8 routines will occupy a page of 32 or 64 bytes, respectively.

a. In the master mode (either when SP = 1, OJ in buttered

mode when MIS = 1 in ICW4) a "1" is set for each slave in the system. The master then will release byte 1 of the call sequence (for MCS-SO/S5 system) and will enable the corresponding slave to release bytes 2 and 3 (for MCS-S6 only byte 2) through the cascade lines. b. In the slave mode (either when SP = 0, or if BUF = 1

The address format is 2 bytes long (Ao-A1S)' When the routine interval is 4, Ao-A4 are automatically inserted by the 8259A, while As-Als are programmed externally. When the routine interval Is 8, Ao-As are automatically inserted by the 8259A, while A6-A1S are programmed externally.

and MIS = 0 in ICW4) bits 2-0 identify the slave. The slave compares its cascade Input with these bits and, if they are equal, bytes 2 and 3 of the call sequence (or just byte 2 for MCS-86) are released by it on the Data Bus. INITIALIZATION COMMAND WORD 4 (lCW4)

The a·byte interval will maintain compatibility with cur- rent software, while the 4-byte interval is best for a com- pact jump table.

In an MeS-86 system A1S-All are inserted in the five most significant bits of the vectoring byte and the 8259A seis ilie iI""" illasi signiiicant bits accorolng to the interrupt level. Al0-As are ignored and ADI (Address Interval) has no effect.

SFNMIf SFNM = 1 the special fully nested mode Is
programmed. BUFIf BUF = 1 the buffered mode is programmed. In

buffered mode SP/EN becomes an enable output and the masterlslave determination Is by MIS. MIS: If buffered mode Is selected: MIS = 1 means the 8259A is programmed to be a master, MIS = 0 means the 8259A is programmed to be a siave. If BUF = 0, MIS has no function. AEOI: If AEOI = 1 the automatic end of Interrupt mode

L TIMIf L TIM = 1, then the 8259A will operate in the

level Interrupt mode. Edge detect logic on the Interrupt Inputs will be disabled. ADI: CALL address Interval. ADI = 1 then Interval = 4; ADI = 0 then Interval = 8. SNGL: Single. Means that this Is the only 8259A In the

Is programmed. ,",PM: Microprocessor mode: ,",PM = 0 sets the 8259A for MCS-80/85 system operation, ,",PM = 1 sets the 8259A for MCS-86 system operation.

system. If SNGL= 1 no ICW3 will be Issued. IC4: If this bit Is set - ICW4 has to be read. If ICW4 Is not needed, set IC4 = O.

AO D7 De D5 D4 I 0 A7 Ae A5

D3 D2 Dl DO

lTIM ADI SNGl IC4j ICWI

I I 1 A15 1114 A13 A12

All Al0 AI AljlCW2

r (-~~.~~

I 1 S7 se SS 54 S3 52 SI so j'CW3 ~ r-t ~

,.------------~~~ ~."

MIS AEO'

READY TO ACCEPT REQUESTS

IN THE FUllY NESTED MODE

Figure 1_ Initialization Sequence

SFNM aUF t

Page 360 of the Intel mcs-48 user manual — SLAVE 10111
Page 360 · click to enlarge
Page 360
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 360)
Fig. 359 · The Single Component . 2" MCS-4S™ S~stem

8259A

ICW'

1· lew. NEEOED 0 .. NO ICW4NEEDEO

1" SINGLE 0'"' NOT SINGLE

CALL ADDRESS INTERVAL

1'" INTERVAL OF 4 O· INTERVAL OF 8

1 .. LEVel TRIGGERED INPUT 0'" EDGE TRIGGERED INPUT

A7 - AS OF LOWER ROUTINE ADDRESS (MC8-80/95 MODE ONl YI

ICW2

UPPER ROUTINE ADDRESS

ICW3 (MASTER DEVICE)

1 ~ IR INPUT HAS A SLAVE 0" IR INPUT DOES NOT HAVE A SLAVE

ICW31SLAVE DEVICE)

~ 1, j 0 I 0 I 0 I 0 I 0 lID, liD, lIDo I

  • o , 2 3
  • 7 · , . , . , . ,
  • , , .. , ,
  • o , , , ,

SLAVE 10111

1 '" MCS 86 MODE 0'" MCS·80/85 MODE

1 ~ AUTO £01 0'" NORMAL EOI

EH!j

X--' - NON BUFFERED MODE 1 0 - BUFFERED MODE/SLAVE 1 , BUFFERED MODE/MASTER

Initialization Command Word Format

Page 361 of the Intel mcs-48 user manual — ocwa 0 I 0 SSMM SMM 0 P SRIS RIS I
Page 361 · click to enlarge
Page 361
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 361)
Fig. 360 · The Single Component . 2" MCS-4S™ S~stem

8259A

OPERATION COMMAND WORDS (OCWs)

OPERATION CONTROL WORD 1 (OCW1)

After the Initialization Command Words (ICWs) are pro- grammed Into the 8259A, the chip Is ready to accept Interrupt requests at Its Input lines. However, during the 8259A operation, a selection of algorithms can com- mand the 8259A to operate In various modes through the Operation Command Words (OCWs).

OCW1 sets and clears the mask bits In the Interrupt Mask Register (IMR). M:'- Mo represent the eight mask bits. M = 1 Indicates the channel is masked (Inhibited), M = 0 indicates the channel is enabled.

OPERATION CONTROL WORD 2 (OCW2)

OPERATION CONTROL WORDS (OCWI)

R, SEOI, EOI - These three bits control the Rotate and End of Interrupt modes and combinations of the two. A chart of these combinations can be found on the Opera· tlon Command Word Format.

OCW1 AO D7 De D5 D4 D3 D2 D1 DO [i] I M7 Me M5 M4 M3 M2 M1 MO I

L2, L1, La - These bits determine the Interrupt level acted upon when the SEOI bit Is active.

OPERATION CONTROL WORD 3 (OCW3)

OCW2 0 I R SEOI EOI 0 0 L2 Ll LOI

ESMM - Enable Special Mask Mode. When this bit Is set to 1 It enables the SMM bit to set or reset the Special Mask Mode. When ESMM = 0 the SMM bit becomes a "don't care".

SMM - Special Mask Mode. If ESMM = 1 and SMM = 1 the 8259A will enter Special Mask Mode. If ESMM = 1 and SM M = 0 the 8259A will revert to normal mask mode. When ESMM = 0, SMM has no effect.

ocwa 0 I 0 SSMM SMM 0 P SRIS RIS I

Page 362 of the Intel mcs-48 user manual — RESET SET NO ACTION SPECIAL SPECIAL MA"" MASK
Page 362 · click to enlarge
Page 362
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 362)
Fig. 361 · The Single Component . 2" MCS-4S™ S~stem

8259A

~ 07 ~ 0, ~

I 0 R I SEor I EOI I o i 0 1 c, 1 c, 1 c, I

0 , 2 , . • 6 7

BCD LEVel TO BE RESET OR PUT INTO LOWEST PRIORITV

0 , 0 , 0 , 0 ,

0 0 , , 0 0 , ,

0 , 1 r J- r+ NON-$I'ECIFrCEO. ~-'i-r+ SPECIFIC eol. lO-L2 CODE OF IS Ff TO BE RESET r,-o~ ROTATE AT Eor AUTOMATICALLY (MODE A) I-i-r,-r-;- ROTATE AT EOIIMOOE BI, (LG-U OEFINES NEW LOWESTPRIORITV) I-i-Io'o SET ROTATE A FF r,-r,-r,- CLEAR ROTATE A fF f7r-;-~ AOTATE PRIORITY (MODE B) INDEPENDENTLY OF EOI (LO-U CODE OF LINE) tttttt NOOPERATLON

I 0 1 - I"M"I SMM 1 0 1 ' 1 p 1 ERIS 1 R'S I

OJN'T l_

CAR~ 0 I , 0 ,

READ IN SERVICE REGISTER

0 I 0 , ,

NO ACTION IR REG ISREG ON NE'(T ON NEXT RD PULSE AD PULSE

READ REAO

POLLING

A HIGH ENABLES THE NEXT Fib PULSE TO READ THE BCD CODe OF THE HIGH EST LEVEL REQUESTING INTERRUPT

0 1 , 0 ,

0 I 0 , ,

RESET SET NO ACTION SPECIAL SPECIAL MA"" MASK

Operation Command Word Format

ocw, · ocw, · SPECIAL MASK MODe

Page 363 of the Intel mcs-48 user manual — BUFFERED MODE
Page 363 · click to enlarge
Page 363
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 363)
Fig. 362 · The Single Component . 2" MCS-4S™ S~stem

8259A

INTERRUPT MASKS

FULLY NESTED MODE This mode is entered after Initialization unless another mode is programmed. The interrupt requests are ordered in priority form 0 through 7 (0 highest). When an interrupt is acknowledged the highest priority request is determined and its vector placed on the bus. Additional- ly, a bit of the Interrupt Service register (ISO-7) is set. This bit remains set until the microprocessor issues an End of Interrupt (EOI) command immediately before returning from the service routine, or if AEOI (Automatic End of Interrupt) bit is set, until the trailing edge of the last INTA. While the IS bit is set, all further interrupts of the same or lower priority are inhibited, while higher levels will generate an interrupt (which will be acknowledged only If the microprocessor internal Inter- rupt enable flip-flop has been re-enabled through soft- ware). After the Initialization sequence, IRO has the highest priority and IR7 the lowest. Priorities can be changed, as will be explained, In the rotating priority mode.

Each Interrupt Request Input can be masked Indlvldu- ,ally by the Interrupt Mask Register (IMR) programmed

through OCW1. Each bit In the IMR masks one Interrupt channel If It Is set (1). Bit 0 masks IRO, Bit 1 masks IR1 and so forth. Masking an IR channel does not affect the other channels operation.

SPECIAL MASK MODE

Some applications may require an interrupt service routine to dynamically alter the system priority struc- ture during its execution under software control. For example, the routine may wish to inhibit lower priority requests for a portion of its execution but enable some of them for another portion.

The difficulty here Is that if an Interrupt Request is acknowledged and an End of Interrupt command did not reset its IS bit (i.e., while executing a service routine), the 8259A would have inhibited all lower priority requests with no easy way for the routine to enable them That is where the Special Mask Mode comes In. In the special Mask Mode, when a mask bit is set in OCW1, it inhibits further interrupts at that level and enables Inter- rupts from all other levels (lower as well as higher) that are not masked.

THE SPECIAL FULLY NESTED MODE

This mode will be used In the case of a big system where cascading Is used, and the priority has to be con- served within each slave. In this case the fully nested mode will be programmed to the master (using ICW4). This mode Is similar to the normal nested mode with the following exceptions:

Thus, any interrupts may be selectively enabled by loading the mask register.

The special Mask Mode is set by OCW3 where: SSMM = 1, SMM = 1, and cleared where SSMM = 1, SMM=O.

a. When an Interrupt request from a certain slave is in

service this slave Is not locked out from the master's priority logic and further interrupt requests from higher priority IR's within the slave will be recognized by the master and will initiate Interrupts to the proc- essor. (In the normal nested mode a slave is masked out when Its request is in service and no higher requests from the same slave can be serviced.)

BUFFERED MODE

When the 8259A Is used in a large system where bus driving buffers are required on the data bus and the cas- cading mode is used, there exists the problem of enabl- Ing buffers. The buffered mode will structure the 8259A to send an enable Signal on Sfi/EN to enable the buffers. In this mode, whenever the 8259A's data bus outputs are ena- bled, the SP/EN output becomes active. This modification forces the use of software program- ming to determine whether the 8259Ais a master or a slave. Bit 3 in ICW4 programs the buffered mode, and bit 2 in ICW4 determines whether it is a master or a slave.

b. When exiting the Interrupt Service routine the soft-

ware has to check whether the interrupt servlced was the only one from that slave. This is done by sending a non-specific End of Interrupt (EOI) command to the slave and then reading Its In-Service register and checking for zero. If it is empty, a non-specific EOI . can be sent to the master too. If not, no EOI should be

sent.

Page 364 of the Intel mcs-48 user manual — AUTOMATIC END OF INTERRUPT (AEOI) MODE
Page 364 · click to enlarge
Page 364
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 364)
Fig. 363 · The Single Component . 2" MCS-4S™ S~stem

8259A

second in MCS·86). Note that from a system standpoint, this mode should be used only when a nested multilevel interrupt structure is not required within a single 8259A.

POLL

In this mode the microprocessor internal Interrupt Enable flip-flop Is reset, disabling its interrupt input. Service to devices is achieved by programmer Initiative using a Poll command.

To achieve automatic rotation (Rotate Mode A) within AEOI, there is a special rotate flip-flop. It is set by OCW2 with R = 1, SEOI = 0, EOI = 0, and cleared with R = 0, SEOI = 0, EOI = O.

The Poll command Is Issued by setting P= "1" in OCW3. The 8259A treats the next AD pulse to the 8259A (i.e., RD = 0, ~ = 0) as an interrupt acknowledge, sets the appropriate IS bit If there is a request, and reads the priority level. Interrupt is frozen from WR to RD.

ROTATING PRIORITY MODE A (AUTOMATIC ROTATION) FOR EQUAL PRIORITY DEVICES

In some applications there are a number of interrupting devices of equal priority. In this mode a device, after being serviced, receives the lowest priority, so a device requesting an interrupt will have to wait, in the worst case until each of 7 other devices are serviced at most once. For example, if the priority and "in service" status is:

The word enabled onto the data bus during m5 is:

07 De 05 o. 03 02 01 00

1 I W2 WI wol

WO-W2Binary code of the highest priority level

requesting service. I: Equal to a "1" if there is an interrupt.

Before Rotate (IR4 the highest priority requiring service)

This mode Is useful if there is a routine command com·

mon to several levels so that the fNTA sequence is not needed (saves ROM space). Another application is to use the poll mode to expand the number of priority levels to more than 64.

IS7 lSI ISS IS. IS3 152 IS1 ISO

"IS" Status 10111011101010101

  • Low
  • 1 Priority Hlgh
  • 1 Prlorlly 1 716 1 5 I
  • I 3 1 2 I ho I

END OF INTERRUPT (EOI)

The In Service (IS) bit can be reset either automatically following the trailing edge of the last in sequence INTA pulse (when AEOI bit in ICW1 is set) or by a command word that must be issued to the 8259A before returning from a service routine (EOI command). An EOI command must be issued twice, once for the master and once for the corresponding slave if slaves are in use.

After Rotate (IR4 was serviced, all other priorities rotated correspondingly)

IS7 lSI ISS IS. IS3 IS2 151 ISO

"IS" Slatus 10111010101010101

There are two forms of EOI command: Specific and Non· Specific. When the 8259A Is operated in modes which preserve the fully nested structure, it can determine which IS bit to reset on EOL When a Non-Specific EOI command is issued the 8259A will automatically reset the highest IS bit of those that are set, since in the nested mode the highest IS level was necessarily the last level acknowledged and serviced.

1 2 1 11 0

Hlgh.1I Prlorlly

  • Low
  • t Prlorlly 7E04131

The Rotate command mode A is issued in OCW2 where: R = 1. EOI = 1. SEOI = O. Internal status is updated by an End of Interrupt I EOI or AEOII command. If R = 1, EOI = 0, SEOI = 0, a "Rotate-A" flip-flop is set. This is useful in AEOI, and described under Automatic End of Interrupt.

However, when a mode is used which may disturb the fully nested structure, the 8259A may no longer be able to determine the last level acknowledged. In this case a Specific End of Interrupt (SEOI) must be issued which Includes as part of the command the IS level to be reset. EOI is issued whenever EOI = 1, in OCW2, where LO-L2 is the binary level of the IS bit to be reset. Note that although the Rotate command can be issued together with an EOI where EOI = 1, it is not necessarily tied to it.

ROTATING PRIORITY MODE B (ROTATION BY SOFTWARE)

The programmer can change priorities by programming the bottom priority and thus fixing all other priorities; i.e., if IR5 is programmed as the bottom priority device, then IR6 will have the highest one.

It should be noted that an IS bit that is masked by an IMR bit will not be cleared by a non·specific EOI if the 8259A Is in the Special Mask Mode.

The Rotate command is issued in OCW2 where: R = 1, SEOI = 1; LO- L2 is the binary priority level code of the bottom priority device.

AUTOMATIC END OF INTERRUPT (AEOI) MODE

If AEOI = 1 In ICW4, then the 8259A will operate in AEOI mode continuously until reprogrammed by ICW4. In this mode the 8259A will automatically perform a non· specific EOI operation at the trailing edge of the last interrupt acknowledge pulse (third pulse in MCS·80/85,

Observe that In this mode internal status is updated by software control during OCW2. However, it is independ- ent of the End of Interrupt (EOI) command (also exe· cuted by OCW2). Priority changes can be executed duro ing an EOI command or independently.

Priority Status · Priority Status

Page 365 of the Intel mcs-48 user manual — READING THE 8258A STATUS
Page 365 · click to enlarge
Page 365
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 365)
Fig. 364 · The Single Component . 2" MCS-4S™ S~stem

8259A

LTIM liT .=EOGE 1 "",LEVEL

TO OTHER 'AIORTY CULS

·""ORITY REIOLVER

CONTRDL

LOGIC

REOUEST

LATCH

,R -+-11>> '1.. o a~~-+---,~uo.~-+~--4~ NON· MASKED REO LATCH c a o oH-++-+ .:~

'1:1 Ii

NOTES

1. MAlTER CLEAR ACTIVE ONLY DURING rcw, 2. FIIEEZE/II ACTIVE DURING iJiITJ AND POLL SEQUENCES ONLY 3. TRUTH TAiLE FOR D·LATCH

OPEPIATION

HOLD

Priority Cell - Simplified Logic Diagram

LEVEL TRIGGERED MODE

In-Service Register (ISR): 8-bit register which contains the priority levels that are being serviced. The .ISA is updated when an End of Interrupt command is Issued.

This mode is programmed using bit 3 in ICW1.

If LTIM ='1', an interrupt request wilrbe recognized by a 'high' level on IA Input, and there is no need for an edge detection. The interrupt request must be removed before the EOI command Is Issued or the CPU Interrupt is enabled to prevent a second interrupt from occurring.

Interrupt Mask Register: 8-bit register which. contains the interrupt request lines which are masked.

The IAA can be read when, prior to the AD pulse, a WR pulse is Issued with OCW3 (EAIS= 1, RIS=O.)

The above figure shows a conce~::Jal circuit to give the reader an understanding of the level sensitive and edge sensitive input circuitry of the 8259A. Be sure to note that the request latch is a transparent D type latch.

The ISA can be read in a similar mode when EAIS= 1,

AIS = 1 in the OCW3.

There is no need to write an OCW3 before every status read operation, as long as the status read corresponds with the previous one; I.e., the 8259A "remembers" whether the IRA or ISA has been previously selected by the OCW3. This is not true when poll is used.

READING THE 8258A STATUS

The Input status of several internal registers can be read to update the user Information on the system. The following registers can be read by Issuing a suitable OCW3 and reading with AD.

After Initialization the 8259A is set to IAA.

For reading the IMA, no OCW3 is needed. The output data bus will contain the IMA whenever AD is actiYe and AO= 1.

Interrupt Mask Register: 8-blt register whose content specifies the Interrupt request lines being masked. acknowledged. The highest request leyel is reset from the IAA when an Interrupt Is acknowledged. (Not affected by IMA.)

Polling overrides status read when P= 1, EAIS= 1 in OCW3.

itT · fOLLOW

Page 366 of the Intel mcs-48 user manual — © INTEL CORPORATION. 1980 9-51
Page 366 · click to enlarge
Page 366
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 366)
Fig. 365 · The Single Component . 2" MCS-4S™ S~stem

inter

  • 8272 SINGLE/DOUBLE DENSITY FLOPPY DISK CONTROLLER
  • IBM Compatible in Both Single and
  • Data Transfers in DMA or Non·DMA Double Density Recording Formats Mode
  • Programmable Data Record Lengths:
  • Parallel Seek Operations on Up to 128,256,512, or 1024 Bytes/Sector Four Drives
  • Multi·Sector and Multi·Track Transfer Compatible with Most Capability
  • Microprocessors Including 8080A,
  • Drive Up to 4 Floppy Disks 8085A, 8086 and 8088
  • Data Scan Capability - Will Scan a
  • Slngle·Phase 8 MHz Clock Single Sector or an Entire Cylinder's Worth of Data Fields, Comparing on a
  • Single +5 Volt Power Supply Byte by Byte Basis, Data in the Processor's Memory with Data Read
  • Available in 40·Pln Plastic Dual·ln·Llne from the Diskette Package

The 8272 is an LSI Floppy Disk Controller (FDG) Chip, which contains the circuitry and control functions for Interfacing a processor to 4. Floppy Disk Drives. It is capable of supporting either IBM 3740 single density format (FM), or IBM System 34 Double Density format (MFM) including double sided recording. The 8272 provides control signals which simplify the design of an external phase locked loop, and write precompensation circuitry. The FDC simplifies and handles most of the burdens associated with implementing a Floppy Disk Drive Interface.

PIN CONFIGURATION

8272 INTERNAL BLOCK DIAGRAM

RESET Vee liD RWISEEK

0 8 0.7 DATA BUS

BUFFER

REGISTERS

AO

WPITS

SERIAL INTERFACE CONTROLLER

TERMINAL

COUNT - .

-.-READY

WRITE PROTECTITWO SIDE INDEX FAULTITRACK 0

INT liD_ WR ~ CONTROL

Ao ~ LOGIC RESET ~ L-.,..- I

DRIVE INTERFACE CONTROLLER

DRIVE SELECT 0 DRIVE SELECT 1 MFM MODE

l'iW/SEEK HEAD LOAD HEAD SELECT LOW CURRENT/DIRECTION FAULT RESET/STEP

Vee -... GND ---+-

Intel Corporation Assumes No Responsibllty for the Use of Any Circuitry Other Than Circuitry Embodied in 8n Intel Product. No Other Circuit Patent Licenses are Implied.

© INTEL CORPORATION. 1980 9-51

DRQ mK_ · elK ~

Page 367 of the Intel mcs-48 user manual — FEATURES
Page 367 · click to enlarge
Page 367
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 367)
Fig. 366 · The Single Component . 2" MCS-4S™ S~stem

8272 REGISTERS CPU INTERFACE

8272 SYSTEM BLOCK DIAGRAM

The 8272 contains two registers which may be accessed by the main system processor; a Status Register and a Data Register, The 8-bit Main Status Register contains the status information of the FDC, and may be accessed at any time. The 8-bit Data Register (actually consists of several registers in a stack with only one register pre- sented to the data· bus at a time), stores data, com- mands, parameters, and FDD status information. Data bytes are read out of, or written into, the Data Register in order to program or obtain the results after execution of a command. The Status Register may only be read and is used to facilitate the transfer of data between the processor and 8272.

8237 i5ACK DMA CONTROLLER

The relationship between the Status/Data registers and the signals RD, WR, and Ao is shown below.

8272 FDC

TC

Ao RD WR FUNCTION

L__ --I TERMINAL L J

COUNT

0 0 i Head Main l::itatus Register

0 1 0 Illegal

0 0 0 Illegal

DESCRIPTION

1 0 0 Illegal

Hand-shaking signals are provided in the 8272 which make DMA operation easy to incorporate with the aid of an external DMA Controller chip, such as the 8237. The FDC will operate in either DMA or Non-DMA mode. In the Non-DMA mode, the FDC generates interrupts to the processor for every transfer of a data byte between the CPU and the 8272. In the DMA mode, the processor need only load a command into the FDC and all data transfers occur under control of the 8272 and DMA controller.

1 0 1 Read from Data Register

1 1 0 Write into Data Register

The bits in the Main Status Register are defined as

follows:

BIT NUMBER NAME SYMBOL DESCRIPTION

There are 15 separate commands which the 8272 will execute. Each of these commands require multiple 8-bit bytes to fully specify the operation which the processor wishes the FDC to perform. The following commands are available.

080 FOO 0 Busy 008 FOO numberO is in the Seek mode.

08, FDD 1 Busy 0,8 FOO number 1 is in the Seek mode.

082 FDD 2 Busy 028 FOD number2 is in the Seek mode.

Read Data Read ID Read Deleted Data Read a Track Scan Equal Scan High or Equal Scan Low or Equal Specify

083 FOD 3 Busy 038 FDO number3 is in the Seek mode.

Format a Track Write Deleted Data Seek Recalibrate (Restore to

084 FOC Busy C8 A read or write command is in process.

085 Non·DMA mode NOM The FOe is in the non·DMA mode. This bit is set only during the execution phase in non·DMA mode. Tran- sition to "0" state indicates execution phase has ended.

Track 0) Sense Interrupt Status Sense Drive Status

086 Data Input/Output 010 Indicates direction of data transfer between FOe and Data Register. If 010="1" then transfer Is from Data Register to the Processor. If 010 = "0", then_ transfer is -from the Processor to Data Register.

FEATURES

Address mark detection circuitry is internal to the FDC which simplifies the phase locked loop and read elec- tronics. The track stepping rate, head load time, and head unload time may be programmed by the user. The 8272 offers many additional features such as multiple sector transfers in both read and write modes with a single command, and full IBM compatibility in both single (FM) and double density (MFM) modes.

087 Request for ROM Indicates Data Register is Master ready to send or receive data to or from the Proc· essor. Both bits 010 and ROM should be used to perform the handshaking functions of "ready" and "direction" to the processor.

Write Data

Page 368 of the Intel mcs-48 user manual — PIN CONNECTION UO DESCRIPTION NO. SYMBOL TO
Page 368 · click to enlarge
Page 368
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 368)
Fig. 367 · The Single Component . 2" MCS-4S™ S~stem

PIN DESCRIPTION PIN CONNECTION UO TO DESCRIPTION NO. SYMBOL

PIN CONNECTION UO DESCRIPTION NO. SYMBOL TO

40 VCC D.C. POWER + 5V

39 RWISEEK 0 FOO Read Write/SEEK: When "1" (high) Seek mode selected and 1 RST I "p Reset: Places FOe in idle when "0" (low) ReadlWrite state. Resets output lines to mode selected FOD to "0" (low)

38 LCTIOIR 0 FOO Low Current/Direction: Lowers Write current on inner tracks transfer of data from FOC to In ReadlWrlte mode, deter· Data Bus. when "0" (low) mines direction head will step

2 1m l' "p ReadControl signal for
3 WR l' "p WriteControl signal for in Seek mode

transfer of data to FOe via Data 37 FAlSTP 0 FOO Fault Reset/Step: Resets fault Bus, when "0" (low) FF in FOD in ReadlWrite

4 CS I "p Chip Select: Ie selected when "0" (low), allowing Ffi) and m to be enabled

mode, provides step puises to move head to another cylinder in Seek mode

5 Ao I "p Data/Status Reg Select Selects Data Reg (AO = 1) or Stalus Reg (AO = 0)

36 HOL 0 FOO Head Load: Command which causes read/write head in FDD to contact diskette content 35 ROY I FOO Ready: Indicates FDD Is ready be sent to Data Bus to send or receive data

6-13 OBo-OB7 I/O "p Data Bus: Bidirectional 34 WPITS I FOO Write ProtectlTwo-Slde: a-Sit Data Bus Senses Write Protect status In

ReadIWrlte mode, and Two Side Media In Seek mode

14 ORO 0 OMA Data DMA Request; DMA Request is being made by

FOC when ORO "1" 33 FLTITRKO I FOO Faultrrrack 0: Senses FDD

fault condition In ReadlWrlte mode and Track 0 condition in Seek mode.

15 OACK I OMA DMA Acknowledge: DMA cycle Is active when "0" (low) 'and Controller Is

performing DMA transfer 31,32 PS"PSO 0 FOO Precompensatlon (pre-shift):

16 TC I OMA Terminal Count: Indicates the termination of a DMA transfer when "1" (high)

Write precompensation status during MFM mode. Deter· mines early, late, and normal times. 17 lOX I FOO Index: Indicates the beginning of a disk track 30 WR DATA 0 FOO Write Data: Serial clock and data bits to FDD 18 INT 0 "p Interrupt: 'Interrupt Request Generated by FOC 28,29 OS"OSO 0 FOO Drive Select: Selects FOD unit

19 CLK I ClockSingle Phase 8 MHz Squarewave Clock

27 HOSEL 0 FOO Head Select: Head 1 selected when "1" (high) Head 0 selected when "0" (low) 20 GNO Ground: D.C. Power Return

26 MFM 0 PLL MFM Mode: MFM mode when "1", FM mode when "0"

24 VCO 0 PLL VCO Sync: Inhibits VCO in PLL when "0" (low), enables VCO when "1"

23 RO DATA I FOO Read Data: Read data from FOD, containing clock and data bits

22 OW I PLL Data Window: Generated by PLL, and used to sample data from FDD

21 WRCLK I Write Clock: Write data rate to FDD FM = 500 kHz, MFM = 1 MHz, with a pulse width of 250 ns for both FM and MFM

Page 369 of the Intel mcs-48 user manual — POLLING FEATURE OF THE 8272
Page 369 · click to enlarge
Page 369
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 369)
Fig. 368 · The Single Component . 2" MCS-4S™ S~stem

The 010 and ROM bits in the Status Register indicate when Data is ready and In which direction data will be transferred on the Data Bus.

the reset to the Interrupt signal.

If the 8272 Is in the DMA Mode, no Interrupts are gener- ated during the Execution Phase. The 8272 generates ORa's (DMA Requests) when each byte of data Is available. The DMA Controller responds to this request 'with both a DACK = 0 (DMA Acknowledge) and a RD = 0

04TAI,.·OUT 1010) OUT OF PROCEnaR AND INTO FDC

(Read signal). When the DMA Acknowledge signal goes low (DACK = 0) then the DMA Req uest Is reset (ORO = 0). If a Write COmmand has been programmed- then a WR Signal will appear Instead of RD. After the EXf!cution Phase has been completed (Terminal Count has occurred) then an Interrupt will occur (INT = 1). This signifies the beginning of the Result Phase. When the first byte of data Is read during the Result Phase, the In- terrupt Is automatically reset (INT = 0).

• I

I·

I!l - DATA REGiStER HOT READY TO liE WRITTEN INTO IY PAOCUSOR @ - OATA REGISTER READY FDA NEXT DATA BYTE TO IE READ IV THE PROCESSOR [QJ _ DATA REGISTER NOT READY FDA NEXT DATA BYTE TO III! READ BY

PROCESSOR

It is important to note that during the Result Phase all bytes shown In the Command Table must be read. The Read Data Command, for example, has seven bytes of data in the Result Phase. All seven bytes must be read In order to successfully complete the Read Data Com- mand. The 8272 will not accept a new command until all seven bytes have been read. Other commands may re- quire fewer bytes to be read during the Result Phase.

STATUS REGISTER TIMING

The 8272 Is capable of executing 15 different com- mands. Each command is initiated by a multi-byte transfer from the processor, and the result after execu- tion of the command may also be a multi-byte transfer back to the processor. Because of this multi-byte Inter- change of information between the 8272 and the proc- essor, It is convenient to consider each command as consisting of three phases:

The 8272 contains five Status Registers. The Main Status Register mentioned above may be read by the processor at any time. The other four Status Registers (STO, ST1, ST2, and ST3) are only available during the Result Phase, and may be read only after successfully completing a command. The particular command which has been executed determines how many of the Status _ Registers will be read.

Command PhaseThe FDC receives all Information

required to perform a particular operation from the processor. Execution Phase: The FDC performs the operation It

was Instructed to do. Resuft Phase: After completion of the operation, status and other housekeeping In- formation are made available to the processor.

The bytes of data which are sent to the 8272 to form the Command Phase, and are read out of the 8272 in the Result Phase, must occur In the order, shown In the Command Table. That Is, the Command Code must be sent first and the other bytes sent In the prescribed se- quence. No foreshortening of the Command or Result Phases are allowed. After the last byte of data In the Command Phase is sent to the 8272 the Execution Phase automatically starts. In a similar fashion, when the last byte of data is read out In the Result Phase;the command Is automatically ended and the 8272 Is ready for a new command. A command may be aborted by simply sending a Terminal Count signal to pin 16 (TC = 1). This Is a convenient means of ensuring that the processor may always get the 8272's attention even If the disk system hangs up In an abnormal manner.

During Command or Result Phases the Main Status Register (described earlier) must be read by the proc- essor before each byte of information Is written into or read from the Data Register. Bits 06 and 07 in the Main Status Register must be In a 0 and _1 state, respectively, before each byte of the command word may be written Into the 8272. Many of the commands require multiple bytes, and as a result the Main Status Register must be read prior to each byte transfer to the 8272. On the other hand, during the Result Phase, 06 and 07 In the Main Status Register must both be 1's (06= 1 and 07= 1) before reading each byte from the Data Register. Note, this reading of- the Main Status Register before each byte transfer to the 8272 is required in only the Com- mand and Result Phases, and NOT during the Execution Phase.

POLLING FEATURE OF THE 8272

After the Specify command has been sent to the 8272, the Drive Select Lines DSO and DS1 will automatically go into a polling mode. In between commands (and be- tween step pulses in the SEEK command) the 8272 polls all four FDDs looking for a change In the Ready line from any of the drives. If the Ready line changes state (usual- ly due to a door opening or closing) then the 8272 will generate an Interrupt. When Status Register 0 (STO) Is read (after Sense Interrupt Status is Issued), Not Ready (NR) will be indicated. The polling of the Ready line by the 8272 occurs continuously between instructions, thus notifying the processor which drives are on or off line.

During the Execution Phase, the Main Status Register need not be read. If the 8272 Is in the Non-DMA Mode, then the receipt of each data byte (If 8272 Is reading data from FDD) is indicated by an Interrupt signal on pin 18 (lNT = 1). The generation of a Read signal (im = 0) will reset the Interrupt as well as output the Data onto the Data Bus. For example, If the processor cannot handle Interrupts fast enough (every 13/o1s for MFM mode) then It may poll the Main Status Register and then bit 07 (ROM) functions just like the Interrupt signal. If a Write

Command Is In process then the WFf Signal performs

Page 370 of the Intel mcs-48 user manual — WRITE DATA FORMAT A TRACK
Page 370 · click to enlarge
Page 370
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 370)
Fig. 369 · The Single Component . 2" MCS-4S™ S~stem

intJ 8272

TABLE 1. 8272 COMMAND SET

I DATA BUS DATA BUS

PHASE AIW Dr De D6 D4 Da DZ D, DO REMARKS PHASE AIW Dr D, D6 D4 Da Dz D, DO REMARKS

Command W MT MFM SK 0 0 , , 0 Command Codes Command W 0 MFM SK 0 0 0 , 0 Command Codes

READ DATA READ A TRACK

W 0 HDS OS, DSO W 0 HOS 051 DSO

W C Sector 10 information W C Sector 10 Information W H prior to Command W H prior to Command W R execution W R execution W N W N W EDT W EDT W GPL \

W GPL W DTL W DTL

Execution Data transfer Execution Data transfer between the FOD between the FDD and main-system and maln-Iystem. Result R STO Status Information FCC road. all of R ST' after Command cylinders contents R ST2 execution from Index hole to R C EDT R H sector 10 Information R R after command Result R STO Statu8 Information R N execution R STI after Command R ST2 execution READ DELETED DATA R C

Command W MT MFM SK 0 1 • 0 0 Command Codes R H Sector 10 Information R R after Command W 0 HDS OS, 050 R N execution W C Sector 10 information W H prior to Command READ 10 W R execution Command W 0 MFM 0 0 1 0 , 0 Commands W N W EC. W 0 HDS OS. DSO

W GPL W DTL Execution The first correct 10

Execution Data transfer Information on the

between the FOO Cylinder Is stored In

and main-system Data Register

Result R STO Status Information Result R STO Status Information R ST1 after Command R STI after Command R ST2 execution R ST2 execution R C R C R H Sector 10 information R H Seotor 10 Information R R after Command R R during Execution R N execution R N Ph ...

WRITE DATA FORMAT A TRACK

  • Command W MT MFM 0 0 0 ·1 0
  • Command Codes Command W 0 MFM 0 0
  • 1 0 1 Command Codes

W 0 HOS 051 050 W 0 HDS OS. DSO

W C Sector 10 information W N BytellSector W H prior to Command W SC SectorsfTrack

W R execution W GPL Gap 3 W N W 0 Fllt.r Byt. W EDT W GPL Execution FDC formats an W DTL entire cylinder

Execution Data transfer Result R STO Status Information between the main- R ST. after Command system and FOO R ST2 execution

Result R STO Status information R C

R ST. after Command R H In this case, the 10

R ST2 execution R R information has no R C R N meaning

R H Sector 10 information SCAN EQUAL R R after Command R N execution Command W MT MFM SK 1 0 0 0 1 Command Codes

WRITE DELETED DATA W 0 HOS OS. DSO

Command W MT MFM 0 0 • 0 0 1 Command Codes W C Sector 10 information W H prior to Command W 0 HDS OS. DSO W R execution W C Septar 10 Information W N W H prior to Command W EDT W R execution W GPL W N W STP W EDT W GPL Execution Data compared W DTL between the FDO

between the FOO Result R STO Status Information and main-system R STI after Command

Aesult R STO Status information R ST2 execution

R ST. after Command R C

R 5T2 execution R H Sector 10 Information

R C R R after Command

R H Sector 10 information R N execution

R R after Command R N execution

2. AO'" 1 for all operations. 3. X ... Don't care, usually made to equal binary O.

and main-system · Execution Data transfer

Page 371 of the Intel mcs-48 user manual — SCAN LOW OR EQUAL RECALIBRATE
Page 371 · click to enlarge
Page 371
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 371)
Fig. 370 · The Single Component . 2" MCS-4S™ S~stem

TABLE 1. COMMAND SET (Continued)

I DATA BUS I I DATA BUS

PHASE RIW I D7 De D5 D4 D3 D2 Dl DO REMARKS PHASE RIW 07 D6 D5 D4 D3 D2 Dl DO REMARKS

SCAN LOW OR EQUAL RECALIBRATE

Command W MT MFM SK 1 1 0 0 1 Command Codes Command W 0 1 1 1 Command Codes W 0 HDS DSl DSO W 0 DSl DSO W C Sector lD information Execution Head retracted to W H prior Command Track 0 W R execution W N SENSE INTERRUPT STATUS W EOT Command W 0 1 0 0 0 Command Codes W GPL W STP Result R ST 0 Status Information at R PCN the end of each seek Execution Data compared operation about the between the FOD FDC and main-system SPECIFY

Result R STO Status Information Command W 0 1 1 Command Codes R STl after Command W _SPT ---HUT R ST2 execution - R C W HLT • NO

R H Sector 10 Information SENSE DRIVE STATUS R R after Command R N execution Command W 0 1 0 0 Command Codes

SCAN HIGH OR EQUAL w 0 HDS DSl DSO Result R ST 3 Status Information Command W MT MFM SK 1 1 1 0 1 Command Codes about FoD W 0 HDS DSl DSO SEEK W C Sector 10 information W H prior Command Command W 0 1 Command Codes W R execution W 0 HDS DSl DSO W N W NCN W EOT W GPL Execution Head Is positioned W STP over proper Cylinder

Execution Data compared on Diskette

between the FDD INVALID and main-system

Command W Invalid Codes Invalid Command Result R STO Status Information Code. (NoOp- FDC R ST 1 after Command goes Into Standby R 5T2 execution Stale) R C Result R 5TO STO=80 R H Sector 10 Information (16) R R after Command R N execution

Page 372 of the Intel mcs-48 user manual — TABLE 3. TRANSFER CAPACITY
Page 372 · click to enlarge
Page 372
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 372)
Fig. 371 · The Single Component . 2" MCS-4S™ S~stem

inter 8272

TABLE 2. COMMAND MNEMONICS

SYMBOL NAME DESCRIPTION

Ao Address Line 0 AO controls selection of Main Status Register (AO= 0) or Data Register (AO = 1).

SYMBOL NAME DESCRIPTION

NCN New Cylinder Number NCN stands for a new Cylinder number, which Is going to be reached as a result of the Seek operation, Desired position of Head.

C Cylinder Number C stands for the current selected Cylinder track number 0 through 76 of the medium.

0 Data o stands for the data pattern which Is going to be written Into a Sector.

NO Non·DMA Mode NO stands for operation In the Non·DMA Mode,

orOo Data Bus B-blt Data Bus where 07 is the most significant bit, and 00 Is the least signlfl' cant bit.

PCN Present Cylinder PCN stands for the Cylinder number at Number the completion of SENSE INTERRUPT STATUS Command. Position of Head at present time.

OSO,OS1 Drive Select OS stands tor a selected drive number 0 or 1.

R Record R stands for the Sector number, which will be read or written.

oTl Data length When N is defined as OQ, DTl stands for the data length which users are going to read out or write into the Sector.

R/W Read/Write R/W stands for either Read (R) or Write (IN) aignal.

EOT End of Track EOT stands for the final Sector number of a Cylinder.

SC Sector SC Indicates the number of Sectors per Cylinder.

GPl Gap Length GPL stands for the length of Gap 3 (spacing between Sectors excluding VCO Sync Field).

SK Skip SK stands for Skip Deleted Data Address Mark.

SRT Step Rate Time SRT stands for the Stepping Rate for the FDD (1 to 16ms In 1 ms Increments). Stepping Rate applies to a1\ drives (F = 1 ms, E = 2 ms, etc.).

H Head Address H stands for head number 0 or 1, as specified in 10 field.

HOS Head Select HOS stands for a selected Mad number 0 or 1 (H = HOS in all command words).

STO Status 0 ST 0-3 stand for one of four registers ST 1 Status 1 which store the status information after ST 2 Status 2 a command has been executed. This ST 3 Status 3 information 15 available during the result phase after command execution. These registers should not be confused with the main status register (selected by AO = 0). ST 0-3 may be read only after a command has been executed and contain information relevant to that particular command.

HLT Head Load Time HLT stands for the head load time in the FOO (2 to 254 ms in 2 ms increments).

HUT Head Unload Time HUT stands for the head unload time after a read or write operation has occurred (16 to 240ms in 16ms Increments).

MFM FM or MFM Mode If MF is low, FM mode is selected and If It Is high, MFM mode Is selected,

MT Multi·Track If MT is high, a multi·track operation is to be performed (a cylinder under both HDO and HD1 will be read or written).

STP During a Scan operation, If STP= 1, the data in contiguous sectors Is compared byte by byte with data sent from the processor (or DMA), and if STP= 2, then alternate sectors are read and compared.

N Number N stands for the number of data bytes written in a Sector.

COMMAND DESCRIPTIONS

compares with the sector number read off the diskette, then the FOC outputs data (from the data field) byte-bY- byte to the main system via the data bus.

During the Command Phase, the Main Status Register must be polled by the CPU before each byte is written into the Data Register. The 010 (OB6) and ROM (OB7) bits in the Main Status Register must be in the "0" and "1" states respectively, before each byte of the com- mand may be written into.the 8272. The beginning of the execution phase for any of these commands will cause 010 and ROM to switch to "1" and "0" states respective- ly.

After completion of the read operation from the current sector, the Sector Number is incremented by one, and the data from the next sector is read and output on the data bus. This continuous read function is called a "Multi·Sector Read Operation." The Read Data Com- mand may be terminated by the receipt of a Terminal Count signal. Upon receipt of this signal, the FOC stops outputting data to the processor, but will continue to read data from the current sector, check CRC (Cyclic Redundancy Count) bytes, and then at the end of the sector terminate the Read Data Command.

READ DATA

A set of nine (9) byte words are required to place the FOC into the Read Data Mode. After the Read Data com· mand has been issued the FOC loads the head (if it is in the unloaded state), waits the specified head settling time (defined in the Specify Command), and begins reading 10 Address Marks and 10 fields. When the cur· rent sector number ("R") stored in the 10 Register (lOR)

The amount of data which can be handled with a Single command to the FOC depends upon MT (multi·track), MFM (MFM/FM), and N (Number of Bytes/Sector). Table 3 below shows the Transfer Capacity.

TABLE 3. TRANSFER CAPACITY

Maximum Transfer Capacity Final Sector Read MT MFM N (BytesJSector)(Number of Sectors) from Diskette

0 0 00 (128) (26) = 3.328 26 at Side 0 0 1 01 (256)(26) = 8,656 or 26 at Side 1

1 0 00 (128) (52)= 6,656 26 at Side 1 1 1 01 (256) (52) = 13,312

0 0 01 (256)(15)= 3,840 15 at Side 0 0 1 02 (512)(15)= 7,680 or 15 at Side 1

1 0 01 (256) (30)= 7,680 15 at Side 1 1 1 02 (512) (30)= 15,360

0 0 02 (512) (8) = 4.096 8 at Side 0 0 1 03 (1024) (8) = 8,192 or 8 at Side 1

1 0 02 (512)(16)= 8,192 8 at Side 1 1 1 03 (1024)(16)= 16,384

Multl·Track MFM/FM Bytes/Sector

Page 373 of the Intel mcs-48 user manual — WRITE DATA
Page 373 · click to enlarge
Page 373
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 373)
Fig. 372 · The Single Component . 2" MCS-4S™ S~stem

The "multi·track" function (MT) allows the FDC to read data from both sides of the diskette. For a particular cylinder, data will be transferred starting at Sector 0, Side 0 and completing at Sector L, Side 1 (Sector L = last sector on the side). Note, this function pertains to only one cylinder (the same track) on each side of the diskette.

TABLE 4. 10 INFORMATION WHEN PROCESSOR TERMINATES

COMMAND'

Final Sector Transferred to 10 Intormatlon at Relult Ph.l. MT EOT Proce.sor C H R N

lA Sector 1 to 25 at Side 0 OF Sector 1 to 14 at Side 0 NC NC R+1 NC 08 Sector 1 to 7 at Side 0

lA Sector 26 at Side 0 OF Sector 15 at Side 0 C+l NC R=Ol NC 08 Sector 8 at Side 0 0 lA Sector 1 to 25 at Side 1 OF Sector 1 to 14 at Side 1 NC NC R+l NC 08 Sector 1 to 7 at Side 1

When N = 0, then DTL de.fines the data length which the FDC must treat as a sector. If DTL is smaller than the ac· tual data length in a Sector, the data beyond DTL in the Sector, is not sent to the Data Bus. The FDC reads (inter· nally) the complete Sector performing the CRC check, and depending upon the manner of command termina· tion, may perform a Multi,·Sector Read Operation. When N is non·zero, then DTL has no meaning and should be set to OFFH.

lA Sector 26 at Side 1 OF Sector 15 at Side 1 C+l NC R=Ol NC 08 Sector 8 at Side 1

lA Sector 1 to 25 at Side 0 OF Sector 1 to 14 at Side 0 NC NC R+l NC 08 Sector 1 to 7 at Side 0

lA Sector 26 at Side 0 OF Sector 15 at Side 0 NC LSB R=Ol NC 08 Sector 8 at Side 0 1 lA Sector 1 to 25 at Side 1 OF Sector 1 to 14 at Side 1 NC NC R+l NC 08 Sector 1 to 7 at Side 1

At the completion of the Read Data Command, the head is not unloaded until after Head Unload Time Interval (specified in the Specify Command) has elapsed. If the processor Issues another command before the head unloads then the head settling time may be saved be· tween subsequent reads. This time out is particularly valuable when a diskette is copied from one drive to another.

lA Sector 26 at Side 1 OF Sector 15 at Side 1 C+l LSB R=Ol NC 08 Sector 8 at Side 1

execution.

If the FOC detects the Index Hole twice without finding the right sector, (indicated in "R"), then the FDC sets the NO (No Data) flag in Status Register 1 to a 1 (high), and terminates the Read Data Command. (Status Register 0 also has bits 7 and 6 set to 0 and 1 respective· Iy.)

2. LSB (Least Significant Bit): The least significant bit of H Is complemented.

WRITE DATA

A set of nine (9) bytes are required to set the FOG into the Write Data mode. After the Write Data command has been issued the FDC loads the head (if it is in the unloaded state), waits the specified head settling time (defined in the Specify Command), and begins reading 10 Fields. When the current sector number (UR"), stored in the 10 Register (lOR) compares with the sector number read off the diskette, then the FDC takes data from the processor byte-by-byte via the data bus, and outputs it to the FDD.

After reading the 10 and Data Fields in each sector, the FDC checks the CRC bytes. If a read error is detected (incorrect CRC in ID field), the FDC sets the DE (Data Er- ror) flag in Status Register 1 to a 1 (high), and if a CRC er- ror occurs in the Data Field the FOG also sets the DO (Data Error in Data Field) flag in Status Register 2 to a 1 (high), and terminates the Read Data Command. (Status Register 0 also has bits 7 and 6 set to 0 and 1 respec- tively.)

After writing data into the current sector, the Sector Number stored in "R" is incremented by one, and the next data field is written into. The FDC continues this "Multi-Sector Write Operation" until the issuance of a Terminal Count signal. If a Terminal Count signal is sent to the FDC it continues writing into the current sector to complete the data field. If the Terminal Count signal is received while a data field is being written then the re- mainder of the data field is filled with 00 (zeros).

If the FOC reads a Deleted Data Address Mark off the diskette, and the SK bit (bit 05 in the first Command Word) is not set (SK = 0), then the FDC sets the CM (Con- trol Mark) flag in Status Register 2 to a 1 (high), and ter- minates the Read Data Command, after reading all the data in the Sector. If SK = 1, the FDC skips the sector with the Deleted Data Address Mark and reads the next sector.

The FDC reads the 10 field of each sector and checks the CRC bytes. If the FDC detects a read error (incorrect CRC) in one of the 10 Fields, it sets the DE (Data Error) flag of Status Register 1 to a 1 (high), and terminates the Write Data Command. (Status Register 0 also has bits 7 and 6 set to 0 and 1 respectively.)

During disk data transfers between the FDC and the processor, via the data bus, the FDC must be serviced by the processor every 27 fls in the FM Mode, and every 13 fls in the MFM Mode, or the FDC sets the OR (Over Run) flag in Status Register 1 to a 1 (high), and ter- minates the Read Data Command.

The Write Command operates in much the same manner as the Read Command. The following items are the same; refer to the Read Data Command for details:

If the processor terminates a read (or write) operation in the FDC, then the 10 Information in the Result Phase is dependent upon the state of the MT bit and ,EOT byte. Table 4 shows the values for C, H, R, and N, when the processor terminates the Command.

  • Transfer Capacity
  • EN (End of Cylinder) Flag
  • NO (No Data) Flag
Page 374 of the Intel mcs-48 user manual — TABLE 5. SECTOR SIZE RELATIONSHIPS
Page 374 · click to enlarge
Page 374
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 374)
Fig. 373 · The Single Component . 2" MCS-4S™ S~stem

inter 8272

  • Head Unload Time Interval
  • 10 Information when the processor terminates command (see Table 2)
  • Definition of DTL when N = 0 and when N#-O

READID

The READ 10 Command is used to give the present posi- tion of the recording head. The FDC stores the values from the first 10 Field it is able to read. If no proper 10 Address Mark is found on the diskette, before the IN- DEX HOLE is encountered for the second time then the MA (Missing Address Mark) flag in Status Register 1 Is set to a 1 (high), and if no data Is found then the NO (No Data) flag Is also set in Status Register 1 to a 1 (high) and the command is terminated.

I n the Write Data mode, data transfers between the proc- essor and FDC must occur every 31 I's in the FM mode, and every 15 I's in the MFM mode. If the time interval between data transfers Is longer than this then the FDC sets the OR (Over Run) flag In Status Register 1 to a 1 (high), and terminates the Write Data Command.

WRITE DELETED DATA

FORMAT A TRACK

This command is the same as the Write Data Command except a Deleted Data Address Mark is written at the beginning of the Data Field instead of the normal Data Address Mark.

The Format Command allows an entire track to be for- matted. After the INDEX HOLE Is detected, Data is writ- ten on the Diskette: Gaps, Address Marks, 10 Fields and Data Fields, all per the IBM System 34 (Double Density) or System 3740 (Single Density) Format are recorded. The particular format which will be written Is controlled by the values programmed into N (number of bytes/sec- tor), SC (sectors/cylinder), GPL (Gap Length), and 0 (Data Pattern) which are supplied by the processor dur-

READ DELETED DATA

This command is the same as the Read Data Command except that when the FDC detects a Data Address Mark at the beginning of a Data Field (and SK = 0 (low)), It will read all the data in the sector and set the CM flag in Status Register 2 to a 1 (high), and then terminate the command. If SK = 1, then the FDC skips the sector with the Data Address Mark and reads the next sector.

ing the Command Phase. The Data Field Is filled with the Byte of data stored in D. The 10 Field for each sector is supplied by the processor; that is, four data requests per sector are made by the FDC for C (Cylinder Number), H (Head Number), R (Sector Number) and N (Number of Bytes/Sector). This allows the diskette to be formatted with nonsequential sector numbers, if desired.

READ A TRACK

This command is similar to READ DATA Command except that the entire data field is read continuously from each of the sectors of a track. Immediately after encountering the INDEX HOLE, the FDC starts reading all data fields on the track as continuous blocks of data. If the FDC finds an error in the 10 or DATA CRC check bytes, it continues to read data from the track. The FDC compares the 10 information read from each sector with the value stored In the lOR, and sets the NO flag of Status Register 1 to a 1 (high) If there is no comparison. Multi-track or skip operations are not allowed with this command.

After formatting each sector, the processor must send new values for C, H, R, and N to the 8272 for each sector on the track. The contents of the R register is In- cremented by one after each sector is formatted, thus, the R register contains a value of R + 1 when It Is read during the Result Phase. This incrementing and format- ting continues for the whole track until the FDC en- counters the INDEX HOLE for the second time, where- upon it terminates the command.

If a FAULT signal is received from the FDD at the end of a write operation, then the FDC sets the EC flag of Status Register 0 to a 1 (high), and terminates the com- mand after setting bits 7 and 6 of Status Register 0 to 0 and 1 respectively. Also the loss of a READY signal at the beginning of a command execution phase causes command termination.

This command terminates when EOT number of sectors have been read. If the FDC does not find an 10 Address Mark on the diskette after it encounters the INDEX HOLE for the second time, then it sets the MA (missing address mark) flag in Status Register 1 to a 1 (high), and terminates the command. (Status Register 0 has bits 7 and 6 set to 0 and 1 respectively.)

Table 5 shows the relationship between N, SC, and GPL for various sector sizes:

TABLE 5. SECTOR SIZE RELATIONSHIPS

FORMAT SECTOR SIZE N SC GPL' GPL2 REMARKS

128 bytes/Sector 00 1 ,,-{16) 07(16) 18(16) IBM Diskette 1 FM Mode 256 01 OF(16) OE(16) 2A(16) IBM Diskette 2 512 02 06 1B(16) 3,,-{16)

1024 bytes/Sector 03 04 - - FM Mode 2046 04 02 - - 4096 05 01 - -

256 01 1A(16) O~16) 36(16) IBM Diskette 20 512 02 OF(16) 1B(16) 54(16)

MFM Mode 1024 03 06 35(16) 74(16) IBM Diskette 20 2048 04 04 - - 4096 05 02 - - 8192 08 01 - -

between data field and 10 field of contiguous sections.

2. Suggested values of GPL in format command,
Page 375 of the Intel mcs-48 user manual — STATUS REGISTER 2 COMMAND BIT2=SN BIT3=SH COMMENTS
Page 375 · click to enlarge
Page 375
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 375)
Fig. 374 · The Single Component . 2" MCS-4S™ S~stem

intel' 8272

SCAN COMMANDS

When either the STP (contiguous sectors STP = 01, or alternate sectors STP = 02 sectors are read) or the MT (Multi-Track) are programmed, it is necessary to remember that the last sector on the track must be read. For example, if STP = 02, MT = 0, the sectors are numbered sequentially 1 through 26, and we start the Scan Command at sector 21; the following will happen. Sectors 21, 23, and 25 will be read, then.the next sector (26) will be skipped and the Index Hole will be en· countered before the EOT value of 26 can be read. This will result in an abnormal termination of the command. If the EOT had been set at 25 or the scanning started at sector 20, then the Scan Command would be completed in a normal manner.

The SCAN Commands allow data which is being read from the diskette to be compared against data which is being supplied from the main system (Processor in NON-DMA mode, and DMA Controller in DMA mOde). The FDC compares the data on a byte-by-byte basis, and

looks for a sector of data which meets the conditions of

DFDD = Dprocessor, DFDD';; Dprocessor, or DFDD;;' Dprocessor· Ones complement arithmetic is used for comparison (FF = largest number, 00 = smallest number). After a whole sector of data is compared, if the conditions are not met, the sector number is incremented (R + STP -+ R), and the scan operation is continued. The scan opera· tion continues until one of the following conditions oc· cur; the conditions for scan are met (equal, low, or high), the last sector on the track is reached (EOT), or the ter- minal count signal is received.

During the Scan Command data is supplied by either the processor or DMA Controller for comparison against the data read from the diskette. In order to avoid having the OR (Over Run) flag set in Status Register 1, it is nec- essary to have the data available in less than 27 JJs (FM Mode) or 13 JJS (MFM Mode). If an Overrun occurs the FDC terminates the command.

If the conditions for scan are met then the FDC sets the SH (Scan Hit) flag of Status Register 2 to a 1 (high), and terminates the Scan Command. If the conditions for scan are not met between the starting sector (as specified by R) and the last sector on the cylinder (EOT), then the FDC sets the SN (Scan Not Satisfied) flag of Status Register 2 to a 1 (high), and terminates the Scan Command. The receipt of a TERMINAL COUNT signal from the Processor or DMA Controller during the scan operation will cause the FDC to complete the com· parison of the particular byte which is in process, and then to terminate the command. Table 6 shows the status of bits SH and SN under various conditions of SCAN.

SEEK

The read/write head within the FDD is moved from cylinder to cylinder under control of the Seek Command. The FDC compares the PCN (Present Cylinder Number) which is the current head position with the NCN (New Cylinder Number), and performs the following operation if there is a difference:

PCN < NCN: Direction signal to FDD set to a 1 (high), and Step Pulses are issued. (Step In.)

TABLE 6. SCAN STATUS CODES

PCN > NCN: Direction signal to FDD set to a 0 (low), and Step Pulses are issued. (Step Out.)

STATUS REGISTER 2 COMMAND BIT2=SN BIT3=SH COMMENTS

Scan Equal 0 1 OF DO = OProcessor 1 0 OF DO =t= 0processor

The rate at which Step Pulses are issued is controlled by SRT (Stepping Rate Time) in the SPECIFY Command. After each Step Pulse is issued NCN is compared against PCN, and when NCN = PCN, then the SE (Seek End) flag is set in Status Register 0 to a 1 (high), and the command is terminated.

0 1 DFDD = Dprocessor Scan low or Equal 0 0 DFDD < Dprocessor 1 0 DFOD 1: Dprocessor

0 1 DFDD = Dprocessor Scan Hlghor Equal 0 0 DFDD > Dprocessor 1 0 DFDD ~ Dprocessor

During the Command Phase of the Seek operation the FDC is in the FDC BUSY state, but during the Execution Phase it is in the NON BUSY state. While the FDC is in the NON BUSY state, another Seek Command may be issued, and in this manner parallel seek operations may be done on up to 4 Drives at once.

If the FDC encounters a Deleted Data Address Mark on one of the sectors (and SK = 0), then it regards the sec· tor as the last sector on the cylinder, sets CM (Control Mark) flag of Status Register 2 to a 1 (high) and ter· minates the command. If SK= 1, the FDC skips the sec· tor with the Deleted Address Mark, and reads the next sector. In the second case (SK = 1), the FDC sets the CM (Control Mark) flag of Status Register 2 to a 1 (high) in order to show that a Deleted Sector had been en· countered.

If an FDD is in a NOT READY state at the beginning of the command execution phase or during the seek opera- tion, then the NR (NOT READY) flag is set in Status Register 0 to a 1 (high), and the command is terminated.

Page 376 of the Intel mcs-48 user manual — TABLE 7. SEEK, INTERRUPT CODES
Page 376 · click to enlarge
Page 376
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 376)
Fig. 375 · The Single Component . 2" MCS-4S™ S~stem

Neither the Seek or Recalibrate Command have a Result Phase. Therefore, it is mandatory to use the Sense Inter· rupt Status Command after these commands to effec, tively terminate them and to provide verification of the head position (PCN).

RECALIBRATE

This command causes the read/write head within the

FDD to retract to the Track 0 position. The FDC clears the contents of the PCN counter, and checks the status of the Track 0 signal from the FDD. As long as the Track o signal is low, the Direction signal remains 1 (high) and Step Pulses are issued. When the Track 0 signal goes high, the SE (SEEK END) flag in Status Register 0 is set to a 1 (high) and the command is terminated. If the Track o signal is still low after 77 Step Pulses have been· issued, the FDC sets the SE (SEEK END) and EC (EQUIP· MENT CHECK) flags of Status Register 0 to both 1s (highs), and terminates the command.

SPECIFY

The Specify Command sets the initial values for each of the three internal timers. The HUT (Head Unload Time) defines the time from the end of the Execution Phase of one of the Read/Write Commands to the head unload state. This timer is programmable from 16 to 240 ms in increments of 16 ms (01 = 16 ms, 02 = 32 ms OF = 240 ms). The SRT (Step Rate Time) defines the time in· terval between adjacent step pulses. This timer is pro· grammable from 1 to 16 ms in increments of 1 ms (F = 1 ms, E = 2 ms, 0 = 3 ms, etc.). The HLT (Head Load Time) defines the time between when the Head load signal goes high and when the Read/Write operation starts. This timer is programmable from 2 to 254 ms in in· crements of 2 ms (01 = 2 ms, 02 = 4 ms, 03 = 6 ms FE=254 ms).

The ability to overlap RECALIBRATE Commands to multiple FDDs, and the loss of the READY signal, as described in the SEEK Command, also applies to the RECALIBRATE Command.

SENSE INTERRUPT STATUS

An Interrupt signal is generated by the FOC for one of the following reasons:

1. Upon entering the Result Phase of: a. Read Data Command b. Read a Track Command c. Read 10 Command d. Read Deleted Oata Command e. Write Data Command f. Format a Cylinder Command g. Write Deleted Data Command h. Scan Commands 2. Ready Line of FOO changes state 3. End of Seek or Recalibrate Command 4. During Execution Phase in the NON·OMA Mode

The time intervals mentioned above are a direct function of the clock (ClK on pin 19). Times indicated above are for an 8 MHz clock, if the clock was reduced to 4 MHz (mini·floppy application) then all time intervals are in· creased by a factor of 2.

The choice of OMA or NON·DMA operation is made by the NO (NON·OMA) bit. When this bit is high (NO = 1) the NON·OMA mode is selected, and when NO = 0 the DMA mode is selected.

SENSE DRIVE STATUS

Interrupts caused by reasons 1 and 4 above occur during normal command operations and are easily discernible by the processor. However, interrupts caused by reasons 2 and 3 above may be uniquely identified with the aid of the Sense Interrupt Status Command. This command when issued resets the interrupt signal and via bits 5, 6, and 7 of Status Register 0 identifies the cause of the interrupt.

This command may be used by the processor whenever

it wishes to obtain the status of the FDOs. Status Register 3 contains the Drive Status information.

INVALID

If an invalid command is sent to the FOC (a command not defined above), then the FDC will terminate the com· mand. No interrupt is generated by the 8272 during this condition. Bit 6 and bit 7 (010 and RQM) in the Main Status Register are both high ("1") indicating to the processor that the 8272 is in the Result Phase and the contents of Status Register 0 (STO) must be read. When the processor reads Status Register 0 it will find a 80H indicating an invalid command was received.

TABLE 7. SEEK, INTERRUPT CODES

SEEK END INTERRUPT CODE

BIT 5 BIT6 BIT7 CAUSE

0 1 1 Ready Line changed state, either polarity

1 0 0 Normal Termination of Seek or Recalibrate Command

A Sense Interrupt Status Command must be sent after a Seek or Recalibrate interrupt, otherwise the FDC will consider the next command to be an Invalid Command.

1 1 0 Abnormal Termination of Seek or Recalibrate Command

In some applications the user may wish to use this com· mand as a No·Op command, to place the FOC in a stand· by or no operation state.

Page 377 of the Intel mcs-48 user manual — TABLE 8. STATUS REGISTERS
Page 377 · click to enlarge
Page 377
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 377)
Fig. 376 · The Single Component . 2" MCS-4S™ S~stem

inter 8272

TABLE 8. STATUS REGISTERS

BIT BIT

NO. NAME SYMBOL DESCRIPTION

SYMBOL DESCRIPTION NO. NAME

STATUS REGISTER 0 STAtUS RE.GISTER , (CO NT.)

0 7 Interrupt IC D7~Oand Ds~O Code Normal Termination of Command,

0, Not NW During execution of WRITE DATA, Writable WRITE DELETED DATA or Format A (NT). Command was completed and Cylinder Command, If the FDC properly executed. detects a write protect signal from

Os 07=0 and Ds=' the FDD, then this flag Is set.

Abnormal Termination of Com· mand, (AT). Execution of Command was started, but was not successfully completed.

Do MISSing MA If tlie FDC cannot detect the 10 Address Address Mark after encountering the Mark Index hole twice, then this flag is set.

If the FOC cannot detect the Data Address Mark or Deleted Data Address Mark, this flag Is set. Also at the sam.e time, the MD (Missing Address Mark in Data Field) of 07=' and Ds=' Status Register 2 is set. Abnormal Termination because during command execution the STATUS REGISTER 2

0 7=' and Ds=O Invalid Command issue, (I C). Command which was issued was never started.

ready signal from FDD changed state.

07 Not used. This bit is always 0 (low). --~

06 Control CM During executing the READ DATA or Mark SCAN Command, if the FOC SEEK Command, this flag Is set to , encounters a Sector which contains (high). a Deleted Data Address Mark, this

0 5 Seek End SE When the FDC completes the

04 Equipment EC If a fault Signal is received from the flag is set.

Check FDD, or If the Track 0 Signal fails to occur after 77 Step Pulses (Recali· brate Command) then this flag Is set.

05 Data Error in 00 If the FOC detects a CRC error In Data Field the data field then this flag is set.

04 Wrong WC This bit is related with the NO bit, Cylinder and when the contents of C on the medium is different from that stored issued, this flag Is set. If a read or write command is issued to Side 1

03 Not Ready NR When the FDD is in the not· ready state and a read or write command is

In the lOR, this flag is set.

of a single sided drive, then this flag is set.

03 Scan Equal SH During execution, the SCAN Hit Command, if the condition of

O2 Head HD This flag is used to Indicate the Address state of the head at Interrupt.

"equal" is satiSfied, this flag is set.

O2 Scan Not SN During executing the SCAN

0, Unit Select' US, These flags are used to indicate a

Satisfied Command, If the FDC cannot find a Sector on the cylinder which meets

Do Unit SelectO usa Drive Unit Number at Interrupt the condition, then this flag is set.

STATUS REGISTER' 0, Bad BC This bit is related with the NO bit,

Cylinder and when the content of C on the medium is different from that stored Cylinder Sector beyond the final Sector of a In the lOR and the content of C is Cylinder, this flag Is set. FF, then this flag is set.

07 End of EN When the FDC tries to access a

Os Not used. This bit is always 0 (low). Do Missing MD When data Is read from the medium,

Address If the FOC cannot find a Data Mark In Data Address Mark or Deleted Data Field Address Mark, then this flag Is set.

05 Data Erwr DE When the FDC detects a CRC error In either the 10 field or the data field, this flag Is set.

04 Over Run OR If the FDC Is not serviced by the STATUS REGISTER 3 main-systems during data transfers, within a certain time Interval, this flag Is set.

07 Fault FT This bit Is used I" indicate the status of the Fault signal from the FDO. 03 Not used. This bit always 0 (low).

Os Write WP This bit Is used to indicate the O2 No Data NO During execution of READ DATA, Protected status of the Write Protected Signal WRITE DELETED DATA or SCAN from the FDO. Command, If the FDC cannot find the Sector specified in the lOR Register, this flag is set.

0 5 Ready ROY This bit is used to indicate the status of the Ready signal from the FDD.

During executing the READ 10 Com· mand, if the FDC cannot read the

0 4 Track 0 TO This bit is used to indicate the status of the Track 0 signal from the FOO.

10 field without an error, then this flag is set.

03 Two Side TS This bit is used to indicate the status of the Two Side signal from the FDD.

During the execution of the READ A Cylinder Command, if the starting

02 Head HO This bit is used to indicate the status Address of Side Select signal to the FDD. sector cannot be found, then this flag is set. 0, Unit Select' US, This bit is used to Indicate the status of the Unit Select' signal tothe FDD.

Do Unit Select 0 usa This bit is used to indicate the status of the Unit Select 0 signal tothe FDD.

Page 378 of the Intel mcs-48 user manual — LIMITS TEST SYMBOL PARAMETER MIN MAX UNIT CONDITIONS
Page 378 · click to enlarge
Page 378
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 378)
Fig. 377 · The Single Component . 2" MCS-4S™ S~stem

inter 8272

ABSOLUTE MAXIMUM RATINGS·

COMMENT: Stress above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maxi· mum rating conditions for extended periods may affect device reliability.

Operating Temperature -10·C to + 70·C Storage Temperature -40·C to + 125·C All Output Voltages -0.5 to + 7 Volts All Input Voltages -0.5 to + 7 Volts Supply Voltage Vee -0.5 to + 7 Volts Power Dissipation 1 Watt

DC CHARACTERISTICS TA=O·Cto +70·C;Vee= +5V±5%

LIMITS TEST SYMBOL PARAMETER MIN MAX UNIT CONDITIONS

VIL Input Low Voltage -0.5 0.8 V

VIH Input High Voltage 2.0 Vee+ 0.5 V

VIL (CLK & WR CLK) -0.5 0.65 V

VIH (CLK & WR CLK) 2.4 Vee+ 0.5 V

VOL Output Low Voltage 0.45 V IOL=2.0 mA

VOH Output High Voltage 2.4 Vee V IOH= -200,.A

Icc Vee Supply Current 150 mA

IlL Input Load Current 10 ,.A VIN = Vee (All Input Pins) -10 ,.A VIN=OV

ILOH High Level Output 10 ,.A Vour= Vee Leakage Current

ILOL Low Level Output -10 ,.A VOUT = + 0.45V Leakage Current

CAPACITANCE TA =25·C; le= 1 MHz; Vee=OV

LIMITS TEST SYMBOL PARAMETER MIN MAX UNIT CONDITIONS

CIN(

CIN Input Capacitance 10 pF Pin Under Test Tied to AC COUT Output Capacitance 20 pF Ground

Page 379 of the Intel mcs-48 user manual — NOTES:
Page 379 · click to enlarge
Page 379
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 379)
Fig. 378 · The Single Component . 2" MCS-4S™ S~stem

inter 8272

A.C. CHARACTERISTICS tA= O'C to 70'C, Vcc= +5.0V± 5%

SYMBOL PARAMETER MIN MAX UNIT TEST CONDITIONS

ICY Clock Period 125 ns tCH Clock High Period 40 ns

tRST Reset Width 14 ICY

tAR Select Setup to AD! 0 ns

tRA Select Hold from RD! 0 ns

tRR AD Pulse Width 250 ns

tRO Data Delay from RD! 200 ns CL = 100 pF

tOF Output Float Delay 20 100 ns CL = 100 pF

tAW Select Setup to WR! 0 ns

tWA Select Hold from WJ!!! 0 ns tww iiiiFi Pulse Width 250 ns tow Data Setup to WR! 150 ns two Data Hold from WJ!!! 5 ns

Interrupt.

tRI INT Delay from RD! 500 ns tWI INT Delay from WR! 500 ns

DMA

tRQCY ORO Cycle Period 13 ~s tAKRQ i5ACK! to ORO! 200 ns

tRQR ORO! to RD! 800 ns 8 MHz clock tRQW ORO! toWR! 250 ns 8 MHz clock

tRQRW ORO! to RD! or WR! 12 ~s 8 MHz clock

FDD Interlace TYp1 tWCY WCK Cycle Time 20r4 --- -- - - MFM=O--- ~s Note 2 r- 1..£r2_ -80-- 35'0 - -

_MFM':..!

tWCH WCK HlghTlme 250 ns tcp Pre-Shift Delay from WCK! 20 100 ns tco WDA Delay from WCK! 20 100 ns twoo Write Data Width tWCH-50 ns

tWE WE! to WCK! or WE! to WCK! Delay 20 IUU ns 1 tWWCY Window Cycle Time 2 ~s MFM=O I- !- --

~B!1=..1 ___

tWRO Window Setup to ROD! 15 ns

tROW Window Hold from ROD! 15 ns

tROD ROD Active Time (HIGH) 40 ns

FDD SeEKI DIRECTIONI STEP

tus USO,1 Setup to RW/SEEK! 12 ~s Isu ~,1 Hold from RW/SEEK! 15 ~s tso RW/SEEK Setup to LCTIDIR 7 ~s tos RW/SEEK Hold from LCT/DIR 30 ~s tOST LCT/DIR Setup to FRISTEP! 1 ~s tSTO LCT/DIR Hold from FA/STEP! 24 ~s 8MHz clock

tSTU DSO,1 Hold from FA/Step! 5 ~s tSTP STEP Active Time (H igh) 5 ~s tsc STEP Cycle Time 33 ~s Note 3

tFR FAULT RESET Active Time (High) 8 10 ~s tlOX INDEX Pulse Width 625 ~s tTC Terminal Count Width 1 tCY

NOTES:

1. Typical values for TA = 25'C and nominal supply voltage.
2. The former values are used for standard floppy and the lalter values are used for mini-floppies.
3. tsc= 33~s min. Is for different drive units. In the case of same unit, tsc can be ranged from 1 ms to 16ms with 8MHzclock period, and 2ms to 32ms with 4 MHz clock, under software control.

Read Cycle · Write Cycle

Page 380 of the Intel mcs-48 user manual — PRESHIFT 0 OR 1
Page 380 · click to enlarge
Page 380
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 380)
Fig. 379 · The Single Component . 2" MCS-4S™ S~stem

TIMING WAVEFORMS

PROCESSOR READ OPERATION

Ao, Cs, DACK ~ ~Xl -I IA. I-I.. I IRA 1-

Ro \ ,r

~" ----~=::{ -I'" ~---- I I~'RI-I

INT ---------------.L

AO, iSS, DACK ~ t -I lAW I-'WW-I IWA 1-' \ 1 I-tow- iWDI-

PROCESSOR WRITE OPERATION

DATA ---""'X I ~,..---- I-'WI-I L INT

'"' ~'--_---;"~'---V _}--

-t

AM

1_. _IRQ~'---W- - ----'I, _ \\-_----11-- -IRQWIWRI-I --IFlQA(RO)--

FDD READ OPERATION

WRITE CI~CC~ I'-- __ -Jf\ !\1... _____ 1l-- ~

-lweH -=1 :- IWE I-,wev-I -II-IWE

WRITE ENABLE L lWEI I I

r ~ I-Ie.

PRESHIFT 0 OR 1

WRITE DATA

IWDAI

PRESHIFT 0 PRESHIFT 1

NORMAL 0 0

EARLY 1 0

INVALID 1 1

Show 5 more labels / short text on this page
ClK DMA OPERATION · - / · WA DR Rii · IPSo,1i · lATE 0 1
Page 381 of the Intel mcs-48 user manual — INPUT WAVEFORM
Page 381 · click to enlarge
Page 381
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 381)
Fig. 380 · The Single Component . 2" MCS-4S™ S~stem

SEEK OPERATION

050,1 ==x STABLE tl... ____ _ -I.us 1_ I-'STU-I .------+----.....:;1 'su -

RW/SEEK 1 I \'----- -I "J:- -1,---'oS 1__

LCT/DIRECTION ----~X 1 X ----'J '=1=""1 ,",1-"-----

STEP n ~ -I·ST.I- .sel-I

FLT RESET INDEX

FAULTRESET~ FILE UNSAFE RESET ~I ';\, . -----' -.,R-I'-----

FDD READ OPERATION J\ n READ DATA _I I+-'--.-Ro-o----I=----.w-Ro-----JII~-::...--.R-ow-::...----I--

READ DATA WINDOW _______ ---'X I LI

TERMINAL COUNT RESET H TC '" L- -I I-'Te

n RESET~ ~

A.C. TIMING MEASUREMENT CONDITIONS

2. 4V --V VO.4SV --A'-- ______ A--

INPUT WAVEFORM

MEASUREMENT POINT

INPUT2.0V ro O.8V OUTPUT: 2.0V ro O.8V

twWCy

Page 382 of the Intel mcs-48 user manual — CPU INTERFACE MODEM INTERFACE
Page 382 · click to enlarge
Page 382
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 382)
Fig. 381 · The Single Component . 2" MCS-4S™ S~stem

8273, 8273-4, 8273·8 PROGRAMMABLE HOLC/SOLC PROTOCOL

  • CONTROLLER
  • CCITT X.25 Compatible
  • Programmable N RZI Encode/ Decode
  • HDLC/SDLC Compatible
  • Two User Programmable Modem
  • Full Duplex, Half Duplex, or Loop Control Ports SDLC Operation
  • Digital Phase Locked Loop Clock
  • Up to 64K Baud Synchronous Recovery Transfers Minimum CPU Overhead
  • Automatic FCS (CRC) Generation and Checking
  • Fully Compatible with 8048/8080/8085/
  • Up to 9.6K Baud with On·Board Phase 8088/8086 CPUs
  • Locked Loop
  • Single +5V Supply

The Intel@ 8273 Programmable HOLC/SOLC Protocol Controller is a dedicated device designed to support the ISO/ CCITT's HOLC and IBM's SOLC communication line protocols. It is fully compatible with Intel's new high performance microcomputer systems such as the MCS-88/86™. A frame level command set is achieved by a unique microprogrammed dual processor chip architecture. The processing capability supported by the 8273 relieves the system CPU of the low level real-time tasks normally associated with controllers.

PIN CONFIGURATION

BLOCK OIAGRAM

eLK l'I3 RESET l'I3 TxOACK PT,

RxDRQ PA, R5 'A2 WR CIl

080- 7 T,D r;c

DB. T,D

DB3 R,D

DB. ffiC[K

DB' cs DBS CPU

TxDACK DPLL 32XCiJ( RTs RxDACK

DB7 A,

PB'_4

TxlNT ffi RxlNT Co

PA 2_4

WR

PIN NAMES

A,

RESET R,D R;C

CS CHIP SELECT Him 32 TIMES CLOCK Alt 0 RECEIVER DATA Ax C RECEIVER CLOCK r" C TRANSMITTER CLOCK Tx 0 TRANSMITTER OATA rn CLEAR TO SEND co CARRIER DETECT

DBO-DB7 DATA BUS fS BITS) ~ FLAG DETECT TxtNT TRANSMITTER INTERRUPT elK CLOCK INPUT RESET RESET 'fi"'OAfR TRANSMITTER DMA ACKNOWLEDGE TxORO TRANSMITTER DMA REQUeST 1m READ INPUT "" WRITE INPUT Ri"'5ACR' RECEIVER DMA ACKNOWLEDGE Ax ORO RECEIVER DMA REQUEST Ax INT RECEIVER INTERRUPT AD-A1 COMMAND REGISTER SELECT ADDRESS lSISLL DIGITAL PHASE LOCKED LOOP

CPU INTERFACE MODEM INTERFACE

~:2-::4 GP INPUT PORTS m- 4 ~~g~::~~6~:~~ Vee +5 VOL T SUPPLY GND GROUND

Show 12 more labels / short text on this page
flAG DET Vee · Tx tNT 1'1!; · TxDRQ ;m · RxDACK PA, · R;I( tNT eTS · DB' 'fie · DB' RiC · TxDRQ · GND Ao · Ao · cs · f'lAGDET
Page 383 of the Intel mcs-48 user manual — OPENING FLAG (F)
Page 383 · click to enlarge
Page 383
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 383)
Fig. 382 · The Single Component . 2" MCS-4S™ S~stem

8273, 8273·4, 8273·8

A BRIEF DESCRIPTION OF HDLC/SDLC PROTOCOLS

types of frames; an I nformation Frame is used to transfer data, a Supervisory Frame is used for control purposes, and a Non-sequenced Frame is used for initialization and control of the secondary stations.

Frame Characteristics An important characteristic of a frame is that its con- tents are made code transparent by use of a zero bit insertion and deletion technique. Thus, the user can adopt any format or code suitable for his system - it may even be a computer word length or a "memory dump". The frame is bit oriented that is, bits, not characters in each field, have specific meanings. The Frame Check Sequence (FCS) is an error detection scheme similar to the Cyclic Redundancy Checkword (CRC) widely used in magnetic disk storage devices. The Command and Response information frames contain sequence numbers in the control fields identifying the sent and received frames. The sequence numbers are used in Error Recovery Procedures (ERP) and as implicit acknowledge- ment of frame cUlnrnunication, enhancing the tiue fu:l- duplex nature of the HOLC/SOLC protocols.

The High Level Oata Link Control (HOLC) is a standard communication link protocol established by International Standards Organization (ISOL HOLC is the discipline used to implement ISO X.25 packet switching systems.

The Synchronous Oata Link Control (SOLC) is an· IBM communication link protocol used to implement the System Network Architecture (SNAL Both the protocols are bit oriented, code independent, and ideal for full duplex communication. Some common applications include terminal to terminal, terminal to CPU, CPU to CPU, satellite communication, packet switching and other high speed data links. In systems which require expensive cabling and interconnect hardware, any of the two protocols could be used to simplify interfacing (by going serial), ttlereoy reducing interconnect hardware cosis. Since both the protocols are speed independent, reducing interconnect hardware could become an important application.

I n contrast, BISYNC is basically half-duplex (two way alternate) because of necessity to transmit immediate acknowledgement frames. HOLC/SOLC therefore saves propagation delay times and have a potential of twice the throughput rate of BISYNC.

In both the HOLC and SOLC line protocols, according to a pre-ass.igned hierarchy, a PRIMARY (Control) STATION controls the overall network (data link) and issues commands to the SECONOARY (Slave) STATIONS. The latter comply with instructions and respond by sending appropriate RESPONSES. Whenever a transmitting station must end transmission prematurely it sends an ABORT character. Upon detecting an abort character, a receiving station ignores the transmission block called a FRAME. Time fill between frames can be accomplished by transmitting either continuous frame preambles called FLAGS or an abort character. A time fill within a frame is not permitted. Whenever a station receives a string of more that fifteen consecutive ones, the station goes into an IOLE state.

It is possible to use HOLC or SOLC over half duplex lines but there is a corresponding loss in throughput because both are primarily designed for full-duplex communi- cation. As in any synchronous system, the bit rate is determined by the clock bits supplied by the modem, protocols themselves are speed independent.

A byproduct of the use of zero-bit insertion-deletion technique is the non-return-to-zero invert (NRZI) data transmission/reception compatibility. The latter allows

HOLC/SOLC protocols to be used with asynchronous data communication hardware in which the clocks are derived from the NRZI encoded data.·

IBM Synchronous Data Link Control Genera/Information, IBM, GA27-

A single communication element is called a FRAME which can be used for both Link Control and data transfer purposes. The elements of a frame are the beginning eight bit FLAG (F) consisting of one zero, six ones, and a zero, an eight bit AOORESS FIELO (A), an eight bit CONTROL FIELO (C), a variable (N-bit) INFORMATION FIELO (I), a sixteen bit FRAME CHECK SEQUENCE (FCS), and an eight bit end FLAG (F), having the same bit pattern as the beginning flag. In HOLC the Address (A) and Control (C) bytes are extendable. The HOLC and the SOLC use three

3093-1. Standard Network Access Protocol Specification, DATAPAC, Trans-

Canada Telephone System CCGlll Recommendation X.25. ISO/CCITT March 2. 1976. IBM 3650 Retail Store SysternLoop Interface OEM Information, IBM, GA

27 -3098-0 Guidebook to Data Communications, Training Manual, Hewlett-Packard

5955-1715 IBM Introduction to Teleprocessing,. IBM, GC 20-8095-02 System Network Architecture, Technical Overview, IBM, GA 27-3102 System Network Architecture Format and Protocol, IBM GA 27-3112

OPENING FLAG (F)

ADDRESS FIELD (A)

CONTROL

INFORMATION FIELD III

FRAME CHECK SEQUENCE (FCS)

CLOSING F1.AG (F)

FIELD (C)

01111110 8 BITS 8 BITS VARIABLE LENGTH 16BITS 01111110 (ONLY IN I FRAMESI

Figure 1, Frame Format

Show 4 more labels / short text on this page
General · Network · References · Frames
Page 384 of the Intel mcs-48 user manual — PB1-4 (36-39)
Page 384 · click to enlarge
Page 384
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 384)
Fig. 383 · The Single Component . 2" MCS-4S™ S~stem

8273, 8273·4, 8273·8

o Requests a transfer of data be- tween memory and the 8273 for a transmit operation. o Requests a transfer of data be- tween the 8273 and memory for a receive operation.

FUNCTIONAL DESCRIPTION General The Intel® 8273 HDLC/SDLC controller is a microcom- puter peripheral device which supports the International Standards Organization (ISO) High Level Data Link Control (HDLC), and IBM Synchronous Data Link Control (SDLC) communications protocols. This controller minimizes CPU software by supporting a comprehensive frame-level instruction set and by hardware implemen- tation of the low level tasks associated with frame assembly/disassembly and data integrity. The 8273can be used in either synchronous or asynchronous applications. In asynchronous applications the data can be program- med to be encoded/decoded in NRZI code. The clock is derived from the NRZI data using a digital phase locked loop. The data transparency is achieved by using a zero- bit insertion/deletion technique. The frames are automati- cally checked for errors during reception by verifying the Frame Check Sequence (FCS); the FCS is automatically generated and appended before the final flag in transmit. The 8273 recognizes and can generate flags (01111110), Abort, Idle, and GA (EOP) characters.

The Transmitter DMA acknow-

ledge signal notifies the 8273 that the TxDMA cycle has been granted.

The Receiver DMA acknowledge signal notifies the 8273 that the RxDMA cycle has been granted.

These two lines are CPU Inter- face Register Select lines. o This line transmits the serial data to the communication channel.

The transmitter clock is used to synchronize the transmit data.

The 8273 can assume either a primary (control) or a secondary (slave) role. It can therefore be readily implemented in an SDLC loop configuration as typified by the IBM 3650 Retail Store System by programming the 8273 into a one-bit delay mode. In such a configuration, a two wire pair can be effectively used for data transfer between controllers· and loop stations. The digital phase locked loop output pin can be used by the loop station without the presence of an accurate Tx clock. Hardware Description The 8273 is packaged in a 40 pin DIP. The following is a functional description of each pin.

This line receives serial data from the communication channel.

The Receiver Clock is used to synchronize the receive data.

32XCLi< (25)

The 32X clock is used to provide clock recovery when an asyn- chronous modem is used. In loop configuration the loop station can run without an accurate 1 X

clock by using the 32X CLK in conjunction with the DPLL out- put. (This pin must be grounded when not used). o Digital Phase Locked Loop out- put can be tied to RxC and/or TxC when 1X clock is not avail- able. DPLL is used with 32X CLK. o Flag Detect signals that a flag (01111110) has been received by an active receiver. o Request to Send signals that the 8273 is ready to transmit data.

Pin Name (No.) I/O Description

Vee (40) +5V Supply GND (20) Ground RESET (4) A high signal on this pin will force the 8273 to an idle state. The 8273 will remain idle until a command is issued by the CPU. The modem interface output signals are forc- ed high. Reset must be true for a minimum of 10 TCY. CS (24) The RD and WR inputs are en- abled by the chip select input. DB7-DBo (19-12) I/O The Data Bus lines are bidirec-

DPLL (23)

FLAG DET (1)

RTS (35)

CTS (30)

Clear to Send signals that the modem is ready to accept data from the 8273.

tional three-state lines which in- terface with the system Data Bus. WR (10) The Write signal is used to con- trol the transfer of either a com- mand or data from CPU to the 8273. RD (9)

CD (31)

Carrier Detect signals that the line transmission has started and the 8273 may begin to sample data on RxD line.

The Read signal is used to con- trol the transfer of either a data byte or a status word from the 8273 to the CPU. o The Transmitter interrupt signal indicates that the transmitter logic requires service. o The Receiver interrupt signal in- dicates that the Receiver logic re- quires service.

General purpose input ports. The logic levels on these lines can be Read by the CPU through the Data Bus Buffer. o General purpose output ports. The CPU can write these output lines through Data Bus Buffer.

PB1-4 (36-39)

CLK (3)

A square wave TTL clock.

Show 10 more labels / short text on this page
TxDRQ (6) · RxRDQ (8) · TxDACK (5) · A1-Ao (22-21) · TxD (29) · TxC (28) · RxD (26) · RxC (27) · TxlNT (2) · RxlNT (11)
Page 385 of the Intel mcs-48 user manual — RESET
Page 385 · click to enlarge
Page 385
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 385)
Fig. 384 · The Single Component . 2" MCS-4S™ S~stem

inter

8279/8279·5 PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE

  • MCS·85™ Compatible 8279·5
  • Dual 8· or 16·Numerical Display
  • Simultaneous Keyboard Display Operations
  • Single 16·Character Display
  • Scanned Keyboard Mode
  • Right or Left Entry 16·Byte Display RAM
  • Scanned Sensor Mode
  • Strobed Input Entry Mode
  • Mode Programmable from CPU
  • 8·Character Keyboard FIFO
  • Programmable Scan Timing
  • 2·Key Lockout or N·Key Rollover with Contact Debounce
  • Interrupt Output on Key Entry

The Intel'" 8279 is a general purpose programmable keyboard and display 1/0 interface device designed for use with Intel'" microprocessors. The keyboard portion can provide a scanned interface to a 64-contact key matrix. The keyboard portion will also Interface to an array of sensors or a strobed Interface keyboard, such as the hall effect and ferrite variety. Key depressions can be 2·key lockout or N-key rollover. Keyboard entries are debounced and strobed in an 8-character FIFO. If more than 8 characters are entered, overrun status is set. Key entries set the interrupt output line to the CPU.

The display portion provides a scanned display interface for LED, incandescent, and other popular display technologies. Both numeric and alphanumeric segment displays may be used as well as simple indicators. The 8279 has 16X8 display RAM which can be organized into dual 16X4. The RAM can be loaded or interrogated by the CPU. Both right entry, calculator and left entry typewriter display formats are possible. Both read and write of the display RAM can be done with auto-increment of the display RAM address.

PIN CONFIGURATION

LOGIC SYMBOL

PIN NAMES

IRQ RLa.1

DATA BUS

- KEY DATA

SHIFT

RD

WR CNTL'STB

CPU INTERFACE

CS SlO.3

SCAN

our A, qUT A2

AO

OUT AO-J

OUT A3 Bl! cs

RESET

DISPLAV DATA

VIS

Vee · ClK our B0-3 · AFN-D0742A-Ol

Page 386 of the Intel mcs-48 user manual — 9-71 AFN-00742A-02
Page 386 · click to enlarge
Page 386
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 386)
Fig. 385 · The Single Component . 2" MCS-4S™ S~stem

827918279-5

HARDWARE DESCRIPTION The 8279 is packaged in a 40 pin DIP. The following is a functional description of each pin. No. Of

SHIFT The shift input status is stored along with the key position on key closure in the Scanned

No. Of

Bi-directional data bus. All data and commands between the CPU and the 8279 are trans- mitted on these lines. Clock from system used to gen- erate internal timing.

Keyboard modes. It has an ac- tive internal pullup to keep it high until a switch closure pulls it low.

For keyboard modes this line is used as a control input and stored like status on a key clo- sure. The line is also the strobe line that enters the data into the FIFO in the Strobed Input mode.

RESET

A high signal on this pin resets the 8279. After being reset the 8279 is placed in the following mode: 1) 16 8-bit character display -left entry. 2) Encoded scan keyboard-2 key lockout. Along with this the program clock prescaler is set to 31.

(Rising Edge). It has an active internal pullup to keep it high until a switch closure pulls it low.

CS

Chip Select. A low on this pin enables the interface functions to receive or transmit. Buffer Address. A high on this line indicates the signals in or out are interpreted as a com- mand or status. A low indicates that they are data. Input/Output read and write. These signals enable the data buffers to either send data to the external bus or receive it from the external bus. Interrupt Request. In a keyboard mode, the interrupt line is high when there is data in the FIFO/ Sensor RAM. The interrupt line goes low with each FIFO/ Sensor RAM read and returns high if there is still informa- tion in the RAM. In a sensor mode, the interrupt line goes high whenever a change in a sensor is detected.

4 OUT Ao-OUT A3 These two ports are the outputs 4 OUT Bo-OUT B3 for the 16 x 4 display refresh

registers. The data from these outputs is synchronized to the scan lines (Slo-Sl3) for multi- plexed digit displays. The two 4 bit ports may be blanked inde- pendently. These two ports may also be considered as one 8 bit port.

RD, WR

BD Blank Display. This output is used to blank the display during digit switching or by a display blanking command.

IRQ

PRINCIPLES OF OPERATION

The following is a description of the major elements of the 8279 Programmable Keyboard/Display interface device. Refer to the block diagram in Figure 1.

1/0 Control and Data Buffers

The I/O control section uses the CS, Ao, RD and WR lines to control data flow to and from the various internal registers and buffers. All data flow to and from the 8279 is enabled by CS. The character of the information, given or desired by the CPU, is identified by Ao. A logic one means the information is a command Or status. A logic zero means the information is data. RD and WR determine the direction of data flow through the Data Buffers. The Data Buffers are bi-directional buffers that connect the internal bus to the external bus. When the chip is not selected (CS = 1), the devices are in a high impedance state. The drivers input during WR - CS and output during

Ground and power supply pins.

Scan Lines which are used to scan the key switch or sensor matrix and the display digits. These lines can be either en- coded (1 of 16) or decoded (1 of 4).

Return line inputs which are connected to the scan lines through the keys or sensor switches. They have active in- ternal pullups to keep them

RD -CS.

Control and Timing Registers and Timing Control These registers store the keyboard and display modes and other operating conditions programmed by the CPU. The modes are programmed by presenting the proper command on the data lines with Ao = 1 and then sending a WR. The command is latched on the rising edge of WR.

high until a switch closure pulls one low. They also serve as an 8-bit input in the Strobed Input mode.

9-71 AFN-00742A-02

Show 11 more labels / short text on this page
Pins Designation · Function · Pins · Designation Function · DBo-DB7 · ClK · CNTLlSTB · Ao · Vss, Vee · SLo-SLa · Rlo-Rl7
Page 387 of the Intel mcs-48 user manual — RLO.7 CNTLISTB
Page 387 · click to enlarge
Page 387
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 387)
Fig. 386 · The Single Component . 2" MCS-4S™ S~stem

827918279·5

FUNCTIONAL DESCRIPTION

Since data input and display are an integral part of many microprocessor designs, the system designer needs an interface that can control these functions without placing a large load on the CPU. The 8279 provides this function for 8-bit microprocessors.

  • Scanned Sensor Matrix - with encoded (8 x a matrix switches) or decoded (4 x 8 matrix switches) scan lines. Key status (open orclosed) stored in RAM addressable by CPU.
  • Strobed Input - Data on return lines during control line strobe is transferred to' FIFO.

The 8279 has two sections: keyboard and display. The keyboard section can int'erface to regular typewriter style keyboards or random toggle or thumb switches. The display section drives alphanumeric displays or a bank of indicator lights. Thus the CPU is relieved from scanning the keyboard or refreshing the display.

Output Modes

  • a or 16 character multiplexed displays that can be organized as dual 4·bit or single a-bit (80 = Do, A3 = 07)'

The 8279 is designed to directly connect to the microprocessor bus. The CPU can program all operating modes for the 8279. These modes include:

  • Right entry or left entry display formats.

Other features of the 8279 include:

  • Mode programming from the CPU.

Input Modes

  • Scanned Keyboard - with encoded (8 x a key keyboard) or decoded (4 x a key keyboard) scan lines. A key depression generates a 6-bit encoding of key position. Position and shift and control status are stored in the FI FO. Keys are automatically debounced with 2-key lockout or N-key rollover.
  • Interrupt output to signal CPU when there is keyboard or sensor data available.
  • An 8 byte FIFO to store keyboard information.
  • 16 byte internal Display RAM for display refresh. This RAM can also be read by the CPU.

KEVBOARD DEBOUNCE

AND CONTROL

TIMING

AND CONTROL

OUT Ao., OUT Bg.3

RLO.7 CNTLISTB

SLO·3

Show 5 more labels / short text on this page
e Clock Prascaler · elK RESET · DBO-l · IRa · 9-72 AFN-OOl42A-OG
Page 388 of the Intel mcs-48 user manual — 9-73 AFN-00742A-04
Page 388 · click to enlarge
Page 388
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 388)
Fig. 387 · The Single Component . 2" MCS-4S™ S~stem

8279/8279·5

The command is then decoded and the appropriate function is set. The timing control contains the basic timing counter chain. The first counter is a + N prescaler

SOFTWARE OPERATION

that can be programmed to yield an internal frequency of 100 kHz which gives a 5.1 ms keyboard scan time and a 10.3 ms debounce time. The other counters divide down the basic internal frequency to provide the proper key scan, row scan, keyboard matrix scan, and display scan times.

The following commands program the 8279 operati!!1j modes. The commands are sent on the Data Bus with CS low and Ao high and are loaded to the 8279 on the rising edge of WR.

MSB LSB

The scan counter has two modes. In the encoded mode. the counter provides a binary count that must be externally decoded to provide the scan lines for the keyboard and display. In the decoded mode. the scan counter decodes the least significant 2 bits and provides a decoded 1 of 4 scan. Note than when the keyboard is in decoded scan, so is the display. This means that only the first 4 characters in the Display RAM are displayed.

Code: lolololDIDIKIKIKI

Where DO is the Display Mode and KKK is the Keyboard Mode.

DO

o 0 8 8-bit character display - Left entry o 16 8-bit character display - Left entry' o 8 8-bit character display - Right entry

In the encoded mode, the scan lines are active high outputs. In the decoded mode, the scan lines are active low outputs.

16 8-bit character display - Right entry

Return Buffers and Keyboard Debounce and Control

For description of right and left entry, see Interface Considerations. Note that when decoded scan is set in keyboard mode, the display is reduced to 4 characters independent of display mode set.

The 8 return lines are buffered and latched by the Return Buffers. In the keyboard mode, these lines are scanned, looking for key closures in that row. If the debounce circuit detects a closed switch, it waits about 10 msec to check if the switch remains closed. If it does, the address of the switch in the matrix plus the status of SHIFT and CONTROL are transferred to the FIFO. In the scanned Sensor Matrix modes, the contents of the return lines is directly transferred to the corresponding row of the Sensor RAM (FIFO) each key scan time. In Strobed Input mode, the contents of the return lines are transferred to the FIFO on the rising edge of the CNTLlSTB line pulse.

KKK o 0 0 Encoded Scan Keyboard - 2 Key Lockout· o 0 Decoded Scan Keyboard - 2-Key Lockout o 0 Encoded Scan Keyboard - N-Key Rollover o Decoded Scan Keyboard - N-Key Rollover o 0 Encoded Scan Sensor Matrix o Decoded Scan Sensor Matrix o Strobed Input, Encoded Display Scan

FIFO/Sensor RAM and Status

This block is a dual function 8 x 8 RAM. In Keyboard or Strobed Input modes, it is a FIFO. Each new entry is written into successive RAM positions and each is then read in order of entry. FIFO status keeps track of the number of characters in the FIFO and whether it is full or empty. Too many reads or writes will be recognized as an error. The status can be read by an RD with CS low and Ao high. The status logic also provides an IRQ signal when the FIFO is not empty. In Scanned Sensor Matrix mode, the memory is a Sensor RAM. Each row of the Sensor RAM is loaded with the status of the correspond- ing row of sensor in the sensor matrix. In this mode, IRQ is high if a change in a sensor is detected.

Strobed Input, Decoded Display Scan

All timing and multiplexing signals for the 8279 are generated by an internal prescaler. This prescaler divides the external clock (pin 3) by a programmable integer. Bits PPPPP determine the value of this integer which ranges from 2 to 31. Choosing a divisor that yields 100 kHz will give the specified scan and debounce times. For instance, if Pin 3 of the 8279 is being clocked by a 2 MHz signal, PPPPP should be set to 10100 to divide the clock by 20 to yield the proper 100 kHz operat- ing frequency.

Display Address Registers and Display RAM

The Display Address Registers hold the address of the word currently being written or read by the CPU and the two 4-bit nibbles being displayed. The read/write addresses are programmed by CPU command. They also can be set to auto increment after each read or write. The Display RAM can be directly read by the CPU after the correct mode and address is set. The addresses for the A and B nibbles are automatically updated by the 8279 to match data entry by the CPU. The A and B nibbles can be entered independently or as one word, according to the mode that is set by the CPU. Data entry to the display can be set to either left or right entry. See Interface Considerations for details.

Code: 1 0 11 1 0 1 AI I X I A I A fA] X = Don't Care

The CPU sets up the 8279 for a read of the FIFO/Sensor RAM by first writing this command. In the Scan Key-

'Default after reset.

9-73 AFN-00742A-04

Show 5 more labels / short text on this page
8279 commands · Keyboard/Display Mode Set · Scan Counter · Program Clock · Read FIFO/Sensor RAM
Page 389 of the Intel mcs-48 user manual — 9-74 AFN·Q0742A-QS
Page 389 · click to enlarge
Page 389
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 389)
Fig. 388 · The Single Component . 2" MCS-4S™ S~stem

8279/8279·5

board Mode, the Auto·lncrement flag (AI) and the RAM address bits (AAA) are irrelevant. The 8279 will automati· cally drive the data bus for each subsequent read (Ao= 0) in the same sequence in which the data first entered the FIFO. All subsequent reads will be from the FIFO until another command is issued.

1 1 All Ones r~ ': ' AU '''0' {X " Doo"''',,{

The Cobits are available in this command to clear all rows of the Display RAM to a selectable blanking code as fol- lows:

In the Sensor Matrix Mode, the RAM address bits AAA select one of the 8 rows of the Sensor RAM. If the AI flag is set (AI = 1), each successive read will be from the sub· sequent row of the sensor RAM.

1 0 AB = Hex 20 (0010 0000)

Enable clear display when = 1 (or by CA = 1)

Code1 0 11 11 1 AliA I A I A I A 1

During the time the Display RAM is being cleared ("'160 flS), it may not be written to. The most significant bit of the FIFO status word is set during this time. When the Dis· play RAM becomes available again, it automatically resets.

The CPU sets up the 8279 for a read of the Display RAM by first writing this command. The address bits AAAA select one of the 16 rows of the Display RAM. If the AI flag is set (AI = 1), this row address will be incremented after each following read or write to the Display RAM. Since the same counter is used for both reading and writing, this command sets the next read or write address and the sense of the Auto·lncrement mode for both operations.

If the CF bit is asserted (C F = 1), the FIFO status is cleared and the interrupt output line is reset. Also, the Sensor RAM pointer is set to row O.

CA, the Clear All bit, has the combined effect of Co and CF; it uses the CD clearing code on the Display RAM and also clears FIFO status. Furthermore, it resynchronizes the internal timing chain.

End Interrupt/Error Mode Set

Code: 11 I 0 I 0 I AI I A I A I A I A 1

Code:

The CPU sets up the 8279 for a write to the Display RAM by first writing this command. After writing the com· mand with Ao= 1, all subsequent writes with Ao= 0 will be to the Display RAM. The addressing and Auto· Increment functions are identical to those for the Read Display RAM. However, this command does not affect the source of subsequent Data Reads; the CPU will read from whichever RAM (Display or FIFO/Sensor) which was last specified. If, indeed, the Display RAM was last specified, the Write Display RAM will, nevertheless, change the next Read location.

For the sensor matrix modes this command lowers the IRQ line and enables further writing into RAM. (The IRQ line would have been raised upon the detection of a change in a sensor value. This would have also inhibited further writing into the RAM until reset).

For the N-key rollover mode - if the E bit is programmed to '"1"' the chip will operate in the special Error mode. (For further details. see Interface Considerations Section.)

The status word contains the FIFO status, error, and display unavailable signals. This word is read by the CPU when Ao is high and CS and RD are low. See Interface

The IW Bits can be used to mask nibble A and nibble B

in applications requiring separate 4·bit display ports. By setting the IW flag (IW = 1) for one of the ports, the port becomes marked so that entries to the Display RAM from the CPU do not affect that port. Thus, if each nibble is input to a BCD decoder, the CPU may write a digit to the Display RAM without affecting the other digit being displayed. It is important to note that bit Bo corresponds to bit Do on the CPU bus, and that bit A3 corresponds to bit 0 7,

Considerations for more detail on status word.

Data is read when Ao. CS and RD are all low. The source of the data is specified by the Read FIFO or Read Display commands. The trailing edge of RD will cause the address of the RAM being read to be incremented if the Auto- Increment flag is set. FIFO reads always increment (if no error occurs) independent of AI.

If the user wishes to blank the display, the BL flags are available for each nibble. The last Clear command issued determines the code to be used as a "blank." This code defaults to all zeros after a reset. Note that both BL flags must be set to blank a display formatted with a single 8-bit port.

Data that is written with Ao. CS and WR low is always written to the Display RAM. The address is specified by the latest Read Display or Write Display command. Auto- Incrementing on the rising edge of WR occurs if AI set by the latest display command.

9-74 AFN·Q0742A-QS

Show 7 more labels / short text on this page
Clear · Read Display RAM · Write Display RAM · Status Word · Display Write Inhibit/Blanking · Data Read · Data Write
Page 390 of the Intel mcs-48 user manual — 9-75 AFN-00742A-D&
Page 390 · click to enlarge
Page 390
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 390)
Fig. 389 · The Single Component . 2" MCS-4S™ S~stem

8279/8279·5

INTERFACE CONSIDERATIONS

Scanned Keyboard Mode, 2·Key Lockout

Increment flag is set to zero, or by the End interrupt com- mand if the Auto-Increment flag is set to one.

There are three possible combinations of conditions that can occur during debounce scanning. When a key is depressed, the debounce logic is set. Other depressed keys are looked for during the next two scans. If none are encountered, it is a single key depression and the key position is entered into the FIFO along with the status of CNTL and SHIFT lines. If the FIFO was empty, IRQ will be set to signal the CPU that there is an entry in the FIFO. If the,FIFO was full, the key will not be entered and the error flag will be set. If another closed switch is encountered, no entry to the FIFO can occur. If all other keys are released before this one, then it will be entered to the FIFO. If this key is released before any other, it will be entirely ignored. A key is entered to the FIFO only once per depression, no matter how many keys were pressed along with it or in what order they were released. If two keys are depressed within the debounce cycle, it is a simultaneous depression. Neither key will be recognized until one key remains depressed alone. The last key will be treated as a single key depression.

Data Format In the Scanned Keyboard mode, the character entered into the FIFO corresponds to the pOSition of the switch in the keyboard plus the status of the CNTL and SHIFT lines (non-inverted). CNTL is the MSB of the character and SHIFT is the next most significant bit. The next three bits are from the scan counter and indicate the row the key was found in. The last three bits are from the column counter and indicate to which return line the key was connected.

MSB LSB I CNTL !SHIFT! +TUR~

SCANNED KEYBOARD DATA FORMAT

Scanned Keyboard Mode, N·Key Rollover

In Sensor Matrix mode, the data on the return lines is entered directly in the row of the Sensor RAM that corresponds to the row in the matrix being scanned. Therefore, each switch post ion maps directly to a Sensor RAM position. The SHIFT and CNTL inputs are ignored in this mode. Note that switches are not necessarily the only thing that can be connected to the return lines in this mode. Any logic that can be triggered by the scan lines can enter data to the return line inputs. Eight multiplexed input ports could be tied to the return lines and scanned by the 8279.

With N-key Rollover each key depression is treated independently from all others, When a key is depressed, the debounce circuit waits 2 keyboard scans and then checks to see if the key is still down, If it is, the key is entered into the FIFO. Any number of keys can be depressed and another can be recognized and entered into the FIFO, If a simultaneous depression occurs, the keys are recognized and entered according to the order the keyboard scan found them,

Scanned Keyboard - Special Error Mode.

MSB LSB

For N-key rollover mode the user can program a special error mode, This is done by the "End Interrupt/Error Mode Set" command. The debounce cycle and key-validity check are as in normal N-key mode, If during a single debounce cycle, two keys are found depressed. this is considered a simultaneous multiple depression. and sets an error flag. This flag will prevent any further writing into the FIFO and will set interrupt (if not yet set), The error flag could be read in this mode by reading the FIFO STATUS word, (See "FIFO STATUS" for further details,) The error flag is reset by sending the normal CLEAR command with CF = 1.

In Strobed Input mode. the data is also entered to the FIFO from the return lines. The data is entered by the rising edge of a CNTLlSTB line pulse. Data can come from another encoded keyboard or simple switch matrix. The return lines can also be used as a general purpose strobed input.

MSB LSB

RL7! RLs I RLsl RL41 RL3! RL21 RL, ! RLo

Sen.or Matrix Mode In Sensor Matrix mode, the debounce logic is inhibited. The status of the sensor switch is inputted directly to the Sensor RAM. In this way the Sensor RAM keeps an image of the state of the switches in the sensor matrix. Although debouncing is not provided. this mode has the advantage that the CPU knows how long the sensor was closed and when it was released. A keyboard mode can only indicate a validated closure. To make the software easier, the designer should functionally group the sensors by row since this is the format in which the CPU will read them. The IRQ line goes high if any sensor value change is detected at the end of a sensor matrix scan. The IRQ line is cleared by the first data read operation if the Auto-

Display

Left Entry mode is the simplest display format in that each display position directly corresponds to a byte (or nibble) in the Display RAM. Address 0 in the RAM is the left-most display character and address 15 (or address 7 in 8 character display) is the right most display character. Entering characters from position ze~o causes the display to fill from the left. The 17th (9th) character is entered back in the left most position and filling again proceeds from there.

9-75 AFN-00742A-D&

Left Entry

Page 391 of the Intel mcs-48 user manual — RIGHT ENTRY MODE
Page 391 · click to enlarge
Page 391
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 391)
Fig. 390 · The Single Component . 2" MCS-4S™ S~stem

8279/8279·5

lst entry r;TT__- __-ITI RAM L..:.LJ. Address o 1 14 15

o 1 14 15_Display

lst entry 11 I 1·1 I I I I I

01234587

2nd entry [20 = - - = IIJ o 1 14 15

2nd entry 11 12 I o 1 234 567

o 1 234 567

16th entry G21 = = = =:EEl o 1 14 15

Command l' 12 I I II I 1 1 10010101

17th entry E0= = = =~ o 1 14 15

Enter next at Location 5 Auto Increment o 1 234 567

3rd entry 11 I 2 I I I 13 I I I o 1 234 567

18th entry @EI=:EE1

LEFT ENTRY MODE (AUTO INCREMENT)

LEFT ENTRY MODE (AUTO INCREMENT)

Right entry is the method used by most e!ectronic ca)culators. The first entry is placed in the right most display character. The next entry is also placed in the right most character after the display is shifted left one character. The left most character is shifted off the end and is lost.

!n the Right Entry mode, Auto Incrementing and non Incrementing have the same effect as in the Left Entry except if the address sequence is interrupted:

1st entry 1 I l' I :~~ess

2 3 4 5 6 7 O ___ Display

lstentry OJ- -- = I I l' I ::~ess

1 2 14 15 O-Display

2nd entry I! I I \1 I 21 23456701

23456701

2nd entry OJ = = = = I 11 I 2

2 3 15 0 1

Command 11 121 10010101

3rd entry ITI = = = J 1 I 21 3

3 4 0 1 2

Enter next at Location 5 Auto Increment

4 5 6 7 0 1 I 1 3 1 11 121

5 6 7 0 1 2

17th entry r2:E[ = = = 1151161171

1 2 14 15 0

13 14 1 11 121

RIGHT ENTRY MODE

18th entry ~= = = = 1161171181

.2 3 15 0 1

(AUTO INCREMENT)

Starting at an arbitrary location operates as shown below:

o 1 2 3 4 5 6 7 __ Display

RIGHT ENTRY MODE

(AUTO INCREMENT)

111I111I1:~~ess

Enter next at Location 5 Auto Increment

1 234 5 6 7 0 I 11 I

23456701 I \ I I

In the Left Entry mode, Auto Incrementing causes the address where the CPU will next write to be incremented by one and the character appears in the next location. With non-Auto Incrementing the entry is both to the same RAM address and display position. Entry to an arbitrary address in the Auto Increment mode has no undesirable side effects and the result is predictable:

RIGHT ENTRY MODE

(AUTO INCREMENT)

AFN-Q0742A-07

Show 14 more labels / short text on this page
Display RAM Address · 4thentry 111211113141 · Right Entry · Jrd entry 1 · 4th entry · Command · 10010101 · 1st entry · Auto Increment · 2nd entry · 8th entry · 14151617181112131 · 9th entry · 15161718191213 141
Page 392 of the Intel mcs-48 user manual — 4 ADDRESSES
Page 392 · click to enlarge
Page 392
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 392)
Fig. 391 · The Single Component . 2" MCS-4S™ S~stem

8279, 8279-5

Entry appears to be from the initial entry point.

In a Sensor Matrix mode, a bit is set in the FIFO status word to indicate that at least one sensor closure indication is contained in the Sensor RAM.

8/16 Character Display Formats

If the display mode is set to an 8 character display, the on duty-cycle is double what it would be for a 16 character display (e.g., 5.1 ms scan time for 8 characters vs. 10.3 ms for 16 characters with 100 kHz internal frequency).

In Special Error Mode the S/E bit is showing the error flag and serves as an indication to whether a simultaneous multiple closure error has occurred.

FIFO STATUS WORD

G. FIFO Status

FIFO status is used in the Keyboard and Strobed Input modes to indicate the number of characters in the FIFO and to indicate whether an error has occurred. There are two types of errors possible: overrun and underrun. Overrun occurs when the entry of another character into a full FIFO is attempted. Underrun occurs when the CPU tries to read an empty FIFO.

The FIFO status word also has a bit to indicate that the Display RAM was unavailable because a Clear Display or Clear All command had not completed its clearing operation.

APPLICATIONS

SHIFT KEVBOARD

MATRIX

CONTROL

8/ 8 COLUMNS

RETURN

LINES 8 ROWS

"0_7 3 voo 3-8 DECODER v .. Jv ~ 3lsa

INT SHIFT CNTL INT 8-81T DATA BUS MICRO- DATA ~ DO_7 PROCESSOR BUS SYSTEM

lOR WR 8279 lOW RESET RESET CS CS ADDRESS {

SCAN LINES (:'

CONTROLS {

CLOCK CLK SO _3 A O_3 BD BLANK r;6 I ~'~lAY

4--16 DECODER

BUS c/o c/o ClK

4 ADDRESSES

(DECODED) DISPLAY

4 CHARACTERS /

DATA

DISPLAY

FIGURE 2. GENERAL BLOCK DIAGRAM

9-77 AFN-00742A-08

Show 5 more labels / short text on this page
,FIFO Full · Flag for · '>- · iijj · 80_3 4/
Page 393 of the Intel mcs-48 user manual — 9-78 AFN-00742A-09
Page 393 · click to enlarge
Page 393
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 393)
Fig. 392 · The Single Component . 2" MCS-4S™ S~stem

8279, 8279-5

ABSOLUTE MAXIMUM RATINGS*

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functiona/opera- tion of the device at these or any other conditions above those indicated in the operational sections of this specifi- cation is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

Ambient Temperature O°C to 70°C Storage Temperature , 65°C to 125°C Voltage on any Pin with

  • Respect to Ground .......
  • ...... -0.5V to +7V Power Dissipation ...............
  • ...... 1 Watt

D.C. CHARACTERISTICS TA = o·e to 70·e, Vss = OV, Note 1

Symbol Parameter Min. Max. Unit Test Cond itions

VIL1 Input Low Voltage for Shift Control -0.5 1.4 V and Return Lines

VIL2 Input Low Voltage for All Others -0.5 0.8 V

V 11-1 1 Input High Voltage for Shift, Control 2.2 V and Return Lines

VIH2 Input High Voltage for All Others 2.0 V

VOL Output Low Voltage 0.45 V Note 2

VOH Output High Voltage on Interrupt 3.5 V Note 3 Line

IIL1 Input Current on Shift, Control and +10 J.1A VIN = Vee Return Li nes -100 fJ.A VIN = OV

IIL2 Input Leakage Current on All Others ±10 fJ.A VIN = Vee to OV

IOFL Output Float Leakage ±10 fJ.A VOUT = Vee to OV

Icc Power Supply Current 120 mA

CAPACITANCE

SYMBOL TEST TYP. MAX. UNIT TEST CONDITIONS

Cin Input Capacitance 5 10 pF Vin = Vee

Cout Output Capacitance 10 20 pF Vout=Vee

9-78 AFN-00742A-09

Page 394 of the Intel mcs-48 user manual — AFN-00742A-10
Page 394 · click to enlarge
Page 394
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 394)
Fig. 393 · The Single Component . 2" MCS-4S™ S~stem

8279, 8279-5

A.C. CHARACTERISTICS

TA = O°C to 70°C, VSS = OV, (Note 1)

BUS PARAMETERS

READ CYCLE:

Min. Max. Min. Max. Unit

tAR Address Stable Before READ

tRA Address Hold Time for READ

tRR READ Pulse Width

tRol21 Data Delay from READ

tAO[21 Address to Data Valid

tOF READ to Data Floating

10 100 10 100 ns

tRCY Read Cycle Ti me

WRITE CYCLE:

Min. Max. Min. Max. Unit

tAW Address Stable Before WR ITE

tWA Address Hold Time for WR ITE

tww WR ITE Pulse Width

tow Data Set Up Time for WR ITE

two Data Hold Time for WR ITE

OTHER TIMINGS:

Symbol Parameter Min. Max. Min. Max. Unit

t¢w Clock Pu Ise Width

Keyboard Scan TimeKeyboard Debounce Time: Key Scan Time: Display Scan Time:

5.1 msec 10.3 msec 80llsec 10.3 msec

Digit·on TimeBlanking Time: Internal Clock Cycle:

480llsec 160llsec 10 11 sec

u=x x=

INPUT WAVEFORMS FOR A.C. TESTS:

2.0 2.0 ? TEST POINTS <

O.B O.B tI.4ti

AFN-00742A-10

Show 19 more labels / short text on this page
8279 8279·5 · Symbol Parameter · 50 0 ns · 5 0 ns · 420 250 ns · 300 150 ns · 450 250 ns · 1 1 IlS · 8279 8279·5 · Symbol Parameter · 50 0 ns · 20 0 ns · 400 250 ns · 300 150 ns · 40 0 ns · 8279 8279·5 · nsec · tCY Clock Period · nsec
Page 395 of the Intel mcs-48 user manual — IWRITE CONTROL)
Page 395 · click to enlarge
Page 395
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 395)
Fig. 394 · The Single Component . 2" MCS-4S™ S~stem

8279, 8279-5

WAVEFORMS

1. Read Operation

'--------------------

ISYSTEM'S ADDR ESS BUS)

IREAD CONTROL)

DATA BUS

(OUTPUT) ~~~w.w.~~~w.W.;W~~ _I~W.;W~~~W.;W~~~w.~

2. Write Operation

Y (SYSTEM'S J.M\ .... ------------------ ADDRESS BUS)

AO.a

tAw-II.

\

IWRITE CONTROL)

...---t Dw - -- 'wD

DATA MAY CHANGE )(

-DATAVALID----. X

DATA BUS

DATA MAY CHANGE

(INPUT )

3. Clock Input

9-80 AFN-00742A-11

'ww , -twA · ~

Page 396 of the Intel mcs-48 user manual — AFN-Q0742A-12
Page 396 · click to enlarge
Page 396
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 396)
Fig. 395 · The Single Component . 2" MCS-4S™ S~stem

8279 SCAN TIMING

SCAN WAVEFORMS

S,

ENCODED

SCAN

S,

u u u S'-U u DECODED

u u u

S, u

u

SCAN

S,

u

u

u

Lf

DISPLAY WAVEFORMS

ASSUME INTERNAL FREQUENCV = 100 kHz

S,

BLANK

BLANK

CODE' A(O)

CODE·

A(1)

·BLANK CODe IS EITHER ALL a's OR ALL 1', OR 20 HEX

8083 ACTIVE HIGH

NOTE: SHOWN IS ENCODED SCAN LEFT ENTRY

~·S3 ARE NOT SHOWN BUT THEY ARE SIMPLY 81 DIVIDED BY 2 AND 4

AFN-Q0742A-12

Show 5 more labels / short text on this page
f-------640~s=84tCy·------· · SOtCy=10~s · So · Ao- A3 ACTIVE HIGH · RLo- RL7
Page 397 of the Intel mcs-48 user manual — SH GPIB CONTROL
Page 397 · click to enlarge
Page 397
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 397)
Fig. 396 · The Single Component . 2" MCS-4S™ S~stem

8291 GPIB TALKER/LISTENER

  • Designed to Interface Microprocessors (e.g., 8080, 8085, 8086, 8048) to an IEEE Standard 488 Digital Interface Bus
  • 1-8 MHz Clock Range
  • 16 Registers (8 Read, 8 Write), 2 for Data Transfer, the Rest for Interface Function Control, Status, etc.
  • Programmable Data Transfer Rate
  • Directly Interfaces to External NonInverting Transceivers for Connection to the GPIB
  • Complete Source and Acceptor Handshake
  • Complete Talker and Listener Functions with Extended Addressing
  • Provides Three Addressing Modes, Allowing the Chip to be Addressed Either as a Major or a Minor Talkerl Listener with Primary or Secondary Addressing
  • Service Request; Paralle! Poll, Device Clear, Device Trigger, Remote/Local Functions
  • DMA Handshake Provision Allows for Bus Transfers without CPU Intervention
  • Selectable Interrupts
  • On-Chip Primary and Secondary Address Recognition
  • Trigger Output Pin
  • On-Chip EOS (End of Sequence) Message Recognition Facilitates Handling of Multi-Byte Transfers
  • Automatic Handling of Addressing and Handshake Protocol
  • Provision for Software Implementation of Additional Features

The 8291 GPIB Talker/Listener is a microprocessor-controlled chip designed to interface microprocessors (e.g., 8048; 8080,8085,8086) to an IEEE Standard 488 Instrumentation Interface Bus. It implements all of the Standard's interface functions except for the. controller.

PIN CONFIGURATION

BLOCK DIAGRAM

GPIB DATA

INTERFACE

FUNCTIONS ~===-=".

SH GPIB CONTROL

TO NON-INVERTING

AH TE LE

BUS TRANSCEIVERS

I T/RCONTROL

Page 398 of the Intel mcs-48 user manual — I/O 36
Page 398 · click to enlarge
Page 398
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 398)
Fig. 397 · The Single Component . 2" MCS-4S™ S~stem

PIN DESCRIPTION

I/O Pin No. Function

I/O Pin No. Function

I/O 12-19 Data bus port, to be connected to microprocessor data bus.

NRFD

I/O 37 Not ready for data; GPIB hand- shake control line. Indicates the condition of readiness of de- vicels) connected to the bus to accept data.

21-23 Register select inputs, to be con- nected to three non-multiplexed microprocessor address bus lines. Select which of the 8 in- ternal read (write) registers will be read from (written into) with the execution of RD (WR).

I/O 38 Not data accepted; GPIB hand- shake control line. Indicates the condition of acceptance of data by the device(s) connected to the bus.

Chip select. When low, enables reading from or writing into the register selected by RSo-RS2.

Read strobe. When low, selected register contents are read by the CPU.

Interface clear; GPIB command line. Places the interface func- tions in a known quiescent state.

Write strobe. When low, data is written into the selected register.

o 27

Service request; GPIB command line. Indicates the need for attention and requests an inter- ruption of the current sequence of events on the GPIB.

o

Interrupt request to the micro- processor, set high for request and cleared when the appropri- ate register is accessed by the CPU. May be software config- ured to be active low.

Remote enable; GPIB command line. Selects (in conjunction with other messages I remote or local control of the device.

DREQ

o

DMA request, normally low, set high to indicate byte output or byte input, in DMA mode; reset by DACK.

I/O 39

End or identify; GPIB command line. Indicates the end of a multiple byte transfer sequence or, in conjunction with ATN, addresses the device during a polling sequence.

DACK 7 DMA acknowledge. When low, resets DREQ and selects data in/data out register for DMA data transfer (actual transfer done by RD/WR pulse).

T/R1

o

External transceivers control line. Set high to indicate output data/signals on the D101-D108 and DAV lines and input signals on the NRFD and NDAC lines (active source handshake I. Set low to indicate input data/ signals on the D101·D108 and DAV lines and output signals on the NRFD and NDAC lines (ac- tive acceptor handshake I.

Must be high if DMA is not used.

TRIG 0 5

Trigger output, normally low; generates a triggering pulse with 1!,sec min. width in response to the GET bus command or Trigger auxiliary command.

CLOCK 3

External clock input, used only for T 1 delay generator. May be any speed in 1-8 MHz range.

o 2

RESET 4

Reset input. When high, forces the device into an "Idle" (initiali- zation) mode. The device will re- main at "Idle" until released by the microprocessor.

T/R2

External transceivers control line. Set high to indicate output signals on the EOI line. Set low to indicate expected input signal on the EOI line during parallel

8-bit GPIB data port, used for bidirectional data byte transfer between 8291 and GPIB via non- inverting external line trans- ceivers.

poll.

P.S. 40

Positive power supply (5V ± 10%).

GND

P.S. 20

Potential ground circuit.

I/O 36

Data valid; GPIB handshake control line. Indicates the avail- ability and validity of infor- mation on the DIO lines.

Show 5 more labels / short text on this page
Symbol · Symbol · Do-D7 · RSo-RS2 · Vee
Page 399 of the Intel mcs-48 user manual — DAV NRFD NDAC
Page 399 · click to enlarge
Page 399
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 399)
Fig. 398 · The Single Component . 2" MCS-4S™ S~stem

8291 SYSTEM DIAGRAM

r -, OREO I DMA I c(g~il~~~LLE)R I~ __ D_AC_K_~L""::~~:::':'..J L I

THE GENERAL PURPOSE INTERFACE BUS (GPIB)

r r 1 f

r r r r r

The General Purpose Interface Bus (GPIB) is defined in the IEEE Standard 488-1978 "Digital Interface for Programmable Instrumentation." Although a knowledge of this standard is assumed, Figure 1 provides the bus structure for quick reference. Also, Tables 1 and 2 reference the interface state mnemonics and the interface messages respectively. Modified state diagrams for the 8291 are presented in Appendix A.

DEVICE A

ABLE TO TALK, LISTEN,

I t-

AND CONTROL

DATA BUS

(e.g. calculator)

DEVICE B

ABLE TO TALK AND

I r--

GENERAL DESCRIPTION

LISTEN

The 8291 is a microprocessor controlled device de- signed to interface microprocessors e.g., 8048, 8080, 8085,8086 to the GPIB. It implements all of the interface functions defined in the IEEE 488 Standard. If an imple- mentation of the Standard's Controller function is desired, it can be connected with an Intel® 8292 to form a complete interface.

(e.g. digital multimeterl

DATA BYTE

DEVICE C

ONLY ABLE

I t-

TO LISTEN

(e.g. signal generator)

GENERAL INTERFACE MANAGEMENT

The 8291 handles communication between a microproc- essor controlled device and the GPIB. Its capabilities in- clude data transfer, handshake protOCOl, talkerllistener addressing procedures, device clearing and triggering, service request, and both serial and parallel polling schemes. In most procedures, it does not disturb the microprocessor unless a byte is waiting on input or a byte sent on output (output buffer empty).

DEVICE 0

ONLY ABLE

I t-

TO TALK

(e.g. counter)

~}DIOl . .. 8

The 8291 architecture includes 16 registers. Eight of these registers may be written into by the microprocessor. The other eight registers may be read by the microprocessor. One each of these read and write registers is for direct data transfers. The rest of the write registers control the various features of the chip, while the rest of the read registers provide the microprocessor with a monitor of GPIB states, various bus conditions, and device conditions.

DAV NRFD NDAC

IFC ATN SRO REN EOI

Figure 1_ Interface Capabilities and Bus Structure_

TRANSFER (I-t-- CONTROL · (

Page 400 of the Intel mcs-48 user manual — NPRS
Page 400 · click to enlarge
Page 400
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 400)
Fig. 399 · The Single Component . 2" MCS-4S™ S~stem

second mode allows the user to implement a single talker/listener with a two byte address (primary address + secondary address). The third mode again allows for two distinct addresses but in this instance, they can each have a two-byte address. However, this mode requires that the secondary addresses be passed to the microprocessor for verification. These three addressing schemes are des- cribed in more detail in the discussion of the Address registers.

Each device connected to the GPIB must have at least one address whereby the controller device in charge of the bus can configure it to talk, listen, or send status. An 8291 implementation of the GPIB offers the user three addressing modes from which the device can be initialized for each application. The first of these modes allows for the device to have two separate primary addresses. The

TABLE 1. IEEE 488 INTERFACE STATE MNEMONICS

ACDS Accept Data State ACRS Acceptor Ready State AIDS Acceptor Idle State ANRS Acceptor Not Ready State APRS Affirmative Poll Response State AWNS Acceptor Wait for New Cycle State , I CACS Controller Active State I : CADS Controller Addressed State I I CAWS Controller Active Wait State I I CIDS Controller Idle State I I CPPS Controller Parallel Poll State I I CPWS Controller Parallel Poll Wait State I : CSBS Controller Standby State : I CSNS Controller Service Not Requested State I I CSRS Controller Service Requested State I I CSWS Controller Synchronous Wait State I L ~T~~ _ ~~t.':?~~TI:a~s!:.r ~t~t~ J DCAS Device Clear Active State DCIS DTAS OTIS

PACS PPAS PPIS PPSS PUCS

Parallel Poll Addressed to Configure State Parallel Poll Active State Parallel Poll Idle State Parallel Poll Standby State Parallel Poll Unaddressed to Configure State

REMS RWLS

Remote State Remote With Lockout State

SACS SDYS SGNS SIAS SIDS SIIS SINS SIWS SNAS SPAS SPIS SPMS SRAS SRIS SRNS SRQS STRS SWNS

System Control Active State Source Delay State Source Generate State System Control Interface Clear Active State Source Idle State System Control Interface Clear Idle State System Control Interface Clear Not Active State Source Idle Wait State System Control Not Active State Serial Poll Active State Serial Poll Idle State Serial Poll Mode State System Control Remote Enable Active State System Control Remote Enable Idle State System Control Remote Enable Not Active State Service Request State Source Transfer State Source Wait for New Cycle State

Device Clear Idle State Device Trigger Active State Device Trigger Idle State

LACS LADS LIDS LOCS LPAS LPIS LWLS

Listener Active State Listener Addressed State Listener Idle State Local State Listener Primary Addressed State Listener Primary Idle State Local With Lockout State

TACS TAOS TIDS TPIS

Talker Active State Talker Addressed State Talker Idle State Talker Primary Idle State

NPRS

Negative Poll Response State

The Controller function is implemented on the Intel® 8292.

GPIB Addressing · Mnemonic State Represented · Mnemonic State Represented

Page 401 of the Intel mcs-48 user manual — REMOTE MESSAGES RECEIVED
Page 401 · click to enlarge
Page 401
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 401)
Fig. 400 · The Single Component . 2" MCS-4S™ S~stem

TABLE 2. IEEE 488 INTERFACE MESSAGE REFERENCE LIST

Mnemonic Message Interlace Functlon(s)

LOCAL MESSAGES RECEIVED (By Interlace Functions)

·gts go to standby C ist individual status PP Ion listen only L, LE Ipe local poll enable PP nba new byte available SH

  • pon power on SH,AH,T,TE,L,LE,SR,RL,PP,C rdy ready AH
  • rpp request parallel poll C
  • rsc request system control C rsv request service SR

rtl return to local RL 'sic send interface clear C 'sre send remote enable C *tca take control asynchronously C ·tcs take control synchronously AH,C ton talk only T, TE

REMOTE MESSAGES RECEIVED

ATN Attention SH,AH,T,TE,L,LE,PP,C DAB Data Byte (Via L, LE) DAC Data Accepted SH DAV Data Valid AH DCL Device Clear DC

END End (via L, LE) GET Group Execute Trigger DT GTL Go to Local RL lOY Identify L,LE,PP IFC Interface Clear T,TE,L,LE,C

LLO Local Lockout RL MLA My Listen Address L,LE,RL,T,TE MSA My Secondary Address TE,LE,RL MTA My Talk Address T,TE,L,LE OSA Other Secondary Address TE

OTA Other Talk Address T, TE PCG Primary Command Group TE,LE,PP tPPc Parallel Poll Configure PP t [PPD) Parallel Poll Disable PP t [PPE] Parallel Poll Enable PP

  • PPRN Parallel Poll Response N (via C) tPPu Parallel Poll Unconfigure PP REN Remote Enable RL RFD Ready for Data SH RaS Request Service (via L, LE)

[SOC] Select Device Clear DC SPD Serial Poll Disable T, TE SPE Serial Poll Enable T, TE 'SaR Service Request (via C) STB Status Byte (via L, LE)

'TCT or [TCT] Take Control C UNL Un listen L, LE

'These' messages are handled only by Intel's 8292. tUndefined commands which may be passed to the microprocessor.

Page 402 of the Intel mcs-48 user manual — REMOTE MESSAGES SENT
Page 402 · click to enlarge
Page 402
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 402)
Fig. 401 · The Single Component . 2" MCS-4S™ S~stem

TABLE 2. (Cont'd) IEEE 488 INTERFACE MESSAGE REFERENCE LIST

  • Mnemonic Message
  • Interlace Functlon(s)

REMOTE MESSAGES SENT

ATN Attention DAB Data Byte DAC Data Accepted DAV Data Valid DCl Device Clear

C (via T, TE) AH SH (via C)

END End GET Group Execute Trigger GTl Go to local IDY Identify IFC Interface Clear llO local lockout MlA or [MlA[ My Listen Address MSA or [MSA[ My Secondary Address MTA or [MTA[ My Talk Address OSA Other Secondary Address

(via T) (via C) (via C) C C

(via C) (via C) (via C) (via C) (via C)

OTA Other Talk Address PCG Primary Command Group PPC Parallel Poll Configure [PPD[ Parallel Poll Disable [PPE[ Parallel Poll Enable

(via C) (via C) (via C) (via C) (via C)

PPRN Parallel Poll Response N PPU Parallel Poll Unconfigure REN Remote Enable RFD Ready for Data ROS Request Service

PP (via C) C AH T, TE

[SDC[ Selected Device Clear SPD Serial Poll Disable SPE Serial Poll Enable SRO Service Request STB Status Byte

(via C) (via C) (via C) SR (via T, TE)

TCT Take Control UNl Unlisten

(via C) (via C)

  • All Controller messages must be sent via Intel's 8292.
Page 403 of the Intel mcs-48 user manual — DATA·OUT REGISTER IOWI
Page 403 · click to enlarge
Page 403
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 403)
Fig. 402 · The Single Component . 2" MCS-4S™ S~stem

8291 Registers

A bit-by-bit map of the 16 registers on the 8291 is presented in Table 3. A more detailed explanation of each of these registers and their functions follows. The access of these registers by the microprocessor is accomplished by using the es. RD, WR, and RSo-RS2 pins.

Register CS RD WR RSo-RS2

All Read Registers 0 0 eee

o

o

eee

TABLE 3. 8291 REGISTERS

READ REGISTERS REGISTER SELECT

WRITE REGISTERS

CODE

RS2

RSO

I 017 I 016 015 014 013 012 Oil! 010

o ! 007 ! 006 o05! 004 003 I 002 001 I 000

DATA IN

DATA OUT

I CPT I APT GET I END I DEC! ERR! 80 ! 81

1 I CPT ! APT ! GET I ENO I DEC I ERR 80 I 81

INTERRUPT STATUS 1

INTERRUPT ENABLE 1

o I 0 I 0

INT ! SPAS! LLO! REM! SPASC!LLOC I REMC! Aosci

oMAOloMAl1 SPAScl LLOC! REMC! AoSC I

INTERRUPT STATUS 2

INTERRUPT ENABLE 2

I S8 SROS I 56 I S5 I 54 ! 53 S2 ! 51

56 ! S5 I S4 I S3 S2 JSYJ

1 I 58 [rsv

SERIAL POLL STATUS

SERIAL POLL MODE

1 ton I Ion EOI I LPAS I TPAS I LA TA I MJMNI

o I TO I LO I 0 I 0 I 0 I 0 AOMll AoMOI

ADDRESS STATUS

ADDRESS MODE

[CPT71 CPT61 CPTS! CPT41 CPT3! CPT21 cpnl CPTO I

1 I CNT2l CNTll CNTOI COM41 COM31 COM21 COMll COMol

COMMAND PASS THROUGH

AUX MODE

o I ARS I oT oL I AD5 I A04 I A03 A02 I Aol

oTO oLO I A05.01 A04.0! A03.0! A02.01 AOl.01

ADDRESS 0 I x

ADDRESS 0/1

1 I Ee7 ! EC6 EC5 I Ee4 I Ee3 I Ee2 Eel I ECO

ADDRESS 1

EOS

addressed to listen. Incoming information is separately latched by this register, and its contents are not destroyed by a write to the data-out register. The RFD (Ready for Datal message is held false until the byte is removed from the data In register, either by the microprocessor or by DMA. The 8291 then completes the handshake automati- cally. In RFD/DAV holdoff mode (see Auxiliary Register AI, the handshake is not finished until a command is sent telling the 8291 to release the holdoff. In this way, the same byte may be read several times, or an over anxious talker may be held off until all available data has been processed.

017 ! 016 016 I 014 013 012 011 I 010 I

DATA·IN REGISTER IORI

007 I 006 I 005 I 004 I 003 I 002 I 001 I 000 I

DATA·OUT REGISTER IOWI

The data-In register is used to move data from the GPIB to the microprocessor or to memory when the 8291 is

Show 4 more labels / short text on this page
All Write Registers · Don't Care · RSl · Data Registers
Page 404 of the Intel mcs-48 user manual — (REMS+RWLS)
Page 404 · click to enlarge
Page 404
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 404)
Fig. 403 · The Single Component . 2" MCS-4S™ S~stem

When the 8291 is addressed to talk, it uses the data-out

RFO/OAV holdoff mode is in effect, data is held until the release command is issued. Also, a read of the data-in register does not destroy the information in the data-out register.

register to move data onto the GPIB. Upon a write to this register, the 8291 initiates and completes the handshake while sending the byte out over the bus. When the

I CPT I APT I GET I ENO OEC I ERR BO BI

I CPT I APT I GET I END I DEC I ERR BO BI I

INTERRUPT STATUS 1 II R)

INTERRUPT ENABLE 1 I1W)

liNT I SPAS I LLO I REM I SPAscl LLOC I REMCI ADSC I

I 0 I 0 I DMAOI DMAI I SPAscl LLOC I REMCI ADscl

INTERRUPT STATUS 2 12R)

INTERRUPT ENABLE 2 (2W)

The 8291 can be configured to generate an interrupt to the microprocessor upon the occurrence of any of 12 conditions or events on the GPIB. Upon receipt of an interrupt, the microprocessor must read the Interrupt Status registers to determine which event has occurred, and then execute the appropriate service routine (if necessary). Each of the 12 interrupt status bits has a matching enable bit in the interrupt enable registers. These enable bits are used to select the events that will

Status registers are set regardless of the states of the enable bits. The Interrupt Status registers are then cleared upon being read or when a local pon (power·on) message is executed. If an event occurs while one of the Interrupt Status registers is being read, the event is typically held until after its register is cleared and then placed in the register.

The mnemonics for each of the bits in these registers and a brief description of their respective functions appears in Table 4. This table also indicates how each of the interrupt bits is set.

cause the INT pin to be asserted. Writing a logic "1" into any of these bits enables the corresponding interrupt status bits to generate an interrupt. Bits in the Interrupt

TABLE 4. Interrupt Bits

CPT

An undefined command has been received.

Set by (TPAS + LPAS)oSCGoACOSoMODE 3

APT

A secondary address must be ""assed through to the microprocessor for recognition.

GET

A group execute trigger has occurred.

Set by (EOS + EOI)oLACS

END

An EOS or EOI message has been received.

DEC

Device Clear Active State has occurred.

Set by TACS.nbaoOAC.RFO

ERR

Interface error has occurred; no listeners are active.

BO

A byte should be output.t

Set by LACS.ACOS

BI '

A byte has been input.

Shows status of the INT pin

INT

The device has been enabled for a serial poll

SPAS

These are status only. They will not generate interrupts, nor do they have corresponding mask bits.

The device is in local lock out state.

LLO ~

(LWLS+RWLS)

The device is in a remote state.

(REMS+RWLS)

SPAS-SPAS SPASC Serial Poll Active State change interrupt.t --- LLCNO LLO LLOC Local lock out change interrupt.

AddressedUnaddressed AOSC Address status change interrupt: -- tSee section on 8291A compatibility. 'In ton (talk-only) and Ion (listen·only) modes, no ADSC interrupt Is generated.

Remoti:~Jocal REMC Remote/Local change interrupt.

Show 5 more labels / short text on this page
I nterrupt Registers · Indicates Undefined Commands · Set by DTAS · Set by OCAS · TACSo(SWNS + SGNS)
Page 405 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 405 · click to enlarge
Page 405
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 405)
Fig. 404 · The Single Component . 2" MCS-4S™ S~stem

The BO and BI interrupts enable the user to perform data transfer cycles. BO indicates that a byte has been sent to the GPIB or the 8291 has been addressed to talk. A new data byte may be written into the Data Out register. It is set by the occurrence of TACS. (SWNS + SGNS). Hence, it is reset when a data byte is written into the Data Out register, when ATN is asserted on the GPIB, or when the device stops being addressed to talk. Similarly, BI is set when an input byte is accepted into the 8291 and reset when the microprocessor reads the Data In register. BO and BI are also reset by pon (power-on local message) and by a read of the Interrupt Status 1 register. However, if it is so desired, data transfer cycles may be performed without reading the Interrupt Status 1 register if all interrupts except for 80 or BI are enabled; BO and BI will automatically reset after each byte is transferred.

The CPT interrupt bit flags the occurrence of an unde-

fined command and of all secondary commands follow- ing an undefined command. The Command pass through feature is enabled by the BO bit of Auxiliary register B.

UDC = [UCG + ACG(TADSoPPC

+ LADSoTCT)]oundefinedoBO where:

ACG - Addressed Command Group UCG - Universal Command Group SCG - Secondary Command Group

Any message not decoded by the 8291 (not included in the state diagrams in Appendix B) becomes an undefined command. Note from the logic equation that any addressed command is automatically ignored when the 8291 is not addressed.

If the 8291 is used without DMA, the BO and BI interrupts may be enabled through the DREQ pin. The DMAO and DMAI bits in the Interrupt Enable 2 register would be the corresponding enable bits for this feature. Thus, imple- menting this feature, with 80 and Bi enabied from the INT pin, allows for servicing of these interrupts without reading the Interrupt Status registers.

Undefined commands are read by the CPU from the Command Pass Through Register of the 8291. Until this register is read, the 8291 will hold off the handshake (only ii the CP I teatu re is enabled).

An especially useful feature of the 8291 is its ability to generate interrupts from state transitions in the interface functions. In particular, the lower 4 bits of the Interrupt Status 2 register, if enabled by the corresponding enable bits, will cause an interrupt upon changes in the follow- ing states as defined in IEEE 488:

  • The ERR bit is set to indicate the bus error condition where the 8291 is an active talker, tries sending a byte to the GPIB, but there are no active listeners (e.g., all devices on the GPIB are in AIDS). The logical equivalent of (nba
  • TACS
  • DAC
  • RFD) will set this bit.

Bit 0 ADSC Bit 1 RLC Bit 2 LLOC Bit 3 SPASC

change in LIDS or TIDS or MJMN change in LOCS or REMS change in LWLS or RWLS change in SPAS

The DEC bit is set whenever DCAS has occurred. The user must define a known state to which all device functions will return in DCAS. Typically this state will be a power-on state. However, the state of the device functions at DCAS is at the designer's discretion. It should be noted that DCAS has no effect on the interface functions which are returned to a known state by the IFC (interface clear) message or the pon local message.

The upper 4 bits of the I nterrupt Status 2 register are available to the processor as status bits. Thus, if one of the bits 1-3 generates an interrupt indicating a state change has taken place, the corresponding status bit (bits 5-7) may be read to determine what the new state is. To determine the nature of a change in addressed status (bit 0) the Address Status Register is available to be read. And finally, bit 7 monitors the state of the 8291 INT pin. Logically, it is an OR of all enabled interrupt status bits. One should note that bits 4-7 of the Interrupt Status 2 Register do not generate interrupts, but are available only to be read as status bits by the processor.

The END Interrupt bit may be used by the microprocessor to detect that a mUlti-byte transfer has been completed. The bit will be set when the 8291 is an active listener (LACS) and either EOS or EOI is received. EOS will

generate an interrupt when the byte in the Data In regis- ter matches the byte in the EOS register. Otherwise the interrupt will be generated when a true input is detected at the EOI pin of the 8291.

Bits 4 and 5 (DMAI, DMAO) of the Interrupt Enable 2 Register are available to enable direct data transfers between memory and the GPIB, DMAI (DMA in) enables the DREQ (DMA request) pin of the 8291 to be asserted upon the occurrence of 81. Similarly, DMAO (DMA out) enables the DREQ pin to be asserted upon the occurrence of BO. One might note that the DREQ pin may be used as a second interrupt output pin, monitoring BI and/or BO and enabled by DMAI and DMAO. One should note that the DREQ pin is not affected by a read of the Interrupt Status 1 Register. It is reset whenever a byte is written to the Data Out Register or read from the Data In Register.

The GET interrupt bit is used by the microprocessor to detect that DTAS has occurred. It is set by the 8291 when

the GET message is received while it is addressed to lis- ten. The TRIG output pin of the 8291 is also asserted when the GET message is received. Thus, the basic operation of the device may be started without involving the microprocessor.

The APT interrupt bit indicates to the processor that a secondary address is available in the CPT register for validation. This interrupt will only occur if Mode 3 addressing is in effect. (Refer to the section on addressing.) In Mode 2, secondary addresses will be recognized on the 8291. They will be ignored in Mode 1.

To ensure that an interrupt status bit will not be cleared without being read, and will not remain uncleared after being read, the 8291 Irnplem~Jnts a special Interrupt

Page 406 of the Intel mcs-48 user manual — ADDRESS 1 17R)
Page 406 · click to enlarge
Page 406
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 406)
Fig. 405 · The Single Component . 2" MCS-4S™ S~stem

handling procedures. When an enabled interrupt bit is set in either of the Interrupt Status Registers, the Input of the registers are blocked until the set bit is read and reset by the microprocessor. Thus, potential problems arise when interrupt status changes while the register is being blocked. However, the 8291 stores all new Inter- rupts in a temporary register and transfers them to the appropriate interrupt Status Register after the interrupt

has been reset. In the Interrupt Status 1 Register and in AOSC bit, this transfer takes place only if the correspon- ding bits were read as zeroes. For the other status change bits In the Interrupt Status 2 Register, the transfer will always take place. However, even number of changes In these status bits during blocking time will cause no Interrupt.

S8 5Ras ! 56 55 54 53 52 51

58 rsv 56 55 54 53 52 51

SERIAL POLL STATUS 13R)

SERIAL POLL MODE 13W)

The Serial Poll Mode Register is used to establish the status byte that the 8291 sends out on the GPIB data lines when it receives the SPE I Serial Poll Enable I message. Bit 6 of this register is reserved for the rsv I request service} local message. Setting this bit to 1 causes the 8291 to assert its SRO line, indicating its need for attention from the controller-in-charge of the GPIB. When service has been granted, the bit should be cleared by the microprocessor. The other bits of this register are available for sending status information over the GPIB. Sometime after the microprocessor initiates a request for service by setting bit 6, the controller of the GPIB sends the SPE message and then addresses the 8291 to

talk. At this point, one byte of status is returned by the 8291 via the Serial Poll Mode Register.

The Serial Poll Status Register is available for reading the status byte in the Serial Poll Mode Register. The processor may check the status of a request for service by polling bit 6 of this register, which corresponds to SROS IService Request State I. When a Serial Poll is conducted and the controller-in-charge reads the status byte, the SROS bit is cleared. The SRO line is tied to this bit, so that a request for service is terminated when the 8291 's status byte is read. The rsv bit of the Serial Poll Mode Register must then be cleared by the microprocessor.

I ton Ion EOI !LPAS ! TPAS !LA '[ TA !MJMN!

I TO ILO I 0 I 0 I 0 I 0 ADM'I AOMOI

ADDRESS STATUS 14R) I X OTO! OLO! AOS.O! A04.0! AD3.0! AD2.0! AD,.O !

ADDRESS MODE 14WI

! ARS ! DT DL I ADS I AD41 AD3! AD2! AD1

ADDRESS 0 16R) I X on DL1! ADS"! AD4.1! AD3.'! AD2.1! AD,., !

ADDRESS 1 17R)

The Address Mode Register is used to select one of the five modes of addressing available on the 8291. It determines the way in which the 8291 uses the information in the Address 0 and Address 1 registers: -In Mode 1, the contents of the Address 0 Register constitute the "Major" talkerllistener address while tne Address 1 Register represents the "Minor" talker/listener address. In applications where only one address is needed, the major talker/listener is used, and the minor talker/listener should be disabled. Loading an addres via the Address 0/1 Register into Address Registers 0 and 1 enables the major and minor talker/listener functions respectively. -In Mode 2 the 8291 recognizes two sequential address bytes: a primary followed by a secondary. Both address bytes must be received in order to enable the device to talk or listen. In this manner, Mode 2 addressing implements the extended talker and listener functions as defined in IEEE 488.

To use Mode 2 addressing the primary address must be loaded into the Address 0 Register, and the Secondary address is placed in the Address 1 Register. With both primary and secondary addresses residing on chip, the 8291 can handle all addressing sequences without processor intervention. -In Mode 3, the 8291 handles addressing just as it does in Mode 1, except that each Major or Minor primary address must be followed by a secondary address. All secondary addresses must be verified by the microprocessor when Mode 3 is used., When the 8291 is in TPAS or LPAS (talker/listener primary addresses statel, and it does not recognize the byte on the 010 lines, an APT interrupt is generated (see section on Interrupt Registers) and the byte is available in the CPT (Command Pass-Through) Register. As part of its interrupt service routine, the microprocessor must read the CPT Register and write one of the following responses to the Auxiliary Mode Register:

1. 07H implies a non-valid secondary address 2. OFH implies a valid secondary address

Serial Poll Registers · Address Registers · ADDRESS Oil 16WI

Page 407 of the Intel mcs-48 user manual — COMMAND PASS THROUGH (5RI
Page 407 · click to enlarge
Page 407
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 407)
Fig. 406 · The Single Component . 2" MCS-4S™ S~stem

Setting the "ton" bit generates the local ton (talk-only) . message and sets the 8291 to a talk-only mode. This mode

Operation CS RD WR Data RSZ-RSO

allows the device to operate as a talker in an interface system without a controller.

1 .. Select addressing Mode 1 0 1 0 00000001 100

2. Load major address into 0 1 0 001AAAAA 110 Address 0 Register with listener function disabled.

Setting the "Ion" bit generates the local Ion (listen-only) message and sets the 8291 to a listen-only mode. This mode allows the device to operate as a listener in an interface system without a controller.

3. Load minor address into 0 1 0 110BBBBB 110 Address 1 Register with talker function disabled.

The mode of addressing implemented by the 8291 may be selected by writing one of the following bytes to the Address Mode Register:

At this point, the addresses AAAAA and BBBBB are stored in the Address 0 and Address 1 registers respectively, and are available to be read by the microprocessor. Thus, it is not necessary to store any address information elsewhere. Also, with the information stored in the Address 0 and Address 1 registers, processor intervention is not required to recognize addressing by the controller. Only in Mode3, where secondary addresses are passed through, must the processor intervene in the addressing sequence.

10000000 01000000 11000000 00000001 00000010 00000011

Enable talk only mode (ton) Enable listen only mode (Ion) The 8291 may talk to itself Mode 1, (Primary-Primary) Mode 2 (primary-Secondary) Mode 3 (primary/APT-Primary/APT)

The Address Status Registercontains information used by the microprocessor to handle its own addressing. This information includes status bits that monitor the address state of each talker/listener, "ton" and "Ion" flags which indicate the talk only and listen only states, and an EOI bit which, when set, signifies that the END message came with the last data byte. LPAS and TPAS indicate that the

Command Pass Through Register

I~I~I-I~I~I~I~I~I

COMMAND PASS THROUGH (5RI

The Command Pass Through Register is used to transfer undefined 8-bit remote message codes from the GPIB to the microprocessor. When the CPT feature is enabled (bit BO in Auxiliary Register B), any message not de- coded by the 8291 becomes an undefined command. When Mode 3 addressing is used secondary addresses are also passed through the CPT Register. In either case, the 8291 will holdoff the handshake until the microprocessor reads this register and issues the VSCMD auxiliary command.

listener or talker primary address has been received. The microprocessor can then use these bits when the secondary address is passed through to determine whether the 8291 is addressed to talk or listen. The LA (listener addressed) bit will be set when the 8291 is in LACS (Listener Active State) or in LADS (Listener Addressed State). Similarly, the TA (Talker Addressed bit will be set to indicate TACS or TAOS, but also to indicate SPAS (Serial Poll Active State). The MJMN bit is used to determine whether the information in the other bits applies to the Major or Minor talker/listener. It is set to "1" when the Minor talker/listener is addressed. It should be noted that only one talker/listener may be active at any one time. Thus, the MJMN bit will indicate which, if either, of the talker/listeners is addressed or active.

The CPT and APT interrupts flag the availability of undefined commands and secondary addresses in the CPT Register. The details of these interrupts are explained in the section on Interrupt Registers.

An added feature of the 8291 is its ability to handle undefined secondary commands following undefined primaries: Thus, the number of available commands for future IEEE 488 definition is increased; one undefined primary command followed by a sequence of as many as 32 secondary commands can be processed. The IEEE-488 Standard does. not permit users to define their own commands, but upgrades of the standard are thus .provided for.

The Address 0/1 Register is used for specifying the device's addresses according to the format selected in the Address Mode Register. Five bit addresses may be loaded into the Address 0 and Address 1 registers by writing into the Address 0/1 Register. The ARS bit is used to select which of these registers the other seven bits will be loaded into. The DT 'and DL brts may be used to disable the talker or lis.tener function at the address Signified by the other five bits. When Mode.l addressing is used and only one primary address is desired, both the talker and the listener should be disabled at the Minor address.

The recommended use o.f the 8291 's undefined command capabilities is for a controller-configured Parallel Poll. The PPC message is an undefined primary command typically followed by PPE, an undefined secondary command. For details on this procedure, refer to the section on Parallel Poll Protocol. .

As an example of how the Address 0/1 Register might be used, consider an example where t.wo primarY'addresses are .needed in the device. The Major primary address will be selectable only ass lalker and the Minor primary address will be selectable only· as a listener. This configuration of the 8291 is fo.rmed by the following

sequence of writes by. the microprocessor:

Register Contents · Mode

Page 408 of the Intel mcs-48 user manual — AUXILIARY COMMANDS
Page 408 · click to enlarge
Page 408
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 408)
Fig. 407 · The Single Component . 2" MCS-4S™ S~stem

I CNT21 CNT1 I CNTO I COM41 COM31 COM21 COM' I COMO I

The 8291 is designed to power up in certain states as spec,ified in the IEEE 488 state dia- grams. Thus, the following states are in effect in the power upstate: SIDS, AIDS, TIDS, LIDS, NPRS, LOeS, and PPIS.

AUX MODE (5W)

CNTO-2:CONTROL BITS COMO-4:COMMAND BITS

The "0000" pon is an immediate execute command (a pon pulse). It is also used to release the "initialize" state generated by either an external reset pulse or the "0010" Chip Reset.command.

The Auxiliary Mode Register contains a three-bit control field and a five-bit command field. It is used for several purposes on the 8291:

1. To load "hidden" auxiliary registers on the 8291. 2. To issue commands from the microprocessor to the 8291. 3. To preset an internal counter used to generate T1, delay in the Source Handshake function, as defined in IEEE 488.

0010 Chip Reset (Initialize) - This command has the same effect as a pulse applied to the Reset pin. (Refer to the section on Reset Procedure.)

0011 Finish Handshake - This command finishes a handshake that was stopped because of a holdoff on RFD or DAV. (Refer to Auxiliary Register A.)

Table 5 summarizes how these tasks are performed with the Auxiliary Mode Register. Note that the three control bits determine how the five command bits are interpreted.

0100 Trigger - A "Group Execute Trigger" is forced by this command. It has the same effect as a GET command issued by the controller- in-charge of the GPIB, but does not cause a GET interrupt.

TABLE 5

CODE CONTROL COMMAND

COMMAND

BITS BITS 000 OCCCC

0101 rtlt - This command corresponds to the local rtl message as defined in IEEE 488. The 8291 will go to a local state if local lockout is not in effect.

Execute auxiliary command ccee Preset internal counter to match external clock frequency of FFFF MHz (FFFF - binary representation of 1 to 8 MHz) 100 DDDDD Write DDDDD into auxiliary register A 101 ODDDD Write DDDD into auxiliary register B 011 USP3P2Pi Enable/disable parallel poll

001 OFFFF

0110 Send EOI - The EOI line of the 8291 may be asserted with this command. The command causes EOI to go true with the next byte trans- mitted. The EOlline is then cleared upon com- pletion of the handshake for that byte.

0111, 1111 Non-Valid/Valid Secondary Address or Command (VSCMD) - This command in- forms the 8291 that the secondary address re- ceived by the microprocessor was valid or invalid (0111 - invalid, 1111 - valid). If Mode3 addressing is used, the processor must field each extended address and respond to it, or the GPIB will hang up. Note that the COM3 bit is the invalid/valid flag.

either in response to remote messages (PPC followed by PPE or PPD) or as a local Ipe message. (Enable if U = 0, disable if U = 1.)

The valid (1111) command is also used to tell the 8291 to continue from the command-pass- through state (immediate execute command).

AUXILIARY COMMANDS

0001, 1001 Parallel Poll Flag (local "ist" message) - This command sets (1001) or clears (0001) the parallel poll flag. A "1" is sent over the assigned data line (PPR-Parallel Poll Re- sponse true) only if the parallel poll flag matches the sense bit from the'lpe local message (or indirectly from the PPE mess- age). For a more complete description of the Parallel Poll features and procedures refer to the section on ParaHel Poll Protocol.

Auxiliary commands are executed by the 8291 whenever OOOOCCCC is written into the Auxiliary' Mode Register, where ecce is the 4-bit command code.

4-Blt Code Descri tion

0000 Immediate Execute pon - This command re- . sets the 8291 to a power up state (local pon .' message as defined in IEEE 488).

The following conditions constitute the power up state: 1. All talkers and listeners are disabled. 2. No interrupt status bits are set.

ISee section on 8291A compatibility.

Auxiliary Mode Register · 4-Blt Code Description

Page 409 of the Intel mcs-48 user manual — AUXILIARY REGISTER A
Page 409 · click to enlarge
Page 409
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 409)
Fig. 408 · The Single Component . 2" MCS-4S™ S~stem

INTERNAL COUNTER

A2 - End on EOS Received: Whenever the byte in the Data In Register matches the byte in the EOS Register, the End interrupt bit will be set inthe Interrupt Status 1 Register.

The Internal counter determines the delay time allowed for the settling of data on the DIO lines. This delay time is defined as T1 In IEEE 488 and appears in the Source Handshake state diagram between SDYS and STRS. As such, DAV is asserted T1 after the DIO lines are driven. Consequently, T1 is a major factor In determining the data transfer rate of the 8291 over the GPIB (T1 = TWRDV2-TWRD15).

A3 - Output EOI on EOS ~ent: Any occurrence of data in the Data Out Register matching the EOS Register causes the EOI line to be sent true along with the data.

A4 - EOS 8inary Compare: Setting this bit causes the EOS Register to function as a full8·bit word. When it is not set, the EOS Register is a 7·bit word Ifor ASCII characters I.

When open-collector transceivers are used for connection to the GPIB, T1 is defined by IEEE 488 to be 2!,sec. 8y writing 0010FFFF into the Auxiliary Mode Register, the counter is preset to match a fc MHz clock input, where FFFF is the binary representation of NF 11 SNFS8, NF=I FFFFI2J.· When NF = fc, a 2!,sec T1 delay will be generated before each DAV asserted.

If Ao = A, = 1, a special "continuous Acceptor Handshake cycling" mode is enabled. This mode should be used only in a controller system configuration, where both the 8291 and the 8292 are used. It provides a continuous cycling through the Acceptor Handshake state diagram, requiring no local messages from the microprocessor; the rdy local message is automatically generated when in ANRS. As such, the 8291 Acceptor Handshake serves as the controller Acceptor Handshake. Thus, the controller cycles through the Acceptor Handshake, without delaying the data transfer in progress. When the tcs local message is executed, the 8291 is taken out of the "continuous AH cycling" mode, the GPI8 hangs up in ANRS, and a 81 interrupt is generated to indicate that control may be taken. A simpler procedure may be used when a "tcs on end of block" is executed; the 8291 may stay in "continuous AH cycling". Upon the end of a block (EOI or EOS received" a holdott is generated, the GPI8 hangs up in ANRS, and control maybe taken.

2NF -- + t SYNC ' 1"NF,,8 fc

tSYNC is a synchronization error, greater than zero and smaller than the larger of T clock high and T clock low. I For a 50% duty cycle clock, tSYNC is less than half the clock cyclel.

If it is necessary that T1 be different from 2!,sec, NF may be set to a value other than fc.ln this manner, data transfer rates may be prpgrammed for a given system. In small systems, for example, where transfer rates exceeding GPIB specifications are required, one may set NF < fc and decrease T1.

When tri·state transceivers are used, IEEE 488 allows a higher transfer rate dower T11. Use of the 8291 with such transceivers is enabled by setting B2 in Auxiliary Register B.ln this case, setting NF = fc causes a T 1 delay of 2!,sec to be generated for the first byte transmitted - all subsequent bytes will have a delay of 500 nsec.

AUXILIARY REGISTER B

Auxiliary Register 8 is a "hidden" 4·bit register which is used to enable some of the features of the 8291. Whenever a 101083B28180 is written into the Auxiliary Mode Register, it is loaded with the data 83828,60. Setting the respective bits to "1" enables the following features:

T11 High Speed I !,sec = ~~ + tSYNC

Bo - Enable Undefined Command Pass Through: This feature allows any commands not recognized by the 8291 to be handled in software. If enabled, this feature will cause the 8291 to holdott the handshake when an undefined command is received. The microprocessor must then read the command from the Command Pass Through Register and send the VSCMD auxiliary command. Until the VSCMD command is sent, the handshake holdoff will be in effect.

Thus, setting N'F = 1 using a8 MHz clock will generate for a 50% duty cycle clock (tSYNc

T1(HS) = 2~8 + 0.063 = 125 nsec max.

AUXILIARY REGISTER A

B1 - Send EOI in SPAS: This bit enables EOI to be sent with the status byte; EOI is sent true in Serial Poll Active State. Otherwise, EOI is sent false in SPAS.

Auxiliary Register A is a "hidden" 5-bit register which is used to enable some of the 8291 features. Whenever a 100 A4A3A2A 1 Ao byte is written into the Auxil iary Register, it Is loaded with the data A4A3A2A1Ao. Setting the respective bits to "1" enables the following features:

82 - Enable High Speed Data Transfer: This feature may be enabled when tri-state external transceivers are used. The data transfer rate is limited by T1 (delay time generated in the Source Handshake function', which is defined according to the type of transceivers used. When the "High Speed" feature is enabled, T 1 = 2 microseconds is generated for the first byte transmitter! after each true to false transition of ATN. For all subsequent bytes, T1 = 500 nanoseconds. Refer to the I nternal Counter section for an explanation of T 1 duration as a function of B2 and of clock frequency.

Ao - RFD/DAV Holdoff on all Data: Ifthe8291 is listening, RFD will not be sent true until the "finish handshake" auxiliary command is issued by the microprocessor. If the 8291 is talking, DAV is not sent true until the "finish handshake" command is given. In both cases, the holdoff will be in effect for each data byte.

A1 - RFD/DAV Holdoff on End: This feature enables the holdott on EOI or EOS (if enabled). However, no holdoft will be in effect on any other data bytes.

Page 410 of the Intel mcs-48 user manual — PARALLEL POLL PROTOCOL
Page 410 · click to enlarge
Page 410
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 410)
Fig. 409 · The Single Component . 2" MCS-4S™ S~stem

B3 - Enable Active Low Interrupt: Setting this bit causes the polarity of the I NT pin to be reversed, providing an output signal compatible with Intel's MCS-48'". Interrupt registers are not affected by this bit.

End of Sequence (EaS) Register

I EC7 I EC6 I EC5 I EC4 I EC3 I EC2 ECl ECO I

EOS REGISTER

The EOS Register and its features offer an alternative to the "Send EOI" auxiliary command. A seven or eight bit

PARALLEL POLL PROTOCOL

Writing a 011USP3P2P, into the Auxiliary Mode Register will enable (U = 0) or disable (U = 1) the 8291 for a parallel poll. When U = 0, this command is the "Ipe" (local poll enable) local message as defined in IEEE 488. The "S" bit is the sense in which the 8291 is enabled; only if the Parallel Poll Flag ("ist" local message) matches this bit will the Parallel Poll Response, PPRN, be sent true (Response = S~ ist). The bits P3P2P, specify which of the eight data lines PPRN will be sent over. Thus, once the 8291 has been configured for Parallel Poll, whenever it senses both EOI and ATN true, it will automatically compare its PP flag with the sense bit and send PPRN true or false according to the comparison.

byte (ASCII or binary) may be placed in the register to flag the end of a block or read. The type of EOS byte to be used is selected in Auxiliary Register bit A4.

If the 8291 is a listener, and the "End on EOS Received" is

enabled at bit A2, then an End interrupt is generated in the Interrupt Status 1 Register whenever the byte in the Data- In Register matches the byte in the EOS Register.

If the 8291 is a talker, and the "Output EOI on EOS Sent" is enabled at bit A3, then the EOI line is sent true with the next data byte whenever the contents of the Data Out Register match the EOS register.

If a PP2' implementation is desired, the "Ipe" and "ist" local messages are all that are needed. Typically, the user will configure the 8291 for Parallel Poll immediately after

The 8291 is reset to an initialization state either by a pulse applied to its Reset pin, or by a reset auxiliary command (02H written into the Auxiliary Command Register). The following conditions are caused by a reset pulse (or local reset command):

initialization. During normal operation the micro- processor will set or clear the Parallel Poll Flag (ist) according to the device's need for service. Consequently the 8291 will be set up to give the proper response to I DY

1. A "pon" local message as defined by IEEE 488 is held true until the initialization state is released.

(EOI • ATN) without directly involving tne micropro- cessor.

2_ The Interrupt Status Registers are cleared (not Interrupt Enable Registers). 3. Auxiliary Registers A and B are cleared. 4. The Serial Poll Mode Register is cleared. 5. The Parallel Poll Flag is cleared. 6. The EOI bit in the Address Status Register is cleared. 7. NF in the Internal Counter is set to 8 MHz. This set- ting causes the longest possible t, delay to be generated in the Source Handshake (16 I'sec for 1 MHz clock). 8. The rdy local message is sent.

If a PP1' implementation is desired, the undefined command features of the 8291 must be used. In PP1, the 8291 is indirectly configured for Parallel Poll by the active controller on the GPIB. The sequence at the 8291 being enabled or disabled remotely is as follows:

1. The PPC message is received and is loaded into the Command Pass Through Register as an undefined command. A CPT interrupt is sent to the microprocessor, the handshake is automatically held off.
2. The microprocessor reads the CPT Register and sends VSCMD to the 8291, releaSing the handshake.

The initialization state is released by an "immediate ex- ecute pon" command (OOH written into the Auxiliary Command Register).

3. Having received an undefined primary command, the 8291 is set up to receive an undefined secondary command (the PPE or PPD message). This message is also received into the CPT Register, the handshake is held off, and the CPT interrupt is generated.

The suggested initialization sequence is:

1. Apply a reset pulse or send the reset auxiliary command. 2. Set the desired initial conditions by writing into the In- terrupt Enable, Serial Poll Mode, Address Mode, Address 0/1, and EOS Registers. Auxiliary Registers A and B, and the internal counter should also be initialized. 3. Send the "immediate execute pon" auxiliary command to release the initialization state. 4. If a PP2 Parallel Poll implementation is to be used the "Ipe" local message may be sent, enabling the 8291 for a Parallel Poll Response on an assigned line. (Refer to the section on Parallel Poll Protocol.)

4. The microprocessor reads the PPE or PPD message and writes the command into the Auxiliary Mode Register (bit 7 should be cleared first). Finally, the microprocessor sends VSCMD and the handshake is released.

'As defined in IEEE Standard 488.

Reset Procedure · 9·95

Page 411 of the Intel mcs-48 user manual — System Configuration
Page 411 · click to enlarge
Page 411
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 411)
Fig. 410 · The Single Component . 2" MCS-4S™ S~stem

Using DMA

8291 to 8291A Software Compatibility

The 8291 may be connected to the Intel 8237 or 8257 DMA Controllers for DMA operation. The DREO pin of the 8291 requests a DMA byte transfer from the 8237. It Is set by BO or BI flip flops, enabled by the DMAO and DMAI bits In the Interrupt Enable 2 Register. (After read· ing, the INT1 register BO and BI interrupts will be cleared but not BO and BI In DREO equation.)

Intel will be improving the 8291 by manufacturing an 8291A. To maintain software compatibility between the 8291 and the 8291A, the following precautions should be taken In the 8291 software:

1. BO interrupt indicates that the 8291 is ready to talk and needs a byte to output via the source handshake. The software should ensure that BO is true before writing a byte to the Data Out Register (even for the first byte after being addressed to talk).

The DACK pin Is driven by the 8237 in response to the DMA request. When DACK is true (active low) it sets CS = RSO= RS1 = RS2=0 such that the m; and WR signals sent by the 8237 refer to the Data In and Data Out Regis· ters. Also, the DMA request line is reset by DACK.

2. SPASC interrupt should not be used during a Serial Poll sequence to determine when the Status Byte has been issued after a Service Request.

DMA input sequence:

1. A data byte is accepted from the GPIB by the 8291. 2. A BI interrupt is generated and DREO is set. 3. DACK is asserted by the 8237 and DREO is reset. 4. RD is driven bv the 8237 and the contents of the Data In Register are transferred to MCS™ bus. 5. The 8291 sends RFD true on the GPIB and proceeds with the Acceptor Handshake protocol.

Before setting rsv, SPAS in.register 2 should be zero. After setting rsv, the processor should poll the SROS bit in register 3, and when it is clear the Status Byte has been Issued. The processor should then write an rsv local message clearing rsv.

The definition of the SPASC interrupt will change in the 8291 A. SPASC (Serial Poll Active State Change) in the 8291 is set by a transition into or out of SPAS. SPASC (Serial Poll Active State Complete) in the 8291A will be set only by the actual transfer of a Status Byte (APRSxSTRSxSPAS).

DMA output sequence:

1. A BO interrupt is generated (indicating that th.e Data Out Register is empty) and DREO is asserted. 2. DACK Is asserted by the 8237 and DREO is reset. 3. ii'm Is driven by the 8237 and a byte Is transferred from the MCS bus Into the Data Out Register. 4. The 8291 sends DAV true on the GPIB and proceeds with the Source Handshake protocol.
3. The 8291 rtl local message is set by the rtl Auxiliary Command and is cleared automatically by the 8291. The 8291A will have a Set rtl Auxiliary Command (1101) and a Clear rtl Auxiliary Command (0101). Thus, the 8291 programmer should write a Set rtl Auxiliary Command followed by a Clear rtl Auxiliary Command which will have the effect of writing two consecutive rtl commands.

It should be noted that each time the device is addressed, the Address Status Register should be read, and the 8237 should be initialized accordingly. (Refer to the 8237 or 8257 Data Sheets.)

System Configuration

4. User's software can distinguish between the 8291 and the 8291A as follows: a) pon (OOH to register 5) b) RESET (02H to register 5) c) Read Interrupt Status Register 1. If BO interrupt is

The 8291 is 8080, 8048, 8085, 8088, and 8086 compatible. The three address pins (RSo. RS1, RS2) should be connected to the non-mUltiplexed address bus (for example: As. Ag, A10). In case of 8080, any address lines may be used.

set, the device is the 8291. If BO is clear, It is the 8291A.

This can be used to set a.11ag in the user's software which will permit special routines to be executed for each device. It could be Included as part of a normal initialization procedure as the first step after a chip reset.

The 8293 GPIB Transceiver interfaces the 8291 directly to the IEEE·488 bus. The 8291 and two 8293's can be con· figured as a talker/listener (see Figure 2) or as with the 8292 as a talker/listener/controller (see Figure 3). Ab· solutely no active or passive external components are re- quired to comply with the complete IEEE·488 electrical specification.

The 8291A will be a significant improvement over the 8291. Users should plan to convert to this product when It is available.

Microprocessor Bus Connection · External Transceivers Connection

Page 412 of the Intel mcs-48 user manual — tRDF Data Float After ~ 0
Page 412 · click to enlarge
Page 412
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 412)
Fig. 411 · The Single Component . 2" MCS-4S™ S~stem

DEVICE ELECTRICAL CHARACTERISTICS D.C. CHARACTERISTICS

TA = O°C to 70°C; Vee = 5V ± 10%

Symbol Parameter Min.

Max. Unit Test Conditione

VIL Input Low Voltage -0,5

0,8 V

VIH Input High Voltage 2

VOL Output Low Voltage

0.45 V IOL=2mA (4mA for TR1 pin)

VOH Output High Voltage 2.4

V IOH = -400f.lA 1-150f.lA for SRQ pin I

VOH-INT Interrupt Output High Voltage 2.4

V IOH=-4OOf.lA

V IOH=-5Of.lA

IlL I nput Leakage

10 f.lA VIN=OV to Vee

ILOL Output Leakage Current

-10 f.lA VOUT=0.45V

ILOH Output Leakage Current

10 f.lA Vour=Vee

lee Vee Supply Current

A.C. CHARACTERISTICS

Vee = 5V ± 10%, Commercial: TA = O°C to 70°C

Symbol Parameter Min.

Max. Unit

tAR Address Stable Before READ 0

tRA Address Hold After R8\5 0

tRR READ width 140

tAD Address Stable to Data Valid

tRD READ to Data Valid

100 nse(;1 21

tRDF Data Float After ~ 0

tAW Address Stable Before WRITE 0

tWA Address Hold After WRITE 0

tww WRITE Width 170

tDW Data Set Up Time to the Trailing Edge of WRITE 150

tWD Data Hold Time After~ 0

tAKRQ DACKI to DREQI

tDKDA6 ~I to Up Data Valid

Show 14 more labels / short text on this page
Vee+0,5 V · 3,5 · 180 mA TA=O°C · nsecl 11 · nsec l11 · nsec l21 · 250 nsec l11 · 60121 nsec · nsecl 11 · nsec l11 · nsec l1 1 · nsecl 11 · 130 nsec · 200 nsec
Page 413 of the Intel mcs-48 user manual — DACK \
Page 413 · click to enlarge
Page 413
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 413)
Fig. 412 · The Single Component . 2" MCS-4S™ S~stem

TIMING WAVEFORMS

~

K I' lAD

IRR !-IRA-

~ " I--IARI-IRO- -0 I---IROF

1iEAD:

DATA BUS (DATA OUT)

./ )( VALID DATA "- "- lot'

- J

J(

IWW [twA~ .

I--I ow --

]two~ I--IAW-+

DATA MAY CHANGE ). VALID DATA K

DATA BUS (DATA IN)

DATA MAY CHANGE

DREQ / ~ -""""1 " ..

DACK \

~/RSj · CS/RSj · ~

Page 414 of the Intel mcs-48 user manual — TWRDV2 WRt to i5'A\7~ 830 + tSYNC nsec High Speed Transfers Enabled,
Page 414 · click to enlarge
Page 414
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 414)
Fig. 413 · The Single Component . 2" MCS-4S™ S~stem

GPIB TIMINGSI'I

Symbol Parameter Max. Unit Test Conditions

TEOT13 ~I to TRll 135 nsec PPSS, ATN=0.45V

TEODI6 EOII to 010 Valid 155 nsec PPSS, ATN=0.45V

TEOT12 EOI! to TR11 155 nsec PPSS, ATN=0.45V

TATND4 ATNI to NDACI 155 nsec TACS, AIDS

TATT14 ATNI to TRll 155 nsec TACS, AIDS

TATT24 A"'i'N1 to TR21 155 nsec TACS, AIDS

TDVND3-C DAVI to NDACI 650 nsec AH,CACS

TNDDV1 NDACI to DAVI 350 nsec SH, STRS

TNRDV2 NRFDI to DAVI 350 nsec SH, T1 True

TNDDR1 NDACI to DREQI 400 nsec SH

TDVDR3 DAVI to DREQI 600 nsec AH, LACS, ATN=2.4V

TDVND2-C DAVI to NDACI 350 nsec AH,LACS

TDVNR1-C DAVlto~1 350 nsec AH, LACS, rdy=True

TRDNR3 RD~ to NRFDt 500 nsec AH, LACS

TWRDI5 \iV'Fi to DIO Valid 250 nsec SH, TACS, RS=0.4V

TWRDV2 WRt to i5'A\7~ 830 + tSYNC nsec High Speed Transfers Enabled,

NF = fc, tSYNC = 1/Nc

Page 415 of the Intel mcs-48 user manual — F3 + T3'· ATN
Page 415 · click to enlarge
Page 415
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 415)
Fig. 414 · The Single Component . 2" MCS-4S™ S~stem

Appendix A

MODIFIED STATE DIAGRAMS

ically true at

Figure A.1 presents the interface function state diagrams. It is derived from IEEE Std. state diagrams, with the following changes:

O. All remote multiline messages decoded are condi· tioned by ACOS. The multiplication by ACOS is not drawn to simplify the diagrams.

E. The symbol x--8

A. The 8291 supports the complete set of IEEE-488 interface functions except for the controller. These include: SH1, AH1, T5, TE5, L3, LE3, SR1, RL 1, PP1, OC1, OT1, and co.

indicates:

B. Addressing modes included in T,L state diagrams.

1. When event X occurs, the function will return to state S. 2. X overrides any other transition condition in the function.

C. In these modified state diagrams, the IEEE-488 con· vention of low true logic is followed. Thus, OAV is log·

Statement 2 simplifies the diagram, avoiding the explicit use of X to condition all transitions from S to other states.

r l I I I SH I I I L J

ATN+ i=1 (WITHIN t2)

DAV

F1 '" TACS + SPAS

r , I I I AH I I I L ___ _ J

*THIS TRANSITION WILL NEVER OCCUR UNDER NORMAL OPERATION.

tTOELAY IS ABOUT 300 NS

FOR DEBOUNCING DAV.

F3 + T3'· ATN

. DAV

T3' '" T3 • CPT· APT

BI

NRFD

Figure A.1. 8291 State Diagrams (Continued next page)

pon · pon l~ · F3~ATN+rdy

Page 416 of the Intel mcs-48 user manual — Figure A.1. 8291 State Diagrams (Continued next page)
Page 416 · click to enlarge
Page 416
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 416)
Fig. 415 · The Single Component . 2" MCS-4S™ S~stem

r , I I I TE ! I I L _ ___ J

pon .j

STB AND ROS AVAILABLE TOSH

F4 == OTA + (OSA' TPAS + MSA· LPAS)'

MODE 1 + MLA' MODE 1

EOI IF DAB = EOS OR EDI IS TRUE.

r - ~-, I I I SA Q I I I L J

ROS IN STB

r----' I I I LEI I I L ____ J

r----l I I I R L I I I L ____ J

F5 = (MLA· MODE 1 + LPAS • MSA· MODE 11

Figure A.1. 8291 State Diagrams (Continued next page)

Show 7 more labels / short text on this page
IFC (WITHIN t4) · iffiS IN STB · pon-------t · pon---~ · IFC (WITHIN t41 · pon-------t · pon-------t
Page 417 of the Intel mcs-48 user manual — T3 AH Interface Message Accept Time t
Page 417 · click to enlarge
Page 417
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 417)
Fig. 416 · The Single Component . 2" MCS-4S™ S~stem

r ' I I I DC I I I L J

r , I I I PP2 I I I L J

F6'" DCl + SOC • LADS

r ' I I I DT I I I L J

"'IDY = ATN . EOI

F!gure A,1, 8291 State D!agrams

Appendix B

IEEE 488 TIME VALUES

Identifier' Function (Applies to) Description

T1 SH Settling Time for Multiline Messages

t2 LC,iC,SH,AH,T,L Response to ATN

::; 200ns

T3 AH Interface Message Accept Time t

t4 T,TE,L,LE,C,CE Response to IFC or REN False

t5 PP Response to ATN+EOI

::; 200ns

T6 C Parallel Poll Execution Time

T7 C Controller Delay to Allow Current Talker to see ATN Message

T8 C Length of IFC or REN False

T9 C Delay for EOI"

  • Time values specified by a lower case t indicate the maximum time allowed to make a state transition. Time values specified by an upper case T indicate the minimum time that a function must remain in a state before exiting.

If three-state drivers are used on the 010, DAV, and EOI lines, T1 may be: 1. 2: 1100ns 2. Or 2: 700ns if it is known that within the controller ATN is driven by a three-state driver. 3. Or 2: 500ns for 'all subsequent bytes following the first sent after each false transition of ATN (the first byte must be sent in accordance with, (1) or (2). 4. Or 2: 350ns for all subsequent bytes following the first sent 'after each false transition of ATN under conditions specified in Section 5.2.3 and warning note. See IEEE Standard 488. t Time required for interface functions to accept, not necessarily respond to interface messages.

{j Implementation independent.

  • Delay required for EOI, NDAC, and NRFD signal lines to indic,ate valid slates. tt 2: 600ns for three-state drivers.
Show 7 more labels / short text on this page
pon--_--I · lOY· {WITHINtsJ · Time Value · Value · > 06 · < 1001's · > 1001's
Page 418 of the Intel mcs-48 user manual — THE THREE WIRE HANDSHAKE
Page 418 · click to enlarge
Page 418
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 418)
Fig. 417 · The Single Component . 2" MCS-4S™ S~stem

Appendix C

THE THREE WIRE HANDSHAKE

-TWRD'5, I

VALID I

NOT VALID I

VALID nL TDVNR1 I---- T, f4-- TNDDV,- --

-TWRDV2-

J '--- -TRDNR3- - -TNRDV2--"

'I

DREOISH)

--TDVDR3

DREOIAH) \

"-.J' '0

Figure C-l. 3-Wire Handshake Timing at 8291.

} · -TDVND3- i--TDVND2 · I---TNDDR'l

Page 419 of the Intel mcs-48 user manual — SOURCE
Page 419 · click to enlarge
Page 419
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 419)
Fig. 418 · The Single Component . 2" MCS-4S™ S~stem

SOURCE

ACCEPTOR

YES

YES

OATA IS VALID AND MAY

NOW BE ACCEPTED

NDAC SIGNAL LINE STAYS LOW UNTIL

ALL ACCEPTORS HAVE ACCEPTED IT

DATA IS NOT TO BE CONSIDERED

VALID AFTER THIS TIME

NO

FLOW DIAGRAM OUTLINES SEaUENCE OF EVENTS DURING TRANSFER OF DATA BYTE. MORE THAN ONE LISTENER AT A TIME CAN ACCEPT DATA BECAUSE OF LOGICAL AND CONNECTION OF NRFD AND NDAC LINES.

Figure C.2. Handshake Flowchart.

Page 420 of the Intel mcs-48 user manual — OR TE I
Page 420 · click to enlarge
Page 420
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 420)
Fig. 419 · The Single Component . 2" MCS-4S™ S~stem

Appendix D

FUNCTIONAL PARTITIONS

A

1 I ~I

DEVICE (APPARATUS)

INTERFACE FUNCTIONS

C (8292 ONLY) \ -- - --

:::(6): =~ LL C /E ~~C

DT \.

DC

PP \

\ RL \ ~

DRIVERS ~ AND ¢0)::::

RECEIVERS ~INTERFACE ------- ------- K~~S

DEVICE FUNCTIONS

MESSAGE

CODING SR / / /

3 -- --

L I OR LE I T /

:~ 3 ~ ~ IT

OR TE I

i AH

L__ ---,- ___ -IIIL______ --, _______ --11 ,--I _--,--_-'

MCS'· SYSTEM

A - CAPABILITY DEFINED BY THE 488-1978 STANDARD. B - CAPABILITY DEFINED BY THE DESIGNER. 1 - INTERFACE BUS SIGNAL LINES. 2 - REMOTE INTERFACE MESSAGES TO AND FROM INTERFACE FUNCTIONS. 3 - DEVICE DEPENDENT MESSAGES TO AND FROM DEVICE FUNCTIONS. 4 - STATE LINKAGES BETWEEN INTERFACE FUNCTIONS. 5 - LOCAL MESSAGES BETWEEN DEVICE FUNCTIONS AND INTERFACE FUNCTIONS (MESSAGES TO INTERFACE FUNCTIONS ARE DEFINED, MESSAGES FROM INTERFACE fUNCTIONS EXIST ACCORDING TO THE DESIGNER'S CHOICE). 6 - CONTROL MESSAGES (8292 ONLY).

Figure 0.1. Functional Partition Within a Device.

Show 9 more labels / short text on this page
\ · \ · \ · \ · \ -----y · \ · \ · SH i · 8291 8293
Page 421 of the Intel mcs-48 user manual — AO TCI
Page 421 · click to enlarge
Page 421
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 421)
Fig. 420 · The Single Component . 2" MCS-4S™ S~stem

8292 GPIB CONTROLLER

  • Complete IEEE Standard 488 Controller Function
  • Complete Implementation of Transfer Control Protocol
  • Interface Clear (IFC) Sending Capability Allows Seizure of Bus Control and/or Initialization of the Bus
  • Synchronous Control Seizure Prevents the Destruction of Any Data Transmission in Progress
  • Responds to Service Requests (SRQ)
  • Sends Remote Enable (REN), Allowing Instruments to Switch to Remote Control
  • Connects with the 8291 to Form a Complete IEEE Standard 488 Interface Talker/Listener/Controller

The 8292 GPIB Controller is a microprocessor-controlled chip designed to function with the 8291 GPIB Talker/Listener to implement the full IEEE Standard 488 controller function, including transfer control protocol. The 8292 is a pre- programmed Intel® 8041A.

PIN CONFIGURATION

8291,8292 SYSTEM DIAGRAM : __ IT_, ~.~"'''=. "'no 00'

X1 COUNT

X2 REN

I DACK I DMA DREQ I CONTROLLER I I (OPTIONAL) I L I

RESET DAV

8291 GPIB TALKER! LISTENER

8292 GPIB CONTROLLER

VCC IBFI Cs OBFI

GND EOI Rli SPI

AO TCI

WR CIC

SYNC NC

DO ATNO

D1 NC

D2 CLTH

D3 VCC

D4 NC

DS SYC

D6 IFC

VSS SRQ

GENERAL PURPOSE INTERFACE BUS

Show 4 more labels / short text on this page
IFCL vcc · TiRl! · T!Ri · D7 /lTNI
Page 422 of the Intel mcs-48 user manual — 9-107 00741C
Page 422 · click to enlarge
Page 422
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 422)
Fig. 421 · The Single Component . 2" MCS-4S™ S~stem

PIN DESCRIPTION

Symbol I/O Pin No. Function Symbol 1/0 Pin No_ Function

IFCL I 1 IFC Received (latched) - The 8292 Vee P.S. 5,26,40 +5V supply input. ± 10%. monitors the IFC Line (when not system controller) throOgh this pin.

COUNT I 39 Count Input - When enabled by the proper command the internal counter will count external events X1, X2 I 2, 3 Inputs for a crystal, LC or an exter· through this pin. High to low tran- nal timing signal to determine the sition will increment the internal internal oscillator frequency. counter by one. The pin is sampled

once per three internal instruction cycles (7.5I'sec sample period when using 6 MHz XTAL). It can be used for byte counting when con' nected to NDAC, or for block counting when connected to the RD I 8 I/O write input which allows the EOL master CPU to read from the 8292. REN 0 38 The Remote Enable bus signal Ao I 9 Address Line - Used to select be- selects remote. or local control of tween the data bus and the status the device on the bus. A GPIB bus register during read operations management line, as defined by and to distinguish between data IEEE Std. 488-1978. and commands written into the DAV I/O 37 DAV Handshake Line - Used dur- 8292 during write operations. ing parallel poll to force the 8291 WR I 10 I/O read input which allows the to accept the parallel poll status master CPU to write to the 8292. bits. It is also used during the tcs

RESET I 4 Used to initialize the chip to a known state during power on.

CS I 6 Chip Select Input - Used to select the 8292 from other devices on the common data bus.

SYNC 0 11 8041 A instruction cycle synchro- ... procedure .

nization signal; it is an output IBFI 0 36 Input Buffer Not Full - Used to clock with a frequency of interrupt the central processor XTAL ... 15. while the input buffer of the 8292

Do-D7 I/O 12-19 8 bidirectional lines used for com- munication between the central processor and the 8292's data bus

is empty. This feature is enabled and disabled by the interrupt mask register.

buffers and status register. OBFI 0 35 Output Buffer Full - Used as an

Vss P.S. 7, 20 Circuit ground potential.

interrupt to the central processor while the output buffer of the 8292 is full. The feature can be enabled IEEE control lines. Sampled by the 8292 when it is controller in charge. If true, SPI interrupt to the master will be generated.

SRO I 21 Service Request - One of the

and disabled by the interrupt mask register.

EOl2 I/O 34 End Or Identify - One of the GPIB management lines, as defined by IEEE Std. 488-1978. Used with ATN monitor the GPIB ATN control line. It is used during the transfer control procedure.

ATNI I 22 Attention In - Used by the 8292 to

as Identify Message during paral- lel poll.

SPI 0 33 Special Interrupt - Used as an interrupt on events not initiated by the central processor. IEEE Std. 488-1978, places all de- vices in a known quiescent state.

IFC I/O 23 Interface Clear - One of the GPIB management lines, as defined by

TCI 0 32 Task Complete Interrupt - Inter- rupt to the control processor used to indicate that the task requested system controller switch. was completed by the 8292 and CLTH 0 27 CLEAR LATCH Output - Used to the information requested is ready clear the I FCR latch after being in the data bus buffer. recognized by the 8292. Usually low (except after hardware Reset),

SYC I 24 System Controller - Monitors the

CIC 0 31 Controller In Charge - Controls the SIR input of the SRO bus it will be pulsed high when IFCR is transceiver. It can also be used to recognized by the 8292. indicate that the 8292 is in charge Ai1W 0 29 Attention Out - Controls the ATN of the GPIB bus. control line of the bus through ex- ternal logic for tcs and tca pro- cedures. (ATN is a GPIB control line, as defined by IEEE Std. 488-1978.)

9-107 00741C

Page 423 of the Intel mcs-48 user manual — PIN CONFIGURATION
Page 423 · click to enlarge
Page 423
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 423)
Fig. 422 · The Single Component . 2" MCS-4S™ S~stem

8293 GPIB TRANSCEIVER

.- Nine Open-coUector or Three-state

  • On-chip Decoder .for Mode Configuration

Line Drivers

  • 48 mA Sink Current Capability on Each Line Driver
  • Power Up/Power Down Protection to Prevent Disrupting the IEEE Bus
  • Nine Schmitt-type Line R~ceivers
  • Connects with the 8291 and 8292 to Form an IEEE Standard 488 Interface Talker/Listener/Controller with no Additiona! Components
  • High Capacitance Load Drive Capability
  • Single 5V Power Supply
  • Only Two 8293'sRequired per GPIB Interface
  • 28-Pin Package
  • Low Power HMOS Design
  • On-Chip IEEE-488 Bus Terminations

The Intel'" 8293 GPIB Transceiver is a high current, non-inverting buffer chip designed to interface the. 8291 GPIB Talker/Listener or the 6292 GPIB Controller with the 8291 to the I.EEE Standard 488-1978 Instrumentation Interface Bus. Each GPIB interface would contain two 8293 Bus Transceivers. In addition, the 8293 can also be used as a general purpose bus driver.

PIN CONFIGURATION

8291,8292,8293 SYSTEM DIAGRAM

8292 GPIB CONTROLLER

EOI 3 I,m

GENERAL PURPOSE INTERFACE BUS

Tllll · DATAl · TIRl

Page 424 of the Intel mcs-48 user manual — 8293 ~[Q)W~OO©I§ OOOIF@rrulMl~lf'O@OO
Page 424 · click to enlarge
Page 424
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 424)
Fig. 423 · The Single Component . 2" MCS-4S™ S~stem

8293 ~[Q)W~OO©I§ OOOIF@rrulMl~lf'O@OO

PIN DESCRIPTION Symbo. 110 Pin No; Function

Symbol 110 Pin No. Function EOI I/O 3 End or Identify; this pin indio

BUS1- I/O 12,13, These are the IEEE-488 bus cates the end of a multiple

BUS9 1S·19, interface driver/rece!vers. byte .transfer or, In conjunc·

21,22 Using the mode select pins, tion with ATN, addresses the

they can be configured .dlffer· device during a polling se·

ently to allow direct connec· quence. It connects to the

tions between the 8291 GPIB 8291 and is switched between

Talker/Listener and the 8292 transmit and receive by T/R2.

GPIB Controller. . This pin is TTL compatible.

OATA1- I/O 5·11, These are the pins to be con· ATN 0 4 Attention; this pin is used by

OATA10 23-2S nected to the 8291 and 8292 to the 8291 to monitor the GPIB'

interface with the GPIB bus. ATN control line. It specifies

Their use is programmed by how data on the 010 lines is to

the two mode select pins, be interpreted. This output is

OPTA and OPTB. All these TTL compatible.

pins are TTL compatible. o PTA 27 These two pins are to control

T/R1 Transmit receive 1; this pin OPTB I 26 the function of the 8293. A

controls the direction for truth table of how this pro-

NOAC, NAFO, OAV, and 0101- grams the various modes is in

0108. Input is TTL compatible. Table 1.

T/R2 2 Transmit receive 2; this pin Vee P.S. 28 Positive power supply (SV

controls the direction for EOL ± 10%).

Input is TTL compatible. GNO P.S. 14,20 Circuit ground potential.

Table 1. 8293 Mode Selection Pin Mapping

Pin Name Pin No. Mode 0 Mode 1 Mode 2 Mode 3

OPTA 27 0 1 0 1 OPTB 26 0 0 1 1

OATA1 S IFC 0108 n=c 0108 BUS1 12 IFC' 0108' IFC' OIOS' OATA2 6 AEN 0107 AEN 0107 BUS2 13 AEN' 0107' AEN' 0107' OATA3 7 NC 0106 EOl2 0106 BUS3 1S EOI' 0106' EOI' 0106' OATA4 8 SAO OIOS SAO 0105 BUS4 16 SAO' OIOS' SAO' OIOS' OATAS 9 NAFO 0104 NAFO 0104 BUSS 17 NAFO' 0104' NAFO' 0104' OATA6 10 ~ ~ NOAC 0103 BUS6 18 NOAC' 0103' NOAC' 0103' OATA7 11 T/R101 NC ATNI ATNO OATA8 23 T/R102 0102 ATNO 0102 BUS7 19 ATN' 0102' ATN' 0102' OATA9 24 G101 OAV CIC OAV BUS8 . 21 G101' OAV' CLTH OAV' OATA10 2S GI02 0101 IFCL 0101 BUS9 22 G102' 0101' SYC 0101'

T/R1 1 T/R1 T/R1 TfR1 TlFh T/R2 2 T/R2 NC T/R2 IFCL EOI 3 EOI EOI mr EOI ATN 4 ATN Aiiil Am' ATN

'Note: These pins are the IEEE-488 bus non·lnvertlng driver/receivers. They Include all the bus terminations required by the Standard and may be

connected directly to the GPIB bus connector.

IEEE Implementation Name

Page 425 of the Intel mcs-48 user manual — GPIB
Page 425 · click to enlarge
Page 425
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 425)
Fig. 424 · The Single Component . 2" MCS-4S™ S~stem

~[Q)\Yl~OO©[§ 000 [F©~ ~~'iJ'O©OO

GENERAL DESCRIPTION

MODEO

The 8293 is a bidirectional transceiver. It was designed to interface the Intel 8291 GPIB Talker/Listener and the Intel® 8292 GPIB Controller to the IEEE Standard 488-1978. Instrumentation Bus (also referred to as the GPIBBus). The Intel GPIB Bus Transceiver meets or ex- ceeds all of the electrical specifications defined in the IEEE Standard 488-1978, Seytion 3.3-3.5, including the required bus termination specifications.

OPTA

OPTB THREE

GIO, STATE ONLY GIO,·

G.IO, STATE ONLY GI02*

iFc INPUT ONLY IFC'

The 8293 can be hardware programmed to one of four modes of operation. These modes allow the 8293 to be configured to support both a Talker/Listener/Controller environment and Talker/Listener environment. In addi- tion, the 8293 can be used as a general purpose three- state (push-pull) or open-collector bus transceiver with nine receiver/drivers. Two modes are used to support a Talker/Listener environment (s.ee Figure 1), and to sup- port a Talker/Listener/Controller environment (see Figure 2). Mo.de 1 is the general purpose mode.

REN INPUT ONLY REN'

ATN INPUT ONLY ATN'

OPEN COL

SRO OUTPUT ONLY SRO'

THREE WI STATE ONLY EOI'

T/~2

GPIB

NDAC

TIC 1 = THREE STATE ---.I = +5V 0= OPEN COLLECTOR

TO PROCESSOR

BUS 14 8291 18

SIR 1 = SEND TO GPIB -& =OV 0= RECEIVE FROM GPIB , = IEEE·488 BUS NON·INVERTING DRIVERIRECEIVER

Figure 3. Talker/Listener Control Configuration

MODE 0 PIN DESCRIPTION

Symbol 1/0 Pin No_

Transmit receive 1; direction control for NDAC and NRFD. If TfRl is high, then NDAC* and

GPIB

Figure 1. Talker/Listener Configuration

NRFD* are receiving. Input is TTL compatible.

GPIB

I/O 10

Not Data Accepted; processor GPIB bus handshake control line; used to indicate the con- dition of acceptance of data by device(s). It is TTL compati- ble.

TO PROCESSOR

BUS

NDAC* I/O 18

Not Data Accepted; IEEE GPIB bus handshake control line. When an input, it is a TTL compatible Schmitt~trigger. When an output, ilisan open- collector driver with 48 mA sinking capability.

TO PROCESSOR

BUS

I/O 9

Not Ready For Data; proc- essor GPIB handshake control line; used to indicate the con- dition of readiness of de- vice(s) to accept data. This pin

GPIB

Figure 2. Talker/Listener/Controller Configuration

is TTL compatible.

Show 6 more labels / short text on this page
TfRIOl THREE · TlRIO, · N"RFi5 · T/Rl · Function · T/Rl
Page 426 of the Intel mcs-48 user manual — ATN"
Page 426 · click to enlarge
Page 426
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 426)
Fig. 425 · The Single Component . 2" MCS-4S™ S~stem

1/0 Pin No. Function

Symbol 1/0 Pin No. Function o 5

NRFO"

1/0 17 Not Ready For Data; IEEE GPIB bus handshake control line. When an input, it is a TTL compatible Schmitt·trigger. When an output, it is an open· collector driver with a 48 mA current sinking capability.

Interface Clear; processor GPIB bus control line; used by a controller to place the inter- face system into a known quiescent state. It is a TIL compatible output.

IFC" 12

Interface Clear; IEEE GPIB bus control line. This input is a TIL compatible Schmitt- trigger.

T/R2

2 Transmit receive 2; direction control for EOL If T/R2 is high, EOI" is sending. Input Is TIL compatible.

11 23 Transmit receive General 10; direction control for the two spare transceivers. Input is TIL compatible.

1/0 3 End or Identify; processor GPIB bus control line; is used by a talker by indicate the end of a multiple byte transfer. This pin is TIL compatible.

1/0 24 1/0 25 General 10; this is the TIL side of the two spare tran- sceivers. These pins are TTL compatible.

EOI"

1/0 15 End or Identify; IEEE GPIB bus control line; is used by a talker to indicate the end of a multi- ple byte transfer. This pin is a three-state (push-pull) driver capable of sinking 48 mA and a TIL compatible receiver with hysteresiS.

G101" G102"

1/0 21 1/0 22 General 10; these are spare three-state (push-pull) driversl Schmitt-trigger receivers. The drivers can sink 48 mAo

Service Request; processor GPIB bus control line; used by a device to indicate the need for service and to request an interruption of the current se- quence of events on the GPIB. It is a TIL compatible input

OPTA

OPT"

DAV 1-------1

o 16

SRO"

Service Request; IEEE GPIB bus control line; it is an oPen collector driver capable of sinking 48 mAo

010, / H

o 6

Remote Enable; processor GPIB bus control line; used by a controller (in conjunction with other messages) to select between two alternate sources of device program- ming data (remote ·or local control). This output is TIL compatible.

010, / H

010, /------H

I!i!l4 I------H

rno, /------H

REN"

Remote Enable; IEEE GPIB bus control line. This input is a TIL compatible Schmitt- trigger.

iiiOs I H

o 4

Dill, I H

~ 1------+-1

ATN"

Figura 4. TalkerlListener Data Configuration

Show 6 more labels / short text on this page
Symbol · T/Ffl01 T/RI02 · MODEl · T/ih · Afiij · EOi
Page 427 of the Intel mcs-48 user manual — D101' D108'
Page 427 · click to enlarge
Page 427
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 427)
Fig. 426 · The Single Component . 2" MCS-4S™ S~stem

MODE 1 PIN DESCRIPTION

MOOE2

Symbol I/O Pin No.

OPTA

OPTB

T/R1

Transmit receive 1; controls the direction for DAV and the DIO lines. If T/R1 is high, then all these lines are sending in· formation to the IEEE GPIB lines. This input is TTL com· patible.

NDAi: 1 / 1 / NOAC'

fIm'lj 1 +-1. H---/NRFO'

~I /. I_---/IFC·

SYC 1-1--+--- ...... -' iIEliiH-+----H H---/REN'

End of Sequence and Atten· tion; processor GPIB control lines. These two control signals are ANDed together to determine whether all the transceivers in the 8293 are three·state (push·pull) or open·collector. When both signals are low (true), then the controller is performing a parallel poll and the tran· sceivers are all open· collector. These inputs are TTL compatible.

SRQ 1_+ 1 I_---/SRQ·

~ ~t~=+=~====~~~dl-I ATN'

EOl2 i-+--+----t-! ~---IEOI· Jrnm 1_+- ...... '1,

E1jj I_+--==-:J-H

I/O 24

Data Valid; processor GPIB bus handshake control line; used to indicate the condition (availability and validity) of in·

c~~~ I=~~~...L")

formation on the DIO signals. It is TTL compatible.

Figure 5. Talker/Listener/Controller Control

DAV'

I/O 21

Data Valid; IEEE GPIB bus handshake control line. When an input, it is a TTL compati· ble Schmitt·trigger. When DAV' is an output, it can sink 48 mAo

MODE 2 PIN DESCRIPTION

Symbol I/O Pin No.

T/R1

Transmit receive 1; direction control for NDAC and NRFD. If T/R1 is high, then NDAC and NRFD are receiving. Input is TTL compatible.

I/O 25,23,

Data Input/Output; processor GPIB bus data lines; used to carry message and data bytes in a bit·parallel byte·serial form controlled by the three handshake signals. These lines are TTL compatible.

10,9, 8,7, 6, 5

NDAC I/O 10

Not Data Accepted; processor GPIB bus handshake control line; used to indicate the con- dition of acceptance of data by device(s). This pin is TTL compatible.

NDAC' I/O 18

Not Data Accepted; IEEE GPIB bus handshake control line. It is a TTL compatible Schmitt-trigger when used for input and an open-collector driver with a 48 mA current sink capability when used for output.

D101' D108'

I/O 22, 19, 18, 17, 16, 15, 13, 12

Data Input/Output; IEEE GPIB bus data lines. They are TTL compatible Schmitt·triggers when used for input and can sink 48 mA when used for out· put. See ATN and EOI descrip· tion for output mode.

Show 6 more labels / short text on this page
Function · T/ft1 · T/ft2 1_+----1+-' · iFCI I--~_ · Configuration · Function
Page 428 of the Intel mcs-48 user manual — I/O 7
Page 428 · click to enlarge
Page 428
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 428)
Fig. 427 · The Single Component . 2" MCS-4S™ S~stem

Symbol I/O Pin No. Function

Symbol I/O Pin No.

NRFD 1/0 9 Not Ready For Data; processor GPIB bus handshake control line; used to indicate the con· dition of readiness of device(s) to accept data. This pin is TTL compatible.

is recognized by the 8292. This input is TTL compatible.

o 25

IFC Received Latched; the 8292 monitors the IFC line when it is not the active con· troller through this pin.

NRFD' 1/0 17 Not Ready For Data; IEEE GPIB bus handshake control line. It is a TTL compatible Schmitt·trigger when used for input and an open'collector driver with a 48 mA current sink capability when used for output.

Service Request; processor GPIB control line; indicates the need for attention and reo quests the active controller to interrupt the current sequence of events on the GPIB bus. This pin is TTL compatible.

SRO' I/O 16

Service Request; IEEE GPIB bus control line. When used as an input, this pin is a TTL compatible Schmitt·trigger. When used as an output, it is an open·collector driver with a 48 mA current sinking capa· bility. Transmit receive 2; controls the direction for EOL This in· put is TTL compatible.

SYC 22 System Controller; used to monitor the system controller switch and control the direc· tion for IFC and REN. This pin is a TTL compatible input.

REN 1/0 6 Remote Enable; processor GPIB control line; used by the active controller (in conjunc· tion with other messages) to select between two alternate sources of device program· ming data (remote or local con· trol). This pin is TTL compa· tible.

T/R2 2

REN' 1/0 13 Remote Enable; IEEE GPIB bus control line. When used as an input, this is a TTL compati· ble Schmitt·trigger. When an output, it is a three·state driver with a 48 mA current sinking capability.

o 11

IFC I/O 5 Interface Clear; processor GPIB bus control line; used by the active controller to place the interface system into a known quiescent state. This pin is TTL compatible.

o 4

IFC' I/O 12 Interface Clear; IEEEGPIB bus control line. This is a TTL com· patible Schmitt·trigger when used for input and a three· state driver capable of sinking 48 mA current when used for output.

ATN' 1/0 19

CIC 24 Controller in Charge; used to control the direction of the SRO and to indicate that the 8292 is in charge of the bus. CiC is a TTL compatible input.

CLTH 21 Clear Latch; used to clear the IFC Received latch after it has been recognized by the 8292. Normally low (except after a hardware reset), it will be pulsed low when IFC Received

I/O 7

End or Identify 2; processor GPIB bus control line; used in conjunction with ATN by the active controller (the 8292) to execute a polling sequence. This pin is TTL compatible.

Function · 1/0 8

Page 429 of the Intel mcs-48 user manual — ATN
Page 429 · click to enlarge
Page 429
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 429)
Fig. 428 · The Single Component . 2" MCS-4S™ S~stem

MODE 3 PIN DESCRIPTION

Symbol I/O Pin No. Function

I/O 3

End or Identify; processor GPIB bus control line; used by a talker to indicate the end of a multiple byte transfer se· quence. This pin is TTL com· patible.

Symbol I/O Pin No. Function

T/R1 Transmit receive 1; controls the direction for DAV and the 010 lines. If T/R1 is high, then all these lines are sending information to the IEEE GPIB lines. This input is TTL com· patible.

EOI'

I/O 15

End or Identify; IEEE GPIB bus control line; used by a talker to indicate the end of a multi· pie byte transfer sequence or, by a controller in conjunction with ATN, to execute a polling sequence. Whel1 an output, this pin can sink 48 mA cur· rent. When an input, it is a TTL compatible Schmitt·trigger.

EOI 3 End of Sequence and Atten· ATN 4 tion; processor GPIB control lines. These two control lines are ANDed together to deter· mine whether all the tran· sceivers in the 8293 are push· pull or open·collector. When both signals are low (true), then the controller is perform- ing a paiallei poli and the transceivers are all open- collector. These inputs are TTL compatible.

OPTA

OPTB

Interface Clean Latched; used to make DAV received after the system controller asserts IFC. This input is TTL compatible.

T/l!1 1--i>O-+-{>O~...J

DID, 1 +-1

I/O 24

Data Valid; processor GPIB handshake control line; used to indicate the condition (availability and validity) of in- formation on the 010 signals. This pin is TTL compatible.

010,1 +-1

010, 1-----+-1

DAV'

I/O 21

Data Valid; IEEE GPIB hand- shake control line. When an input, this pin is a TTL com- patible Schmitt-trigger. When DAV' is an output, it can sink 48 mA.

010, 1 +-1

010,1-----+1

I/O 25,23,

Data Input/Output; processor GPIB bus data lines; used to carry message and data bytes in a bit-parallel byte-serial form controlled by the three handshake signals. These lines are TTL compatible.

010.1 +-1

10,9, 8,7, 6, 5

010,1 +1

I/O 22,19,

Data Input/Output; IEEE GPIB bus data lines. They are TTL compatible Schmitt-triggers when used for input and can sink 48 mA when used for out- put.

ATN

Figure 6. Talker/Listener/Controller Data

Show 5 more labels / short text on this page
MOoE3 · oAV I--Y>-4-+-I · 0101'- 0108' · 18,17, 16,15, 13,12 · Configuration
Page 430 of the Intel mcs-48 user manual — IFC IFC'
Page 430 · click to enlarge
Page 430
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 430)
Fig. 429 · The Single Component . 2" MCS-4S™ S~stem

0101 0101' Di02 0102'

~ r!!-

..!!...

17 - ..!!... ~ ~ ~ E- ~ ~

TO IEEE·488 SUS

..E !! ~ ~ -.!! !!. -.!! !!. 2- ---.! !.!! !.!. .2. --..!. 2- !.. T2

8291 r1L DO Di01

Dii56 0106' 6Im 0107' !iIl5i 0108'

01 0102 ~

D! 0104 31

DAY OAV'

1 ~

ATN OPTS

GNO

--.!.

EOI

TO MICROPROCESSOR

CS OAV 36

INTERFACE

WR ATN

INT EOI 39

3 ~

6293 EOI EOI'

..!!..

ATN ATN'

...!!!...

RESET NOAC 38

OREQ NRFO 37

TIR2

r!!- r!!... r1L r!!- r1L r!!- ~

TO IEEE·488 SUS

OACK SRQ 27

NOAC NOAC'

GPIS TRIGGER OUTPU

NRFO NRFO'

SlIQ SRQ' lIEN REN'

IFC IFC'

OPTA

GNO

OPTS

GNO

MOOEO

, = GPIS SUS TRANSCEIVER

Figure 7. 8291 and 8293 System Configuration

Show 16 more labels / short text on this page
DiOO 0103' · 0104 0104' · 0105 0105' · 02 0103 30 · 04 0105 32 · TIRl OPTA · Vee · 05 0106 33 · 06 0107 34 · 07 0'108 35 · MODEl · Rii Tlih 1 · CLOCK TiR2 2 · TIRl · TRIG lIEN 25 · iFC
Page 431 of the Intel mcs-48 user manual — - 1 IFCL X,
Page 431 · click to enlarge
Page 431
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 431)
Fig. 430 · The Single Component . 2" MCS-4S™ S~stem

TO MICROPROCESSOR

rE- ~ r2! ~ 16

DO 0101 28

~ ~ ~ r!Z- ~ ~ ~ ~

1. 0102 29

03 0104 31 04 0105 32 05 0106 33 06

TO IEEE·488 BUS

J MICROPROCESSOR

RSO 8291 0108 35

RS1 T/R1 1

RS2

OAV

DAV·

EOI 39 WR

ATN 26 RESET

EOI

ATN

OREO SRO 21

OACK 24 ~

IFC

NOAC 36 CLOCK

NRFO 37 INT

rE-v ~V

T/R2 2

,---!!..

GPIB TRIGGER

,2

ATNO

OPTA

TRIG REN ~

IFCL

OPTB

OUTPUT

MODE 3

cE.. ~ ~ .!i.

DO OAV 2!..

r-""!-

ATN

~ r!!.-

NOAC

NRFO

05 SRO 21 06

T/R2

t-'!- ~ ~ ~ ~

SRO

SRO·

TO IEEE·488 BUS

07 REN 38

AO 8292 - IFC 23

REN

REN*

TO I MICROPROCESSOR

IFC 8293

IFC·

10 "

ATNO

ATN·

4 6

WR 39 RESET COUNT

EOI

EOI·

34 ~ EOl2 -- 22 TCI ATNI

,ATNI

SPI

OBFI

IBFI

OSCILLATOR

15'25PF± r

SYNC

OUTPUT

Vee 2..

- 1 IFCL X,

IFCL

~ ~3

27 X2 CLTH

CLTH

OPTA

E....G ~V

NO

SYC 24

SYC

OPTB

MOOE2

l)e ON SYSTEM CONTROLLER .i 0FF SWITCH

  • = GPIB BUS TRANSCEIVER

Figure 8. 8291,8292, and 8293 System Configuration

Show 21 more labels / short text on this page
0101· · 0102· · 02 0103 30 · 0103· · 0104· · 0105· · 0106· · 07 0107 34 · 0107 iiiOa · 0107· · 0108· · TiFh · OAV 36 Rii · ~ · & · ee · ee · TiR1 · NOAC Nl'Rii · Rii ATNO 29 · EOl2
Page 432 of the Intel mcs-48 user manual — SYMBOL PARAMETER
Page 432 · click to enlarge
Page 432
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 432)
Fig. 431 · The Single Component . 2" MCS-4S™ S~stem

Absolute Maximum Ratings*

Ambient Temperature Under Bias O·C to 70·C Storage Temperature - 65·C to + 150·C Voltage 011 any Pin with

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those Indicated In the operational sections of this specification Is not Implied. Exposure to absolute maximum rating can· ditions 10', extended periods may affect device reliability.

Respect to Ground - 1.0V to + 7V Power Dissipation 1 Watt

D.C. and Operating Characteristics TA=O·C to 70·C; V cc =5.0V ±10%; GND=OV

LIMITS UNIT TEST CONDITIONS MIN. TYP. MAX.

SYMBOL PARAMETER

VILl Input Low Voltage (GPIB Bus Pins)

VIL2 Input Low Voltage (Option Pins)

-0.1 0.1 V

VIL3 Input Low Voltage (All Others)

VIH1 Input High Voltage (GpIB Bus Pins)

VIH2 Input High Voltage (Option Pins)

4.5 5.5 V

VIH3 Input High Voltage (All Others)

VOLl Output Low Voltage (GPIB Bus Pins)

0.5 V IOL=48 mA

VOL2 Output Low Voltage (All Others)

0.5 V IOL= 16 mA

VOH1 Output High Voltage (GPIB Bus Pins)

2.4 V IOH= -5.2 mA

VOH2 Output High Voltage (All Others)

2.4 V IOH= -400~

VIH4 Receiver Input Hysteresis

VIT . High to Low Receiver Input Threshold Low to High

0.8 1.0 V 1.6 2.0

ILI1 Low Input Load Current (GPIB Bus Pins)

-3.2 0.0 mA VIL= 0.8V

IU2 Low Input Load Current (All Others)

10 JJA V IL = 0.8V

Ipo Bus Power Down Leakage Current

Icc Power Supply Current

Capacitance

SYMBOL PARAMETER

MIN. TYP. MAX. UNIT TEST CONDITIONS

5 10 pF VIN=VCC

10 20 pF VOUT=VCC

Show 5 more labels / short text on this page
400 600 mV · 10 JJA Vcc=OV · 100 mA · CIN Input CapaCitance · COUT Output Capacitance
Page 433 of the Intel mcs-48 user manual — ~ g !; 2.0 i!: ::> o ~ 1.0
Page 433 · click to enlarge
Page 433
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 433)
Fig. 432 · The Single Component . 2" MCS-4S™ S~stem

A.C. Characteristics T A = O·C to 70·C; Vee= 5.0V ± 10%; GND = OV

SYMBOL

PARAMETER

TYP.· MAX. UNITS

Driver Propagation Delay (Low to High)

Driver Propagation Delay (High to Low)

Receiver Propagation Delay (Low to High)

Receiver Propagation Delay (High to Low)

Driver Enable Delay (High to 3·State)

Driver Enable Delay (3-State to High)

Driver Enable Delay (Low to 3-State)

Driver Enable Delay (3-State to Low)

t pHZ2 .

Receiver Enable Delay (High to 3-State)

Receiver Enable Delay (3-State to High)

Receiver Enable Delay (Low to 3-State)

Receiver Enable Delay (3-State to Low)

5.0 g 4.0

I .-'" " I ,.,.

f-- _~cc= S.OV

TA=2S'C

~ w ~ 3.0

~ g !; 2.0 i!: ::> o ~ 1.0

NON·SHADED AREA CONFORMS TO PARAGRAPH 3.5.3 OF IEEE STANDARD 488 ·1978 Vcc=5.0V -0 2.0 4.0 6.0

-4.0 -2.0

o 0.5 1.0 1.5 2.0 V,. INPUT VOLTAGE (VOLTSi

  • VBU
  • BUS VOLTAGE (VOLTSi

Figure 9. Typical Bus Load Line Figure 10. Typical Receiver Hysteresis Characteristics

Show 26 more labels / short text on this page
tpLH1 · 20 35 ns · t pH L1 · 17 30 ns · t pLH2 · 22 35 ns · t pHL2 · 18 30 ns · t pHZ1 · 20 35 ns · 15 30 ns · tpZH1 · t pLZ1 · 20 35 ns · tpzL1 · 15 30 ns · 25 40 ns · tPZH2 · 20 35 ns · t pLZ2 · 25 40 ns · tpZL2 · 20 35 ns · -12 -14 · o · 9·118
Page 434 of the Intel mcs-48 user manual — CL INCLUDEI JIG AND PROBE CAPACITANCE
Page 434 · click to enlarge
Page 434
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 434)
Fig. 433 · The Single Component . 2" MCS-4S™ S~stem

OUTPUT LOADING TEST CIRCUITS

TO SCOPE

TO SCOPE

(OUTPUT) +2.3V

(OUTPUT)

+5.0V

BUS

DATA

~z INlll ~~ OREQUIV.

;~ -F-

CL INCLUDES JIG AND PROBE CAPACITANCE

CL INCLUDEI JIG AND PROBE CAPACITANCE

Figure 11. Data Input to BUI Output (Driver)

Figure 12. BUI Input to Data Output (Receiver)

TO SCOPE

TO SCOPE

(OUTPUT) 5.oV

(OUTPUT) 1.W

BUS ./ (I.LZI. I.ZL 1) o-- ....... --~:r

DATA ./ (I.LZI. I .. u) o--t----<y

1l·HZ1.I.ZHIl

CL INCLUDEI JIG AND PROBE CAPACITANCE

CL INCLUDEI JIG AND PROBE CAPACITANCE

Figure 13. SendlRecelve Input to BUI Output (Driver)

Figure 14. SendlRecelve Input to Data Output (Receiver)

1"1

Page 435 of the Intel mcs-48 user manual — ..... ----VOL--- __ ..:lIf.tO%
Page 435 · click to enlarge
Page 435
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 435)
Fig. 434 · The Single Component . 2" MCS-4S™ S~stem

8293 WAVEFORMS

tRISE = 'FALL < 5 na 3.0V DUTY CYCLE = 50%

INPUT '.SV I.SV

OV

'PLHI 'PHLI OUTPUT (DRIVER PROP. DELAY) 2.0V FIGURE" LOAD

'PLH2 OUTPUT (RECEIVER PROP. DELAY)

FIGURE 12 LOAD t.BV

'PZHI tpHZ1 OUTPUT (DRIVER ENABLE DELAY 2.0V !r VOH--+- "L

WITH INPUT HIGH)

FIGURE 13 LOAD Vz"'t.OV 'PZLI OUTPUT (DRIVER ENABLE DELAY

WITH INPUT LOW) O.SV FIGURE 13 LOAD I' VOL---+- :f'

tPZH4t OUTPUT (RECEIVER ENABLE DELAY , VOH---+---:Il

WITH INPUT HIGH) t.SV FIGURE 14 LOAD

'PZL2 {- OUTPUT (RECEIVER ENABLE DELAY

'm2 }::- SV

WITH INPUT LOW) t.SV FIGURE '4 LOAD

VOL--- :lIf.tO%

ov

Page 436 of the Intel mcs-48 user manual — DATA
Page 436 · click to enlarge
Page 436
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 436)
Fig. 435 · The Single Component . 2" MCS-4S™ S~stem

8294 DATA ENCRYPTION UNIT

  • Certified by National Bureau of Standards
  • 7·Blt User Output Port
  • Single 5V ::t 10% Power Supply
  • SO Byte/Sec Data Conversion Rate
  • Peripheral to MCS·S6™, MCS·S5™, MC5-S0™ and MCS·48™ Processors
  • 64·Blt Data Encryption Using 56· Bit Key
  • Implements Federal Information Processing Data Encryption Standard
  • DMA Interface
  • 3 Interrupt Outputs to Aid In Loading and Unloading Data
  • Encrypt and Decrypt Modes Available

DESCRIPTION

The Intell!> 8294 Data Encryption Unit (DEU) is a microprocessor peripheral device designed to encrypt and decrypt 64·bit blocks of data using the algorithm specified in the Federal Information Processing Data Encryption Standard. The DEU operates on 64·bit text words using a 56·bit user·specifled key to produce 64·blt cipher words. The operation is reversible: if the cipher word Is operated upon, the original text word is produced. The algorithm itself is perma· nently contained in the 8294; however, the 56·blt key is user·defined and may be changed at any time.

The 56·bit key and 64·blt message data are transferred to and from the 8294 in 8·bit bytes by way of the system data bus. A DMA interface and three interrupt outputs are available to minimize software overhead associated with data transfer. Also, by using the DMA interface two or more DEUs may be operated In parallel to achieve effective system conversion rates which are virtually any multiple of 80 bytes/second. The 8294 also has a 7·bit TTL compatible output port for user·specified functions.

Because the 8294 implements the NBS encryption algorithm it can be used in a variety of Electronic Funds Transfer applications as well as other electronic banking and data handling applications where data must be encrypted.

PIN CONFIGURATION

BLOCK DIAGRAM

Vee Ne !lACK ORO SRO DAV Ne P6 PS P' P3 P2 01 PI 02 PO 03 VDD D4 Ne OS CCMP 06 Ne 07 Ne GND NC

DATA

BUS

RESET

SYNC

+5VINTERNAL POWER--

OND-- BUS

Show 5 more labels / short text on this page
Ac · SRQ DAV teMP · po'p, · X, x, · 9-121 oo230B
Page 437 of the Intel mcs-48 user manual — PIN CONFIGURATION
Page 437 · click to enlarge
Page 437
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 437)
Fig. 436 · The Single Component . 2" MCS-4S™ S~stem

8295 DOT MATRIX PRINTER CONTROLLER

  • Interfaces Dot Matrix Printers to MCS·4S™, MCS.SO/SS™, MCS·S6™ Systems
  • Programmable Print Intensity
  • Single or Double Width Printing
  • 40 Character Buffer On Chip
  • Serial or Paranel Communication with Host
  • Programmable Multiple Line Feeds
  • DMA Transfer Capability
  • 3 Tabulations
  • Programmable Character Density (10 or 12 Chararcters/lnch)
  • 2 General Purpose Outputs

The Intel'" 8295 Dot Matrix Printer Controller provides an interface for microprocessors to the LRC 7040 Series dot matrix impact printers. It may also be used as an interface to other similar printers.

The chip may be used in a serial or parallel communication mode with the host processor. In parallel mode, data transfers are based on polling, interrupts, or DMA. Furthermore, it provides internal buffering of up to 40 characters and contains a 7 x 7 matrix character generator accommodating 64 ASCII characters.

PIN CONFIGURATION

BLOCK DIAGRAM

INTERNAL

'OO

9·122

Page 438 of the Intel mcs-48 user manual — CLOCK XTAL2--
Page 438 · click to enlarge
Page 438
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 438)
Fig. 437 · The Single Component . 2" MCS-4S™ S~stem

inter 8041 AJ8641 AJ8741 A UNIVERSAL PERIPHERAL INTERFACE

8·BIT MICROCOMPUTER

  • 8·Blt CPU plus ROM, RAM, 1/0, Timer and Clock in a Single Package
  • Fully Compatible with MCS·48™, MCS.80™, MCS·85™, and MCS·86™ Microprocessor Families
  • One 8·Bit Status and Two Data Regis· ters for Asynchronous Slave·to·Master Interface
  • Interchangeable ROM and EPROM Versions
  • 3.6 MHz 8741A·8 Available
  • Expandable 1/0
  • DMA, Interrupt, or Polled Operation Supported
  • RAM Power· Down Capability
  • 1024)( 8 ROMIEPROM, 64)( 8 RAM, 8·Blt TimerlCounter, 18 Programmable 1/0 Pins
  • Over 90 Instructions: 70% Single Byte
  • Single 5V Supply

The Intell!) 8041A18741A is a general purpose, programmable interface device designed for use with a variety of 8-bit microprocessor systems. It contains a low cost microcomputer with program memory, data memory, 8-bit CPU, I/O ports, timer/counter, and clock in a single 40-pin package. Interface registers are included to enable the UPI device to function as a peripheral controller in MCS-48™, MCS-80™, MCS-85™, MCS-86™, and other 8-bit systems.

The UPI-41ATM has 1 K words of program memory and 64 words of data memory on-chip. To allow full user flexibility the program memory is available as ROM in the 8041A version or as UV-erasable EPROM in the 8741A version. The 8741A and the 8041 A are fully pin compatible for easy transition from prototype to production level designs. The 8641A is a one-time programmable (at the factory) 8741A which can be ordered as the first 25 pieces of a new.8041A order. The substitution of 8641A's for 8041A's allows for very fast turnaround for initial code verification and evaluation results.

The device has two 8-bit, TTL compatible I/O ports and two test inputs. Individual port lines can function as either in- puts or outputs under software control. I/O can be expanded with the 8243 device which is directly .compatlble and has 16 I/O lines. An 8-bit programmable timer/counter is included in the UPI device for generating timing sequences or counting external inputs. Additional UPI features include: single 5V supply, low power standby mode (in the 8041A), single-step mode for debug (in the 8741A), and dual working register banks.

Because ifs a complete microcomputer, the UPI provides more flexibility for the designer than conventional LSI inter- face devices. It is· designed to be an efficient controller as well as an arithmetic processor. Applications include key- board scanning, printer control, display multiplexing and similar functions which involve interfacing peripheral devices to microprocessor systems.

PIN CONFIGURATION BLOCK DIAGRAM

INTERNAL

BUS

MAITIR SVSTEM 1

::·¢:E::::;~~=~===~

,., ......... -

0lI-_ 01-- .. - k;====:::J

PERIPHERAL

INTERFACE

SYNC 1Ii-- '"00 omT--

CR~~T~~{XTAL1 __ 1 ,,1.. I

CLOCK XTAL2--

00188A

'0)

Page 439 of the Intel mcs-48 user manual — D,
Page 439 · click to enlarge
Page 439
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 439)
Fig. 438 · The Single Component . 2" MCS-4S™ S~stem

8041A/8641 Al8741A

UPI·41A™ FEATURES AND ENHANCEMENTS

1. Two Data Bus Buffers, one for input and one for out· put. This allows a much cleaner Master/Slave pro· tocol.

If "EN FLAGS" has been executed, P25 becomes the IBF (Input Buffer Full) pin. A "1" written to P25 enables the IBF pin (the pin outputs the inverse of the IBF Status Bit). A "0" written to P25 disables the iBF pin (the pin remains low). i This pin can be used to indicate that the UPI·41A is ready for data.

INTERNAL DATA BUS ~

INPUT

DATA

BUS BUFFER

DO-D7 '---------'

OUTPUT

DATA

BUS BUFFER

DATA BUS BUFFER INTERRUPT CAPABILITY

2. 8 Bits of Status

FO I IBF OBF I

EN FLAGS Op Cod.: OF5H

ST 4-ST 7 are user definable status bits. These bits are defined by the "MOV STS, A" Single byte, Single cycle instruction. Bits 4-7 of the accumulator are moved to bits 4-7 of the status register. Bits 0-3 of the status register are not affected.

5. P 26 and P 27 are port pins or DMA handshake pins for use with a DMA controller. These pins default to port pins on Reset.
MOV STS. A Op Code90H

If the "EN DMA" instruction has been executed, P26 becomes the DRQ (DMA ReQuest) pin. A "1" written to P26 causes a DMA request (ORO is activated). DRQ is deactivated by DACK'RD, DACK·WR, or execution of the "EN OM A" instruction.

3. RD and WR are edge triggered. IBF, OBF, F1 and INT change internally after the trailing edge of RD or WR.

If "EN DMA" has been executed, P27 becomes the DACK (DMA ACKnowledge) pin. This pin acts as a chip select input for the Data Bus Buffer registers during DMA transfers.

FLAGS AFFECTED

DRQ~ OROn 8041A! 8257 8741A DACK~ DACK

4. P 24 and P 25 are port pins or Buffer Flag pins which can be used to interrupt a master processor. These pins default to port pins on Reset.

If the "EN FLAGS" instruction has been executed, P24 becomes the OBF (Output Buffer Full) pin. A "1" written to P24 enables the OBF pin (the pin outputs the OBF Status Bit). A "0" written to P24 disables the OBF pin (the pin remains low). This pin can be used

OMA HANDSHAKE CAPABILITY

EN DMA Op CodeOESH

to indicate that valid data is available from the UPI· 41A (in Output Data Bus Buffer).

D,

9-124 00188A

Show 5 more labels / short text on this page
(8) · OBF (INTERRUPT REQUESn · fiiF (INTERRUPT REQUESn · (8) · RO orW'R
Page 440 of the Intel mcs-48 user manual — 00188A
Page 440 · click to enlarge
Page 440
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 440)
Fig. 439 · The Single Component . 2" MCS-4S™ S~stem

8041 AJ8641AJ8741 A

UPITM INSTRUCTION SET

PIN DESCRIPTION

Mnemonic Description Bytes Cycles

ACCUMULATOR

ADD A.Rr ADD A.@Rr ADD A.#data ADDC A.Rr ADDC A.@Rr ADDC Mdata ANL A.Rr ANL A.@Rr ANL A.#data ORl A.Rr ORL A.@Rr ORL A.#data XRl A.Rr XRL A.@Rr XRL A.#data INC A DEC A CLR A CPL A DA A SWAP A RL A RlC A RR A RRC A

Add register to A Add data memory to A Add immediate to A Add register to A with carry Add data memory to A with carry Add immed. to A with carry AND register to A AND data memory to A AND immediate to A OR register to A OR data memory to A OR immediate to A Exclusive OR register to A Exclusive OR data memory to A Exclusive OR immediate to A Increment A Decrement A Clear A Complement A Decimal Adjust A Swap nibbles of A Rotate A left Rotate A left through carry Rotate A right Rotate A right through carry

1 1 2 1 1 2 1 1 2 1 1 2 1 1 2 1

1 1 2 1 1 2 1 1 2 1 1 2 1 1 2 1

00- 0 7 Three·state, bidirectional DATA BUS BUFFER lines (BUS) used to interface the UPI·41A to an 8·bit master system data bus.

P 10-P 17 8·bit, PORT 1 quasi·bidirectionall/O lines.

P20-P27 8·bit, PORT 2 quasi·bidirectionall/O lines. The lower 4 bits (P20-P23) interface directly to the 8243 I/O ex· pander device and contain address and data infor· mation during PORT 4-7 access. The upper 4 bits (P24-P27) can be programmed to provide Interrupt Request and DMA Handshake capability. Software control can configure P24 as OBF (Output Buffer Full), P25 as IBF (Input Buffer Full~as DRQ (DMA Request), and P27 as DACK (DMA ACKnowledge).

WR I/O write input which enables the master CPU to write data and command words to the UPI·41A IN· PUT DATA BUS BUFFER.

RD 110 read input which enables the master CPU to read data and status words from the OUTPUT DATA BUS BUFFER or status register.

CS Chip select input used to select one UPI·41A out of several connected to a common data bus.

INPUT /OUTPUT

Ao Address input used by the master processor to in· dicate whether byte transfer is data or command.

IN A.Pp OUTL Pp.A ANl Pp.#data ORl Pp.#data IN A.DBB OUT DBB.A MOV STS,A MOVD A.Pp MOVD Pp.A ANlD Pp.A ORlD Pp.A

Input port to A Output A to port AND Immediate to port OR immediate to port Input DBB to A. clear IBF Output A to DBB. set OBF A4-A7 to Bits 4-7 of Status Input Expander port to A Output A to Expander port AND A to Expander port OR A to Expander port

2 1 1 1 2

TEST 0, Input pins which can be directly tested using condi· TEST 1 tional branch instructions.

T1 also functions as the event timer input (under software control). To is used during PROM program· ming and verification in the 8741A.

XTAL 1, Inputs for a crystal, LC or an external timing signal XTAL2 to determine the internal oscillator frequency.

SYNC Output signal which occurs once per UPI·41A in· struction cycle. SYNC can be used as a strobe for external circuitry; it is also used to synchronize single step operation.

DATA MOVES

MOV A.Rr Move register to A MOV A.@Rr Move data memory to A MOV A.#data Move Immediate to A MOV Rr.A Move A to register MOV @Rr.A Move A to data memory MOV Rr.#data Move immediate to register MOV @Rr.#data Move Immediate to data memory MOV A.PSW Move PSW to A MOV PSW.A Move A to PSW XCH A.Rr Exchange A and register XCH A.@Rr Exchange A and data memory XCHD A.@Rr Exchange digit of A and register MOVP A.@A Move to A from current page MOVP3. A.@A Move to A from page 3

1 1 2 1 1 2 2 1

1 1 2 1 1 2 2 1 2 2

EA External access input which allows emulation, testing and PROM/ROM verification.

PROG Multifunction pin used as the program pulse input during PROM programming.

During I/O expander access the PROG pin acts as an address/data strobe to the 8243.

RESET Input used to reset status flip·flops and to set the program counter to zero.

RESET is also used during PROM programming and verification.

SS Single step input used in the 8741A in conjunction with the SYNC output to step the program through each instruction.

TIMER/COUNTER

MOV A.T MOV T.A STRT T STRT CNT STOP TCNT EN TCNTI DIS TCNTI

Read Timer/Counter Load Timer /Counter Start Timer Start Counter Stop Timer /Counter Enable Timer /Counter Interrupt Disable Timer /Counter Interrupt

+ 5V main power supply pin.

+ 5V during normal operation. + 25V during pro· gramming operation. Low power standby pin in ROM version.

Circuit ground potential.

00188A

Show 4 more labels / short text on this page
Signal Description · Vee · Voo · Vss
Page 441 of the Intel mcs-48 user manual — PORT,2
Page 441 · click to enlarge
Page 441
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 441)
Fig. 440 · The Single Component . 2" MCS-4S™ S~stem

8041 Al8641 Al8741 A

  • BYt
  • Cycl .. Mnemonic D
  • crlpllon Byte. CyCle.

CONTROL

CPL FO

EN DMA Enable DMA Handshake Lines EN I Enable IBF Interrupt DIS I Disable IBF Interrupt EN FLAGS Enable Master Interrupts SEL RBO Select register bank 0 SEL RBI Select register bank,1 NOP No Operation

CLR Fl CPL Fl

Clear Fl Flag Complement Fl Flag

BRANCH JMP addr JMPP@A OJ NZ Rr, addr JC addr JNC addr JZ addr JNZ addr JTO addr JNTO addr JT1 addr JNT1 addr JFO addr JFl addr JTF addr JNIBF addr JOBF addr JBb addr

Jump unconditional 2 Jump Indirect 1 Decrement register and jump 2 Jump on Carry = 1 2 Jump on Carry = 0 2 Jump on A Zero 2 Jump on A not Zero ,2 Jump on TO= 1 2 Jump on TO=O 2 Jump on Tl = 1 2 Jump on Tl =0 2 Jump on FO Flag = 1 2 Jump on Fl Flag = 1 2 Jump on Timer Flag = 1, Clear Flag 2 Jump on IBF Flag = 0 2 Jump on OBF Flag = 1 2 Jump on Accumulator Bit 2

2

REGISTERS INC Rr Increment register INC@Rr Increment data memory DEC Rr Decrement register

SUBROUTINE

CALL addr Jump to subroutine RET Return RETR Return and restore status

FLAGS CLRC Clear Carry CPLC Complement Carry CLR FO Clear Flag 0

APPLICATIONS

DATAK===J[==~~~

iiii ~

WR 8041A1 ~ cs 8741A PORT CONTROL 2 AO I+-To

TO PERIPHERAL DEVICES

8048 WR

TO PERIPHERAL DEVICES

ADDR CONTROL~==::11S,.J

BUS DATA BUS 8 DBB -Tl

Figure 1, 808SA-8041A Interface

Figure 2. 8048,..8041A Interface

8243 KEYBOARD EXPANDER MATRiX

z z 0 0 :I

.~ >= a:

~ It 0. 0. II. Cl .. 0 W 0- W Z II. iii: e '" 0- Z ::;

PORT,2

PORT 2

8041A18741A

DATA BUS

CONTROL BUS

CONTROL BUS

Figure 3, 8041A-8243 Keyboad Scanner

Figure 4. 8041A Matrix Printer Interface

Show 5 more labels / short text on this page
Mnemonic Deecrlpllon · Complement Flag 0 · aoaSA · 8041 Al8741 A · 00l88A
Page 442 of the Intel mcs-48 user manual — 9-127 00188A
Page 442 · click to enlarge
Page 442
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 442)
Fig. 441 · The Single Component . 2" MCS-4S™ S~stem

8041 AJ8641 AJ8741 A

ABSOLUTE MAXIMUM RATINGS·

'COMMENT: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This Is a stress rating only and functional operation of the device at these or any other conditions above those indicated In the operational sections of this specification is not implied. Exposure to absolute maximum rating con· ditlons for extended periods may affect device reliability.

Ambient Temperature Under Bias O·C to 70·C Storage Temperature - 65·C to + 150·C Voltage on Any Pin With Respect

to Ground 0.5V to + 7V Power Dissipation 1.5 Watt

D.C. AND OPERATING CHARACTERISTICS

TA= O·C to 70·C, Vss=OV, 8041 A: Vee= Voo= +5V± 10%, 8741A: Vee = Voo= +5V± 5%

Symbol Parameter Min. Max. Unit Test Conditions

VIL Input Low Voltage (Except XTAL 1, XTAL2, RESET) -0.5 0.8 V

VIU Input Low Voltage (XTAL1, XTAL2, RESET) -0.5 0.6 V

VIH Input High Voltage (Except XTAL 1, XTAL2, RESET) 2.2 Vee VIH1 Input High Voltage (XTAL1, XTAL2, RESET) 3.8 Vee V

VOL Output Low Voltage (00-07) 0.45 V IOL=2.0 mA

Vou Output Low Voltage (P1QP17, P20P27, Sync) 0.45 V 10L = 1.6 mA

VOL2 Output Low Voltage (Prog) 0.45 V IOL = 1.0 mA

VOH Output High Voltage (00-07) 2.4 V 10H= - 4OO I'A

VOH1 Output High Voltage (All Other Outputs) 2.4 V 10H= -50 I'A

IlL Input Leakage Current (To, T1, RD, WR, CS, Ao, EA) ±10 I'A Vss :S VIN :S Vee

loz Output Leakage Current (00-07, High Z State) ± 10 I'A Vss +0.45 :S VIN:s Vee

lu Low Input Load Current (P1QP 17, P20P27) 0.5 mA VIL = 0.8V

IU1 Low Input Load Current (RESET, SS) 0.2 mA VIL =0.8V

100 Voo Supply Current 15 mA Typical = 5 mA

lee+ 100 Total Supply Current 125 mA Typical = 60 mA

A.C. CHARACTERISTICS

TA= o·c to 70·C, Vss=OV, 8041A: Vee= Voo= + 5V ± 10%, 8741A: Vee= Voo= + 5V ± 5% DBB READ

Symbol Parameter Min. Max. Unit Test Conditions

tAR CS, Ao Setup to RDi 0 ns

tRA CS, Ao Hold After m51 0 n5

tRR RD Pulse Width 250 ns

tAD CS, Ao to Data Out Delay 225 ns CL=150pF

t RO RDi to Data Out Delay 225 ns CL= 150 pF

tOF ROI to Data Float Delay 100 ns

tey Cycle Time (Except 8741A·8) 2.5 15 1'5 6.0 MHz XTAL

tey Cycle Time (8741A·8) 4.17 15 I's 3.6 MHz XTAL

DBB WRITE

Symbol Parameter Min. Max. Unit Test Conditions

tAW CS, Ao Setup to WRi 0 ns

tWA CS, Ao Hold After WAt 0 ns

tww iiVA Pulse Width 250 ns

tow Data Setup to WRt 150 ns

two Data Hold After'i}J'R t 0 ns

9-127 00188A

Page 443 of the Intel mcs-48 user manual — TEMP ,·C)
Page 443 · click to enlarge
Page 443
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 443)
Fig. 442 · The Single Component . 2" MCS-4S™ S~stem

8041A18641 Al8741 A

INPUT AND OUTPUT WAVEFORMS FOR A.C. TESTS

2.4 ----""'X~::>TEST POINTS,:::::~·.:XL ___ _ O.4S----...J -

WAVEFORMS

1. READ OPERATION-DATA BUS BUFFER REGISTER.

(SYSTEM'S BOA Ao '1 "'" '\;, ADDREsseuS}

_t"~1 -+----il--

1RR ~IAA-'

(READ CONTROL)

-v r (SYSTEM'S e!OR AO ---')- ________________ ~ 1.. ___________ ADDRESS BUS)

2. WRITE OPERATION-DATA BUS BUFFER REGISTER.

:. "·i r-"·-.~Hc,..--tWA

'\ _ (WRITE CONTROLI

------------- t ow -- --- two

DATA SUS DATA ~ --DATAVAlIO-_V DATA UNPUTl M_A_y..:"CH..:"A..:"NG..:..' __ -..Jj' ~'- M_A_y _CH_AN_G_E

TYPICAL 8041/8741A CURRENT

TEMP ,·C)

9-128 00188A

Show 4 more labels / short text on this page
80 rnA · 60 rnA · 40mA · 20 mA
Page 444 of the Intel mcs-48 user manual — DATA BUS
Page 444 · click to enlarge
Page 444
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 444)
Fig. 443 · The Single Component . 2" MCS-4S™ S~stem

8041 AJ8641AJ8741 A

A.C. CHARACTERISTICS-PORT 2

TA=O·C to 70·C, 8041Avcc= +5V : 10%, 8741A: Vcc= +5V :5%

Symbol P.arameter

Min.

Max. Unit

Telt Condition.

tcp Port Control Setup Before Failing Edge of PROG

tpc Port Control Hold After Falling Edge of PROG

tPR PROG to Time P2 Input Must Be Valid

tpF Input Data Hold Time

top Output Data Setup Time tpo Output Data Hold Time

tpp PROG Pulse Width

PORT 2 TIMING

SYNC

EXPANDER PORT

PORT 20-3 DATA

EXPANDER PORT

INPUT

PORT 20-3 DATA

PROG

A.C. CHARACTERISTICS-DMA

Min.

Max. Unit

tACC DACK to WR or"RD

tAco DACK to Data Valid

CL= 150 pF

tCRO RD or WR to ORO Cleared

WAVEFORMS-DMA

'ACC .:--iCAC- -

l - tAce -

-ICAe - ,..---,.

.1,... ,. )I( VALID

DATA BUS

VALID - Ii _.CRJ-

~I- -

Show 16 more labels / short text on this page
ns · ns · 810 ns · 150 ns · ns · ns · ns · Symbol Parameter · Test Conditions · ns · tCAC ~orWAto~ · ns · 225 ns · 200 ns · ORa · Da,88A
Page 445 of the Intel mcs-48 user manual — 9·130 00188A
Page 445 · click to enlarge
Page 445
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 445)
Fig. 444 · The Single Component . 2" MCS-4S™ S~stem

8041 AJ8641AJ8741 A

DRIVING FROM EXTERNAL SOURCE

CRYSTAL OSCILLATOR MODE

r I I I ~ ,..

+5V

XTALI

< 16 pF (INCLUDES XTAL,

SOC~ET, STRAY)

I I I L ____ _

+5V

3 XTAL2

16-26 pF (INCLUDES SOCKET, I

470Q

STRAY) ':"

CRYSTAL SERIES RESISTANCE SHOULD BE

BOTH XTALI AND XTAL2 SHOULD BE DRIVEN. RESISTORS TO Vee ARE NEEDED TO ENSURE V,H = 3.8V IF TTL CIRCUITRY IS USED.

LC OSCILLATOR MODE

J,. ..Q. NOMINAL I 45.H 20 pF 5.2 MHz 120.H 20 pF 3.2 MHz ---. "-1 XTAL 1

'-- -~XTAL2 CPP" 5-10 pF PIN·TO·PIN CAPACITANCE

EACH C SHOULD BE APPROXIMATELY 20 pF.INCLUDING STRAY CAPACITANCE.

PROGRAMMING, VERIFYING, AND ERASING THE 8741A EPROM

WARNING:

An attempt to program a missocketed 8741 A will result in severe damage to the part. An indication of a properly socketed part is the appearance of the SYNC clock output. The lack of this clock may be used to disable the programmer.

The Program/Verify seqUef1ce fs:

In brief, the programming process consists of: activating the program mode, applying an address, latching the address, applying data, and applying a programming pulse. Each word is programmed completely before moving on to the next and is followed by a verification step. The follow- ing is a list of the pins used for programming and a descrip- tion of their functions:

1. Aa = av, CS = SV, EA = SV, RESET = av, TESTa = SV, Voo = 5V, clock applied or internal oscillator operating, BUS and PROG floating.
2. Insert 8741A in programming socket
3. TEST a = Ov (select program mode)
4. EA = 23V (activate program mode)

S. Address applied to BUS and P2Q..1

6. RESET = Sv (latch address)

XTAL 1 Clock Input (1 to 6MHz)

7. Data applied to BUS

8. V DO = 2Sv (programm ing power)

Reset Initialization and Address Latching

9. PROG = Ov followed by one sOms pulse to 23V

Test 0 Selection of Program or Verify Mode

10_ VOO = 5v

EA Activation of Program/Verify Modes

11. TEST 0 = Sv (verify mode)

BUS Addre~s and Data Input Data Output During Verify

12. Read and verify data on BUS
13. TEST 0 = Ov
14. RESET = Ov and repeat from step S

VOO Programming Power Supply

PROG Program Pulse Input

16. Programmer should be at conditions of step 1 when 8741A is removed from socket.

9·130 00188A

Show 5 more labels / short text on this page
Jo--+------=-l XTALI · '---~---=-j XTAL2 · Programming Verification · Pin Function · P20-1 Address Input
Page 446 of the Intel mcs-48 user manual — 9-131 0018BA
Page 446 · click to enlarge
Page 446
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 446)
Fig. 445 · The Single Component . 2" MCS-4S™ S~stem

8041 AJ8641 AJ8741 A

should be placed over the 8741A window to prevent unintentional erasure.

The erasure characteristics of the 8741A are such that erasure begins to occur when exposed to light with wavelengths shorter than approximately 4000 Ang· stroms (A). It should be noted that sunlight and certain types of fluorescent lamps have wavelengths In the 3000-4000A range. Data show that constant exposure to room level fluorescent lighting could erase the typical 8741A in approximately 3 years while it would take ap· proximately one week to cause erasure when exposed to direct sunlight. If the 8741A is to be exposed to these types of lighting conditions for extended periods of time, opaque labels are available from Intel which

The recommended erasure procedure for the 8741A is exposure to shortwave ultraviolet light which has a wavelength of 2537 A. The integrated dose (i.e., UV inten· sity x exposure time) for erasure should be a minimum of 15 w·sec/cm2. The erasure time with this dosage is approximately 15 to 20 minutes using an ultraviolet lamp with a 12,000 ,..W/cm2 power rating. The 8741A should be placed within one inch of the lamp tubes duro ing erasure. Some lamps have a filter on their tubes which should be removed before erasure.

A.C. TIMING SPECIFICATION FOR PROGRAMMING

TA = 25°C ±5°C, Vcc = 5V ±5%, Voo = 25V ±1V

Symbol Parameter Min. Max. Unit Test Conditions

tAW Address Setup Time to RESET t 4tcy

tWA Address Hold Time After RESET t 4tcy

tow Data in Setup Time to PROG I 4tcy

two Data in Hold Time After PROG I 4tcy

tPH RESET Hold Time to Verify 4tcy

tvoow Voo Setup Time to PROG t 4tcy

tVOOH Voo Hold Time After PROG I 0 tpw Program Pulse Width 50 60 mS trw Test 0 Setup Time for Program Mode 4tcy

tWT Test 0 Hold Time After Program Mode 4tcy

too Test 0 to Data Out Delay 4tcy

tww RESET Pulse Width to Latch Address 4tcy

tr, tf Voo and PROG Rise and Fall Times 0.5 2.0 I-'S

tCY CPU Operation Cycle Time 5.0 I-'S

tRE RESET Setup Time Before EA t. 4tcy

D.C. SPECIFICATION FOR PROGRAMMING

TA = 25°C ±5°C, Vcc = 5V ±5%, Voo = 25V ±1V

Symbol Parameter Min. Max. Unit Test Conditions

VOOH Voo Program Voltage High ~evel 24.0 26.0 V

VDOL VOD Voltage Low Level 4.75 5.25 V

VPH PROG Program Voltage High Level 21.5 24.5 V

VpL PROG Voltage Low Level 0.2 V

VEAH EA Program or Verify Voltage High Level 21.5 24.5 V

VEAL EA Voltage Low Level 5.25 V

100 VDD High Voltage Supply Current 30.0 mA

IPROG PROG High Voltage Supply Current 16.0 mA

lEA EA High Voltage Supply Current 1.0 mA

9-131 0018BA

8741A Erasure Characteristics

Page 447 of the Intel mcs-48 user manual — 9-132 00188A
Page 447 · click to enlarge
Page 447
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 447)
Fig. 446 · The Single Component . 2" MCS-4S™ S~stem

804'1 Al8641 Al8741A

WAVEFORMS FOR PROGRAMMING

COMBINATION PROGRAMiVERIFY MODE (EPROM'S ONLY)

23Y' / 5V J

f-----~---'-- PROGRAM -------~~--VER'FY ':.....t-I'>----- PROGRAM ----

TESTO

-- -< NEXT ADDR C VALID

DBO-DB, J--

DATA TO BE PROGRAMMED VALID

ADDRESS (8-9) VALID ADDRESS ADDRESS

Voo +25 ____________ t_V_DD_W_-~-~W-T---'-------..;..----..;..------

+:: ________ ---=fY-TIDW tpw two

PROG +5----------- r------ ~ ' ___ J - --""\~-----

VERIFY MODE (ROM/EPROM)

RESET ~ / \'1.-. __ ---J \'------'/ \~--

DBO-OB7 ==>---

ADDRESS 10-71 VALID ---< AD_N~_~_~_SS_-JX ~_~_~T_:_AA_L~_~.J>-

J)( A_D_D_R_ES_S_'B_-9_I_V_A_Ll_D -J)("-- N_EX_T_A_D_D_R_ES_S_V_A_L_'D

  • 'NOTES: 1. PROG MUST FLOAT IF EA IS LOW (I
  • ,,2311), OR IF TO.5V FOR THE 8741A. FOR THE 8041A PROG MUST ALWAYS FLOAT. 2. XTAL 1 AND XTAL 2 DRIVEN BY 3.8 MHz CLOCK WILL GIVE 4.17 ,He ICY' THIS IS ACCEPT· ABLE FOR 8741A·8 PARTS AS WELL AS STANDARD PARTS. 3. AO MUST BE HELD LOW (I
  • OV) DURING PROGRAMIVERIFY MODES.

The .s741 A EPROM can be programmed by either of two Intel products:

1. PROMPT-48 Microcomputer Design Aid, or 2. Universal PROM Programmer (UPP series) peripheral of the Intellec/!) Development System with a UPP-848 Personality Card;

9-132 00188A

r-~--~ · ---L-A-ST-~\/r + ~\/r---N-,E-~-,T

Page 448 of the Intel mcs-48 user manual — " "' ,, ';'. ~:: .:::.."..i
Page 448 · click to enlarge
Page 448
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 448)
Fig. 447 · The Single Component . 2" MCS-4S™ S~stem

Support Products ,10

I" I I i

~ I "'

" I

, I

I ' I

,

'i'! .

H: " t"

:Y

.-..:::. .

" "' ,, ';'. ~:: .:::.."..i

Show 5 more labels / short text on this page
,~ · ~ --'- · 'Ii · iI! · ~
Page 449 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 449 · click to enlarge
Page 449
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 449)
Fig. 448 · The Single Component . 2" MCS-4S™ S~stem
Page 450 of the Intel mcs-48 user manual — inter MODEL 225 INTELLEC @SERIES 11/85 MICROCOMPUTER DEVELOPMENT SYSTEM
Page 450 · click to enlarge
Page 450
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 450)
Fig. 449 · The Single Component . 2" MCS-4S™ S~stem

inter MODEL 225 INTELLEC @SERIES 11/85 MICROCOMPUTER DEVELOPMENT SYSTEM

  • Complete microcomputer development system for MCS® -S6, MCS® -S5, MCS® -SO, and MCS® -4S microprocessor families
  • Integral 250K byte floppy disk drive with total storage capacity expandable to over 2M bytes of floppy disk storage and 7.3M bytes of hard disk storage
  • Powerful ISIS-II Disk Operating System with relocating macroassembler, linker, locater, and CRT based editor CREDIT
  • High performance SOS5A-2 CPU, 64K bytes RAM memory, and 4K bytes ROM memory
  • Self-test diagnostic capability
  • Supports PL/M, FORTRAN, BASIC, PASCAL and COBOL high level languages
  • Built-in interfaces for high speed paper tape reader Ipunch, printer, and universal PROM programmer
  • Software compatible with previous Intellec ' systems

The Intellec Series 11/85 Model 225 Microcomputer Development System is a performance enhanced , com- plete microcomputer development system integrated into one compact package. The Model 225 includes a CPU with 64K bytes of RAM , 4K bytes of ROM , a 2\JOO-character CRT, detachable full ASCII keyboard with cursor controls and upperllower case capability, and a 250K-byte floppy disk drive. Powerful ISIS·II Disk Operating System software allows the Model 225 to be used quickly and efficiently for assembling and debugging programs for Intel 's MCS-86, MCS-85, MCS-80, or MCS-48 microprocessor familie s. ISIS-II per- forms all file handling operations for the user, leaving him free to concentrate on the details of his own application . When used with an optional in-circuit emulator (lCETM) module, the Model 225 provides all of the hardware and software development tools necessary for the rapid development of a microcom puter- based product. Optional storage peripherals provide over 2 million bytes of floppy disk , and 7.3 million of hard disk storage capacity .

The foll owing are trademarks of Intel Corporation and may be used only to identify Intel products: expo Inlellec. Multibus . i. iS BC . Multimodule. ICE. iSBX. PROMPT. ieS . Library Manager: Promware . Insite. MeS . RMX. Intel. Megachassi s, UP!. Intelevision. Micromap . ~Scope and 'he combination of ICE. ieS. iS BC. iS BX. MeS. or RMX and a numerical suffix. © Intel Corporation 1980 10-1 121599-001 Rev. A

Page 451 of the Intel mcs-48 user manual — 10-2 AFN-014248
Page 451 · click to enlarge
Page 451
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 451)
Fig. 450 · The Single Component . 2" MCS-4S™ S~stem

MODEL225

FUNCTIONAL DESCRIPTION

high technology LSI components. Known as the integrated processor card (IPC), it occupies the first slot in the cardcage. A second slave CPU card is responsible for all remaining I/O control including the CRT and keyboard interface. This card, mounted on the rear panel, also contains its own microprocessor, RAM and ROM memory, and 1/0 interface logic, thus, in effect, creating a dual processor envi"ronment. Known as the 1/0 con- troller (IOC), the slave CPU card communicates with the ~PC over an 8-bit bidirectional data bus.

Hardware Components

The Intellec Series 11/85 Model 225 is a highly- integrated microcomputer development system consisting of a CRT chassis with a 6-slot cardcage, power supply, fans, cables, single floppy disk drive, and two printed circuit cards. A separate, full ASCII keyboard is connected with a cable. A block diagram of the Model 225 is shown in Figure1.

Expansion - Five remaining slots in the cardcage are available for system expansion. Additional expansion of 4 slots can be achieved through the addition of an Intellec Series II expansion chassis.

CPU Cards - The master CPU card contains its own microprocessor, memory, I/O, interrupt and bus interface circuitry implemented with Intel's

LOCAL INTERRUPT

CONTROL I t

8259A • I I

8·LEVEL K?

64K BYTES 4K BYTES PRIORITY RAM ROM PANEL INTERRUPT CONTROL 8259A

SERIAL SERIAL BAUD RATE

CHANNELO CHANNEL1 ~ GENERATOR & REAL·TIME CLOCK 8251A 8251A 8253A

I I ? INTELLEC BUS ;J I I

BUS PRIORITY SYSTEM CONTROLLER 8080A·2 8085A·2 BIDIRECTIONAL

8219 RESOLUTION CLOCKS CPU CPU DRIVER 1 I I CABLE BUS ? -.:.II ~ Y cp 9

DMA 8K RAM SYSTEM INTERVAL CONTROLLER TIMER

8041A t f t

,.. t ~ IOC BUS ,J ... , ,..

CPU

.... ".. .... ".. 8 ! ! f

? PIO BUS ?

8271 8275 TAPE FLOPPY CRT KEYBOARD PRINTER TAPE CONTROLLER CONTROLLER PUNCH READER

Figure 1. Intellec Series 11/85 Model 225 Microcomputer Development System Block Diagram

10-2 AFN-014248

8228 8253

Page 452 of the Intel mcs-48 user manual — AFN-014248
Page 452 · click to enlarge
Page 452
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 452)
Fig. 451 · The Single Component . 2" MCS-4S™ S~stem

inter MODEL225

System Components

troller. The master processor on the IPC transfers a character for display to the 10C, where it is stored in RAM. The CRT controller reads a line at a time into its line buffer through an Intel 8257 DMA controller and then feeds one character at a time to the character generator to produce the video signal. Timing for the CRT control is provided by an Intel 8253 interval timer. The screen display is formatted as 25 rows of 80 characters. The full set of ASCII characters is displayed, including lower case alphas.

The heart of the IPC is an Intel NMOS 8-bit micro- processor, the 8085A-2, running at 4.0 MHz. 64K bytes of RAM memory are provided on the board using 16K RAMs. 4K of ROM is provided, pre- programmed with system bootstrap "self-test" diagnostics and the Intellec Series 11/85 System Monitor. The eight-level vectored priority inter- rupt system allows interrupts to be individually masked. Using Intel's versatile 8259A interrupt controller, the interrupt system may be user pro- grammed to respond to individual needs.

Keyboard - The keyboard interfaces directly to the 10C processor via an 8-bit data bus. The keyboard contains an Intel UPI_41TM Universal Peripheral Interface, which scans the keyboard, encodes the characters, and buffers the characters to provide N-key rollover. The keyboard itself is a high quality typewriter style keyboard containing the full ASCII character set. An upperllower case switch allows the system to be used for document preparation. Cursor control keys are also provided.

Input/Output

IPC Serial Channels - The I/O subsystem in the Model 225 consists of two parts: the 10C card and two serial channels on the IPC itself. Each serial channel is RS232 compatible and is capable of run- ning asynchronously from 110 to 9600 baud or syn- chronously from 150 to 56K baud. Both may be connected to a user defined data set or terminal. One channel contains current loop adapters. Both channels are implemented using Intel's 8251 A USART. They can be programmed to perform a variety of I/O functions. Baud rate selection is accomplished through an Intel 8253 interval timer. The 8253 also serves as a real-time clock for the entire system. I/O activity through both serial channels is signaled to the system through a second 8259A interrupt controller, operating in a polled mode nested to the primary 8259A.

Peripheral Interface

A IJPI-41 Universal Peripheral Interface on the 10C board provides interface for other standard Intellec peripherals including a printer, high speed paper tape reader, high speed paper tape punch, and universal PROM programmer. Com- munication between the IPC and 10C is maintained over a separate 8-bit bidirectional data bus. Con- nectors for the four devices named above, as weli as the two serial channels, are mounted directly on the 10C itself.

IOC Interface - The remainder of system I/O activity takes place in the 10C. The 10C provides interface for the CRT, keyboard, and standard Intellec peripherals including printer, high speed paper tape reader/punch, and universal PROM programmer. The 10C contains its own independ- ent microprocessor, an 8080A-2. The CPU controls all I/O operations as well as supervising communications with the IPC, 8K bytes of ROM contain all I/O control firmware. 8K bytes of RAM are used for CRT screen refresh storage. These do not occupy space in Intellec Series II main memory since the 10C is a totally independent microcomputer subsystem.

Control

User control is maintained through a front panel, conSisting of a power switch and indicator, reset/boot switch, run/halt light, and eight inter- rupt switches and indicators. The front panel cir- cuit board is attached directly to the IPC, allowing the eight interrupt switches to connect to the primary 8259A, as well as to the Intellec Series II bus.

Integral Floppy Disk Drive

Integral CRT

The integral floppy disk is controlled by an Intel 8271 single chip, programmable floppy disk con- troller. It transfers data via an Intel 8257 DMA con- troller between an 10C RAM buffer and the diskette. The 8271 handles reading and writing of data, formatting diskettes, and reading status, all upon appropriate commands from the 10C microprocessor.

Display - The CRT is a 12-inch raster scan type monitor with a 50/60 Hz vertical scan rate and 15.5kHz horizontal scan rate. Controls are pro- vided for brightness and contrast adjustments. The interface to the CRT is provided through an Intel 8275 single-chip programmable CRT con-

AFN-014248

Page 453 of the Intel mcs-48 user manual — AFN-014248
Page 453 · click to enlarge
Page 453
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 453)
Fig. 452 · The Single Component . 2" MCS-4S™ S~stem

inter MODEL225

MULTIBUS™ Interface Capability

and memory by operating at different priority levels. Resolution of bus exchanges is syn- chronized by a bus clock signal derived independently from processor clocks. Read/write transfers may take place at rates up to 5 MHz. The bus structure is suitable for use with any Intel microcomputer family.

All Intellec Series 11/85 models implement the industry standard MUL TIBUS protocol. The MULTIBUS protocol enables several bus masters, such as CPU and DMA devices, to share the bus

SPECIFICATIONS

Memory Access Time

RAM - 470 ns max PROM - 540 ns max

Host Processor (lPC)

8085A-2 based, operating at 4.0 MHz. RAM - 64K on the CPU card ROM - 4K (2K in monitor, 2K in boot/diagnostic) Bus - MULTIBUS™ bus, maximum transfer rate of 5 MHz Clocks - Host processor, crystal controlled at 4.0 MHz, bus clock, crystal controlled at 9.8304 MHz

Illtegral Floppy Disk Drive

Floppy Disk System Capacity -

250K bytes (formatted) Floppy Disk System Transfer Rate -

160K bits/sec Floppy Disk System Access Time -

I/O Interfaces

Track to Track: 10 ms max Average Random Positioning: 260 ms Rotational Speed: 360 rpm Average Rotational Latency: 83 ms Recording Mode: FM

Two Serial I/O Channels, RS232C, at 110-9600 baud (asynchronous) or 150-56K baud (synchronous). Baud rates and serial format fully programmable using Intel 8251A USARTs. Serial Channel 1 addi- tionally provided with 20 mA current loop. Parallel I/O interfaces provided for paper tape punch, paper tape reader, printer, and UPP-103 Universal PROM Programmer.

Physical Characteristics

Interrupts

CHASSIS

8-level, maskable, nested priority interrupt net- work initiated from front panel or user selected devices.

Width -17.37 in. (44.12 cm) Height -15.81 in. (40.16 cm) Depth -19.13 in. (48.59 cm) Weight - 731b. (33 kg)

Direct Memory Access (DMA)

KEYBOARD

Standard capability on MUL TIBUS interface; implemented for user selected DMA devices through optional DMA module-maximum transfer rate ot5 MHz.

Width -17.37 in. (44.12 cm) Height - 3.0 in. (7.62 cm) Depth - 9.0 in. (22.86 cm) Weight - 6 lb. (3 kg)

AFN-014248

Page 454 of the Intel mcs-48 user manual — AFN-014248
Page 454 · click to enlarge
Page 454
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 454)
Fig. 453 · The Single Component . 2" MCS-4S™ S~stem

MODEL225

Electrical Characteristics

Equipment Supplied

Model 225 Chassis including:

Integrated Processor Card (IPC) 1/0 Controller Board (laC) CRT ROM-Resident System Monitor Detachable keyboard ISIS-II System Diskette with MCS-80 I MCS-85

DC POWER SUPPLY

Typical Volts Amps System Supplied Supplied Requirements

Macroassembler ISIS-II CREDIT Diskette CRT-Based Text Editor

+ 5± 5% 30.0 17.0 +12 ± 5% 2.5 1.1 -12±5% 0.3 0.1 -10 ± 5% 1.0 0.08 + 15 ± 5%' 1.5 1.5 +24±5%' 1.7 1.7

Documentation Supplied

A Guide to Microcomputer Development Systems, 9800558

'Not available on bus.

Intellec® Series 1/ Model 22X/23X Instal/ation Manual, 9800559

ISIS-I/ System User's Guide, 9800306

Intellec(~ Series 1/ Hardware Reference Manual, 9800556

AC REQUIREMENTS FOR MAINFRAME

8080/8085 Assembly Language Programming Manual, 9800301

110V, 60 Hz - 5.9 Amp 220V, 50 Hz - 3.0 Amp

ISIS-II 8080/8085 Assembler Operator's Manual, 9800292

Intel/ec'~ Series 1/ Systems Monitor Source Listing, 9800605

Intel/ec'" Series II Schematic Drawings, 9800554

ISIS-I/ CREDIT (CRT-Based Text Editor) User's Guide, 9800902

Environmental Characteristics

Additional manuals may be ordered from any Intel sales representative or distributor office, or from Intel Literature Department, 3065 Bowers Avenue, Santa Clara, California 95051.

Operating Temperature -16°C to 32°C

(61 ° F to 90°F) Humidity - 20% to 80%

ORDERING INFORMATION

Part Number Description

MDS-225' Intellec' Series 11/85 Model 225

Microcomputer Development System (11 OV 160 Hz)

MDS-226' Intellec' Series 11/85 Model 226

Microcomputer Development System (220V 150 Hz)

"'MDS" is an ordering code only, a~d is not used as a product name or trademark. MDS") is a registered trademark of Mohawk Data Sciences Corp.

AFN-014248

Page 455 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 455 · click to enlarge
Page 455
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 455)
Fig. 454 · The Single Component . 2" MCS-4S™ S~stem
Page 456 of the Intel mcs-48 user manual — Extensive PROMPT 48 monitor, allowing system 110, bus, and memory expansion
Page 456 · click to enlarge
Page 456
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 456)
Fig. 455 · The Single Component . 2" MCS-4S™ S~stem

INTELLEC PROMPT 48 MCS·48 MICROCOMPUTER DESIGN AID

Complete low cost design aid and EPROM programmer for revolutionary MCS·48 single component computers

1 . 256 bytes expandable RAM data memory in PROMPT system

27 on·chip TTL compatible expandable 110 lines

Simplifies microcomputing, allowing user to enter, run, debug, and save machine language programs with calculator·like ease

On·chip clock, internal timer/event counter, two vectored interrupts, eight level stack control

Utilizes two removable 8·bit MCS·48 CPUs

8748 CPU with erasable, reprogram· mabie on·chip program memory 8035 CPU with off·chip program memory

Single + 5V DC system power requirement

Integral keyboard and displays (no tele· typewriter or CRT terminal required)

1 K·byte erasable, reprogram mabie on· chip (8748), expandable program memo ory, 1 K·byte RAM in PROMPT system

Extensive PROMPT 48 monitor, allowing system 110, bus, and memory expansion

64 bytes RAM on·chip, expandable register memory

Includes comprehensive design library

The Intellec Prompt 48 MCS-48 Microcomputer Design Aid is a low cost, fully-assembled design aid for the revolu- tionary 8748 single component microcomputer. PROMPT 48 simplifies the programming of MCS-48 systems - pro- grams may be entered and debugged with calculator-like ease on the large, informative display and keyboard panel. The comprehensive design library with tutorial manual is ideal for newcomers to microcomputing. PROMPT 48's panel connector allows easy access to 1/0 ports and system bus. Thus users can expand program memory beyond the 1K bytes provided internally.

INlIl COIIPORATMlN ASSIIoIES NO RESPONSllmy fOR THE US[ Of ANY CmCIJITRY OTHER THAN CIRCUITRY EIoflOO[O IN AN INTEL PllOOUCT. NO OTHER CIRCUIT PATENT LICENSES ARE IMPI.[O. " INTEl COIIPORATlON, )979 10-7 AFN-00352A ~01

Page 457 of the Intel mcs-48 user manual — 10-8 AFN-00352A-02
Page 457 · click to enlarge
Page 457
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 457)
Fig. 456 · The Single Component . 2" MCS-4S™ S~stem

INTELLEC PROMPT 48

FEATURES

real time - after each instruction the MCS-48 program counter is compared against pending breakpoint!\. If no break is encountered, execution resumes. The go single step (GO SINGLE STEP) mode exercises one instruction at a time. Commands are like sentences, with param- eters separated by [i] NEXT. Eadh command ends with

Single Component Compu.ter

The 8748 is the first microcomputer fully integrated on one component. All elements of a computing system are provided, including CPU, RAM, I/O, timer, interrupts, and erasable, reprogram mabie nonvolatile program memory.

[i] EXECUTE/END. In addition to the PROMPT basic commands, thirteen functions simplify programming. Each is started merely by pressing a hex datalfunction key and entering parameters as required, as shown in Table 1.

Programming Socket

PROMPT's programming socket programs this revolu· tionary " smart PROM"-the 8748-in a highly reliable, convenient manner. A fail·safe interlock ensures the device is properly inserted before applying program- ming pulses. Each location may be individually pro- grammed, one byte at a time. A read-before-write programming algorithm prevents device damage by inadvertently programming unerased memory.

MCS·48 Processors

The execution socket accepts either an 8035 or an 8748 MCS-48 processor. Both are supplied with each PROMPT 48, and either can serve as heart of the PROMPT system. There are no processors within the PROMPT 48 mainframe, which instead contains monitor ROM and RAM, user RAM, peripherals, drivers, and sophisticated control circuitry. Once a processor is seated in the execution socket and power is applied, the PROMPT system comes to life. Various access modes may be selected such as program execution from PROMPT system RAM, or from on-chip PROM. Thus pro- grams may first be executed from PROMPT RAM with the 8035 processor. When debugging is complete, the 8035 (execution socket) processor can program the 8748 (programming socket) processor. Finally, a programmed 8748 processor .may be exercised by itself from the execution socket. The execution socket processor runs either monitor or user programs.

System Monitor

The system reset command initializes the PROMPT system and enters the monitor. The monitor interrupt command exits a user program gracefully, preserving system status and entering the monitor. The user inter- rupt command causes an interrupt only if the PROMPT system is running a user program. A comprehensive system monitor resides in four 1 K-byte read only memories. It drives the PROMPT keyboard and displays and responds to commands and functions. fhe top 16 bytes of on-Chip program memory must be used by the PROMPT system to switch between monitor and user programs. It requires one level of the MCS-48 eight-level stack.

Commands

PROMPT 48's commands are grouped and color-coded to simplify access to the 8748's separate program and data memory. Registers, data memory, or program mem- ory, may be examined and modified with the examine and modify commands. Then either the next or previous register and memory locations may be accessed with one keystroke. Programs may be exercised in three modes. The go no break (GO NO BREAK) runs in real time. The go with break (GO WITH BREAK) mode is not

10-8 AFN-00352A-02

Page 458 of the Intel mcs-48 user manual — AFN~OO352A-03
Page 458 · click to enlarge
Page 458
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 458)
Fig. 457 · The Single Component . 2" MCS-4S™ S~stem

INTELLEC PROMPT 48

Cable Interface

An optional cable, PROMPT-SER, directly connects the PROMPT system to virtually any terminal via a rear access slot.

I}] Port 2 map

Allows specification of direction of each pin on port 2. Port 2 is multiplexed to address external program memory and expand 110. Thus it must\be buffered; the P2 map com- mand establishes the direction of buffering.

Programs 8748 EPROMs. Sweeps through register, data, or program memory searching for byte matches. Start· ing and ending memory addresses are spe- cified.

Sweeps through register, data, or program memory searching for word matches. Start- ing and ending memory addresses are spe- cified.

[!] Hex calculator

Computes hexadecimal sums and differ- ences.

I2l 8748 program lor debug

Similar to program EPROM, but ensures that the top of program memory contains moni- tor re-entry code for debugging.

Verifies any portions of EPROM program memory against PROMPT memory.

Allows blocks of regi ster, data, or program memory to be moved.

Specifies one of six access modes for PRO- MPT 48. For example EPROM, PROMPT RAM, or external program memory, and a variety of input/output options may be selected.

Allows any or all of the eight breakpoints to be set and cleared.

Clears portions of regi ster, data, or program memory.

Dumps register, data, or program memory to PROMPT's serial channel: for example, a teletypewriter paper tape punch.

Enters (reads) register, data, or program memory from PROMPT's serial channel.

Fetches programs from EPROM to PROMPT RAM.

Table 1_ PROMPT 48 Commands and Functions

Access

Easy access to the pins of the executing processor is provided via the 110 ports and bus connector. Only the EA external access, SS single step, and X1, X2 clock inputs are reserved for the PROMPT system.

Expansion

Program or data memory may be expanded beyond that provided on-chip or in the PROMPT system. 1/0 ports may be expanded, as with the 8243, or peripheral con- trollers may be memory-mapped. The 1/0 ports and Bus connector allows the execution socket processor to be directly interfaced to prototype systems, yet be con- trolled from the PROMPT panel.

Control The comma ndlfunction group panel keyboard and dis-

plays completely control PROMPT 48-a teletypewriter or CRT terminal is not needed. A hyphen prompting character appears whenever a command or function can be entered. Addresses and data are shown whenever examining registers and memory. Parameters for com- mands and functions are also shown.

AFN~OO352A-03

Show 15 more labels / short text on this page
Key Funcllon · Operallon · [}] Program EPROM · ~ Byte search · (with optional mask) · ~ Word search · (with optional mask) · [!] Compare · [!] Move memory · ~ Access · [ID Breakpoint · [9 Clear · @I Dump · []] Enter · IIJ Fetch
Page 459 of the Intel mcs-48 user manual — 10-10 AFN-00352A-04
Page 459 · click to enlarge
Page 459
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 459)
Fig. 458 · The Single Component . 2" MCS-4S™ S~stem

INTELLEC PROMPT 48

FUNCTIONAL DESCRIPTION

Compatibility - For systems requiring additional com- patibility, the MCS-48 can be expanded with the new 8243 110 expander, 8155 I/O and 256-byte RAM, 8755 110 and 2K-byte EPROM, or 8355 110 and 2K ROM devices. MCS-48 processors readily Interface to MCS-80/85 peripherals and standard memories.

"PROMPT" stands for PROgraMming Tool. It Is a pro- grammer for 8748 EPROMs, and a versatile aid for debugging MCS-48 programs. Programs can be entered via its Integral panel keyboard, programming socket, or serial channel. Almost any terminal can be Interfaced to the serial channel, Including a teletypewriter, CRT, or an

Intellec microcomputer development system. Intellec PROMPT 48 simplifies the programming of MCS-48 systems. Like the 8748 It Is radically new, highly In- tegrated, and expandable. Like the MCS·48 family, it Is low cost, and Ideal for small applications and programs. It Is a design aid, not a development system with sophisticated software and peripherals.

Memory Capacity

PROMPT 48 is a complefe, fully assembled and powered microcomputer system including program memory, data memory, 110, and system monitor beyond that available on MCS-48 single component computers. 1 K bytes of PROMPT system RAM serve as "writable program mem- ory" - a ROM simulator for the program memory on each MCS-48 computer. 256 bytes of PROMPT system RAM serve as "external data memory," beyond the 64 register bytes on each MCS-48 computer. Users may fur- ther expand program or data memory via the panel 110 ports and bus connector.

MCS-48 Processors

PROMPT 48 comes complete with two of Intel's revolu- tionary MCS-48 processors: an 8748-4 Single Compo- nent 8-Blt Microcomputer and and 8035-4 Single Compo- nent 8-Blt Microcomputer. Advances In n-channel MOS technology allow Intal, for the first tima to integrate Into one 40-pin component all computer functions: 8-blt CPU 1 K x 8-blt EPROM/ROM program memory 64 x 8-bit RAM data memory 27 Input/output lines 8-blt timer/event counter

Programming Programs written first In assembly language, are entered In machine language and debugged with calculator-like ease on the large, Informative display and keyboard panel. Most MCS-48 operations can be specified with only two keystrokes. Once entered, routines can be exercised one Instruction (single step) or many Instructions at a time. The principal MCS-48 register - the accumulator - Is displayed while single stepping. Programs can be executed in real time (GO NO BREAK) or with as many as eight different break- points (GO WITH BREAK).

Performance - More than 90 instructions - each one or two cycles - make the single chip MCS-48 equal in performance to most multi-chip microprocessors. The MCS-48 Is an efficient controller and arithmetic pro- cessor, with extensive bit handling, binary, and BCD arithmetic instructions. These are encoded for minimum program length; 70% are single byte opera- tion codes, and none Is more than two bytes.

Control

PROMPT 48 can be fully controlled either by the panel keyboard and displays, or remotely by a serial channel. Thus a teletypewriter or CRT can be used but neither Is required.

Flexibility - Three interchangeable, pin-compatible devices offer flexibility and low cost in development and production, as follows: 8748 - with user-programmable and erasable EPROM program memory for prototype and pre-productions systems. 8048 - with factory-programmed mask ROM memory for low-cost, high volume production. 8035 - without program memory, for use with external program memories.

Access The PROMPT panel 110 ports and bus connector allow easy access to all MCS-48 pins except those reserved for control by the PROMPT system, namely EA external access, SS Single step, and X1, X2 clock inputs.

Optional Expansion

Circuitry - Each MCS-48 processor operates on a single + 5V supply, with internal oscillator and clock driver, and circuitry for Interrupts and resets. Extra cir- cuitry is inthe 8048 ROM processor to allow low power standby operation. The 64 x 8 RAM data memory can be independently powered.

PROMPT 48 may be expanded beyond the resources on both the MCS-48 single component computer and the PROMPT system. External program and data memory may be Interfaced and input/out ports added with the 8243 110 expander.

10-10 AFN-00352A-04

Page 460 of the Intel mcs-48 user manual — AFN-00352A-05
Page 460 · click to enlarge
Page 460
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 460)
Fig. 459 · The Single Component . 2" MCS-4S™ S~stem

INTELLEC PROMPT 48

Documentation

concepts. PROMPT's handy, pocket-sized reference card let can be affixed to the mainframe. Programming pads aid in the organization and documentation of pro- grams. These features, plus a comprehensive design library of manuals, articles, and application notes, make the Intellec PROMPT 48 ideal for the newcomer to mlcrocomputlng.

The PROMPT 48 manual Includes chapters for the reader with little or no programming experience. Topics treated range from number systems to microcomputer hardware design. A novel, unifying set of tutorial diagrams - MICROMAPS - simplify microcomputer

SPECIFICATIONS

User Interrupt - causes an Interrupt only If the PROMPT system Is running a user program.

Timing Basic Instruction - 2.5 ,..s Cycle Time - tCY = 2.5,..s Clock - 6 MHz ± 0.1%

The processor traps to location 316. The MCS-48 timer/- event counter is not used by the PROMPT system and is available to the user. Either timer flag or interrupt will signal when overflow has occurred. The timer interrupt can be used only in the go-no-break (real time) mode.

Memory Bytes The 8748 contains 64 bytes of register memory, no ex- ternal data memory, and 1024 bytes of RAM program memory. The PROMPT system provides 256 bytes of ex- ternal data memory, and 1024 bytes of RAM program memory. PROMPT RAM program memory can be used in place of the on-chip EPROM program memory; thus programs less than 1024 bytes may be designed. For larger programs additional memory can be directly In- terfaced to the MCS-48 bus via the PROMPT panel I/O ports and bus connector.

EPROM Programming PROMPT 48 provides a programming socket to directly program 8748s. Programs are loaded Into the PROMPT RAM program memory via keyboard. EPROM, teletype- writer, or other serial interface. A fail-safe interlock ensures programming pulses are applied only if the device is properly inserted. Inadvertant reprogramming is prevented by a read-before-write programming algo- rithm. Each location may be individually programmed, one byte at a time.

Memory Maximum On Chip In PROMPT 48

Reglsler 64 64 0 Dala 3328 0 256 Program 4006 1024 EPROM 1024 RAM

Panel 1/0 Ports and Bus Connectors All MCS-48 pins, except five, are accessible on the I/O ports and bus connector. The five reserved for PROMPT system control are EA external access, SS single step, X1, X2 crystal Inputs, and 5V. Due to internal buffering of the MCS-48 bus, access times will be negligibly degraded by the PROMPT system. Since MCS-48 pro- cessors do not communicate internal address gate status, bus data must be driven out If neither PSEN nor RD is asserted.

1/0 Ports All MCS-48 I/O ports are accessible on the PROMPT panel connector.

Bus - A true bidirectional 8-bit port with associated strobes. If the bidirectional feature is not needed, bus can serve as either a statically latched output port or a non-latching Input port. Input and output lines cannot be mixed.

System Devices'

Ports 1 and 2 - Data written to these 8-bit ports is latched and remains unchanged until written. As Inputs these lines are not latching. The lines of ports 1 and 2 are called quasi bidirectional. A special output structure allows each line of port 1 and half of port 2 to serve as an input, an output, or both. Any mix of input, output, and both lines is allowed.

Both user programs and the PROMPT monitor enjoy ac- cess to system devices: serial I/O, panel displays, and keyboard. These are memory-mapped to program memory addresses beyond 2K.

Serial I/O - The serial I/O port (data 82016, control 821 16) Is defined by software and jumpers for 110 baud, 20 mA current loop, but can easily be jumpered for other baud rates and RS232C levels. Asynchronous or synchronous transmission, data format, control characters, and par- ity can be programmed.

TO, n, and INT - Three pins that can serve as Inputs. TO can be designated as a clock output. Input/output can be expanded via the PROMPT panel connector with a special I/O expander (8243) or standard peripherals.

Panel Displays - Eight display ports (data 810-8171sl allow each of the panel displays to be written from user programs. Data written on a display device will time out after a fixed interval. Displays must be refreshed on a polled or interrupt-driven basis. User programs can call software drivers which provide this capability.

Reset and Interrupts Relit - Initializes the PROMPT system and enters the monitor. Monitor Interrupt - exits a user program gracefully, preserving system status and entering the monitor.

AFN-00352A-05

Memory Configuration

Page 461 of the Intel mcs-48 user manual — 10-12 AFN-00352A-Q6
Page 461 · click to enlarge
Page 461
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 461)
Fig. 460 · The Single Component . 2" MCS-4S™ S~stem

INTELLEC PROMPT 48

Keyboard -. Software Is used to debounce the panel

Panel 110 Ports and Bus Connector - 3M 3425 Flat Crimp. A complete cable set Including wlrewrap header for prototyplng Is included with each PROMPT.

keyboard (data 81016). The monitor's Input routines (see Software Drivers) provide this debouncing and can be called from user programs.

Equipment Supplied

Commands

PROMPT 48 mainframe with two MCS-48 processors (8748, 8035), display/keyboard, EPROM programmer, power supply, cabinet, and ROM-based monitor. 110 V AC power cable 110 or 220 V AC Fuse Panel 110 ports Bus connector cable set

Single step} With break Go No break

{ Register} Examine/modify Data Memory Program Open previous/clear/Emtry [!] Next 0 Execute/End

Functions

Physical Characteristics Height - 5.3 in. (13.5 cm) max Width - 17 in. (43.2 cm) Depth - 17 in. (43.2 cm) max Weight - 21 lb. (9.6 kg)

iii Port 2 map lil Program EPROM (8748) I!l Search (R, 0 or P)' memory for 1 byte, optional

mask IL Search (R, 0 or P) memory for 2 bytes, optional

mask Ii] Hexadecimal calculator +,- [] 8748 program EPROM for debug IiJ Compare EPROM with memory Ii] Move memory (R, 0 or P) -00 Access

Electrical Characteristics Po' 'er Requirements - either 115 or 230V AC (± 10%) may be switch selected on the mainframe. 1.8 amps max current (at 125 V AC). Frequency - 47-63 Hz

Ii] Breakpoint ~ Clear memory (R, 0 or P) Ii!] Dump memory (R, 0 or P) IEJ Enter (read) memory (R, 0 or P) If] Fetch EPROM program memory

Environmental Characteristics Operating Temperature - O·C to + 40·C Non·Operatlng Temperature - 20·C to + 65·C

Reference Manuals 9800402 - Intellec PROMPT 48 User's Manual (SUPPLIED) 9800270 - MCS·48 User's Manual (SUPPLIED) 9800255 - MCS-48 and UPI-41 Assembly Language Programming M~nual (SUPPLIED)

Nole *R, D, or P is register, data, or program.

Software Drivers Panel Keyboard In - KBIN, KDBIN Panel Display Out - DGS6, DGOUT, HXOUT, BLK, REFS, ENREF Serial Channel - CI, CO, RI, PO, CSTS

Reference manuals are shipped with each product only if deSignated SUPPLIED (see above). Manuals may be ordered from any Intel sales representative, distributor office or from Intel Literature Department, 3065 Bowers Avenue, Santa Ciara, California 95051.

Connectors Serial 110 - 3M 3462·0001 Flat Crimp/AMP 88106·1 Flat Crimp/ TI H312113 Solder/AMP 1·583485-5 Solder.

ORDERING INFORMATION

Part Number Description

PROMPT-48 or Intellec PROMPT 48 MCS-48 micro- PROMPT-48-220V computer design aid. Complete with

two MCS·48 processors (8748 and 8305), EPROM programmer, integral keyboard; displays, and system monitor in ROM.

PROMPT-SER Serial cable for connecting PROMPT to TTY, CRT

10-12 AFN-00352A-Q6

Page 462 of the Intel mcs-48 user manual — 10-13 AFN-01103A-01
Page 462 · click to enlarge
Page 462
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 462)
Fig. 461 · The Single Component . 2" MCS-4S™ S~stem

ICE·49 MCS·48 IN·CIRCUIT EMULATOR

Emu/etes 8049, 8048, 8748, 8039, 8035, end 8021* MIcrocomputers

Extends Intellec microcomputer develop- ment system debug power to user con- figured system via external cable and 40-pln plug, replacing system MCS-48 device

Eliminates need for extraneous debugging tools residing in user system

Collects bus, register, and MCS-48 status information on instructions emulated

Emulates user system MCS-48 device in real time

Provides capability to examine and alter MCS-48 registers, memory, and flag values, and to examine pin and port values

Shares static RAM memory with user system for program debug

Provides hardware comparators for user designated break conditions

Integrates hardware and software efforts early to save development time

The ICE-49 MCS-48 In-Circuit Emulator module is an Intellec-resident module that interfaces with any MCS-48 system_ The MCS-48 family consists of the 8049, 8048, 8748, 8039, 8035, and 8021 microcomputers_ The ICE-49 module inter- faces with an MCS-48 system through a cable terminating in an MCS-48 pin-compatible plug which replaces the MCS-48 device in the sytem_ With the ICE-49 plug in place, the designer has the capability to execute the system In. real time while collecting up to 255 instruction cycles of real-time trace data. In addition, he can single step the system program to monitor more closely the program logic during execution. Static RAM memory is available through the ICE-49 module to emulate MCS-48 program and data memory_ The designer can display and alter the contents of data and replacement RAM control memory, internal MCS-48 registers and flags and I/O ports. Powerful debug capability is extended into the MCS-48 system while ICE-49 debug hardware and software remain inside the Intellec system. Sym- bolic reference capability allows the designer to use meaningful symbols rather than absolute values when examining and modifying memory, registers, flags, and I/O ports in this system.

'*EM1 emulator board is also required.

10-13 AFN-01103A-01

Page 463 of the Intel mcs-48 user manual — 10-14 AFN-01103A-02
Page 463 · click to enlarge
Page 463
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 463)
Fig. 462 · The Single Component . 2" MCS-4S™ S~stem

ICE·49

FUNCTIONAL DESCRIPTION

Integrated Hardware/Software Development

The user prototype need consist of no more than an MCS-48 socket and timing logic to begin integration of software and hardware development efforts. Through the ICE-49 module mapping capabilities, Intellec system resources can be accessed to replace prototype memo ory. Hardware designs can be tested using the system software to drive the final product. Thus, the system in· tegration phase, which can be costly when attemptin.g to mesh completed hardware and software products, becomes a convenient two·way debug tool when begun early in the design cycle.

Debug Capability Inside User System

The ICE-49 module provides the user with the ability to debug a full prototype or production system wi.thout introduCing extraneous hardware or software test tools. The module connects to the user system through the socket provided for the MCS-48 device in the user system. Intellec memory is used for the execution of the ICE-49 software. The Intellec console and file handling capabilities provide the designer with the ability to com· municate with the ICE-49 module and display informa· tion on the operation of the prototype system. The ICE-49 module block diagram is shown in Figure 1.

Real· Time Trace

The ICE-49 module captures trace information while the designer is executing programs in real time. The instruc· tions executed, program counter, port values for bus 0, port 1 and port 2, and the values of selected MCS-48 status lines are stored for the last 255 instruction cycles executed. When reirieved for dispiay, code is disassem· bled for user convenience. This provides data for deter· mining how the user system was reacting prior to emu· lation break, and is available whether the break was user initiated or the result of an error condition. For more detailed information on the actions of internal registers, flags, or other system operations, the user may operate in single or multiple step sequences tailored to system debug needs.

Batch Testing

In conjunction with the ISIS·II diskette operating system, the ICE-49 module can run extensive system diagnostics without operator intervention. The designer or test engineer can define a comp!ete diagnostic eX6i- cise, which is stored in a file on the diskette. When actio vated with an ISIS·II submit command, this file can instruct the ICE-49 module to execute the diagnostic routine and store the results in another file on the diskette. Results are available to the designer at his con· venience. In this way, routine diagnostics and long term testing may be done without tying up valuable man· power.

I 11 1

EMULATOR BOARD

CONTROL PROCESSOR BOARD

USER SOCKET I

IINTERNAL I TIMER II CONTROL I f ,--=-::::.:-:..:., P ROG R AM UJ

SYNC 0 r l I I-JI I

CABLE BUFFER

SYNC 1

II I I I I I I I I I I

~ !

~ I z

8080 CONTROL PROCESSOR

~ I

P1

~ I

P2A 8049 OR 8048 WIINTERNAL MONITOR P~~I______ =,:;:-:-_---"

~ 1 !2 I

I I II I L ~ L ~

CONTROL SCRATCH

PAD

Figure 1. ICE-49 Module Block Diagram

10-14 AFN-01103A-02

Page 464 of the Intel mcs-48 user manual — AFN-01103A-03
Page 464 · click to enlarge
Page 464
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 464)
Fig. 463 · The Single Component . 2" MCS-4S™ S~stem

ICE·49

Memory Mapping

Intel 8080 to communicate with the Intellec host pro- cessor via a common memory space. The 8080 also con- trols an internallCE-49 bus for intramodule communica- tion. ICE-49 hardware consists of two PC boards, the controller board, and the emulator board, all of which reside in the Intellec chassis. A cable interfaces the ICE-49 boards to the MCS-48 system. The cable ter- minates in a MCS-48 pin compatible plug which replaces any MCS-48 device in the user system. The ICE-49 module block diagram is shown in Figure 1.

The 8049, 8748 and 8048 contain internal program and data memory. Both program and data memory can be expanded using external memory devices.

Internal Memory - When the MCS-48 microcomputer is replaced by the ICE-49 socKet in a system, the ICE-49 module supplies static RAM memory as a replacement for the internal microcomputer memory. The ICE-49 module has enough RAM memory available to emulate up to the total 4K control memory capability of the sys- tem_ The ICE-49 module also provides for up to 384 bytes of data memory.

Real-Time Trace

Trace Buffer - While the ICE-49 module is executing the user program, it is monitoring port, program counter, data, and status lines. Values for each instruc- tion cycle executed are stored in a 255 x 44 real-time RAM trace buffer. A resetable timer resident on the con- troller board counts instruction cycles.

External Memory - The ICE-49 module separates replacement control memory into sixteen 256-byte blocKs. Replacement external data memory consists of one 256-byte block. Each block of memory can be de- fined separately as supplied by the user system or sup- plied by the ICE-49 module. The user may assign ICE-49 equivalent memory to take the place of external memory not yet supplied in his system.

Controller Board

The ICE-49 module talks to the Intellec system as a peripheral device. The controller board receives com- mands from the Intellec system and responds through the parameter block. Three 15-bit hardware breakpoint registers are available for loading by the user. While in emUlation mode, a hardware comparator is constantly monitoring address and status lines for a match to ter- minate an emulation. The breakpoint registers provide a signal when a match is detected. The user may disable the emulation break capability and use the signal to syn- chronize other debug tools. The controller board returns real-time trace data, MCS-48 register, flag, and pin values, and ICE-49 status information, to a control block in the Intellec system when emulation is terminated. This information is available to the user through the ICE-49 interrogation commands. Error conditions, when present, are automatically displayed on the Intellec system console. The controller board also contains static RAM memory, which can be used to emulate MCS-48 program and data memory in real time. 4K of memory is available in sixteen 256-byte pages to emu- late MCS-48 PROM or PROM program memory. A 256- byte page of data memory is available to access in place of MCS-48 external data memory. The controller board address map directs the ICE-49 module to access either replacement ICE-49 memory or actual user system ex- ternal memory in 256-byte segments based on informa- tion provided by the user.

Symbolic Debugging

ICE-49 software provides symbolic definition of all MCS-48 registers, flags, and selected MCS-48 pins. Symbolically defined pseudo registers provide access to the sense of MCS-48 flip flops which enable time, counter, interrupt, and flag-01lIag-1 options. In addition, the user may reference locations in program and data memory, or their contents, symbolically. The user sym- bol table generated along with the object file during a program assembly may be loaded to Intellec memory for access during emulation. The user is encouraged to add to this symbol table any additional symbolic values for memory addresses, constants, or variables he may find useful during system debugging. Symbols may be sub- stituted for numeric values in any of the ICE-49 com- mands. Symbolic reference is a great advantage to the system designer. He is no longer burdened with the need to recall or look up those addresses of key loca- tions in his program that can change with each assem- bly. Meaningful symbols from his source program may be used instead. For example, the command:

GO FROM .START TILL XDATA. RSLT WRITTEN

begins execution of the program at the address refer- enced by the label START in the designers assembly program. A breakpoint is set to occur the first time the microprocessor writes to the external data memory location referenced by RSL T. The designer does not have to be concerned with the physical locations of START and RSL T. The ICE-49 software driver supplies them automatically from information stored in the symbol table.

Emulator Board

The emulator board contains the 8049* and peripheral logiC required to emulate the MCS-48 device in the user system. A software selectable 6 MHz or 3 MHz clock drives the emulated MCS-48 device. This clock can be disabled and replaced with a user supplied TTL clock in the user system.

Hardware The ICE-49 module is a microcomputer system utilizing Intel's 8049 or 804818748 microcomputer as its nucleus. The 8049 provides the 8049, 8039 emulation character- istics. The 804818748 provides the 8748180481803518021 emulation characteristics. The ICE-49 module uses an

·Use 8048 with internal monitor program when emulating 8748/80481 803518021.

AFN-01103A-03

Page 465 of the Intel mcs-48 user manual — 10-16 AFN·01103A·04
Page 465 · click to enlarge
Page 465
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 465)
Fig. 464 · The Single Component . 2" MCS-4S™ S~stem

ICE·49

Cable Card

The cable card is included for cable driving. It transmits address and data bus information to the user system through a 40·pin connector which plugs into the user system in the socket designed for the MCS·48 device.

Display Prints contents of memory, MCS·48 device registers, 1/0 ports, flags, pins, real·time trace data, symbol table, or other diagnostic data on list device. Change Alters contents of memory, register, output port, or flag. Sets or alters break· pOints and display registers. Map Defines memory status. Base Establishes mode of display for output data. Suffix Establishes mode of display input data.

Software

The ICE·49 software driver Is a RAM·based program which provides the user with an easy to use command language (see Table 1, Table 2, and Table 3) for defining breakpoints, initiating real·time emulation or single step operation, and interrogating and altering user system status recorded during emulation. The ICE·49 command language contains a broad range of modifiers to provide the user with maximum flexibility in defining the opera· tion to be performed. The ICE·49 software driver is available on diskette and operates in 32K of Intellec RAM memory.

Table 2. ICE·49 Interrogation Commands

Load Fetches user symbol table and object code from input device. Save Sends user symbol table and object code to output device. Define Enters symbol name and value to user symbol table. Move Moves block of memory data to another area of memory. list Defines list device. Exit Returns program control to ISIS·II. Evaluate Converts expression to equivalent values in binary, octal, decimal, and hex. Remove Deletes symbols from symbol table. Reset Reinltiallzes ICE·49 hardware.

Enable Activates breakpOint and display regis· ters for use with go and step com· mands. Go Initiates real·time emulation and allows user to specify breakpoints and data retrieval. Step Initiates emulation in single instruction Increments. Each step is followed by register dump. User may optionally tailor other diagnostic activity to his needs. Interrupt Emulates user system interrupt.

Table 1. ICE·49 Emulation Commands

Table 3. ICE·49 Utility Commands

SPECIFICATIONS

System Clock

ICE·49 Operating Environment

Crystal controlled 6.0 MHz internal, 3.0 MHz internal or user supplied TTL external: software selectable.

Required Hardware Intellec microcomputer development system System console Intellec diskette operating system ICE·49 Module

Physical Characteristics

Width - 12.00 In. (30.48 cm) Height - 6.75 in. (17.15 cm) Depth - 0.50 in. (1.27 cm) Weight - 8.00 lb. (3.64 kg)

Required Software System monitor ISIS·II

Electrical Characteristics

Equipment Supplied

DC Power Requirements Vee = +5V ±5% lee = 10A mal(; 7.0A typ Voo = + 12V ±5% 100 = 79 mA max; 45 mA typ Vss = -10V ±5% Iss = 20 mA max

Printed circuit boards (control board, emulator board) Interface cables and buffer module ICE·49 software, diskette·based version (single density or double density) 8048 with internal monitor program

10-16 AFN·01103A·04

Command Operation · Command Operation · Command Operation

Page 466 of the Intel mcs-48 user manual — 10-17 AFN-00801 A-01
Page 466 · click to enlarge
Page 466
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 466)
Fig. 465 · The Single Component . 2" MCS-4S™ S~stem

inter

EM1 8021 EMULATION BOARD

EPROM functional equivalent of 8021 - single component 8·bit microcomputer

Connects to prototype system through 8021 pin compatible plug

Based on 8748 - user programmablel erasable EPROM 8·bit computer

On·card 3.0 M Hz or external TTL driven clock

Operates with ICE·49™ module to provide full in·circuit debugging of 8021 prototype system

Portable 4" x 7" microcomputer circuit assembly

The EM1 emulator board is a ready-to-use 4" x 7" microcomputer circuit assembly that emulates the Intel 8021 microcomputer. A 12-inch flat-cable assembly connects the board to the 8021 socket in a prototype system. The board is designed so that it can be mounted either as a stand-alone unit, or within the prototype assembly.

The 8021 microcomputer has 1 K x 8 mask-programmable ROM program memory and 64 by 8 RAM data memory. The EM1 is controlled by an Intel 8748, with 1 K of EPROM program memory and a 64 byte data memory. The EPROM can be programmed and erased repeatedly during hardware and software development. The EM1 has several ancillary circuits that perform the following functions which are specific to ttie 8021:

Zero crossing detector Crystal controlled clock/buffer Port 0 simulator

For prototype debugging, the 8748 can be removed from its socket and replaced with a cable to an ICE-49 module. When used with the EM1, ICE-49 module emulates the 8021 in real-time, or single-steps the 8021 program at the user's command. A full range of capabilities for examining and modifying 8021 memory and status are supplied through ICE-49 module.

10-17 AFN-00801 A-01

Page 467 of the Intel mcs-48 user manual — AFN-00801A-02
Page 467 · click to enlarge
Page 467
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 467)
Fig. 466 · The Single Component . 2" MCS-4S™ S~stem

EM1

HARDWARE

Zero Cross Detection Simulator

The zero cross detection simulator enables the 8748's T1 Input to detect zero-crossings. The circuitry provides a high level signal on a positive crossing and a low level signal on a negative crossing of zero to the T1 Input of the 8748.

The EM1 emulation board uses the 8748 to perform the emulation.

PO Simulator

Port 0 of the 8021 Is a quasi"-bldlrectlonal port. The PO simulator converts the data bus of the 8748 Into a quasi- bidirectional port.

Reset Buffer

The 8021 resets on a logic HIGH level signal. However, the 8748 resets on a logic LOW level, thus an Inverter Is provided on the EM1 to make the two chips compatible.

Crystal Control Clock Buffer

The EM 1 allows user to select an on-board oscillator or a TTL clock driven from the 8021 user's prototype system via a Camblon Suitcase jumper.

Optional Pull·Ups

Resistors are provided to simulate the optional pull-up resistors on T1 input and Port 0 of the 8021. A removable resistor pack is used on Port O. The T1 input pull up can be Installed by soldering In a 50K resistor.

W1 AB C-D

On-Board External TIL Clock

Software

"A bidirectional port which serves as an Input port. out- put port, or both even though outputs are statically latched.

When emulating the 8021 with EM1, the user must observe the 8021 Instruction set.

DB0DB7

P10 - P17 P20P28

r______________ ~A~LE~ __________________ ~

8748 OR 4()'PIN PLUG

40 LINES

8021 CABLE

28 LINES

PROG r-1 CRYSTAL

PLUG

CABLE TO

r__________ ....... __ -""XTAL 1

12 INCHES FLAT CABLE

ICE-49 MODULE

CONTROL

CLOCK

Tlr-~----- ....... ----~ r-----------~--~Tl

RESET t--.-----------------------o< 1------1---1 RESET

RE~ET BUFFER I 28·PIN r- - -.., SOCKET I OPTIONAL I LP~L~ ...J

'-oiiiCIAFiD ., I CLOCK I

L2!!!I~ .J

AFN-00801A-02

Jumper Poaltlon · State

Page 468 of the Intel mcs-48 user manual — PART NUMBER
Page 468 · click to enlarge
Page 468
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 468)
Fig. 467 · The Single Component . 2" MCS-4S™ S~stem

EM1

SPECIFICATIONS

System Clock

Crystal controlled 3.0 MHz on board or user supplied TIL external clock: hardware jumper selectable.

Operating Environment

Physical Characteristics

Required Hardware:

Width: 7.0 in (17.78 cm) Height: 4.0 in. (10.16 cm) Depth: 0.75 in. (1.91 cm) Weight: < 1.0 Ibs. (0.45 kg)

Required Hardware:

EM1 emulation board Intellec Microcomputer Development System con· figurated with ICE·49 module

Electrical Characteristics

DC Power:

Vcc5V ±5% Icc 300 mA (max.)

Equipment Supplied

EM1 printed circuit board

Environmental Characteristics

12" long flat cable terminating in 28·pin plug, pin com· patible with 8021

Operating Temperature0 - 55°C
Operating Humidityup to 95% relative humidity without condensation

ORDERING INFORMATION

PART NUMBER

Description

MDS·EM1

10-19 AFN·00801 A·03

Show 5 more labels / short text on this page
Stand·Alone · EM1 emulation board · In·Circuit Emulation · EM1 Operator's Manual · 8021 Emulation Board
Page 469 of the Intel mcs-48 user manual — Portable 4.25" x 2.75" microcomputer circuit assembly
Page 469 · click to enlarge
Page 469
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 469)
Fig. 468 · The Single Component . 2" MCS-4S™ S~stem

EM2 8022 EMULATION BOARD

Portable 4.25" x 2.75" microcomputer circuit assembly

Provides Intel® 8755A - 2K x 8 EPROM

Connects directly into prototype system through Intel® 8022* pin compatible socket

EPROM functional and electrical equivalent of Intel® 8022 - single component 8·bit computer

The EM2 emulator board is a ready·te-use 4.25" x 2.75" microcomputer circuit assembly that emulates the Intell!> 8022 single chip microcomputer. The emulator board is designed to plug directly into the 8022 socket. No Interfacing and interconnection cables are necessary. Power is obtained from the user's system.

The EM2 emulator board provides the user a full EPROM functional and electrical equivalent of the 8022 single compo· nent 8·bit microcomputer.

The EM2 emulator board consists of an Intell!> 8022 emulator chip and an Intell!> 8755A, providing the EM2 emulator board with a 2K x 8 EPROM program memory which can be programmed and erased repeatedly during hardware and software development.

The 8022E emulator chip is a modified version of the 8022 intended for use in design support systems. Instead of using resident ROM memory as the 8022, the 8022E uses an external 2K EPROM 8755A memory for program storage, allowing easy program modification.

·See Intell!! 8022 Data Sheet.

1()"20 AFN-ooaooA-ol

Page 470 of the Intel mcs-48 user manual — AFN-OOBOOA-02
Page 470 · click to enlarge
Page 470
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 470)
Fig. 469 · The Single Component . 2" MCS-4S™ S~stem

EM2

40·PIN SOCKET CONFIGURATION

EM2 BLOCK DIAGRAM

P28

P27

P25

P24

VAREF

PROD

ANI

P23

ANO

P22

P21

TO

P20

VTH

P17

2048 EPROM .----r-l MEMORY

POO

P18

P15

POI

P02

P14

P03

P13

4(J.PIN SOCKET

8755A

P04

P12

P05

8022 EMULATOR CHIP

P08

P07

RESET

ALE

XTAL2

XTALI

SUBST

SQUARE SOLDER PAD

PIN DESCRIPTION

nation Pin II Function

Deslg· nation Pin II Function

RESET

24 Input used to Initialize the processor by clearing status flip-flops and setting the program counter to zero.

Vss 20 Circuit GND potential.

40 + 5V circuit power supply.

A/D converter GND potential. Also establishes the lower limit of the con- version range.

PROG

37 Output strobe for Intell!> 8243 I/O ex- pander.

10-17 8·bit open-drain port with comparator Inputs. The switching threshold is set externally by VTH. Optional pull-up reo slstors may be added via ROM mask selection. (The emulator board has switch selection of this option.)

AID + 5V power supply.

SUBST

Substrate pin used with a bypass capa- citor to stabilize the substrate voltage and improve AID accuracy.

VTH 9 Port 0 threshold reference pin.

P10-P17 25-32 8-bit quasi·bidirectlonal port. Port 1

V AREF

4 AID converter reference voltage. Estab- lishes the upper limit of the conversion range.

P20-P27 33-36 8-bit quasi-bidirectional port.

Port 2 38-39 P20-P23 also serve as a 4-bit I/O ex- 1-2 pander for Intell!> 8243.

ANO, AN1

6,5 Analog inputs to AID converter. Soft- ware selectable on-chip via SEL ANO and SEL AN1 instructions.

TO 8 Interrupt input and input pin testable using the conditional transfer Instruc- tions JTO and JNTO. Initiates an inter- rupt following a low level input if inter- rupt is enabled. Interrupt Is disabled after a reset.

ALE

18 Address Latch Enable. Signal occur- ring once every 30 input input clocks (once every single cycle instruction), used as an output clock.

T1 19 Input pin testable using the JT1 and JNT1 conditional transfer instructions. Can be designated the timer/event counter input using the STRT CNT in- struction. Also serves as the zero-cross detection input to allow zero-crossover sensing of slowly moving AC Inputs. Optional pull-up resistor may be added via ROM mask selection.

XTAL1

22 One side of crystal, inductor, or re- sistor input for internal oscillator. Also Input for external frequency source. (Not TTL compatible.)

XTAL2

23 Other side of timing control element. This pin Is not connected when an ex- ternal frequency source is used.

AFN-OOBOOA-02

Show 13 more labels / short text on this page
Vee · AVec · o · AVss · Pll · Pl0 · Tl · Vss · o PIN 1 · Deslg· · AVss · POO-P07 Port 0 · AVcc
Page 471 of the Intel mcs-48 user manual — 10-22 AFN-00800A-03
Page 471 · click to enlarge
Page 471
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 471)
Fig. 470 · The Single Component . 2" MCS-4S™ S~stem

EM2

On the EM2 Board:

The 8755A EPROM is erased when exposed to light with wavelengths shorter than approximately 4000 Ang- stroms (A). Sunlight and certain fluorescent lamps have wavelengths in the 3000A to 4000A range. If the 8755A is to be exposed to sunlight or room fluorescent lighting for extended periods, then opaque labels should be placed over the window to prevent unintentional erasure.

the Intel® 8755A EPROM can be programmed using any o/the modules listed in Table 1.

UPP-1P3 Universal PROM Programmer. Requires UPP-955, which in- cludes 8755A Personality Card with 40-pin adapter socket.

. PROMPT-48 . Intellec® MCS-48 Microcom- puter Design Aid. Requires PROMPT-475 Programming Adapter.

The recommended erasure procedure is exposure to ultraviolet light which has a wavelength of 2537 A. The integrated dose (UV intensity multiplied by exposure time) for erasure should be a minimum of 15W-sec/cm. The erasure time with this dosage is approximately 15 to 20 minutes using an ultraviolet lamp with a 12,000" W/em2 power rating. Place the 8755A within one inch of the lamp during erasure. Some lamps include a filter which should be removed before erasure.

PI'lOMPT-80/85 Intellec® 8080/8085 Microcom- puter Design Aid. Requires PROMPT-975 Programming Adapter.

Table 1_ 8755A Proramming Module

SPECIFICATIONS

Physical Characteristics

Operating Environment

Width2.75 in. (6.98 cm)
Height4.25 in. (10.79 cm) Depth: 1.5 in. (3.81 cm) Weight: 0.5 Ib (0.23 kg)

.Intef" 8755A EPROM Programming

UPp:103 "'ROMPT-48 PI'IOMPT-80/85

Electrical Characteristics

lntellec Microcomputer Development System

Vcc=5V ±5% Icc = 300 mA (maximum)

8048 Assembler ISIS-II Diskette Operating System

Environmental Characteristics

Operating Temperature - 0 to 55°C

EM2 Printed Circuit Board EM2 Reference Manual

Operating Humidity - Up to 95% relative humidity without condensation

ORDERING INFORMATION

Part Number Description

MDS-EM2 8022 Emulation Board

10-22 AFN-00800A-03

Show 4 more labels / short text on this page
Module Description · DC Power · Software · Equipment Supplied
Page 472 of the Intel mcs-48 user manual — FLORIDA
Page 472 · click to enlarge
Page 472
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 472)
Fig. 471 · The Single Component . 2" MCS-4S™ S~stem

intJ

u.S. AND CANADIAN SALES OFFICES

3065 Bowers Avenue Santa Clara, California 95051 Tel: (408) 987-8080 "TWX: 910·338-0026 TELEX: 34-8372

MISSOURI

OREGON

ALABAMA

FLORIDA (cont.)

Intel Corp. 303 Williams Avenue, S.W. Suite 1422 Huntsville 35801 Tel: (205) 533·9353

Intel Corp. 5151 Adanson Street, Suite 203 Orlando 32804 Tel: (305) 628-2393 TWX: 810-853-9219

Intel Corp. 502 Earth City Plaza Suite 121 Earth City 63045 Tel: (314) 291-1990

Intel Corp_ 10700 S.W. Beaverton Hillsdale Highway Suite 324 Bea erton 97005 Tel: (503) 641-8086 TWX: 910-467·8741

ARIZONA

GEORGIA

Technical Representatives, Inc." 502 Earth City Plaza Suite 201 Earth City 63045 Tel: (314) 291-0001

Intel Corp. 10210 N. 25th Avenue, Suite 11 Phoenix 85021 Tel: (602) 997-9695

Intel Corp. 3300 Holcomb Bridge Rd. Norcross 30092

PENNSYLVANIA

Intel Corp.' 275 Commerce Or. 200 Office Center Suite 300 Fort WaShington 19034 Tel: (215) 542-9444 TWX: 510-661·2077

Technical Representatives, Inc.' VSW Bldg. Suite 560 406 W. 31st Street Kansas City 64111 Tel: (816) 756-3575 TWX: 910-771-0025

BFA 4426 North Saddle Bag Trail Scottsdale 85251 Tel: (602) 994-5400

ILLINOIS

Intel Corp.* 2550 Golf Road, Suite 815 Rolling Meadows 60008 Tel: (312) 981-7200 TWX: 910-651-5881

CALIFORNIA

NEW JERSEY

Intel Corp." 201 Penn Center Boulevard Suite 301W Pittsburgh 15235 Tel: (412) 823-4970

Intel Corp. 7670 Opportunity Rd. Suite 135 San Diego 92111 Tel: (714) 268-3563

Technical Representatives 1502 North Linde Street Bloomington 61701 Tel: (309) 829-8080

Intel Corp.' Raritan Plaza 2nd Floor Raritan Center Edison 08817 Tel: (201) 225-3000 TWX: 710-480-6238

Q.E.D. Electronics 300 N. York Road Hatboro 19040 Tel: (215) 674-9600

INDIANA

Intel Corp." 2000 East 4th Street Suite 100 Santa Ana 92705 Tel: (714) 835·9642 TWX: 910-595-1114

Intel Corp. 9101 Wesleyan Road Suite 204 Indianapolis 46268 Tel: (317) 299-0623

NEW MEXICO

TEXAS

BFA Corporation 1704 Moon N.E., Suite 7 Las Cruces 87112 Tel: (505) 523-0601 TWX: 910-983-0543

Intel Corp.' 2925 L.B.J. Freeway Suite 175 Dallas 75234 Tel: (214) 241-9521 TWX: 910-860-5617

Intel Corp,- 5530 Corbin Avenue Suite 120 Tarzana 91356 Tel. (213) 986·9510 TWX: 910-495-2045

IOWA

Technical Representatives, Inc. St. Andrews Building 1930 St. Andrews Drive N.E. Cedar Rapids 52405 Tel: (319) 393-5510

BFA Corporation 3705 Westerfield, N.E. Albuquerque 87111 Tel: (505) 292-1212 TWX: 910-989-1157

Intel Corp." 6420 Richmond Ave. Suite 280 Houston 77057 Tel: (713) 784-3400 TWX: 910-881·2490

Intel Corp,' 3375 Scott Blvd. Santa Clara 95051 Tel: (408) 987·8086 TWX: 910-339·927~ 910-338·0255

KANSAS

Intel Corp. 9393 W. 110th St., Ste. 265 Overland Park 66210 Tel: (913) 642-8080

NEW YORK

Intel Corp" 300 Motor Pkwy. Hauppauge 11787 Tel: (516) 231-3300' TWX: 510-227-6236

Industrial Digital Systems Corp. 5925· Sovereign Suite 101 Houston 77036 Tel: (713) 988-9421

Earle Associates, Inc. 4617 Ruffner Street Suite 202 San Diego 92111 Tel: (714) 278-5441

Technical Representatives, Inc. 8245 Nieman Road, Suite 100 Lenexa 66214 Tel: (913) 888-0212, 3, & 4 TWX: 910-749-6412

Intel Corp. 80 Washington SI. Poughkeepsie 12601 Tel: (914) 473-2303 TWX: 510-248-0060

Inlel Corp. 313 E. Anderson Lane Suite 314 Austin 78752 Tel: (512) 454-3628

Mac-I P.O. Box 1420 Cupertino 95014 Tel: (408) 257-9880

Technical Representatives, Inc. 360 N. Rock Road Suite 4 Wichita 67206 Tel: (316) 681-0242

Mac-I 558 Valley Way Calaveras Business Park Milpitas 95035 Tel: (408) 946-8885

Intel Corp." 2255 Lyell Avenue Lower Floor East Suite Rochester 14606 Tel: (716) 254-6120 TWX: 510-253-7391

WASHINGTON

Intel Corp. Suite 114, Bldg. 3 1603116th Ave. N.E. Bellevue 98005 Tel: (206) 453-8086 TWX: 910-443-3002

MARYLAND

Intel Corp." 7257 Parkway Drive Hanover 21076 Tel: (301) 796-7500 TWX: 710-862·1944

Mac-I P.O. Box 8763 Fountain Valley 92708 Tel: (714) 839-3341

Measurement Technology, Inc.

59 Northern Boulevard Great Neck 11021 Tel: (516) 482-3500

WISCONSIN

Mac-I 1321 Centinela Avenue Suite 1 Santa Monica 90404 Tel: (213) 829-4797

Mesa Inc. 16021 Industrial Dr. Gaithersburg 20760 Tel: (301) 948·4350

Intel Corp. 150 S_ Sunnyslope Rd. Brookfield 53005 Tel: (414) 784-9060

T-Squared 4054 Newcourt Avenue Syracuse 13206 Tel: (315) 463-8592 TWX: 710-541-0554

MASSACHUSETTS

Mac-I 20121 Ventura Blvd., Suite 240E Woodland Hills 91364 Tel: (213) 347-5900

Intel Corp. * 27 Industrial Ave. Chelmsford 01824 Tel: (617) 667·8126 TWX: 710-343-6333

T-Squared 2 E. Main Victor 14564 Tel: (716) 924-9101 TWX: 510·254-8542

CANADA

Intel Semiconductor Corp." Suite 233, Bell Mews 39 Highway 7, Bells Corners Ottawa, Ontario K2H 8R2 Tel: (613) 829-9714 TELEX: 053-4115

COLORADO

EMC Corp. 381 Elliot Street Newton 02164 Tel: (617) 244-4740 TWX: 922531

Intel Corp. * 650 S. Cherry Street Suite 720 Denver 80222 Tel: (303) 321-8086 TWX: 910-931-2289

NORTH CAROLINA

Intel Corp. 154 Huffman Mill Rd. Burlington 27215 Tel: (919) 584-3631

Intel Semiconductor Corp. 50 Galaxy Blvd. Unit 12 Rexdale, Ontario M9W 4Y5 Tel: (416) 675-2105 TELEX: 06983574

MICHIGAN

OHIO

CONNECTICUT

Intel Corp.' 26500 Northwestern Hwy. Suite 401 Southfield 48075 Tel: (313) 353-0920 TWX: 810-244-4915

Intel Corp. Peacock Alley 36 Padanaram Road Danbury 06810 Tel: (203) 792-8366 TWX: 710-456-1199

Intet Corp.' 6500 Poe Avenue Dayton 45415 Tel: (513) 890-5350 TWX: 810-450-2528

Multilek, Inc. * 15 Grenfell Crescent Ottawa, Ontario K2G OG3 Tel: (613) 226-2365 TELEX: 053-4585

Intel Corp.* Chagrin-Brainard Bldg., No. 300 28001 Chagrin Blvd. Cleveland 44122 Tel: (216) 464·2736 TWX: 810-427-9298

MINNESOTA

Multilek, Inc. Toronto Tel(416) 245-4622

FLORIDA

Intel Corp. 7401 Metro Blvd. Suite 355 Edina 55435 Tel: (612) 835-6722 TWX: 910-576-2867

Intel Corp. 1001 N.W. 62nd Street, Suite 406 Ft. Lauderdale 33309 Tel: (305) 771-0600 TWX: 51Q..956-9407

Multilek, Inc. Montreal Tel(514) 481·1350
  • Field Application Location

September 1980

Page 473 of the Intel mcs-48 user manual — COLORADO
Page 473 · click to enlarge
Page 473
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 473)
Fig. 472 · The Single Component . 2" MCS-4S™ S~stem

inter 3065 Bowers Avenue Santa Clara, California 95051 Tel: (408) 987-11080 TWX: 91().338·0026 TELEX: 34-8372

u.s. AND CANADIAN DISTRIBUTORS

INDIANA

ALABAMA

COLORADO (cont.)

MISSOURI

tHamllton/Avnet Electronics 4812 Commercial Drive N.W. Huntsville 35805 Tel: (205) 837·7210

Wyle Distribution Group 451 E. 124th Avenue Thornton 80241 Tel: (303) 457·WYLE TWX: 910·931·0510

tHamllton/Avnet Electronics 485 Gradle Drive Carmel 46032 Tel: (317) 844·9333

tHamllto~/Avnet Electronics 13743 Shoreline Ct. Earth City, 63045 Tel: (314) 344·1200 TWX: 91()'762-O608

tPloneer/Huntsvllle 1207 Putman Drive NW Huntsville 35605 Tel: (205) 837·9033 TWX: 810·726·2197

Pioneer/Indiana 6408 Castleplace Drive Indianapolis 46250 Tel: (317) 649·7300 TWX: 810·260·1794

CONNECTICUT

NEW HAMPSHIRE

t Arrow Electronics 12 Beaumont Road Wallingford 08512 Tel: (203) 285·7741 TWX: 710-476-0162

tArrow Electronics 1 Perimeter Drive Manchester 03103 Tel: (603) 868·6968 TWX: 710·220·1564

ARIZONA

KANSAS

tHamlltonfAvnet ElectroniCS 9219 Quivira Road Overland Park 66215 Tel: (913) 888·8900

261~ s. 21st Street Phoenix 85034 Tel: (602) 275·7851

tHamllton/Avnet Electronics Commerce Industrial Park Commerce Drive Danbury 08810 Tel: (203) 797·2800 TWX: 71().456-9974

NEW JERSEY

tArrow ElectroniCS Pleasant VaHey Avenue Moorestown 08057 Tel: (215) 928·1600 TWX: 710·897·0829

tWyle Distribution Group 8155 N. 24th Avenue Phoenix 85021 Tel: (602) 995·9165 TWX: 91()'951-4282

tComponent Specialties, Inc. 8369 Nieman Road Lenexa 66214 Tel: (913) 492·3555

tHarvey ElectroniCS 112 Main Street Norwalk 06851 Tel: (203) 853-1515 TWX: 71().468·3373 TWX: 71()'393-8770 FLORIDA

t Arrow Electronics 285 Midland Avenue Saddle Brook 07662 Tel: (201) 797·5800 TWX: 71()'998·2206

MARYLAND

CALIFORNIA

Arrow Electronics, Inc. 4801 Benson Avenue Baltimore 21227 Tal: (301,247·S200

Arrow Electronics, Inc. 9511 Ridge Haven Court Ser! Diego 92123 Tel: (714) 56!5-48oo

tHamiitoniAvnel Eiectronics 1 Keystone Ave. Bldg. 36 Cherry Hili 08003 Tel: (609) 424·0100 TWX: 710-897·1405

tArrow Electronics 1001 N.W. 62nd Street Suite 108 Ft. lauderdale 33309 Tel: (305) 776-7790 TWX: 510·955·9458

tHamiiton/Avnet Electronics 7235 Standard Drive Hanover 21076 Tel: (301) 796·5684 TWX: 71()'862·1881

Arrow Electronics, Inc. 720 Palomar Avenue Sunnyvale, California 94086 Tel: (408) 739·3011 TWX: 91().339·9371

tPioneer/Washington 9100 Gaither Road Gaithersburg 20760 Tel: (301) 948·0710 TWX: 710·828'()545

tHarvey Electronics 45 Route 46 Pinebrook 07058 Tel: (201) 227·1282 TWX: 71().734-4382

tAvnet Electronics 350 McCormick Avenue Costa Mesa 92626 Tel: (714) 754-6051 TWX: 91()'59!5-1926

tArrow ElectroniCS 115 Palm Bay Road, NW Suite 10, Bldg. 200 Palm Bay 32905 Tel: (305) 725·1480 TWX: 51().959-8337

HamlltonfAvnet ElectroniCS 10 Industrial Road Fairfield 07006 Tel: (201) 575·3390 TWX: 710·734·4438

Hamllton/Avnet Electronics 1175 Bordeaux Dr. Sunnyvale 94086 Tel: (408) 743·3300 TWX: 910-339·9332

MASSACHUSETTS

tHamliton/Avnet Electronics 6800 Northwest 20th Ave. Ft. Lauderdale 33309 Tel: (305) 971·2900 TWX: 51()'955-3097

tHamilton/Avnet Electronics 50 Tower Office Park Woburn 01601 Tel: (617) 273·7500 TWX: 710·393-0382

NEW MEXICO

tHamllton/Avnet Electronics 8917 Complex Drive San Diego 92123 Tel: (714) 571-7923 TWX: 910·335·1218

Hamllton/Avnet Electronics 3197 Tech. Drive North St. Petersburg 33702 Tel: (813) 578·3930 TWX: 810·863-0374

tArrow Electronics 960 Commerce Way Woburn 01601 Tel: (617) 933·8130 TWX: 71()'393·6770

tAlilance Electronics Inc. 11030 Cochiti S.E. Albuquerque 67123 Tel: (505) 292·3360 TWX: 91()'989·1151

tHamliton/Avnet Electronics 10912 W. Washington Blvd. Culver City 90230 Tel: (213) 558·2193 TWX: 910·340-6364 or 7073 t Hamilton Electro Sales 3170 Pullman Street Costa Me.a 92626 Tel: (714) 641-4100 TWX: 910·595·2638

tPloneeriOrlando 6220 S. Orange Blossom Trail Suite 412 Orlando 32809 Tel: (305) 859·3600 TWX: 81().85().0177

Harvey/Boston 44 Hartwell Ave. Lexington 02173 Tel: (617) 861·9200 TWX: 710·326·6617

tHamiltonfAvnet Electronics 2524 Baylor Drive, S.E. Albuquerque 87119 Tel: (505) 765·1500

NEW YORK

·MICHIGAN

tArrow Electronics 3000 South Winton Road Rochester 14623 Tel: (716) 275·0300 TWX: 510·253·4766

GEORGIA

tArrow ElectroniCS 3810 Varsity Drive Ann Arbor 48104 Tel: (313) 971·8220 TWX: 810·223-6020

Arrow Electronics 2979 Pacific Drive Norcross 30071 Tel: (404) 449-8252 TWX: 810·757·4213

tWyle Distribution Group 124 Maryland Street EI Segundo 90245 Tel: (213) 322·3826 TWX: 910-348-7140 or 7111

tArrow Electronics 7705 Maltlage Drive Liverpool 13068 Tel: (315) 652·1000 TWX: 710·545-0230

tPloneer/Michigan 13485 Stamford Livonia 48150 Tel: (313) 525·1800 TWX: 810·242·3271

tHamiltonfAvnet Electronics 6700 1-85 Access Road, No. 11 Suite 1E Norcross 30071 Tel: (404) 448·0800

tWyle Distribution Group 9525 Chesapeake Dr. San Diego 92123 Tel: (714) 565·9171 TWX: 910-335·1590

Arrow Electronics 20 Oser Avenue Hauppauge 11787 Tel: (516)231·1000 TWX: 51().227-6623

tHamilton/Avnet ElectroniCS 32487 Schoolcraft Road Livonia 48150 Tel: (313) 522-4700 TWX: 810·242-8775

tWyle Distribution Group 3000 Bowers Avenue Santa Clara 95052 Tel: (408) 727·2500 TWX: 910·338-0451 or 0298

ILLINOIS

Arrow Electronics 492 Lunt Avenue P.O. Box 94248 Schaumburg 60172 Tel: (312) 893·9420 TWX: 910·222·1607

tHamilton/Avnet Electronics 333 Metro Park Rochester 14623 Tel: (716) 475·9130 TWX: 51().253·5470

MINNESOTA

t Arrow Electronics 5230 W. 73rd Street Edina 55435 Tel: (612) 830-1800 TWX: 910·756·2726

Wyle Distribution Group 17872 Cowan Avenue Irvine 92714 Tel: (714) 641·1611

tHamiltonfAvnet Electronics 3901 No. 25th Avenue Schiller Park 60176 Tel: (312) 678·6310 TWX: 910·227.()()60

tHamiltonlAvnet Electronics 16 Corporate Circle E. Syracuse 13057 Tel: (315) 437·2641

COLORADO

tlndustrial Components 5229 Edina Industrial Blvd. Minneapolis 55435 Tel: (612) 831·2885 TWX: 910·756-3153

tWyle Distribution Group 6777 E. 50th Avenue Commerce City 80022 Tel: (303) 287·9811 TWX: 91()'931·0510

tHamiltonlAvnet ElectroniCS 5 Hub Drive Melville, Long Island 11746 Tel: (516) 454·6000 TWX: 51().252-O893

Pioneer/Chicago 1551 Carmen Drive Elk Grove 60007 Tel: (312) 437·9860 TWX: 910·222·1834

tHamllton/Avnet Electronics 7449 Cahill Road Edina 55435 Tel: (612) 941·3801 TWX: 910·576·2720

tHamliton/Avnet Electronics 8785 E. Orchard Road Suite 708 Englewood 80111 Tel: (303) 534·t212 TWX: 91()'931·0510

tMicrocomputer System Technical Demonstrator Centers

September 1980 · tHamllton/Avnst Electronics

Page 474 of the Intel mcs-48 user manual — OKLAHOMA
Page 474 · click to enlarge
Page 474
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 474)
Fig. 473 · The Single Component . 2" MCS-4S™ S~stem

intJ

u.s. AND CANADIAN DISTRIBUTORS

3065 Bowers Avenue Santa Clara, California 95051 Tel: (408) 987-8080 lWX: 910-338-0028 TELEX: 34-8372

Saptamber 1980

PENNSYLVANIA

WASHINGTON (cant.)

QUEBEC

Harvey Electronics P.O. Box 1208 Blnghampton 13902 Tel: (80n 748-82t 1 lWX: 510.252.0893

tArrow ElectronicS 4297 Greenlburg Pike Sult83114 Pittsburgh 15221 Tel: (412) 351-4000

tWyle Dlltrlbutlon Group 1750 132nd Avenue NE Bellevue 98006 Tel: (208) 453-8300 lWX: 91(1.443.2526

tHlmliton/Avnet Eleotronlcl 2870 Sabourin Stre.t St. Laurent H4S 1 M2 Tel: (514) 331-8443 lWX: 610-421-3731

tHarvey Electronics 60 Crossways Park WIst Woodbury 11797 Tel: (518) 921·8700 lWX: 510·221-2184

Pioneer/Pittsburgh 259 Kappa Drive Plttlburgh 15238 Tel: (412) 782·2300 TWX: 710.795-3122

WI8CONSIN

Zantronlo. 5010 Plre Stre.t Montrell H4P 1 P3 Tel: (614) 735-8381 lWX: 05-827·535

tArrow Electronics 430 W, Rawlon AvenUI Oak Creek 53154 T.I: (414) 764-eeoo TWX: 91Q.338.Q028

Harvey/Rocheetar UO Fairport Park Fairport 14450 Tel: (718) 381-7070 TWX: 510.253-7001

Pioneer/Delaware Valley 281 Gibraltar Road Horaham 19044 Tel: (215) 674-4000 lWX: 510-885-8718

tHamlltonJAvnlt ElectronlCI 2975 Moorland Road New Berlin 83151 Tel: (414) 764-4510 lWX: 910·282·1162

NORTH CAROLINA

TEXAS

Arrow Electronic. 938 Burke Street Wlnston·Salam 27102 Tel: (919) 725-8711 lWX: 51MI22-4785

Arrow Electronics 13715 Gamma Road Dallal 75234 Tel: (214) 388-7500 TWX: 91Q.66105495

CA~ADA

ALBERTA

tL.A. V.rah Ltd. 4742 14th Street N.E. Calgary T2D 8L7 Tel: (403) 230·1235 lWX: 018-258-97

PloneeriCarollna 108 Industrial Ave. Greensboro 27406 Tel: (919) 273-4441 lWX: 51Q.925-1114

Arrow Electronics, Inc. 10700 Corporate Drive, Suite 100 Stafford 71471 Tel: (713) 491-4100

Component Specialties Inc. 8222 Jamestown Drive Suite 115 AuoUn 78758 Tol: (512) 637·8922 lWX: 910.674·1320 tComponent Splelaltle., Inc. 10807 Shady Trail, Suite 101 Dallal 75220 Tel: (214) 357-8511 lWX: 910-881-4999

ZantroniC8 9224 27th Avenue Edmonton ,'aN 1 B2 Tel: (403) 483·3014 Zintronlc8 3851 210t N.E. Calgary T2E 6T5 Tel: (403) 230·1422

tHamllton/Avnel Electronics 2803 Industrial Drive Raleigh 27809 Tol: (919) 829-8030

OHIO

Arrow Electronics 7820 McEwen Road Centorville 45459 Tel: (513) 435-5583 lWX: 810.459·1811

BRITISH COLUMBIA

tComponent Specialties, Inc. 8585 Commerce Park Drive, lulte 590 Houston 77038 Tel: (713) 771-7237 TWX: 91Q.981·2422 Hamllton/Avnet Electronics 2401 Rulland AUltln 78758 Tel: (612) 837·8911

tL.A. V.rah Ltd. 2077 Alberta Strael Vancouver V5V 1 C4 Tel: (804) 873-3211 TWX: 61Q.929·1086

Arrow Electronics 8238 Cochran Rd. Solon 44139 Tel: (216) 248-3990 lWX: 810·427-9409

Zenironici 550 Comble St. Vancouver VeB 2N7 Tol: (804) 889·2533 lWX: 04-5077-89

Arrow Electronics 10 Knollerslt Dr. Cincinnati 45237 Tel: (513) 761·5432 TWX: 81Q.481·2870

tHamilton/Avnet ElectroniCS 2111 W. Walnut Hili Lane Irving 78062 Tel: (214) 661-4111 TWX: 910·880-&371 tHamllton/Avnet Electronics 3939 Ann Arbor Drive Houston 17083 Tel: (713) 780·1711

MANITOBA

tHamliton/Avnet Electronics 954 Senate Drive Dayton 45459 Tel: (513) 433.Q610 lWX: 910.340·2531

L.A. Varah 1·1832 King Edward Street Winnipeg R2R ON1 Tel: (204) 633-6190 TWX: 07·55-385 Zentronlcl 590 Berry St. Winnipeg R3H OS1 Tel: (204) 775-8881

tHamliton/Avnll Electronics 4588 Emery Indultrl_1 Parkway Warrensville Helghtl 44128 Tel: (216) 831·3500 lWX: 610·427-9452

UTAH

tHamllton/Avnet ElectroniCS 1585 We.t 2100 South Salt Lake City 841.19 Tel: (601) 972·2800

tPloneer/Daylon 1900 Troy Sireet Dayton 454().i Tel: (513) 236-9900 TWX: 810.458-1622

ONTARIO

  • tHamUton/Avnet Electronlos 3889 Rexwood Road, Unll. G & H MIIsl
  • auga L4V 1M6 Tel: (416) 671·7432 TWX: 610.492_

WASHINGTON

tPloneer/Cleveland 4800 E. 1310t Street Cloveland 44105 Tel: (216) 587·3500 lWX: 810·422·2210

tAlmacJStroum ElectroniCS 5811 Sixth Ave. South Se.ttle 89108 Tel: (208) 763-2300 TWX: 910·444·2087

tHamliton/Avnel Electronics 1735 Courtwood Cre808nt Ott.wa K2C 3J2 rei: (613) 226·1700 lWX: 053-4971

Arrow Electronics, Inc, Electronics Distribution Division 1058 Andover Park East Tukwila 98189 Tel: (208) 575.Q907

OKLAHOMA

tComponents SpeCialties, Inc. 7920 E. 40th Street TulIa 74145 Tel: (918) 684-2820 lWX: 910-845·2215

tL.A. Varah, Ltd. 505 Kenora Avenue Hamilton L8E 3P2 TIl: (416) 661-9311 TWX: 081·8349

tHamllton/Avnet ElectronlCB 14212 N.E. 21st Street Bellevue 88005 Tel: (208) 453-5844

tZentronl08 141 Catharine Street Ottawa K2P 1C3 Tel: (613) 238-8411 TWX: 083-3636

OREGON tAlmaclStroum Electronics 8022 S.W. Nimbus, Bldg. 7 Beaverton 97005 Tol: (503) 641-9070

tZlntronlol 1355 Meveralde Drive Mlllleeluga, OntariO LOT 1C9 Tel: (416) 678-9000 Telex: 08-983-857

tHamllton/Avnet Electronics 8024 SW Jean Rd. Bldg. C, Suite 10 Lake Oswego 97034 Tel: (503) 835-7848

tMlcrocomputer System Technical eemonstrator Cantara

NEW YORK (contJ

Page 475 of the Intel mcs-48 user manual — ITALY
Page 475 · click to enlarge
Page 475
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 475)
Fig. 474 · The Single Component . 2" MCS-4S™ S~stem

inter

3085 Bowers Avenue INTERNATIONAL SALES AND MARKETING OFFICES Santa Clara, California 95051 Tol: (408)987-8080 TWX: 910·338-0026 TELEX: 34-6372

INTERNATIONAL DISTRIBUTORS/REPRESENTATIVES

ARGENTINA

FINLAND

JAPAN

SOUTH AFRICA

Micro Sistemas S,A 9 De Julio 561 Cordoba Tel: 54·51·32·880 TELEX: 51837 Blcea

Oy Finlronic AS Melkonkalu 24 A SF·002'0 Helsinki 21 Tel: 0·6926022 TELEX: 124 224 Flron SF

Asahl Electronics Co, Ltd. KMM Bldg. Room 407 2·14·1 Asano. Kokura Klta·Ku, KitokyuShu Cily 802 Tel: (093) 511·6471 TELEX: AECKY 7126·16

Electronic Building Elements Pine Square 18th Street Hazelwood. Pretoria 0001 Tel: 789221 TELEX: 30181SA

AUSTRALIA

A.J.F. Systems & Components Ply, Ltd. 310 Queen Street Melbourne Victoria 3000 Tel: TELEX:

FRANCE

Hamitton·Avnet Electronics Japan Ltd. YU and YOU Bldg. 1·4 Horidome·Cho Nihonbashi Tel: (03) 662·991 I TELEX: 2523774

SPAIN

Celdis SA' 53, Rue Charles Frerot F·94250 Gentilly Tel: (1) 581 0020 TELEX: 200 485

Interface SA Ronda San Pedro 22, 3 0 Barcelona 10 Tel: 301 7851 TWX: 51508

Ayoyo Electric Corp. Konwa Bldg. 1·12·22, Tsukiji, 1·Chome Chuo·Ku, Tokyo 104 Tel: (03) 543·7711

Warburton Franki Corporale Headquarters 372 Eastern Valley Way Chatswood, New South Wales 2067 Tel: 407·3261 TELEX: AA 21299

Feutrier Rue des Trois Glorieuses F·42270 SI. Priest·en·Jarez Tel: (77) 74 67 33 TELEX: 3000 21

ITT SESA Miguel Angel 16 Madrid 10 Tel: (1l4190957 TELEX: 27707127461

Tokyo Electron Ltd. No.1 Higashikata·Machi M idori·Ku, Yokohama 226 Tel: (045) 471·8811 TELEX: 781·4473

MetrologleO La Tour d'Asnleres 4, Avenue Laurent Cely 92606·Asnieres Tel: 791 44 44 TELEX: 611448

AUSTRIA

SWEDEN

AB Gosta Backstrom Box 12009 10221 Stockholm Tel: (08) 541 080 TELEX: 10135

Bacher Elektrontsche Geraele GmbH Rolenmulgasse 26 A 1120 Vienna Tel: 10222) 83 63 96 TELEX: 10')'532

KOREA K0,aiT, Dig::a: Room 909 Woonam Bldg. 7, '·KA Bongre·Dong Chung·Ku Seoul Tel: 23·8123 TELEX: K23542 HANSINT

Tekelec Airtronlc' Cite des Bruyeres Rue Carle Vernet F·92310 Sevres Tel: (1) 534 75 35 TELEX: 204552

Reklrsch Eleklronik Garaele GmbH Lichtensteinstrasse 97 A1COO Vienna Tel: \222) 347646 TELEX: 74759

Nordisk Electronlk AB Box 27301 S-10254 Stockholm Tel: (08) 635040 TELEX: 10547

Leewood International, Inc. C.P.O. Box 4046 112-25, Sokong·Oong Chung·Ku, Seoul 100 Tel: 28·5927 CABLE: "LEEWOOD" Seoul

GERMANY

SWITZERLAND

BELGIUM

Electronic 2000 Vertriebs GmbH Neumarkter Sirasse 75 0·8000 Munich 80 Tel: (089) 434061 TELEX: 522561

Induslrade AG Gemsenstrasse 2 Postcheck 80 . 21190 CH·8021 ZUrich Tel: (01) 60 22 30 TELEX: 56788

Inalco Belgium SA Ave. des Croix de Guerre 94 81120 Brussels Tel: (02) 216 01 60 TELEX: 25441

MEXICO

Jermyn GmbH Postfach 1180 0·6077 Cam berg Tel: (06434) 231 TELEX: 484426

Proveedora Electronlca, SA (Proesal Prol. Moctezuma Ole. 24 Col. Romero de Terreros Apdo. Postal 21-139 Mexico 21. D.F. TELEX: 017·72402 SAuLME

BRAZIL

TAIWAN

Icotron SA 0511·Av, Mutlnga3650 6 Andar Pirltuba·Sao Paulo Tel: 261·0211 TELEX: 1011) 222 ICO BA

Taiwan Automation Co.' 3d Floor #75, Section 4 Nanking East Road Talpel Tel: 771·0940 TELEX: 11942 TAIAUTO

Kontron Elektronik GmbH Breslauerstrasse 2 8057 Echlng B 0·8000 Munich Tel: (89) 319,011 TELEX: 522122

NETHERLANDS

Inelco Nether. Camp. Sys. BV Turfstekerstraat 63 Aalsmeer 14310 Tel: (2977) 28855 TELEX: 14693

CHILE

TURKEY

DIN Av. Vic, Mc kenna 204 Casilla 6055 Santiago Tel: 227564 TELEX: 3520003

Neye Enatechnlk GmbH Schillerstrasse 14 D·2085 Quickborn·Hamburg Tel: 104'06) 6'2' TELEX: 02,'3590

Turkelek Electronics Apapurk Boulevard 169 Ankara Tel: 189483

Koning & Hartman Koperwerf 30 2544 EN Den Haag Tel: (70) 210.101 TELEX: 31528

UNITED KINGDOM

CHINA

GREECE

Comway Microsystems Ltd. Market Street 68·Bracknell, BerkshIre Tel: (344) 51654 TELEX: 847201

C.M. Technologies 525 UniverSIty Avenue Suite A·40 Palo Alto, CA 94301

American Technical Enterprises P.O, Box 156 Athens Tel: 30·1·8811271

NEW ZEALAND

W. K. McLean Ltd. P.O. Box 18·065 Glenn Innes, Auckland, 6 Tel: 587·037 TELEX: NZ2763 KOSFY

G.E.C. Semiconductors Ltd. East Lane North Wembley Middlesex HA9 7PP Tel: (01)904·9303/908·4111 TELEX: 28817

COLOMBIA

HONG KONG

International Computer Machines Carrera 7 No. 72·34 Apdo·Aereo 19403 Bogota 1 Tel: 211·7282 TELEX: 7'3'4INCO

Schmidt & Co. 281F Wing on Center Conn aught Road Hong Kong Tel: 5·455·644 TELEX: 74766 Schmc Hx

NORWAY

Nordlsk Elektronlk (Norge) AIS Postoffice Box 122 Smedsvlngen 4 1364 Hvalstad Tel: 02786210 TELEX: 17546

Jermyn industries Vestry Estate Sevenoaks, Kent Tel: (0732) 501.44 TELEX: 95142

CYPRUS

INDIA

Cyprus Eltrom Electronics P,O. Box 5393 Nicosia Tel: 21·27982

Mlcronic Devices 1041109C, Nlrmal Industrial Estate Sian (E) Bombay 400022, India Tel: 486·170 TELEX: 011·5947 MDEV IN

Rapid Recall, Ltd. 6 Soho Mills Ind. Park Wooburn Green Bucks, England Tel: (6285) 24961 TELEX: 849439

PORTUGAL

Ditram Componentes E Electronica LDA Av. Miguel Bombarda, 133 Lisboa 1 Tel: (19) 545313 TELEX: 14347 GESPIC

DENMARK

STL·Lyngso Komponent AIS Ostmarken 4 OK·2860 Soborg Tel: 10') 67 00 77 TELEX: 22990

ISRAEL

Sintrom Electronics LtdArkwright Road 2 Reading, Berkshire RG2 OLS Tel: (0734) 85464 TELEX: 847395

Eastronics Ltd.' 11 Rozanis Street P.O, Box 39300 Tel Aviv 61390 Tel: 475151 TELEX: 33638

SINGAPORE

Genera! Engineers Associates Blk 3, 1003·1008, 10th Floor P.S.A. Multi·Storey Complex Telok BlangahlPasir Panjang Singapore 5 Tel: 271·3163 TELEX: AS23987 GENERCO

Scandinavian Semiconductor Supply AIS Nannasgade 18 OK·2200 Copenhagen Tel: (01) 83 50 90 TELEX' 19037

VENEZUELA

Eleclronicos TTlCA C.A. Apartado 3223 Caracas 101 Tel: 718·100 TELEX: 21795 TElETIPOS

ITALY

Eledra 3S S,P.A,· Vlale Elvezia, 18 120154 Milan Tel: (02) 34.93.041·31.85.441 TELEX: 332332

  • Field Appllcatton locatton

September 1980 · 30·1·8219470 · Componentes y Clrcuitos

Page 476 of the Intel mcs-48 user manual — ISRAEL
Page 476 · click to enlarge
Page 476
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 476)
Fig. 475 · The Single Component . 2" MCS-4S™ S~stem

inter

3065 Bowers Avenue INTERNATIONAL SALES AND MARKETING OFFICES Santa Clara, California 95051 Tel: (408) 98N!080 "TWX: 910·338·0026 TELEX: 34-6372

INTEL$ MARKETING OFFICES

AUSTRALIA

GERMANY

ITALY

SWEDEN

Intel Semiconductor Ply., Ltd. Suite 2, Level 15, North Point 100 Miller Street North Sydney, NSW, 2060 Tel: 450-847 TELEX: AA 20097

Intel Semiconductor GmbH· Seldlstrasse 27 8000 M uenchen 2 Tel: (089) 53 691 TELEX: 523 177

Intel Corporation Italla, S.p.A. Corso Semplone 39 1·20145 Milano Tel: 2134.93267 TELEX: 311271

Intel Sweden A.e." Box 20092 Alpvagen 17 $·16120 Bromma Tel: (08) 96 53 90 TELEX: 12261

lritel Semiconductor GmbH Mainzer Strasse 75 6200 Wiesbaden 1 Tel: (06121) 700874 TELEX; 04186183

JAPAN

BELGIUM

Intel Japan K.K. * Flower Hitl·Shlnmachi East Bldg. 1·23·9, Shinmachl, Setagaya·ku Tokyo 154 Tel: (03) 426·9261 TELEX: 781·28426

SWITZERLAND

Intel Corporation S.A. Rue du Moulin a Papler 51 Bolte 1 8·1160 Brussels Tel: (02) 660 30 10 TELEX: 24814

Intel Semiconductor A.G. Forchstrasse 95 CH 8032 Zurich Tel: 1·554502 TELEX: 55789 ich ch

Intel Semiconductor GmbH Wernerstrasse 67 P.O. Box 1460 7012 Fellbach Tel: (0711) 580082 TELEX: 7254626

NETHERLANDS

UNITED KINGDOM

DENMARK

Intel Semiconductor B.V. Cometongebouw Westblaak 106 3012 Km Rotterdam Tel: (10) 149122 TELEX: 22283

Intel Corporation (U.K.) Ltd. * 5 Hospital Street Nantwich, Cheshire CW5 5RE Tel: (0270) 62 65 60 TELEX: 36620

Intel Denmark AlS· Lyngbyvej 32 2nd Floor DK·21oo Copenhagen East Tel: (01) 182000 TELEX: 195e7

Intel Semiconductor GmbH Hohenzollern Strasse 5 3000 Hannover 1 Tel: (0511) 327081 TELEX: 923625

Intel Corporation (U.K.) Ltd. Dorcan House Eldlne Drive Swlndon, Wiltshire SN3 3TU Tel: (0793) 26101 TELEX: 444447 INT SWN

FINLAND

Intel Semiconductor GmbH Oberrathstrasse 2 4000 Duesseldorf 30 Tel: (0211) 651054·6 TELEX: 8586977

NORWAY

Intel Finland OY Sentnerlkuja 3 SF • 00400 Helsinki 40 Tel: (0) 558531 TELEX: 123332

Intel Norway AIS FI.O. Box 92 Hvamveien 4 N·2013 Skjetten Tel: (2) 742 420 TELEX: 18018

HONG KONG

FRANCE

Intel Semiconductor Ltd. 99·105 Des Voeux Rd., Central 16F, Unit B Hong Kong Tel: 5·450·847 TELEX: 63869

Intel Corporation, S.A.R.L.· 5 Place de 18 Balance Sllie 223 94528 Rungis Cedex Tel: (01) 687 22 21 TELEX: 270475

ISRAEL

Intel Semiconductor Ltd.· FI.O. Box 2404 Haifa Tol: 9721452 4261 TELEX: 92246511

.. Field Application Location

September 1980

Page 477 of the Intel mcs-48 user manual — MARYLAND
Page 477 · click to enlarge
Page 477
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 477)
Fig. 476 · The Single Component . 2" MCS-4S™ S~stem

inter

u.s. AND CANADIAN SERVICE OFFICES

3065 Bowers Avenue Santa Clara, California 95051 Tel: (408)987-8080 TWX: 91().338'()()26 TELEX: 34-6372

CALIFORNIA

MASSACHUSETIS

TEXAS

Intel Corp. 1601 Old Bayshore Hwy. Suite 345 Burlingame 94010 Tel: (415)892-4782 TWX: 910·375-3310

Intel Corp. 27 Industrial Avenue Chelmsford 01824 Tel: (617) 667-8126 TWX: 710·343·6333

Intel Corp. 313 E. Anderson Lane Suite 314 Austin 78752 Tel: (512)454-3628 TWX: 91()'874·1347

Intel Corp. 2000 E. 4th Street Suite 100 Santa Ana 92705 Tel: (714)835-9842 TWX: 91()'595·1114

MICHIGAN

Intel Corp. 2925 L.B.J. Freeway Suite 175 Dallas 75234 Tel: (214)241·2820 TWX: 91()'860·5617

Intel Corp. 26500 Northwestern Hwy. Suite 401 Southfield 48075 Tel: (313)353.()92O TWX: 81()'244-4915

Intel Corp. 7670 Opportunity Road San Diego 92111 Tel: (714)268·3563

Intel Corp. 6420 Richmond Avenue Suite 280 Houston 77057 Tel: (713)784·1300 TWX: 910·881·2490

MINNESOTA

Intel Corp. 7401 Metro Blvd. Suite 355 Edina 55435 Tel: (612)835-6722 TWX: 91 ()'576·2867

Intel Corp. 3375 Scott Blvd. Santa Clara 95051 Tel: (408)987-8086

VIRGINIA

Intel Corp. 5630 Corbin Avenue Sulle 120 Tarzana 91356 Tel: (213)98,6-9510

Intel Corp. 7700 Leesburg Pike Suite 412 Falls Church 22043 Tel: (703) 734-9707 TWX: 710·931·0625

MISSOURI

Intel Corp. 502 Earth City Plaza Suite 121 Earth City 63045 Tel: (314)291,1990

COLORADO

WASHINGTON

Intel Corp. 650 South Cherry Suite 720 . Denver, 80222

NEW JERSEY

Intel Corp. 1603 116th Ave. N.E. Suite 114 Bellevue 98005 Tel: (206)232·7823 TWX: 910-443-3002

Intel Corp. 2450 Lemoine Avenue FI. Lee 07024 Tel: (201)947·6267 TWX: 71().991·6593

Tel(303)321-8086 TWX: 91()'931·2289

FLORIDA

WISCONSIN

Intel Corp. 1001 N.W. 62nd Street Suite 406 Ft. Lauderdale 33309 Tel: (305)77Hl600 TWX: 51().956·9407

OHIO

Intel Corp. Chagrin-Brainard Bldg. #210 28001 Chagrin Blvd. Cleveland 44122 Tel: (216)464·2736 TWX: 81().427·9298

Intel Corp. 150 S. Sunnyslope Road Suite 148 Brookfield 53005 Tel: (414) 784·9060

CANADA

ILLINOIS

Intel Corp. 6500 Poe Avenue Dayton 45414 Tel: (513)690-5350 TWX: 810·450·2528

Intel Corp. 50 Galaxy Blvd. Unit 12 Rexdale, Ontario M9W4Y5 Tel: (416)675·2105 Telex: 069-83574

Intel Corp. 2550 Golf Road Suite 815 Roiling Meadows 60008 Tel: (312)981-7230 TWX: 910·253-1825 '

OREGON

KANSAS

Intel Corp. 10700 S.W. Beaverton-Hillsdale Hwy. Bldg, 2, Suite 324 Beaverton 97005 Tel: (503)641-8086 TWX: 910·467-8741

Intel Corp. 39 Hwy. 7, Bells Corners Ottawa, Ontario K2H 8R2 Tel: (613)829·9714 Telex: 053-4115

Intel Corp. 9393 W. 110th Street Suite 265 Overland Park 66210 Tel: (913)642-8080

MARYLAND

PENNSYLVANIA

Intel Corp. 275 Commerce Drive 200 Office Center Suite 300 Fort Washington 19034 Tel: (215)542·9444 TWX: 510-651·2077

Intel Corp. 7257 Parkway Drive Hanover 21076 Tel: (301) 79t1-7500 TWX: 710-862·1944

September 1980 · *Fleld Application Location

Page 478 of the Intel mcs-48 user manual — The Single Component . 2" MCS-4S™ S~stem
Page 478 · click to enlarge
Page 478
Intel mcs-48 — The Single Component . 2" MCS-4S™ S~stem diagram (page 478)
Fig. 477 · The Single Component . 2" MCS-4S™ S~stem
Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the Intel mcs-48

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Intel mcs-48

Be the first to ask — other owners or our team will answer.

Original document

Intel mcs-48 manual PDF

478 pages·43.8 MB·Microscope & Magnifier·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…