Professional Documents
Culture Documents
$&DD52~
CONSISTS OF
MANUAL
595-2969~
FLYSHEET
597-2922-D2
TAB SET
597-293l
+~/ g I 9 9
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the Government is subject to restrictions
as set forth in paragraph (b)(3)(B) of the Rights in Technical Data and Com-
puter Software clause in DAR 7-104.9(a). Contractor/Manufacturer is Zenith
Data Systems Corporation of Hilltop Road, St. Joseph, Michigan 49085.
APPENDIX A
S100 Bus Specifications
APPENDIX B
8085 Architecture
8085A ARCHITECTURE
FLAG (5)
FLIP. FLOPS
8 (8) C (6)
REG REG
I N 5 TRU CTI ON
ARITHMETIC IBI E (61
DECODER 6EG
LOGiC AND REG
UNIT MACHINE H (TI 6)
(ALU) CYCLT REG REG REGISTER
(6) ENCODING ('t61 ARRAY
STACK POINTER
PROGRAM COUNTER ( )
POWERJ 5V
SUPPLY i G ND INCREMENTERIOECREMENTER
ADDRESS LATCH I(8)
FUNCTIONAL DESCRIPTION
2.2.3 S t a ck
The stack pointer maintains the address of the
The carry flag (CY) is set and reset by arithmetic l ast byte e n t ered i nt o t h e s t a ck . Th e s t a c k
operations. Its status can be directly tested by pointer can be initialized to use any portion of
a program. For example, the addition of t w o read-write memory as a stack. The stack pointer
one-byte numbers can produce an answer that is decremented each time data is pushed onto
does not fit into one byte: the stack and is incremented each time data is
HEXIDECIMAL BINARY p opped of f t h e s t a c k ( i .e., th e s t ac k g r o w s
AEH 1 0 1 0 1 1 1 0 downward in terms of memory address, and the
+ 74H 0 1 1 1 0 1 0 0 stack "t op " i s t h e l o w est n u merical address
represented in the stack currently in use). Note
122H 1 0 0 1 0 0 0 1 0 that the stack pointer is always incremented or
j' d ecremented b y t w o b y t e s s i n c e a l l s t a c k
Carry bit sets carry flag to 1 operations apply to register pairs.
Page 8.4
FUNCTIONAL DESCRIPTION
2.2.4 A r ithmetic. Logic Unit (ALU) as input conditioner, depending upon whether a
The ALU contains the accumulator and the flag crystal or an external source is used. The clock
register (described in Sections 2.2.1 and 2.2.2) circuitry generates two nonoverlapping internal
and some t emporary registers that ar e i n ac- clock signals, pi and p2 (see Figure 2-2). pi and
cessible to the programmer. g2 control the internal timing of the 8085A and
are not directly available on the outside of the
Arithmetic, logic, and rotate operations are per- chip. The external pin CL K i s a b u f f ered, in-
formed by the ALU. The results of these opera- verted version of 0,. CLK is half the frequency of
tions can be deposited in the accumulator, or t he crystal input signa! and may be used fo r
they can be transferred to the internal data bus clocking other devices in the system.
for use elsewhere.
2.2.7 I n t errupts
The five hardware interrupt inputs provided in
SCHMITT
the 8085A are of three types. INTR is identical
AMP with the 8080A INT line in f u nction; i.e., it is
maskable (can be enabled or disabled by El or
Dl software instructions), and causes the CPU
to fetch in an RST instruction, externally placed
XI on the data bus, which vectors a branch to any
one of eight fixed memory locations (Restart ad-
d resses). (See Figure 2-3.) INTR can a lso b e
controlled by the 8259 programmable interrupt
controller, which generates CALL instructions
instead of RSTs, and can thus vector operation
of the CP U t o a p r e p rogrammed subroutine
'EXTERNAL CAPACITORS REOUIREO ONLY FOR CRYSTAL FREOUENCIES TMHT located anywhere i n y o u r s y s t em's m e m ory
map. The RST 5.5, RST 6.5, and RST 7.5 hard-
ware interrupts are different in function in that
FIGURE 2-2 8085A CLOCK LOGIC they are maskable through the use of the SIM
Page B.5
FUNCTIONAL DESCRIPTION
instruction, which enables or disables these in- RST 5.5, 6.5, and 7.5 are also subject to being
terrupts by c l earing or s e t t ing c o rresponding enabled or disabled by the El and Dl i n struc-
mask flags based on data in the accumulator. tions, respectively. INTR, RST 5.5, and RST 6.5
(See Figure 2-4.) You may read the status of the are level-sensitive, meaning that these inputs
interrupt mask previously set by p e forming a may be acknowledged by the processor when
RIM instruction. Its execution loads into the ac- they are held at a high level. RST 7.5 is edge-
c umulator t h e f o l l o w i n g i n f o r m a t i on . ( S ee sensitive, meaning that an internal flip-flop in
Figure 2-5.) the 8085A registers the occurrence of an inter-
• C urrent i n t errupt m a sk s t a t us f o r t h e rupt the instant a r ising edge appears on the
RST 5.5, 6.5, and 7.5 hardware status. RST 7.5 input line. This input need not be held
h igh; the f l i p-flop w il l r e m ain se t u n t i l i t i s
• Current interrupt enable flag status (ex- cleared by one of three possible actions:
cept that i m mediately following TRAP,
the IE flag status preceding that inter- • The 8 085A r e sponds to t h e i n t e r rupt,
rupt is loaded).
and sends an internal reset signal to the
• RST 5.5, 6.5, and 7.5 interrupts pending. RST 7.5 flip-flop. (See Figure 2-6A.)
SCH MITT
TRIGGER
TRAP
D CLK INTERRUPT
RIM — READ INTERRUPT MASK REQUEST
(OPCODE = 20) UNTERNALI
D
CONTENTS OF ACCUMULATOR AFTER EXECUTING RIM: F(F
FUNCTIONAL DESCRIPTION
• The 8085A, before resporiding to the RST terrupt mask) and SIM (set interrupt mask) in-
7.5 interrupt, receives a RE~ET IN signal struction listings. Interrupt functions and their
f rom an external source; this a lso a c - priorities are shown in the table that follows.
tivates the internal reset.
FUNCTIONAL DESCRIPTION
ADDRESS BUS
8080A
ADDRESS BUS
8085A
8224 INTR M 0 L TP
I L EX ED
INTA ADDRESS/DATA BUS
8228
DATA RD
BUS RESET IN WR
RESET IN ~
MEM RD RESET DUT ID/9
MEM WR
IDRD
ITO WR
FIGURE 2-8A MCS-80TM CPU GROUP FIGURE 2.8B MCS-85™ CPU/8085A (Mcs-80 COMPATIBLE
FUNCTIONS)
DATA/ADDRESS BUS
ADDRESS
D~ DP
FUNCTIONAL DESCRIPTION
2.3.1 M u ltiplexed Bus Cycle Timing CPU knows that it must do three more machine
The execution of any 8085A program consists cycles (two MEMORY READs and one MEMORY
of a sequence of READ and WRITE operations, WRITE) to complete the instruction.
of which each transfers a byte of data between
the 8085A and a particular memory or I/O ad- T he 8085A t h e n i n c r e m e nt s t h e p r o g r a m
dress. These READ and WRITE operations are counter so that it points to the next byte of the
the only communication between the processor instruction an d p e r forms a M E M ORY R EAD
and the other components, and are all that is machine cycle (Mz) at address (PC+ i ) . The ac-
necessary to e x ecute any i n struction or p r o- cessed memory places the addressed data on
gram. the data bus for the CPU. The 8085A temporarily
stores this data (which is the low-order byte of
Each READ or WRITE operation of the 8085A is the direct address) internally in the CPU. The
referred to as a machine cycle. The execution of 8085A again increments the program counter to
each instruction by the 8085A consists of a se- location (PC+2) and reads from memory (Mq)
quence of from one to five machine cycles, and t he next b y t e o f d a t a , w h i c h i s t h e h i g h -
each machine cycle consists of a minimum of order byte of the direct address.
from three to six clock cycles (also referred to
as T states). Consider the case of the Store Ac- At this point, the 8085A has accessed all three
c umulator Direct (STA) instruction, shown i n bytes of the STA instruction, which it must now
Figure 2-9. The STA instruction causes the con- execute. The execution consists of placing the
t ents of th e a c c umulator to b e s t o red at t h e data accessed in M>and Mq on the address bus,
direct address specified in the second and third then placing the contents of the accumulator
b ytes o f t h e in s t r u c t ion. D u r in g t h e fi r s t o n th e d a t a b u s , a n d t h e n p e r f o r m in g a
machine cycle (M,), the CPU puts the contents MEMORY WRITE machine cycle (M4). When M4
of the program counter (PC) on the address bus is finished, the CPU will fetch (Mi) the first byte
and performs a MEMORY READ cycle to read of the next instruction and continue from there.
from memory the opcode of the next instruction
(STA). The Mi machine cycle is also referred to
as the OPCODE FETCH cycle, since it fetches State Transition Sequence
the operation code of th e next i nstruction. In As the preceding example shows, the execution
the fourth clock cycle (T4) of Mi, the CPU inter- o f a n i n s t r u c t io n c o n s i st s o f a se r i e s o f
prets the data read in and recognizes it as the machine cycles whose nature and sequence is
opcode of the STA instruction. At this point the determined by the opcode accessed in the M,
INSTRUCTION CYCLE - - -
MACHINE
MI MP- MA
CYCLE
T STATE TI TT TA TT TI TT TS TI TT TS
TS
TYPE OF
MACHINE CYCLE MEMORY READ MEMORY READ MEMORY WRITE
THF. ADDRESS (CONTENTS OF THE T HE l DDRESSIPC I ) P O I N T S THE ADDRESS IPC • 2l POINTS THE ADDRESS IS THE DI REF:T
PROG RA M C O U N T E R ) POINTS TO THE TO THE SECOND BYTE OF TO THE THIRD BYTE OF THE ADDR ESS ACCESSED IN MP
FIRST BYTE (OPCODEI OF THE THE INSTRUCTION I N S T R U C T0I N AND MS
INST R UCT ION
DATA BUS I OW ORDER BYTE OF T H F H IGH OR D E R B Y T E O F T H E CONTENTS OF TH E
DIRECT ADDRESS DIRECT A D D R ESS A CCUMULA T O R
FIGURE 2-9 CPU TIMING FOR STORE ACCUM U LA TOR DIRECT (STA) INSTRUCTION
Page B.9
FUNCTIONAL DESCRIPTION
RESET
STATUS CONTROL
MACHINE CYCLE IQ/M 5 1 SO R D WM I N T A
0 0 I I RESET
OPCODE FETCH (QF)
MEMORY READ ILIRI 0 I 0 0 I I
MES)DRY WRITE (MIY) 0 0 1 I I 0 I RESET
I/O READ //QR) I I 0 0 I I
I/O WRITE ((OW) I 0 I I 0 I HALT
INTR ACKNQIYLEDG E ( IN A) I ( I I 0 I
Bus IDLE (BI) DA D 0 I 0
I '/4 R S T I I HALT
i, R E A DY
HALT /5 0 0 TS TS
(READY / BIMC)
HOLD
P )-VALIDINT
HOLD •
THAL 1
SET RESET
SET HLDA FF HALT FF
HLDA FF
THQLD ) HOLD
Most machine cycles consist of three T states,
HOLD
(cycles of the CLK output) with the exception of LAST
OPCODE FETCH, which n o rmally ha s e i t her MACHINE CYCLE
OF INSTRUCTION RESET
four or six T states. The actual number of states HLDA FF
required to perform any instruction depends on YES
the instruction being executed, the particular
machine cycle within the instruction cycle, and
the number of WAIT and HOLD states inserted NO
VALIDINT . I H ALT I
YES
FUNCTIONAL DESCRIPTION
Status & Buses Control The 8085A also sends out a 16-bit address at the
Machine T beginning of every machine cycle to identify the
State S 1 ,SO IO/M Aa-Ate ADo-AD/ R D/WR INTA AL E particular memory location or I/O port that the
X X machine cycle applies to. In the case of an OF
X X 0
cycle, the contents of the program counter is
T2 X X
placed on the address bus. The high order byte
X X X X X 0
TWA IT
X (PCH) is placed on the AB-Ats lines, where it will
T3 X X X X X 0 stay until at least T4. The low order byte (PCL) is
Ta I 0 X TS I 1 0 placed on the AD0-AD7 lines, whose three-state
1 0 X TS 1 I 0 d rivers are enabled i f n o t f o u n d a l ready o n .
I O' X TS 1 I 0
Unlike the upper address lines, however, the in-
formation on th e l o wer address lines will re-
TRESET X TS TS TS TS I 0
main there for only one clock cycle, after which
THALT 0 TS TS TS TS 1 ' 0 the drivers will go to their high impedance state,
THOLO X TS TS TS TS I indicated by a dashed line in Figure 2-13. This is
necessary because the AD0-AD> lines are time
0 = Logic "0 " 1 = Logic "I " T S = High Impedance X = Unspecified m ulitplexed b etween t h e a d d r ess a n d d a t a
ALE not generated during 2nd and 3rd machine cycles of DAD buses. During T1 of every machine cycle, AD0-
Instruction. ADz output the l o wer 8-bits of a d d ress af ter
which AD0-AD/ will e ither output th e d e sired
ID/M =- 1 during T4-TS states of RST and INA cycles.
data for a WRITE operation or the drivers will
float (as is the case for the OF cycle), allowing
FIGURE 2-12 8085A MACHINE STATE CHART the external device to drive the lines for a READ
operation.
FUNCTIONAL DESCRIPTION
MI (DFI MI
SIGNAL T4
ID/M,
I D/M P , S I= I, SO = I
SI, SO
AB-A15 UNSPECIFIED
RD
During T5 and T6, of DCX, the CPU will decre- F igure 2-14, the external effect o f u s in g t h e
ment the designated register. Since the AB-A(5 READY line is to preserve the exact state of the
lines are driven by the address latch circuits, processor signals at the end of T2 for an integral
which are part of the incrementer/decrementer number of clock periods, before finishing the
logic, the AB-A,5 lines may change during T5 and machine cycle. This "stretching" of the system
T6. Because the value of AB-A,5 can vary during timing has the further effect of increasing the
T4-T6, it is most important that all memory and a llowable a c c es s t i m e f o r m e m o r y o r I / O
I /O devices on t h e s y s te m bu s q u a l ify t h e ir devices. By inserting Tw/ L(q states, the 8085A
selection with RD. If t hey don't use RD, they can accom m o d ate even the slowest of
may be spuriously selected. Moreover, with a memories. Another common use of the READY
linear selection technique {Chapter 3), two or l ine i s t o s i n g e-step t h e p r o c essor w i t h a
more devices could be simultaneously enabled, manual switch.
w hich c o ul d b e p o t e n t i ally d a m a g ing. T h e
generation of spurious addresses can also oc- 2.3.2 Read Cycle Timing
cur momentarily a t a d d ress bu s t r a nsitional MEMORY READ {MR).
p eriods in T<. Therefore, the selection of a l l
memor~and I/O devices must be qualified with Figure 2-15 shows the timing of two successive
RD or WR. Many new memory devices like the MEMORY READ {MR) machine cycles, the first
8155 and 8355 have the RD input that internally without a Tw~(~ state and the second with one
is used to enable the data bus outputs, remov- Tw<(+ state. The timing during T,-T3 is absolute-
ing the need for externally qualifying the chip ly identical to the OPCODE FETCH machine cy-
enable input with RD. cle, with the exception that the status sent out
during T> is IO/M = 0, S1 = 1, SO = 0, identify-
Figure 2-14 is identical to Figure 2-13 with one ing the cycles as a READ from a memory loca-
exception, which is the use of the READY line. tion. This differs from Figure 2-13 only in that SO
As we can see in Figure 2-11, when the CPU is in = 1 for an OF cycle, identifying that cycle as an
T2, it examines the state of the READY line. If OPCODE FETCH operation. Otherwise, the two
the READY line is high, the CPU will proceed to cycles are identical during T, ST>.
T3 and finish executing the instruction. If the A second difference occurs at the end of T3. As
READY line is low, however, the CPU will enter shown in Figure 2-11, the CPU always goes to T 4
Tw+(> and stay there indefinitely until READY from T3 during M,, which is always an OF cycle.
goes high. When the READY line does go high, During all other machine cycles, the CPU will
the CPU will exit Twq(q and enter T3, in order to always go from T3 to T~ of the next machine
c omplete t h e m a c h in e c y c le . A s s h o w n i n cycle.
page B.12
FUNCTIONAL DESCRIPTION
MI (OF)
SIGNAL TWA
IT T4 TS
CLK
10/M,
I O/M 0 , S I 1 ,50 I
SI, Sp
OUT IN
ALE
RD
READY
FIGURE 2-14 OPCODE FETCH MACHINE CYCLE WITH ONE WAIT STATE
MR OR IOR MR OR IOR
SIGNAL
TS TWA
IT
CLK
IO/M,
IO/M 0 ( M RI OR I IIORI, 5I 1 50 0 IO/M 0 I MRI OR I I IORI, Sl I , Sp 0
SI, Sp
8 A IS
OUT IN OUT IN
ALE
RD
READY
FUNCTIONAL DESCRIPTION
The memory address used in the OF cycle is 2.3.3 W R ITE Cycle Timing
always the co ntents of t h e p r ogram counter, MEMORY WRITE (MW):
which points to th e c u rrent instruction, while
the address used in the MR cycle can have Figure 2-16 shows the timing for two successive
several possible origins. Also, the data read in MEMORY WRITE (MW) machine cycles, the first
during an MR cycle is placed in the appropriate without a Tw<(+ state, and the second with one
register, not the instruction register. T»(z state. The 8085A sends out the status dur-
ing Ti in a s i milar fashion to the OF, MR and
I/O READ (IOR): IOR cycles, except that IO/M = 0, S1 = 0 , and
Figure 2-15 also shows the timing of two suc- SO = 1, identifying the current machine cycle as
cessive I/O READ (IOR) machine cycles, the first being a WRITE operation to a memory location.
without a Tw/ur state. As is readily apparent, the The address is sent out during T, in an identical
timing of an IOR cycle is identical to the timing manner to MR. However, at the end of T„ there
of an MR cycle, with the exception of IO/M = 0 is a difference. While the AD0-AD> drivers were
for MR and IO/M = 1 f o r IOR; recall that IO/M disabled during T2-T3 of MR in expectation of
status signal identifies the address of the cur- the addressed memory device driving the AD0-
r ent m a c h in e c y c l e a s s e l e c t in g e i t h e r a AD7 lines, the drivers are not disabled for MW.
memory location or a n I/ O po rt. The address This is because the CPU must provide the data
used in the IOR cycle comes from the second to be written into the addressed memory loca-
byte (Port No.) of an I NPUT instruction. Note tion. The data is placed on AD0-AD> at the start
that the I/O port address is duplicated onto both of T2. The WR signal is also lowered at this time
AD0-AD7 and AB-A,5. The IOR cycle can occur to enable the writing of the addressed memory
only as the third machine cycle of an INPUT in- device. During T2, the READY line is checked to
struction. see if a Twq(-r state is required. If READY is low,
N ote that th e R EADY signal can b e u sed t o Tw>(q states are i n serted u n ti l R EADY goes
generate Tw~(q states for I/O devices as well as high. During T3, the WR line is raised, disabling
memory devices. By gating the READY signal the addressed memory device and thereby ter-
with the proper status lines, one could generate minating the WRITE operation. The contents of
Tw<q states for memory devices only or for I/O the address and data lines are not changed un-
devices only. By gating in the address lines, one til the next T,, which directly follows.
can further qualify Tw/((q state generation by the Note t h a t t he d a t a o n A D0 - A D 7 i s n o t
particular devices being accessed. guaranteed to be stable before the falling edge
SIGNAL
TI /A IT
IO/M,
IO/M 0 (MWI OR I (IOW) Sl =. 0, SO = I IO/M 0 I MWI ORI (IOWI, SI . 0, Sp
SI, SP
ASA IS
WR
FUNCTIONAL DESCRIPTION
of WR. The ADo-AD7 lines are guaranteed to be by the El instruction. The status of the TRAP
stable both before and after the rising edge of and RST pins as well as INTR is sampled during
WR. the second clock cycle before M ( • T(. If INTR
I/O WRITE (IOW): was the only valid interrupt and if INTE FF is
set, then the CPU will reset INTE FF and then
A s Figure 2-16 shows, the t i m ing fo r a n I / O enter a n I N T ERRUPT ACKNOWLEDGE (INA)
WRITE (IOW) machine cycle is the same as an machine cycle. The INA cycle is identical to an
MW machine cycle except that IO/M = 0 during OF cycle with two exceptions. INTA is sent out
the MW cycle and IO/M = during the IOW cycle. i nstead of R D . A l so , I O/ M = 1 d u r i n g I N A ,
As with the IOR cycle discussed previously, the whereas IO/M = 0 f o r O F . A lthough the con-
address used in an IOW cycle is th e I/O port tents of the program counter are sent out on the
number which is d u plicated on both the high address lines, the address lines can be ignored.
and low bytes of the address bus. In the case of
IOW, the port number comes from the second
byte of an OUTPUT instruction as the instruc- When INTA is sent out, the external interrupt
tion is executed. logic must provide the opcode of an instruction
to execute. The opcode is placed on the data
2.3.4 I n terrupt Acknowledge (INA) Timing bus and read in by the processor. If the opcode
Figures 2-17 and 2-18 (a continuation of 2-17) is the first byte of a m u l t iple-byte instruction,
depict the course of a c t ion the CPU takes in additional INTA pulses will be provided by the
response to a high level on the INTR line if the 8 085A t o c l o c k i n t h e re m a i n i n g b y t e s .
INTE FF (interrupt enable flip-flop) has been set RESTART and CALL instructions are the most
TS Tl Tp
AS A)6 (PC. I I H
RD
WR
FUNCTIONAL DESCRIPTION
logical choices, since they both force the pro- Now that the CPU has accessed the entire in-
cessor to p us h th e c o n tents o f t h e p r ogram struction used to acknowledge the interrupt, it
counter onto the stack before jumping to a new will execute that instruction. Note that any in-
location. In Figure 2-17 it i s a s s umed that a struction could be used (except El or Dl, the in-
CALL opcode is sent to the CPU during Mi. The structions which enable or disable interrupts),
CALL opcode could have been placed there by a but the RESTART and CALL instructions are the
device like th e 8 259 p rogrammable interrupt most logical choices. Also notice that the CPU
controller. i nhibited t h e i n c r e menting o f t h e p r o g r a m
counter (PC) during the t h ree INA c y cles, so
After receiving the opcode, the processor then that the correct PC value can be pushed onto
decodes it and determines, in this case, that the the stack during M4 and M5.
CALL instruction requires two more bytes. The
CPU therefore performs a second INA cycle (M2) During M4 and M5, the CPU performs MEMORY
to access the second byte of t h e i n struction WRITE machine cycles to write the upper and
from the 8259. The timing of this cycle is iden- then lower bytes of the PC onto the top of the
tical to M i , e x c ept t ha t i t h a s o n l y t h ree T stack. The CPU then places the two bytes ac-
states. M2 is followed by another INA cycle (M3) cessed in M2 and Mz into the lower and upper
to access the third byte of the CALL instruction bytes of the PC. This has the effect of jumping
from the 8259. the execution of th e p r ogram to th e l o cation
specified by the CALL instruction.
T2 13 TI T2
INTA
AB A)5 PCH(B 3)
DDT
AOO AOT Dp.DT (B3) (Bp 1)C DpD) (PCHI (Bp 2)C Dp'DT (PCL) B2
RD
FUNCTIONAL DESCRIPTION
2.3.5 Bus Idle (Bl) and HALT State The other time when the BUS IDLE machine cy-
cle occurs is during the internal opcode genera-
tion for the RST or TRAP interrupts. Figure 2-19
M ost m a c h i n e c y c l e s o f t he 80 8 5 A a r e illustrates the Bl cycle generated in response to
associated with either a READ or WRITE opera- RST 7.5. Since t h i s i n t e rrupt i s r i s i ng-edge-
tion. There are two exceptions to this rule. The triggered, it sets an internal latch; that latch is
first exception takes place during M2 and Mz of sampled at the falling edge of the next to the
the DAD instruction. The 8085A requires six in- last T-state of the previous instruction. At this
ternal T states to execute a DA D instruciton, point the CPU must generate its own internal
but it is not desirable to have Mi be ten (four RESTART instruction which will (in subsequent
normal pius six extra) states long. Therefore, machine cycles) cause the processor to push
the CPU generates two extra machine cycles the program counter on the stack and to vector
that do not access either the memory or the I/O. to location 3CH. To do this, it executes an OF
These cycles are referred to as BUS IDLE (Bl) machine cycle without issuing RD, generating
machine cycles. In the case of DAD, they are t he RESTART opcode i n stead. After M , , t h e
identical to MR cycles except that RD remains C PU co n t i n ues e x e c u t io n n o r m a ll y i n a l l
h igh an d A L E i s n o t g e n e rated. N ot e t h a t respects except that th e s t ate of t h e R EADY
READY is ignored during M2 and M3 of DAD. line is ignored during the Bl cycle.
MI IO P) MI (Bl) MZ IMWI
T4 TP TT
I0IM
SI, SO
A (T AI S
WR
FUNCTIONAL DESCRIPTION
Figure 2-20 illustrates the Bl cycle generated in In Figure 2-20 the RST 7.5 line is pulsed during
response to RST 7.5 when a HALT instruction THqqq. Since RST 7.5 is a rising-edge-triggered
has just been executed and the CPU is in the interrupt, it will set an i nternal latch which is
TH«q state, with it s v a rious signals f loating. sampled during CLK = "1" of every THqq-r state
There are only two ways the processor can com- ( as well as d u r ing C L K = " 1" two T s t a t e s
pletely exit the THq)r state, as shown in Figure before any M, • T>.) The fact that the latched in-
2-11. The first way is for RESET to occur, which t errupt was high (assuming that INTE FF = 1
always forces the 8085A to TREsE-r. The second and the RST 7.5 mask =0) will force the CPU to
way to exit T„~zz permanently is for a valid in- exit the TH~qq state at the end of the next CLK
terrupt to occur, which will cause the CPU to period, and to enter M, • T~.
disable further interrupts by resetting INTE FF,
and to then proceed to M< • T, of t he next in- T his completes our analysis of t h e t i m ing of
struction. When the HOLD input is a c t ivated, each of the seven types of machine cycles.
the CPU will exit THq) z for the duration of THo) p
and then return to THqzq.
THALT THALT TS Tp TS
IOIM
FUNCTIONAL DESCRIPTION
2.3.6 H O LD and HALT States The 8085A accepts the first unmasked, enabled
The 8085A uses the THpLp state to momentarily interrupt s a m p l ed; t h e r eafter, a l l i n t e r r u pt
cease executing machine cycles, allowing ex- s ampling is i n h ibited. The i n terrupt t hus a c -
ternal devices to gain co ntrol of th e bus and c epted will i n evitably be e x ecuted w hen t h e
peform DMA cycles. The processor internally CPU exits the HOLD state, even at the expense
o f h o l d i n g o f f h i g h e r - p r i o r it y i n t e r r u p t s
latches the state of the HOLD line and the un-
masked interrupts during CLK = "1" of every (including TRAP). (See Figure 2-22.)
THALT state. If the internal latched HOLD signal
is high during CLK = "1" of any THAiT state, the
C PU will e xi t T HTT,LT a nd enter THpip o n t h e When the CPU is not in THpiT or THpLp, it inter-
following CLK = "1". As shown in Figure 2-21 nally latches the HOLD line only during CLK =
this will occur even if a valid interrupt occurs
1 of the last state before T3 (T2 or Twqrr) and dur-
simultaneously with the HOLD signal. ing CLK = 1 of the last state before T5 (T4 of a
six T-state M,). If t h e i n t ernal latched HOLD
The state of the HOLD and the unmasked inter- signal is high during the next CLK = 1, the CPU
rupt lines is latched internally during CLK = 1 will enter THpLp after the following clock. When
o f each THpLp state as w el l a s d u r ing T „ « T the CPU is not in THALT or THpLp, it will internally
states. If the i nternal latched HOLD signal is latch the state of the unmasked interupts only
low during CLK = 1, the CPU will exit THQLp and during CLK of the next to the last state before
enter THALT on the following CLK = 1 . each M, • Ti.
INTERRUPTS SAMPLED
HERE REGARDLESS
OF HOLD
INTERRUPT
START OF INTERRUPT
SIGNIFIES THAT TY TI MAY TAKE PLACE INSIDE THE ODBSAEVEN WHILE THE PROCESSOR IS IN A HOLD STATE CYCLE DELAYED
BY HOLD
FUNCTIONAL DESCRIPTION
LOW PRIORITY
INTERRUPT CYCLE
HOLD
EXITS HALT
IMMEDIATELY AFTER
HOLD REMOVED
HIGH PRIORITY
INTERRUPT(S)
2.3.7 P o wer On and RESET IN CPU will enter M, • T< for the next T state. Note
The 8085A employs a special internal circuit to that the various signals and buses are floated in
increase its speed. This circuit, which is called T REsET as well a s T ~aj T and T~o) o. For t h i s
a substrate bias generator, creates a negative r eason, i t i s de s i r a bl e t o p r o v i d e p u l l - u p
v oltage which i s u sed t o n e g atively bias t h e resistors fo r th e m a i n c o n t r ol s i g n als ( p ar-
substrate. The circuit employs an oscillator and ticularly WR).
a charge pump which require a certain amount Specifically, the RREET I I s i g nal causes the
of time a f te r P O WER O N t o s t a b i lize. (See following actions:
Figure 2-23.)
RESETS SETS
Taking this circuit into account, the 8085A is
not guaranteed to work until 10 ms a f ter Vcc P ROGRAM CO U N T E R RST 5.5 MASK
reaches 4.75V. For this reason, it is suggested INSTRUCTION REGISTER RST 6.5 MASK
that RESET IN be kept low during this period. INTE FF RST 7.5 MASK
Note that the 10 ms period does not include the RST 7.5 FF
time it takes for the power supply to reach its TRAP FF
4.75V level — w h ic h ma y b e m i l l iseconds in SOD FF
some systems. A simple RC network (Figure 3-6) MACHINE STATE FF's
can satisfy this requirement. MACHINE CYCLE FF's
INTERNALLY LATCHED
The RESET IN line is latched every CLK = 1 . FF's for HOLD, INTR,
This latched signal is recognized by the CPU and READY
during CLK = 1 of the next T state. (See Figure
2-24.) If it is low, the CPU will issue RESET OUT R~EET IN does not explicitly change the con.
and enter Tz<) T for the next T state. RESET IN tents of the BGSSA registers (A, B, C O, E, H, L)
should be kept low for a minimum of three clock and the condition flags, but due to RESET IN oc.
periods to ensure proper synchronization of the curring at a random time during instruction ex-
CPU. When the ARSE~I s i g n a l goes high, the ecution, the results are indeterminate.
Page B.20
FUNCTIONAL DESCRIPTION
M, (OF)
TAEE(I
V 0
VAA (INTERNAL)
M) (OF) 81) (OF I Following RESET, the 8085A will start executing
22 TAEEEI TAE)E TAE)EE TEE)I T,
instructions a t l o c a t ion 0 w i t h t h e i n t e rrupt
system disabled, as shown in Figure 2-24.
IO/M
AAIE
FUNCTIONAL DESCRIPTION
ACCUMULATOR
(8)T 7)
8 15
OUT
ADO-AOT
RD
FIGURE 2.25 RELATIONSHIP OF SID AND SOD SIGNALS TO RIM AND SIM INSTRUCTIONS
8085A 8085A
F.F.
ACCUMULATOR ACCUMULATOR
FUNCTIONAL DESCRIPTION
ALE
INTA 18 4 18 I 0 P2 I 0 N A L I
8712 Ae A
HOLD 8080A HOLD
4'8
HLDA 8224 HLDA
8228 7 Ae Ale
FUNCTIONAL DESCRIPTION
MCS-80™ System Bus forREAD CYCLE MCS.85™ System Bus forREAD CYCLE
The basic timing of the MCS-80 BUS for a READ The basic timing of the MCS-85 BUS for a READ
CYCLE is as follows: CYCLE is as follows:
A A is, 10/M
Oi Q7
(OPTIONALLY
Ao Ais Ai LATCHED
SIGNALS)
Qs 04 08 OUT 04 IN 07 OUT
RD o INTA Qs 08
The MCS-80 first presents the address Qia n d At the beginning of the READ cycle, the 8085A
shortly thereafter th e c o n t rol s i g nal Q2. The sends out al l 1 6 b i t s o f a d d r essQ~. This is
data bus, which wa s i n t h e h i g h i m pedance f ollowed b y A L EQ 2which c a uses t h e l o w e r
state, is driven by the selected device Q3. The eight bits of address to be latched in either the
selected device eventually presents the valid 8155/56, 8355, 8755A, or in an external 8212. RD
data to the processor Q4. The processor raises is then dropped Q3by the 8085A. The data bus is
the control signal Qs, which causes the select- then tri-stated by the 8085A in preparation for
ed device to put the data bus in the high impe- t he selected d evice d r iving t h e b u s Q4; t h e
dance stateQs. The p rocessor then c hanges selected device will continue to drive the bus
the address' for t he start o f t h e n ex t d a t a with valid data Qs, until RD is raised Qsby the
8085A. At the end of the READ CYCLE Q7, the
transfer.
address and data lines are changed in prepara-
tion for the next cycle.
MCS-80™ System Bus for WRITE CYCLE MCS.85™ System Bus for WRITE CYCLE
T he basic t i m ing o f t h e M C S-80 BUS fo r a T he basic t i m ing o f t h e M C S-85 BUS fo r a
WRITE CYCLE is as follows: WRITE CYCLE is as follows:
AS-
A IS, IO/M
I O8T I O NA L L Y
Ao A,s A AI LA T C H E D
SIGNA LSt
07 Qs QS
OBo 087- A DS.ADT — — Ao.A T Do OT
Qi Oz
MEMW o IOW Q7 $/8238) 0 Os
The MCS-80 first presents the address Qi, t he n The ti m i n g of the WRITE CYCLE is identical to
e nables t h e d a t a b u s d r i v e rQ2, and la te r t he MC S -85 READ CYCLE with the exception of
p resents the d a t a Q s. Shortly t hereafter, th e t he ADo - ADq lines. A t t h e - b e g i nning o f t h e
MCS-80 drops the control signal Q4 for an inter- cyc le QT , the low order eight bits of address are
val of time and then raises the signal Qs. The o n A Do - AD7. After ALE drops, the eight bits of
M CS-80 t h e n c h a n g e s t h e a d d r e s sQs in d at a Qu are put on AD0 AD7. They are removedQs
preparation for the next data transfer. The ad - a t th e e n d of the WRITE CYCLE, in anticipation
vance write signal of the 8238 is also shown Q7. o f th e n ext data transfer.
FIGURE 2-28 (Continued) COMPARISON OF SYSTEM BUSES
Page B.24
FUNCTIONAL DESCRIPTION
The following observations of t h e t w o b u ses and IO/9 w it h a d e coder or a few g ates. The
can be made: MCS-85 bus is also fast. While running at 3MHz,
1. The access t i mes f ro m a d dress leaving the 8085A generates better timing signals than
the processor to returning data are almost the MCS-80 does at 2 M Hz. Furthermore, the
i dentical, e ve n t h o u g h t h e 8 0 8 5 A i s m ultiplexed bu s s t r u c ture d o esn't s l o w t h e
operating 50% faster than the 8080. 8085A down, because it i s u s ing th e i nternal
2. With the addition of an 8212 latch to the states to overlap the fetch and execution por-
tions of different machine cycles. Finally, the
8 085A, th e b a s i c t i m i ng s o f t h e tw o
MCS-85 can be slowed down or sped up con-
systems are very similar.
siderably, w h i l e s t i l l p r o v i d in g r e a s o nable
3. The 8085A ha s m o r e t i m e f o r a d d ress timing.
setup to RR5 than the 8080.
4. The MCS-80 has a wider RD signal,but a TO USE. The RD, KR, and ~IN A control signals
narrower WR signal than the 8085A. all have identical timing, which isn't affected by
5. The MCS-80 provides stable data setup to the CPU preparing to enter the HOLD state. Fur-
t he leading an d t r a i ling e d ges o f W R , thermore, theaddress and data bus have good
while the 8085 provides stable data setup setup and hold t i mes r e lative to t h e c o n t rol
to only the trailing edge of WR. signals. The voltage and current levels for the
6. The MCS-80 control signals have different interface signals will all drive buses of up to 40
widths and occur at different points in the MOS devices, or 1 schottky TTL device.
machine cycle, while the 8085A control
signals have identical timing. The MCS-85 system bus is also EFFICIENT. Effi-
ciency is the reason that th e l o wer eight ad-
7. While not shown on the chart, the MCS-80 dress lines are multiplexed with the data bus.
data and address hold times are adversely Every chip that needs to use both A0-A7 and D0-
affected by t h e p r o cessor preparing to D> saves 7 pins (the eighth pin is used for ALE)
enter the HOLD state. The 8085A has iden- on the interface to the processor. That means
tical timing regardless of entering HOLD. that 7 more pins per part are available to either
8. Also not shown on the c hart is the fact add features to th e p art o r t o u s e a s m a l ler
that all output signals of the 8085A have p ackage i n s o m e c a s es . I n t h e t h r e e c h i p
— 400qa of source current and 2.0 ma of s ystem shown i n F i g ure 3-6, the us e o f t h e
sink current. The 8085A also ha s i n p ut MCS-85 bus saves 3 x 7 = 2 1 p i ns, which are
voltage levels of V~z — 0.8V and V~H — 2.0V. used for extra I/O and interrupt lines. A further
advantage of th e M CS-85 bus is a p parent in
CONCLUSION: Figure 3-7, which shows a printed circuit layout
The preceding discussion has c l early shown of the circuit in Figure 3-6. The reduced number
that the MCS-85 bus satisfies the two restric- of pins and the f act t hat c o m patible pinouts
tions of COMPATIBILITY and SPEED. It is com- were used, provides for an extremely compact,
patible because it requires only an 8212 latch to simple, and efficient printed circuit. Notice that
generate an MCS-8~0t e h u a. tf the tour control great care was t a ken when the pinouts were
s ignals M E MR , M E MW , I l ) R a n d I l ) W a r e assigned to ensure that the signals would flow
desired, they can be generated from RD, WR, easily from chip to chip to chip.
page C.1
APPENDIX C
8085 Instruction Set
0 1 D D D S S S 0 0 1 1 0 1 1 0
Cycles: 1 data
States: 4 (8085), 5 (8080)
Addressing: register Cycles: 3
Flags: none
States: 10
Addressing: immed./reg. indirect
Flags: none
Page C.6
LXI rp, data 16 (Load register pair immediate) LHLD addr (Load H and L direct)
(rh) — (byte 3), (L)-((byte 3)(byte 2))
(rl) — (byte 2) (H)-((byte 3)(byte 2)+1)
Byte 3 of the instruction is moved into the The content of the memory location, whose
high-order register (rh) of the register pair address is specified in byte 2 and byte 3 of
rp. Byte 2 of the instruction is moved into the instruction, is moved to register L. The
the low-order register (rl) of the register pair content of the memory location at the suc-
rp. ceeding address is moved to register H.
0 0 R P 0 0 0 1 0 0 1 0 1 0 1 0
Cycles: 3 Cycles: 5
States: 10 States: 16
Addressing: immediate A ddressing: d i re c t
Flags: none Flags: no ne
LDA addr (Load Accumulator direct) SHLD addr (Store H and L direct)
(A) — ((byte 3)(byte 2)) ((byte 3)(byte 2))-(L)
The content of the memory location, whose ((byte 3)(byte 2)+1)-(H)
address is specified in byte 2 and byte 3 of The content of register L is moved to the
the instruction, is moved to register A. memory l o c a t i o n w ho s e ad d r e s s is
specified in byte 2 and byte 3. The content
0 0 1 1 1 0 1 0 of register H is moved to the succeeding
memory location.
low-order addr 0 0 1 0 0 0 1 0
high-order addr
low-order addr
Cycles: 4
States: 'l3 high-order addr
Addressing: direct
Flags: none Cycles: 5
States: 16
STA addr (Store Accumulator direct) A ddressing: d i re c t
((byte 3)(byte 2)) — (A) Flags: non e
The content of the accumulator is moved to
t he memory l o c ation w h os e a d d ress i s
specified in byte 2 and byte 3 of the instruc- LDAX rp (Load accumulator indirect)
tion. (A) — ((rp))
The content of the memory location, whose
0 0 1 1 0 0 1 0 address is in the register pair rp, is moved
to register A . N o t e : o n l y r e g ister p a i rs
r p = 8 ( r e g isters B a nd C) o r rp = D
low-order addr (registers D and E) may be specified.
high-order addr 0 0 R P 1 0 1 0
Cycles: 4 Cycles: 2
States: 13 States: 7
A ddressing: d i rec t Addressing: reg. indirect
Flags: n on e Flags: none
Page C.7
0 0 R P 0 0 1 0
1 0 0 0 0 1 1 0
Cycles: 2
States: 7
Addressing: reg . i n d i rect
Flags: no ne Cycles: 2
States: 7
XCHG (Exchange H and L with D and E) Addressing: reg . i n d i rect
(H) — (D) Flags: Z,S, P ,CY,AC
(L) — (E)
The contents of registers H and L are ex-
changed with the contents of registers D ADI data (Add immediate)
and E. (A) — (A) + (byte 2)
The content of the second byte of the in-
struction is added to the content of the ac-
1 1 1 0 1 0 1 1 cumulator. The result is placed in the ac-
e umul at or.
Cycles: 1
States: 4
Addressing: register 1 1 0 0 0 1 1 0
Flags: none
Cycles: 1 Cycles: 1
States: 4 States: 4
A ddressing: reg i s t e r A ddressing: reg i s t e r
Flags: Z,S , P ,CY,AC Flags: Z,S, P ,CY,AC
Page C.S
1 0 0 0 1 1 1 0 1 0 0 1 0 1 1 0
Cycles: 2 Cycles: 2
States: 7 States: 7
Addressing: reg. indirect Addressing: re g . i ndirect
Flags: Z,S,P,CY,AC Flags: Z,S, P ,CY,AC
ACI data (Add immediate with carry) SUI data (Subtract immediate)
(A) — (A) + (byte 2) + (CY) (A) — (A) — (byte 2)
The content of the second byte of the in- The content of the second byte of the in-
struction and the content of the CY flag are struction is subtracted from the content of
added to the contents of the accumulator. the accumulator. The result is placed in the
The result is placed in the accumulator. accumulator.
1 1 0 0 1 1 1 0 1 1 0 1 0 1 1 0
data data
Cycles: 2 Cycles: 2
States: 7 States: 7
Addressing: imm e d i ate Addressing: imme d i ate
Flags: Z,S , P ,CY,AC Flags: Z,S , P ,CY,AC
1 0 0 1 0 S S S 1 0 0 1 1 S S S
Cycles: 1 Cycles: 1
States: 4 States: 4
A ddressing: re g i s t er A ddressing: regi s t er
Flags: Z,S , P ,CY,AC Flags: Z,S , P ,CY,AC
Page C.9
0 0 1 1 0 1 0 0
1 0 0 1 1 1 1 0
Cycles: 3
Cycles: 2 States: 10
States: 7 Addressing: reg. indirect
Addressing: reg. indirect Flags: Z,S,P,AC
Flags: Z,S,P,CY,AC
0 0 D D D 1 0 1
1 1 0 1 1 1 1 0
data Cycles: 1
States: 4 (80 8 5), 5 (8080)
A ddressing: reg i s t e r
Cycles: 2 Flags: Z,S, P , AC
States: 7
Addressing: immediate
Flags: Z,S,P,CY,AC
0 0 D D D 1 0 0 0 0 1 1 0 1 0 1
Cycles: 1 Cycles: 3
States: 4 (80 8 5), 5 (8080) States: 10
A ddressing: reg i s t e r Addressing: re g. i n d i rect
Flags: Z,S, P , AC Flags: Z,S, P , AC
Page C.10
0 0 1 0 0 1 1 1
DCX rp (Decrement register pair)
(rh) (rl) — (rh) (rl) — 1
T he content o f t h e r e g i s ter p a i r r p i s Cycles: 1
decremented by one. Note: No c ondition States: 4
flags are affected. Flags: Z,S, P ,CY,AC
0 0 R P 1 0 0 1 1 0 1 0 0 S S S
Cycles: 3 Cycles: 1
States: 10 States: 4
Addressing: register A ddressing: reg i s t e r
Flags: CY Flags: Z,S, P ,CY,AC
page C.11
Cycles: 2
Cycles: 2 States: 7
States: 7 Addressing: r eg . i n d irect
Addressing: reg . i n d i rect Flags: Z,S, P ,CY,AC
Flags: Z,S , P ,CY,AC
1 0 1 0 1 S S S 1 0 1 1 0 S S S
Cycles: 1 Cycles: 1
States: 4 States: 4
Addressing: register A ddressing: reg i s t e r
Flags: Z,S,P,CY,AC Flags: Z,S, P ,CY,AC
page G.12
Cycles: 2
States: 7 Cycles: 2
Addressing: reg . i n d i rect States: 7
Flags: Z,S, P ,CY,AC Addressing: reg . i n d i rect
Flags: Z,S, P ,CY,AC
ORI data (OR immediate)
(A) — (A) V (byte 2) CPI data (Compare immediate)
The content of the second byte of the in- (A) — (byte 2)
struction is inclusive-OR'd with the content The content of the second byte of the in-
of the accumulator. The result is placed in struction i s su b t r a c te d f r o m t he ac -
the accumulator. The CY and AC flags are cumulator. The condition flags are set by
cleared.. the result of the subtraction. The Z flag is
set to 1 if (A) = (byte 2). The CY flag is set to
1 if (A) < (byte 2).
1 1 1 1 0 1 1 0
1 1 1 1 1 1 1 0
data
data
Cycles: 2
States: 7 Cycles: 2
A ddressing: immed i a t e States: 7
Flags: Z,S, P ,CY,AC A ddressing: i mmed i a t e
CMPr (Compare Register)
Flags: Z,S,P,CY,AC
(A) — (r)
The content of register r is subtracted from RLC (Rotate left)
the accumulator. The accumulator remains (An+ 1) ( A n) ~(Ao) — (A7)
unchanged. The condition flags are set as (CY) — (A7)
a result of the subtraction. The Z flag is set The content of the accumulator is rotated
to1 if (A) = (r). The CY flag is set to1if (A) left one position. The low order bit and the
< (r). CY flag are both set to the value shifted out
of the high order bit position. Only the CY
flag is affected.
1 0 1 1 1 S S S
0 0 0 0 0 1 1 1
Cycles: 1
States: 4 Cycles: 1
A ddressing: r egi s t e r States: 4
Flags: Z,S, P ,CY,AC Flags: CY
page C.13
0 0 0 0 1 1 1 1
Cycles: 1
States: 4
Flags: no ne
Cycles: 1
States: 4
Flags: CY
CMC (Complement carry)
(CY) — (CY)
The CY flag i s c o m p lemented. No o ther
RAL (Rotate left through carry) flags are affected.
(A„+ ))-(A„); (CY)-(A7)
(Ap) —
(CY)
The content of the accumulator is rotated
left one position through the CY flag. The 0 0 1 1 1 1 1 1
low order bit is set equal to the CY flag and
the CY flag is set to the value shifted out of
the high order bit. Only the CY flag is af-
fected. Cycles: 1
States: 4
Flags: CY
0 0 0 1 0 1 1 1
0 0 1 1 0 1 1 1
RAR (Rotate right through carry)
( Ap) ( A ~ + )))(CY) ( A p )
(A7) — (CY)
The content of the accumulator is rotated Cycles: 1
right one position through the CY flag. The States: 4
high order bit is set to the CY flag and the Flags: CY
CY flag is set to the value shifted out of the
low order bit. Only the CY flag is affected.
0 0 0 1 1 1 1 1
Cycles: 1
States: 4
Flags: CY
Page C.14
high-order addr
CONDITION CCC
NZ — not zero (Z=O) 000
Z — zero (Z = 1) 001
NC — no carry (CY =0) 010 Cycles: 2 / 3 (8085), 3 (8080)
C - carry (CY = 1) 011 States: 7 / 10 (8085), 10 (8080)
PO — parity odd (P =0) 100 Addressing: i m m e d iate
PE — parity even (P = 1) 101 F lags: none
P — plus (S =0) 110
M - minus (S = 1) 111
CALL addr (Call)
((S P) — 1) — (PC H)
((S P) — 2) — (PC L)
(SP) — (S P) — 2
JMP addr (Jump) (PC) — (byte 3) (byte 2)
(PC) — (byte 3) (byte 2) T he high-order eight b it s o f t h e n ex t i n -
Control is t r a n sferred t o t h e i n s t ruction
struction a d d r es s a r e mo v e d to th e
whose address is specified in byte 3 and
byte 2 of the current instruction. m emory location w h ose a d dress i s o n e
less than the content of register SP. The
low-order eight bits of the next instruction
address are moved to the memory location
1 1 0 0 0 0 1 1 whose address is two less than the content
of register SP. The content of register SP is
decremented by 2. Control is transferred to
low-order addr the instruction whose address is specified
in byte 3 and byte 2 of the current instruc-
high-order addr tion.
Cycles: 3 1 1 0 0 1 1 0 1
States: 10
A ddressing: i mmed i a t e low-order addr
Flags: no ne
high-order addr
C ycles: 5
States: 1 8 (8085), 17 (8080)
, i m m ediate/
Addressing: reg, indirect
Address'
F lags: n o n e
page C.15
1 1 C C C 0 0 0
1 1 C C C 1 0 0
RST n (Restart)
Cycles: 2 / 5 (8085), 3/5 (8080) ((SP) — 1) — (PCH)
States: 9 / 18 (8085), 11/17 (8080) ((S P) — 2) — (PC L)
immediate/ (S P) — (S* P) — 2
Addressing: (PC) — 8 (NNN)
reg. indirect
F lags: none T he high-order eight b it s o f t h e n ex t i n -
struction a d d r es s a r e mo v e d t o t he
m emory location w h ose a d dress i s o n e
less than the content of register SP. The
low-order eight bits of the next instruction
RET (Return) address are moved to the memory location
(PCL) — ((SP)); whose address is two less than the content
(PCH) — ((SP) + 1); of register SP. The content of register SP is
(SP) — (SP) + 2; decremented by two. Control is transferred
The content of the memory location whose to the instruction whose address is eight
address is specified in register SP is moved times the content of NNN.
to the low-order eight bits of register PC.
The content of the memory location whose
address is one more than the content of 1 1 N N N 1 1 1
register SP is moved to the high-order eight
bits of register PC. The content of register
SP is incremented by 2.
C ycles: 3
States: 1 2 (8085), 11 (8080)
Addressing: r e g . indirect
1 1 0 0 1 0 0 1 F lags: n o n e
151413 12 1 1 10 9 8 7 6 5 4 3 2 1 0
Cycles: 3
States: 10 0 0 0 0 0 0 0 0 0 0 N N N 0 0 0
Addressing: reg. indirect
Flags: none Program Counter After Restart
Page C.16
1 1 1 0 1 0 0 1
1 1 1 1 0 1 0 1
C ycles: 1
States: 6 ( 8085), 5 (8080) C ycles: 3
Addressing: r e g i s ter States: 1 2 (8085), 11 (8080)
F lags: n o n e Addressing: r e g . indirect
Flags: none
5.6.5 S t a ck, I/O, and Machine Control Group
This group of instructions performs I/O, manipu-
lates th e S t a ck , a n d a l t er s i n t e rnal c o n t rol FLAG WORD
flags.
Unless otherwise specified, condition flags are D7 D6 D5 D4 D3 D2 D] DP
not affected by any instructions in this group.
S Z X AC X P X CY
PUSH rp (Push)
((S P) — 1) — (rh)
((SP) — 2) — (ri) X: undefined
((SP) — (SP) — 2
The content of t h e h i gh-order register of
register pair rp i s m o ved t o t h e m e mory POP rp (Pop)
location whose address is on e l ess t h an (r I) — ((S P))
the content of register SP. The content of (rh) — ((SP) + 1)
the low-order register of register pair rp is (SP) — (SP) + 2
moved to the memory location whose ad-
d ress i s t w o l e s s t h a n t h e c o n t ent o f The content of the memory location, whose
register SP. The content of register SP is a ddress i s s p e c i fied b y t h e c o n t en t o f
decremented by 2. Note: Register pair rp = register SP, i s m o v e d t o t h e l o w - order
SP may not be specified. register of register pair rp. The content of
the memory location, whose address is one
more than the c o ntent o f r e g ister SP, is
1 1 R P 0 1 0 1 moved to the high-order register of register
r p. The c o n t en t o f re g i s te r S P i s i n-
cremented by 2. Note: Register pair rp =
C ycles: 3 SP may not be specified.
States: 1 2 (8085), 11 (8080)
Addressing: r e g . indirect
F lags: n o n e
Cycles: 3 1 1 0 1 1 0 1 1
States: 10
Addressing: reg . i n d i rect port
Flags: Z,S , P ,CY,AC
Cycles: 3
XTHL (Exchange stack top with H States: 10
and L) A ddressing: d i rec t
(L) — ((SP)) Flags: no ne
(H) — ((SP) + 1)
The content of the L register is exchanged
with the content of t h e m e mory location OUT port (Output)
whose address is specified by the content (data) — (A)
of register SP. The content of the H register The content of register A is placed on the
i s exchanged w i t h t h e c o n t en t o f t h e e ight b i t b i- d i r ectiona l d a t a b us f o r
m emory location w h ose a d dress i s o n e transmission to the specified port.
more than the content of register SP.
1 1 0 1 0 0 1 1
1 1 1 0 0 0 1 1 port
C ycles: 5 Cycles: 3
States: 1 6 (8085), 18 (8080) States: 10
Addressing: r e g . indirect A ddressing: d i rec t
Flags: none Flags: no ne
Page C.18
El (Enable interrupts)
The interrupt system is enabled following 0 0 0 0 0 0 0 0
the execution of the next instruction. Inter-
r upts are not r ecognized during the E l
instruction. Cycles: 1
States: 4
Flags: no ne
1 1 1 1 1 0 1 1
RIM (Read Interrupt Masks) (8085 only)
The RIM instruction loads data into the ac-
Cycles: 1 c umulator relating t o i n t e rrupts and t h e
States: 4 serial input. This data contains the follow-
Flags: no ne ing information:
• Current interrupt mask status for the
NOTE: Placin~an El instruction on the bus in RST 5.5, 6.5, and 7.5 hardware inter-
response to INTA during an INA cycle is pro- rupts (1 = mask disabled)
hibited. (8085) • Current interrupt enable flag status (1
i nterrupts e n a bled) e x cept i m -
mediately following a TRAP interrupt.
DI (Disable interrupts) (See below.)
The interrupt system is d i sabled immedi- • Hardware i n t e rrupts p e n d in g ( i .e.,
ately following the execution of the Dl in- signal received but not yet serviced),
struction. Interrupts are not r ecognized
on the RST 5.5, 6.5, and 7.5 lines.
during the Dl instruction. • Serial input data.
immediately fo llowing a T R A P i n t errupt,
1 1 1 1 0 0 1 1 the RIM instruction must be executed as a
part of the service routine if you need to
retrieve current interrupt status later. Bit 3
Cycles: 1 of the accumulator is (in this special case
States: 4 only) loaded with the interrupt enable (IE)
Flags: no ne flag status that existed prior to the TRAP
interrupt. Following an RST 5.5, 6.5, 7.5, or
INTR interrupt, the interrupt flag f l ip-flop
N OTE: PlaclnrLa DI instruction on the bus i n reflects the current interrupt enable status.
response to INTA during an INA cycle is pro- Bit 6 o f t h e a c c umulator (I7.5) is loaded
hibited. (8085) with the s t atus o f t h e R S T 7.5 f l i p-flop,
which is always set (edge-triggered) by an
input on the RST 7.5 input line, even when
HLT (Halt) that interrupt has been previously masked.
The processor is s t o p ped. The registers
and flags are unaffected. (8080) A second (See SIM Instruction.)
ALE is generated during the execution of
HLT to strobe out the Halt cycle status in-
formation. (8085) O pcode. 0 0 I 0 0 0 0 0
Accumulator
0 1 1 1 0 1 1 0 Content
After RIM: SI D 1 7. 5 1 6. 5 1 5 . 5 I E M7 . 5 M 6 5 M5 5
O pcode: 0 0 1 1 0 0 0 0
Accumutato 7 6 5 3 2 0
Content
SOD SOE X R7. 5 M S E M 7.5 M6 5 M5.5
SIM;
RST 5 5 Mask
RST 6.5 Mask
RST 7.5 Mask
Mask Set Enable
Reset RST 7.5 Flip-Flop
Undefined
SOD Enable
Serial Output Data
Cycles: 1
States: 4
Flags: no ne
Page C.20
8085A
8085A
OP OP OP OP OP OP
CODE MNEMONIC CODE MNEMONIC CODE MNEMONIC CODE MNEMONIC CODE MNEMONIC CODE MNEMONIC
DS - constant, or logical/arit h m e tic expression that evaluates D16- constant, Or lc gical/a r i t h m e t i c e x p r ess ion that evaluates
to an 8-bit d ata quantity t o a 16 - b i t d a t a q u a n t i t y
A dr - 16-bit ad d r ess
page C.22
8085A
MOV 51 r memory
M u v e rei ster to 0 I I I U S S S 54 CNZ Cail un nn )Pro I I 0 0 0 I 0 0 5 14
MUV r M Mo v e npmory lo register 0 I 0 0 0 I I 0 54 CP Call on pnsilivr I I I I 0 I 0 0 5 14
MVI I Muve mmedmte register 0 0 0 D 0 I I 0 54 CM Cdd Ui r i f i )1«i I I I I I 0 0 5 11
lsl V I I(1 lsluve nnmedmle memory U 0 I I tl I I U '4 CPE Call un par ty pvrn I I I 0 I I 0 U 5 14
LXI 0 Load mmedmte rirpsli.r U U 0 0 0 0 0 CPO LJH un parity urld I I I 0 0 I 0 0 5 14
Pa«08 C RETURN
L XI U Lu,id i nmerhalr, rrgislrr 0 0 0 I tl 0 tl I 5 5 RLI Helurn I I 0 U I 0 0 I 5 14
Pair 08 E Ri'Iuf)1 u)1 cd)r e I I 0 I I 0 tl 0 5 14
I XI H L oad irnmrdmt r r g i i l e r 0 0 I 0 0 U 0 I 5 5 RNC Return un nu carry I I 0 I 0 0 0 0 J14
Vair tl & L
I'I'Intr) or) rein I I 0 0 I tl 0 0 5 14
STAX 8 Srnr A mdncct 0 0 0 0 fl tl I 0 5 fi
RNI 0 c IUr i or) 1) u ter u I I 0 0 0 0 0 0 5 14
STAX 0 Store A 111(I)reel 0 0 0 I 0 0 I 0 55
Rrturri un pos t ve I I I I 0 0 0 0 5 11
LOAX 8 Li)J)I A 11)if))cut U 0 tl 0 I U I U '514
Return un minus I I I I I 0 0 0
LUAX 0 L Oad A indii Ci l 0 0 0 I I 0 I 0 ')5
RVE Hrl r i i on pdr ty pve« I I I 0 I U 0 fl 5 14
STA Sture A dirct.t 0 0 I I 0 U I 0
RPO Return un pdr ty oild I I I 0 0 0 U U 5 14
LOA Load A direct 0 0 I I I 0 I 0 5 5
RESTART
SHLO Sture H & L ilirect 0 0 I 0 0 0 I 0 55
HST Rrslul I I A A A I I I
LHLO Led)i H 8 L (I)reel 0 0 I 0 I 0 I 0 55
IN P U T/0 U 3 PUT
XCHG Excl an)a 0 & E H 8 L I I I 0 I 0 I I ')6
IN put I I 0 I I 0 I I ') lti
Hpg ster)
STACK 0PS OUT Output I I tl I U U I
8085A
NOTES I DDS or SSS 8 000, C uut, 0 010, Eull, H 100, L 101 Men ury 110, A 111
2 Iwo pose ble cycle I mes (Sr'121 ndi cate r strut t an cycles dependsil on cllndit on Rags
page D.1
APPENDIX D
Data Sheets
MAIN BOARD
PART MODEL DESCRIPTION PAGE
NUMBER NUMBER NUMBER
Main Board
page D.4
o e •
• •
MCM6665A
• •
MOS
IN CHANNLL, SILICON GATE)
64K BIT DYNAMIC RAII/I
The MCM6665A is a 65,536 bit,high speed, dynamic Random
Access Memory O r ganized as 65,536 one bit words and f,>bricated 65,536- B IT
using HMOS high pcrformarice N charm<>i silicon qate Icchrioloqy, this DYNAMIC RANDOM ACCESS
new breed of 5 v ol t o nly d yr»,mtc RA M c o rri(»nes high p<irformanc(i MEMORY
with low cost and i mprovedreliaoility
By multiplexinq ro w a n d c o l i im n address rnpiits, th e M C M 6665A
requ>res only eight address lines and pcrniits packag>n<3 ir> standard
16 pm dual in (me packaqes Complete a<klrcss decodiriq is <lone on
chip w>th address latches iricorporatrd D >ta out is t.ontrollcd by CAS
allowing for greater system fl exib
ility
All inputs and o u t p u ts, inclu<hng clocks, are fi illy TTL 0 >rr>patible P SUFFIX
The MCM6665A incorporates a one transistor cell design and dynami( pkns>t( pncknnr
>6 CASk 6Qa
storage technrques
• Or g a nized as 65,.>36 Words of I B it
• Si n gle + 5 V Operation (+ 10%)
• Fu l l Power Supply Ranqe Capabilities
• Ma x i m um A ccess Time
L SUFFIX
MCM6665A 12 — 120 ns CI BAM>(' pncx/tok
>6
MCM6665A 15 — 150 ns < nsk sfw>
MCM6665A 20 = 200 iis
• Lo w P o w er Dissipation
302 5 mW Maximum (Active) (MCM6665A 151
22 mW Maximum (Stan<)by)
PIN ASSIGNMENT
• Th r ee State Data Output
• In t e r nal Latches for Ail<(ress and Data Inpiit N/C I• 16 >/ss
• Ea r ly W r i te Common I /O ( ' a p ability 15 i~A
• 16K o
Cmpatibl
e 128 Cycle, 2 ms Refresh 14
• RA S o nly Refresh Mode
RAN 13 AB
• CA S C on trolled Output
AO 12
• Up w a r d P>n Compatible from thc 16K RAM (MCM4116, MCM4c517)
• Fast Page Mode Cycle Time
• Lo w S o f t E rror Rate (0 1 % p e r 1 000 Hoiirs ISee Soft Error Testing) Al 10 As
>/CC A7
• • •
iNQTE Permanent device damage mav occur if ABSC. U E f ( A X I M U(vc RATINGS are ex
ceeded Functionai operation snould be restricted to RECOMMENDED OPERATING
CONDITIONS Exposure to higher than recommended voltages for ext i.ndcrd penods Includes Jig Capacitance
of time could affect device reliability
VOH 24
Output Logic 0 Voltage g I o„ t -— 4 mA VOL Q4
CAPACITANCE (I = I 0 M H ) L T A = 25'C. VCC=. 5 V Periodicaily Sampled Rather Than 100% Tes ted)
Parameter Symbol Typ Max Unit Notes
Input Capacitance (AQ.A7), D CII pF
Input Capacitance RAS, CAS, WRITE C(2 pF
Output Capacitance(QI, (CAS = V)H to disable output) CO pF
NOTES I A l l voltages referenced to VSS
2 VIH min and V)L max are reference levels for measunng tirnin i) of rripiit signals Transition times are measured between V(H and
VIL
3 A n i n itial pairse of 100 tcs is required after power up followi d h v , i i iv 6 RAS c ycles before proper device operation is guaranteed
4 C u rrent is a function of cycle rate and output loading, maximum current is measured at the fastest cycle rate with the output
open
5 RAS and CAS are both at a logic I
6 The tr ansition time specification applies for all inputs sigricls l ii a ddition to meeting the transition rate specification, all input
signals must transmit between VIH and V)L lor between VIL ancf VIH) in a monotonic manner
7 Capacitance measured with a Boon(on Meter or effective cap,icitarice calculated from the equation C =
AV
page 0.6
• • •
8 T h e specifications for tRC (min), and tRWC (min) are used oiily to )nd)cate cycle time at whicfi proper operation over the full
temperature range IQ'C «TA «70'C) is assured
9 AC measurements t T = 5 0 ns
10 Assumes that IHCD« t RCp (max)
A ssun es '.hat IRCpx t q C p m a x i
12 Measured with a current load eouivalent to 2 TTL ( — 2CQ PA 4 m A ) i o ads and 100 pF with the data output trip poir ts set at
VOH =2 0 V and VOL =Q 8 V
13 O p e ration w i t hin the IRCp <n)ax) li ii t er sures ! nat t qA C ( m ax) <an be n et tHCp l'n ax i i s specified as a re'erence oc)nt only, if
tRCp s greats than the spec ifi ed tRCD<max) I i rr t, thr n access I ri e s c o n t rol ed r xclusive y oy ', A C
14 Ei',her tRRH or tRCH must be satislied lor a read cycle
15 These parameters are referenced to CAS leading edge in random write) eye(its and to WRITE leading edge in delayed wrrte or read-
modify wnte cycles
16 tw c s , t c w p a n d tRw p are not restrictive operating parametr rs They are inriuded in the data sheet as electrical characteristics
only, if tWCS ~ tWCS (m in), the cycle is an early wnte cvcl< ,)nd the) dat,i out pin w ill remain open circuit (high impedancel
throughout the entire cycie, if ICWp > (CWp (min) and (RWD a tRWD Imiri), the cycle is read write cycle and the data out will
contain data read from the selected cell, if neither of the abov( , i I » ii( « i n d)t)uns is satisfied, the condition of the data out (at ac
cess ti
me> is indeterminate
I AR mm — IA R = IRCD + I C A H
I DHR mm — I D H R = IRCD + I D H
IWCR m'n — IWCR = IRCD + I W C H
18 tof f (maX) defineS the t ime at WhiCh the OutOut aChieVeS the Oni ii < irr iiit <:nii<litiOn and iS nat referenCed tO OutPut VOI(age leVelS
page 0.7
tRAS
V I H-
HAS
el(
I( SH IHP
tH( D 'HSH I( HP
'(..AS
CAS
VIL
(HAH
'A.' H (AS<' I('AH
VIH-
Addresse Row Col(rrrt •
VIL Address Addri ss
IRHH
(HCo h
V I H-
V I L-
t< A<
'HA(.
VOH Valid
Q (Data Oiitr Higtr 2
VOL- Data
IRC
tRAS
IAR
V I L-
(RSI-i (RP
tCSH
'RCD ICAS I< HP
Vt,
IRAH
tASR IAS( ICAII
ICWI
'WCS IWCH
VIH - IWP
VIL
IRWL
IWCH
IDS 'DH
VIH Valid
D (Data Iril
VIL Data
tPHR
VOH-
Q (Data Oot) Itrgh Z
VOL-
IRAS
HAS 'AR
Addresses
Row Col C<tl Cni
V I L- A Add Add A(jil
iCAC 'CAC
VIH
V I L-
'HAS
VIH
RAS IAH
VIL
ICSH IRSH IRP
IPC
IRCD ICAS ICRP
VIH ICAS
CAS
VIL
IRAH ICAH I( Al< ICAH
ICWL I( I.VI
+IH
V L-
iWP 'WP 'WP
'DS
'WCR IOH IRWL
'DS IDH 'DS IDH~
V I H- Valid V,ilid Valid
D (Data lnl
Dare D,it,i Data
VIL
'DHR
R//R-DNLY REFRESH CYCLE
IData in and Write are Don't Care, CAS is HIGHI
IRC
IRP
tRAS
RAS
VIL
I II P
tRAH
IASR
READ-WRITE/READ-MODIFY-WRITE CYCLE
'RWC
tRAS
VIH
VIL
IRSH IRU
ICSH
IRCD ICAS
V I I-I-
VIL
'ASR
IRAtl
IASC ICAH
V I I-I Row Column
Addresses
VIL Address Addiess
IRWD 'CWL
IRCS 'CWD iRWL
VIH
VIL
IWP IQFF
ICAC
V Va id
0 IData Out) Hi<th Z
VOL- Data
IRAC
IDS IDH
V,i id
D I Data In)
VIL D,ita
page 0.10
• • •
TYPICAL CHARACTERISTICS
FIGURE 2 — RAS ACCESS TIME versus SUPPLY VOLTAGE FIGURE 3 — CAS ACCESS TIME versusSUPPLY VOLTAGE
1.3
12 CD
( I 0- tRAC(BVCC - 5 V. (A - 25'C) (7.0-tCACIIVCC-5 V, TA-25'Cl
x
1.2
11
CD
U 1.1
X
10 TA-70'C
I-
I/O
I/O TA-70'C
xD o 1.0
rn 0 9 TA - 25'C
Q
u 0.9 TA-25'C
TA-O'C
0.8
TA-O'C
0.8
4 4.5 5 5.5 6 4,5 5 5.5
VCC. SUPPLYVOLTAGE(VOLTSI VCC, SUPPLYVOLTAGE(VOLTSI
FIGURE 4 — RAS ACCESS TIME versus FIGURE 5 — CAS ACCESS TIME versus
AMBIENT TEMPERATURE AMBIENT TEMPERATURE
1.2 1.2
ro (I.O-IRACOVCC-4.5 V, TA-25'CI CD
II.O-ICACIIVCC-4.5 V, TA-25'Cl
1.1 1.1
CD
I
1.0 1.0
K
I
E
0.9 u 0.9
07 07
0 20 40 60 80 20 40 60 80
TA,AMBIENT TEMPERATURE I'Cl TA, AMBIENTTEMPERATURE('CI
FIGURE 6 — RA%, W INPUT LEVEL versus SUPPLY VOLTAGE FIGURE 7 — CAS, W INPUT LEVEL versus SUPPLY VOLTAGE
2.5 2.5
)
I
VIL Max-
10 ~ 10
0.5 0.5
TA-25'C TA-25 *C
5 5 55 6 4 4.5 5 5.5
VCC, SUPPLYVOLTAGE(VOLTS) VCC. SUPPLYVOLTAGEIVOLTSI
page 0.11
• • •
20 20
) )
I-
o
C 1000 ns
10 - 10
2 4 4.5 5 5.5 6
I itRC, CYCLERATE IMHzt VCC. SUPPLYVOLTAGEIVOLTSI
20 20
I-
1000 ns
•C C
000 ns
10 o 10
o
4 4.5 5 5.5 6 20 40 60 80
VCC, SUPPLYVOLTAGE(VOLTS) TA, AMBIENT TEMPERATURE('Cl
IRC E
E 40
I VCC-5.5 V 290 ns 3
tRAS-160 ns cc
30
500 ns 2
cn
20 co
)
I-
«C TA-25'C
1000 ns I
o 10
o
20 40 60 80 4 45 5 55
TA, AMBIENTTEMPERATURE ("CI VCC. SUPPLYVOLTAGE(VOLTS(
page D.12
50
x t
E
vcc-55v vcc-5.5 v TA-25'C
40 IRP-120 nx
3
CK
LJ
co
2
IXl
<n
10
0
20 40 60 60 2 3
TA. AMBIENT TEMPERATURE
('C) IltRC, CYCLERATE(MHt)
FIGURE 16 — ADDRESS INPUT LEVEL versus SUPPLY VOLTAGE FIGURE )7 DA T A I N PUT LEVEL versus SUPPLY VOLTAGE
25 25
CI>
20 l
VIII Min
ox
20 VIH Min
I
ca15 cx 1.5 VIL Msx
) )J
VIL Max
1.0 i ~ I.O
o o.
05 0.5
TA-25'C TA-
4 45 5 55 60 4 4.5 5 5.5 6
VCC. SUPPLYVOLTAGEIVOLTSI VCC, SUPPLY
VOLTAGEIVOLTS)
• • •
(Q
(bil (ine hi(sl
I NOTE: The Alpha Flux Pensrty
co
that the die is sub(ected
to with a die coat is less
10-1 I0 (02 103 104 10-1 than 0.01 a/cm2 Hr
CTCLE TIME(ps(
10-2
lp 10-2 10- 1 I (Q 102 ( 03 104 105 (06
A(PHA FLUX OENSITY ( rrcm> Hrl
CURRENT WAVEFORMS
FIGURE 20 — RAS/CAS CYCLE FIGURE 21 — LONG RAS/CAS CYCLE
—5 5
V
RAS V RAS
Q
5
CAS V
V CAS
—Q Q O
— 8Q
60
mA
icc — 4Q
— 4Q icc
n /r
2Q 2Q
—Q
I
5Q ns/Div Time (nsi 5Q ns/Div Time (ns)
CAS —5 CAS 5
V V
Q c>
Q
co
n
SQ
) I-
— 6Q 6Q )
mA mA
Icc 4Q icc 4Q
— 2Q — 20
Ql
C
0
0
CI
D Cl
CO — OO
0 Ul CO
C, CO
0 0
o\ IO 0
Ol Ql
O ) CO
CO
0 0
O O.
0
D Ql
N 0
Ql
apoaaij otunIog
Q
tll tc 9IQZ IO 1
0
Ql O
ca
IT
(3
O
hc
O
O
dt Q Ql
D 0
CO 0 QQ 0
IQ 0 tQ IJ Ql
N N Ql N
Z Ol TO OI OI OQ CO
0
CO 5 CO CO 5 Ol
0 tc 0 Ol
IT IT
U
Z
O
I2 0
IT
W
0
0
0 w
'D
0 0
<COO
S
C
/. 0
I/I
0 0 D
CC 0 Q
D
CO
0h
0
V Ql IO UI
Ql
0 D Tl Ql
VI
0
D ~ E
on< 0 CQ
2
Ql
X
Ql
D
0 OQ D
0
Q I
IO
0 0 zW
IO IC
0 0
IT
O/ 0
0
page 0.15
• •
DEVICE INITIALIZATION address strobe. A total of sixteen address bits will decode
Since the 64K dynamic RAM is a single supply 5 V only one of the 65,536 ceil locations in the device. The column
device, the need for power siipply sequencing is no longer address strobe follows the row address strobe by a specified
required as was the case in older generation dynamic RAMs minimum and maximum time called "tRCD," w h ich is the
On power-up an initial pause of 100 microseconds is required row to column strobe delay This time interval is also referred
for the internal substrate generator pump to establish the to as the multiplex w>ndow which gives flexibil>ty to a system
correct bias voltage. This is to be followed by a minimum of designer to set up his external addresses into the RAM
eight active cycles of the row address strobe (clock) to These conditions have to be met for normal read or write
initialize the various dynamic nodes internal to the device cycles. Th>s >n>tial portion of the cycle accomplishesthe nor-
Dunng an extended inactive state of the dev>ce (greater than mal addressing of the device There are, however, two other
2 ms with devicepowered up) the wake up sequence (8 vanat>ons in addressing the 64K RAM: one is called the page
active cycles) will be necessary to assure proper dev>ce mode cycle (described later) where an 8-bit column address
operation. See Figures 25, 26 for power on characteristics of field is presented on the input p>ns and latched by the ~A
the RAM for two conditions (clocks act>ve, clocks inactive) clock, and the other is the RAS only refresh cycle (descnbed
T he row a ddress strobe is t h e p r imary " c lock" t h a t later) where a 7-bit row address field is presented on the in-
act>vates the device and maintains the data when the RAM is put pins and latched by the RAS clock In the latter case, the
in the standby mode T his is the main feature that distin- most s>gnif>cant bit on Row Address A7 (p>n 9) is not re-
quishes it as a dynamic RAM as opposed to a statii; RAM A quired for refresh. See bit address map for the topology of
dynamic RAM is placed in a l<>w power standby mode when the cells and the>r address selection
the device receives a positive-going row address strobe. The
vanation in the power dissipation of a dynamic RAM from NORMAL READ CYCLE
the active to the standby state is an order of magnitude or A read cycle is referred to as normal read cycle to differen-
more for NMOS devices. This feature is used to its fullest ad- tiate if f rom a p age mode-read cycle, a read while-wnte
vantage with high density mainframe memory systems, cycle, and read-modify write cycle which are covered in a
where only a very small percentage of the devices are in the tater section
active mode at any one time and the rest of the devices are in The memory read cycle beg>ns with the row addresses
the standby mode. Thus, large memory systems can be val>d and the TIAS clock transitioning from VIH to the VIL
assembled that dissipate very low power per bit compared to level. The ~ clo c k must also make a transition from VIFI to
a system where all devices are active continuously. the VIL level at the specified tRCD t>ming limits when the
c olumn addresses are latched. Both the ~RA a n d ~ A
ADDRESSING THE RAM clocks trigger a sequence of events which are controlled by
The eight address pins on the dev>ce are time multiplexed several delayed internal clocks. Also, these clocks are linked
with two separate 8-bit address helds that are strobed at the in such a manner that the access time of the device is in-
beginning of t h e m e mory cycle b y t w o c l ocks (active dependent of t h e ad d ress multiplex window. T he o n l y
negative) called the row address strobe and the column stipulation is that the ~AS clock must be active before cr at
CURRENT WAVEFORMS
FIGURE 25 — SUPPLY CURRENT versus SUPPLY FIGURE 26 — SUPPLY CURRENT versus SUPPLY
VOLTAGE DURING POWER UP, RAS, CAS= Vcc VOLTAGE DURING POWER UP, RAS, CAS = VSS
Vcc Vcc
10
mA
icc 5
mA
icc —0
I I
0,5As/Div Time l»s)
• • •
the tqCp maximum specification Ior an access (data val idl READ-MODIFY-WRITE AND READ-WHILE-WRITE CYLES
f rom the RAS clock edge to be guaranteed (tqAC) I f t h c As the name implies, both a read and a wnte cycle is ac
tqCp m a ximum c o ndition is no t m e t , t h e a c cess (tCAC) complished at a selected b>t during a single access The read
from the CAS clock active transition will determine read ac modify write r:ycle is similar to the late wrrte cycle d>scussed
cess time The external CAS signal is ignored until an iriter above
nal RAS siqnal is available, as noted in thc f i iri<.tional block For the read modify write cycle a normal read cycle is in
diagram, Fiqure 24 This gating feature on the CAS clock will itiated with the write (Wl clock at the V(H level iintil the read
allow the external CAS siqnal to become active as soori as data occurs at the dcv>cc access tinie (tqAC ) A t t h i s t ime
the row address liold time (tRAHI specificatiori h,>s been mct tlic write (W) clock is asserted The data in is setup and held
and defines thc tqCp rn>ntrnum speuficatiori T he. time dif with resp<<.t tO the active edge of the write clock The cycle
terence betw eeri t q C p m i n i r n ii m an d t q C p 111'1xlf1>lint t.'drt b<i described assiirnes a ~ero modify time between read and
used to absorb skew delays in sw itct>inq the address bus write
from row to c o l umn addrlfsscs arid in gcncrat>nq the CAS A riother var>ation o f t h e r e a d m o d ify w r ite c y cle i s t h e
c I ock r ead while wr>t« c y c l e For t t> r s c y c le , t h c f ol l o w i n g
Once the clocks have t>i>come active, they niust stay active p arametiirS ltqWD , t C WD ) play an important role A r e a d
for thc minimum I t q A S I p e riod fo r th e RA S c lo<.k arid thc while write cycle starts as a normal r«a<f cycle with the write
m inin>un> (tCAS) period fnr the. CAS tilock T h « R A S c l o c k (W) clilck b e ing a sserted at m i n irriurn t q W p o r r n i n irnum
must stay irial.tiVe fnr the minimum itqp) tirni. T lie former >s tCWp tim r „ d e p ending upon the application T hrs results in
for thc comp(<'ttor> of the eye(i> in progress, ,ind the latter is star tinq a write <>peratiori to th e selected cell even before
for the dev>u. internal circuitry to t><i precharrlcd f<>r th<i next d ata out oc c iir s T l i e rr»riimum specification on t q W p a r i d
active cycle tCWp ass iircs tliat data nut do«s occur I n t his case, the
Data out rs not let<.hit<i and >s v,>lid as >orig as the CAS data rri >s s«t up with respect to write (W) clock active edge
clock is act>ve, tl>e output will switch to the three statff mode
when thc CAS cloi:k goe" ir>active f h c C A S c l ock can r«. PAGE-MODE CYCLES
ma>ri activt> for a m a x>mtirn of 1 0 r>s (t( RI>» r>t<> th<i r>«xt l'aqc mod<>ulii>ratioti >liow. f aster successive data opera
cycle To perform , i r<ad cycle, the write (Wl input must b<i ttofis at th c 2 56 r. oliirnn I<><.atioris P a ge a c c ess (tCAC) r s
held at the Vill li'.v«l from the tirn<> tt>t CAS clo t:k rr»,k>, >t, typic;illy h,>lf the regular ~RA. clock access (tqA c) ori tl ie
active. tref>sit>or> ( IRCS) to I ti c t l nlc w h <in >1 tl >ns>t>or>s lrl'to Motorola 64K ifynarriic RAM p a g e mode operatron cons>sts
t l«i in;ictiv « ( t q C H ) r n o d i i o f holdinq tfie RAS clock i i : tive while cyclrng the ~ A c (o c k
t o ai:cr.ss th«. i:oliir»ri l o c ,i tions d e t e r m ined b y t h e 8 b i t
WRITE CYCLE column ar'<lrr» s fiel<t Ther«are two controlling factors that
limit the accE>ss to a(1256 co(un>n locations in on« ~RA clock
A write cy<.'le is sirntlar to a re >d cycle <rxc«pt tl>at lhc Write
active operation I h c s c arc the refresh interval nf the devi<.e
(W) clock must go active (Vl( l«vel) at or before th<' CAS
c lock qoes active at a m i n i mu m t W C S t i rrii. I f t h c a b o v e ( 2 ms/ ) 2 8 = 15 6 microseconds) arid the max>mum active
f >onrlrtior»s mfit, then the i yr;lt >ri lir<«lr«ss is ref«r r<>d to a:
tirr>e speci(«.at«in fo r t l i e ~RA cl o c k ( 1 0 m i c roseconds>
early wrrtt> cycl« ln an e<trly wr>le <.yclc, tl>c wr>tc clock ar>d Since 10 microseconds is thc smaller value, th<. maxirniim
sp<'cif«»>trnr> <if tl>i.' RAS I:lock or> t>rr«> rs th<'. Iirr»t>ng factor
thc data >n >s r«f<.r<.'neo<i to the .>i:t>vc trar>sitiori <>f tl>t CAS
of the n u n i birr of s a g>ter>Ital page access<.s possible f c n
«lock «dqc There are two i mportant p,t r,irricti rs w it h r e s p e c t
to th e w r i t e « y e ll > t h r c o t > in>n «trot>if t<l w r i t i I « .,><l tirr»i rnicroseci>nds w i t ( p rt t v « l c ( > p p r o x i n i a tel y ( 1 0 mi cr o
scl ond 1I p>qc modt. eye lr t>n><il 5() su«cess>v<. page accesses
i tCWL) arid t h i . rtiw s t r n l i E ti l w r i t <i l«il<t tir>ill (t q W L I 1 h cs i f
dc(inc t h « m i n i r ni>rri tirrii. tii,it R A S , i r i d C A S c l o<>ks n«c<t to for every row address selected before the RAS clock is reset
b c active aft<.r thc w r i t « u p f >ratiori h >s started (W c l o<.k ; i t I h<. page cycle is,>(ways initiated w>th a row address heing
VIL level) p rovided and latched t>y the RAS clock, followed by t h e
I t >s also puss>ble tn pi>rf<>rrr» I >te write cycle F o r t h i s colurnr> address arid CAS clock F rom the timing rllustrated,
cycl<.' tlie write clock ts activ,>ted >ftcr tile CA S q oes low thc initial cycle is a normal read or write cycle, that has been
whi«li is beyond t W C S m i n i m ii m t rm c T i l l>» th<. par af»et<fr» previously described, followed by t he s horter CAS cycles
tCW( an d t q W L m u s t b e satisifed before terminating this (tppi T h e CAS cycle time (tpC) consists of the CAS clock
cycle The difference between an early write cycle and a late actrve time (tCAS), and CAS clock precharge time (tCp) and
write cycle is that in a late write I'y<.'Ic the write (Wl <.lock r.;sri twu transitions In addition to read and write cycles, a read
occiir m uc h la ter ill t im«. wttli respect to th e a< tive trarisitiori modify write cyr le can also be performed in 4 page mode
o f th e C A S c l o c k I h i s t > rt>c could b c Ei s l o ri g a s 1 0 operation Fo r a read mod>fy wr>te or read while write type
microseconds — It qW L i tq p t 2 T( j cycle, the conditions normal to that mode of operation will
At the st >rt of a write cycle, the data out is in a three stat<. apply in t h e p ag e m od e a ls o T h e p a g e r f iode c y cles il
< .ondition an d r e m a ins ir>active t h ro i i q h ou t t h e c y <.le T h t . lustrated show a s«ries of sequential reads separated by a
data out remains three state becaus«, th«. active transition series of sequential writes T h is is lust one mode of opera
of thc write (W) clock prcver its tl>ri CAS clot.k (lorn er>abliriq t>ori In pract><;e, any combrnation of read, wr>te and read
tl>«. dat > out butlers as noted in Funct>or>al Block praqrarri modify write cycles can be p e rformed to s u>t a part>cular
The three-state condition (high impedance) of the Data Out ,>pplication
Ptn during a write cycle can be effectively <ft>l>zcd ir> a system
that has a common input/ o u t put bu s I h e only stipiilation is REFRESH CYCLES
tt>at the system usE. only early writ«. mode op«r,itioris for all I bc dynar>iic RAM design is based on capau tur c l iarqe
wr>te cycles to avoid biis contentior> s torage fo i e a<.ti btt iri t h e a r r,>y T h i s r.barge w il l t i »i d t o
page D.f 7
degrade with time and temperature Therefore, to retain the RAS Only Refresh — When the meniory component is in
correct information, the bits need to be refreshed at least standby the ~RA o nly refresh scheme is employed This
once every 2 m s T h i s i s a c complished by sequentially refresh method performs a RAS only cycle on all 128 row
cycling through the 128 row address locations every 2 ms, or addresses every 2 ms The row addresses are I/itched in w ith
at least one row every lb.6 microseconds A riorma! read or the RAS clock, and the associatr.d internal row locations are
write operation to the RAM will serve to refresh all the bits refreshed As the heading implres, the CAS ciock is not re-
(256l associated with that particular row decoded quired and should be inactive or at a VIH ievel Io conserve
power
PIN VARIATIONS
• • •
PACKAGE DIMENSIONS
MI L L IME TERS INCHES
OI M MIN MAX MIN MAX
20.07 20.57 0:790 0.810
711 762 28 0 300
L SUFFIX 2.67 4.19 0.105 0.165
CERAMIC PACKAGE 0.38 0 53 0.015 0.021
CASE 690-13 0.76 I 52 0.030 0.060
2. 54BSC 0.100 BSC
0. 76 1.78 0.030 0.070
0 20 030 0 008 0 012
318 5.08 0.125 0.200
7.62BSC 0.300BSC
10n 10"
0.38 I 52 0.015 0 060
NOTES
I A A • D 6 ARE DATUMS
2 T I S SEATING PLANE
3 POSITIONAL TOLERANCE I OR LEADS (D).
MILLIMETERS INCHES
f DIM MIN MAX
18,80 21 34
MIN MAX
0. 740 0,840
6.10 6.60 0.240 0.260
P SUFFIX 4.06 5.08 0. 160 0. 200
PLASTIC PACKAGE 0 38 053 0.015 0.021
~F ~ g OPTIONAL LEAD CASE 646 05 1.02 1.78 0.040 0.070
CONFIG. (1, 8, 9, & 16) 2.54 BSC 0.100BSC
A 0 .38 2 . 4 1 0.015 0.095
0.20 0 . 38 0.008 0,015
3.43 0.135
7.62 BSC 0.300BSC
0 10o 10c
NOTES 0 .51 1 . 0 2 0.020 0. 040
1. LEADS WITHIN 0.13 mm
(0.005) RADIUS OF TRUE
POSITION ATSEATING
~r--J PLANE AT MAXIMUM
PLANE MATERIAL CONDITION.
DIMENSION "L" TO
CENTER OF LEADS
WHEN FORMED
PARALLEL
3. DIMENSION "8"DOES NOT
INCLUDE MOLD FLASH
4. "F" DIMENSION ISFOR FULL
LEADS "HALF" LEADS ARE
OPTIONAL AT LEAD POSITIONS
I, 8, 9, and 16).
5 ROUNDED CORNERS OPTIONAL
page 0.19
F9 /49 0
CQ 192 0 0 0 0
193 0 0 0
BF 191 I 0 I 1
BE 190 I 17 1 1 I I 1 0
ll
82 130 0 0 0 0 0 1 0
Bi 1 29 0 0 0 0 () 0
BQ 128 o n 0 o ii o 0
17 /E 126 0
c /r i? O 0
E 7C 124 0
o
1? 66 0 1 0 0 G 0 0
43 6/ 0 1 0 0 0 U
4Q lvj 0 1 0 0 n n 0 0
41 6, 0 1 0 0 0 0
31 63 I' Q I 1 I 'I
li
ID 61 i il 1 1
I 0 Q 0 ( i il Q
03 0 0
0? 0 0 0
U 0 I/ U 0 U
i
4t .) 2t'oI ' o S
Z
O O O O O
O O
O O O O U ' O O
o c» o o
O O O O O O
Column Row
Address Address Dsts
Al AO Stored
0 True
0I
inverted
0I1 Inverted
0I
True
Motorola reseives the right to make changes to any products herein to imprave relrab/lity funct/an oi design Motorala does not assume any liability ansing
oul af the applicatian ar use of any product or circuit described herein, neither does it convey any license under its palenl rights nar Ihe nghls ol others
intei'
8085A/8085A-2
S INGLE CHIP 8-BIT N-CHANNEL MICROPR O C E S S O R S
The InteIBT 8085A is a complete 8 bit parallel Central Processing Unit (CPU). Its instruction set is 1008% software compatible
with the 8080A microprocessor, and it is designed to improve the present 8080A s performance by higher system speed
Its high level of system integration allows a minimum system of three IC's I8085A i CPU i, 8156 i RAM/IO i and 8355/8755A
i ROM/PROM/IOi I while maintaining total system expandability. The 8085A-2 is a faster version of the 8085A.
The 8085A incorporates all of the features that the 8224 iclock generatori and 8228 isystem controller(provided for the
BOBOA, thereby offering a high level of system integration.
The 8085A uses a multiplexed data bus. The address is split between the 8 bit address bus and the 8 bit data bus. The
on-chip address latches of 8155Y8156/8355/8755A memory products allow a direct interface with the 8085A
8 L A II
FLIP I LOPE
B
REG REG
ARITHMETIC INSTRUCTION D (8' 5 8
LOGK' I(I CODE R REG REG
UN( I AN 0
H ( 81 L 81 RE G IS T5 R
MACHINE
IALUI ('YCLE REG REG ARRAY
8 I NCODING
STACK POINTER
61
PROGRAM COUN T ER
POWER 5Y IKK'REMENTER'DECREMENTER
SUPPL Y G ND
ADDRESS LATC »8
8085A/8085A-2
8085A/8085A-2
8085A/8085A-2
FUNC T IO N A L D E S C R IPTION set until the request is serviced. Then it is reset auto-
matically. This flip-flop may also be reset by using the
The 8085A is a complete 8-bit parallel central processor SIM instruction or by issuing a RESET IN to the 8085A.
It is designed with N-channel depletion loads and requires The RST 7.5 internal flip-flop will be set by a pulse on the
a single +5 volt supply Its basic clock speed is 3 MHz RST 7.5 pin even when the RST 7.5 interrupt is masked out.
8085A or 5 MHz 8085A-2, thus improving on the present
8080A's performance with higher system speed Also it is The status of the three RST interrupt masks can only be
designed to fit into a minimum system of three IC's: The affected by the SIM instruction and RESET IN. I See SIM,
cpu I 8085A, a RAM/IO 8156, and a ROM or EPROM/IO Chapter 5
chip 8355 or 8755A The interrupts are arranged in a fixed priority that deter-
The 8085A has twelve addressable 8-bit registers. Four of mines which interrupt is to be recognized if more than
them can function only as two 16-bit register pairs. Six one is pending as f o llows. TRAP — h i ghest priority,
others can be used Interchangeably as 8-bit registers or R ST 7.5 RST 6 5. RST 5.5, INTR lo w e s t priority T h i s
as16-bit register pairs The 8085A register set is as follows priority scheme does not take into account the priority
of a routine that was started by a higher priority interrupt.
Mnemonic Receister Contents RST 5.5 can interrupt an RST 7.5 routine if the interrupts
ACC or A A ccum u l a t or 8 bits are re-enabled before the end of the RST 7.5 routine.
PC Program Counter 16-b i t address The TRAP interrupt is useful for catastrophic events such
BC,DE,HL Ge ne r a l -Purpose 8 bit s x 6 or as power failure or bus error. The TRAP input is recog-
Registers, data 16 bits x 3 nized just as any o t her i nterrupt but has the highest
pointer HL priority. It is not affected by any flag or mask. The TRAP
input is both edge and level sensilive. The TRAP input
Stack Pointer 16-bit address
must go high and remain high until it is acknowledged.
Flags or F Flag R e g ister 5 flags 8-bitspace It will not be recognized again until it goes low, then high
The 8085A uses a multiplexed Data Bus. The address is again. This avoids any false triggering due to noise or
split between the higher 8-bit Address Bus and the lower logic glitches. Figure 3 i l lustrates the TRAP interrupt
8-bit Address/Data Bus D u ring the first T state .clock request circuitry within the 8085A Note that the servicing
cycle o f a m a chine cycle the low order address is sent of any interrupt T RAP, RST 7.5 RST 6.5, RST 5 5, INTR
out on the Address/Data bus These lower 8 bits may be disables all future interrupts e x c ept TRAPs u n t i l an El
latched externally by the Address Latch Enable signal instruction is executed.
ALE D u r ing the rest of the machine cycle the data bus is
used for memory or I/O data. I'NSIDE THE
8085A
EXTERNAL
The 8085A provides AD, WR, So, Su and IO/M signals for TRAP
bus control. An Interrupt Acknowledge signal (INTA) is I NT E R ROPT
REQUEST TRAP
also provided, HOLD and all Interrupts are synchronized
with the processor's internal clock. The 8085A also pro-
vides Serial Input Data (SID) and Serial Output Data
RESET IN SCHI I IT T
(SOD) lines for simple serial interface. TRIGGER
In addition to these features, the 8085A has three mask- RESET ~ TRA P
able, vector interrupt pins and one nonmaskable TRAP ~I N TERR L I P T
'5V D CLK REQUEST
interrupt.
D
I NTERRUPT AND S E RIAL I/ O TP
The 8085A has 5 interrupt inputs. INTR, RST 5.5, RST 6.5, C L I. A R
RST 7 5, and TRAP I NTR is identical in function to the
INTERNAL TRAP P f
8080A INT Each of the three RESTART inputs, 5 5, 6.5, TRAP
and 7.5, has a programmable mask, TRAP is also a ACKNOWLEDGE
8085A/8085A-2
2rrv L , Cexi 4 C i n i
X) 8085A
xraV
I
C IN T 470! 2
J I5pF TO
TK!2
200 F Xr
XP +5V
Low time > 40 ns
I
470!!
B. LC Tuned Circuit Clock Driver
Xi
8085A
X, +5V
470! '
X2
Xr
8085A/8085A-2
GEN E R A T ING AN 8085A WAIT STATE The 8085A cp u c a n a ls o i n t erface with th e s t andard
memory that does nof have the multiplexed address/data
If your system requirements are such that slow memories bus It w il l req u ire a simple 8212 i8-bit latch i as shown in
or peripheral devices are being used, the circuit shown in Figure 8
Figure 5 may be used to insert one WAIT state in each
8085A machine cycle
The D flip-flops should be chosen so that
• CLK is rising edge-tnggered VTT VI L
P[
• CL E AR is low-level active
X, XI
Il1 RESET IN
TRAP NOLO
RSTT 8 RLOA
HSTE 5
8085A
HST'
INI H Si
wrA RESET '0
AOORI OOT
CLEAR 8085A OATH A L E R O V 8 iO I M ROV CL X
AEF CEK CLK OUTPUT CEK IO
8085A v vr r
"0" 'D' flEAOV IS I (8)
FIF F IF
PO R I
0
A
V'H
Po H I
Ro 81 58
l iL E
POHI
OI.TAI
HOOR
Figure 5. Generation of a Wait State for 8085A CPU IN
IO'EI Ilvli 8
OUT
As in the 8080, the READY line is used to extend the read RISE T
and write pulse lengths so that the 8085A can be used with
slow memory HOLD causes the cpu to relinquish the bus
when it is through with it by floating the Address and Data
Buses ALE
POP I
CL A
SYSTEM INTERFACE
8355/
The 8085A family includes memory components, which 8/55A
OATAI
are directly compatible to the 8085A cpu For example, a HOOR
system consisting of the three chips, 8085A, 8156, and
IOIM
PORI
8355 will have the following features
RFSF T
Vr
• 2K Bytes ROM
10 R
• 256 Bytes RAM
• 1 Timer/Counter VIS V,, Vi 8 PROI
• 1 6-bit I/O P o r t
V,,
• 4 Interrupt Levels
• Serial In/Serial Out Ports N OTE O Pi I O N A L C O N N E C T I O N
This minimum system, using the standard I/O technique F igure 6 . 8 0 8 5 A M i n i mum S y stem ( S t andard I / O
is as shown in Figure 6. Technique)
In addition to s t andard I/O, the memory mapped I/ O
o ffers an e f f i c ient I/ O a d d r e ssing t e c h n iqu e W i t h t h i s
technique, an area of memory address space is assigned
for I/O address, thereby, using the memory address for
I/O manipulation F i g ure 7 shows the system configura-
tion of Memory Mapped I/O using 8085A
page D.27
8085A/8085A-2
A8-15
ADD 7
ALE
8085A YCC
YCC
IO/)6
CLK
RESET DUI
READY
YCC
) TIMER AD AS- AD 10 I
RESET IN WR R D A L E CE IO M CE ALE P CLK RSTIRD Y
67 A IO 67
TIMER
OUT
8158 8355 [ROM + i/0]
[RAM + I/O + COUNTER/TIMER] OR
8755A [PROM+ i/0]
l4~4
X) RESET IN
XT
TRAP RO LD
RST7 HLOA
RST6
RST5 8085A SID
INTR S,
INTA RESET
ADOR/ OUT
ADDR DATA ALE RO W T) IO/M A D YC L K
(8) IS)
10/M ICSI
WR
82)2 RD
DA TA
STAK'DARD
MEMORY
AODR NSI
(16)
CLK
RESET
DA7A
STANDARD
(70
ADOR
vcc
Ycc
Ycc
8085A/8085A-2
THALT 0 TS TS TS TS 1 0
T»OLQ X TS TS TS Ts 1 0
0 L 4 0" TS H gh Impede ce
I Lo g "I' X U epee( ed
ALL t; » \ d d 02 d e d g d * h « c yc le l o f D A D I ct o
lt) .",; I l« g r c-Te of IKA mach, e c y cfo
raI hl l hl 1
CLK Ts Te Tl T/ Ts ' t
Ape.f
LQ 0 DE
CC)- -- WDOC3.
DATA FROI DATA FROM MEMORY
IO PORT
DAFA FO MEMORY
ADDRESS( MEMORY (I,O PORT ADDRESS) OR PERIPHERAL
I lg) RUCTIOfyl
ALE
RD
)O/hl
8085A/8085A-2
permanent damage lo the device This is a slress rating only and functional
Voltage on Any Pin operation of th e d e vice at t hese or an y o t her conditions above thoae
— 0,5V to +7V indicated in the operational sections of this specihcalion is not implied
W ith Respect to Ground. . . . . .
8085A-2I2i
Symbol Parameter
a08SS'" (Preliminary) Units
Min. Max. Min. Max.
8085A/8085A-2
8085A-2I I
Symbol Parameter 8085AI2l (Preliminary) Units
Min. Max. Min. Max.
IRAE Trailing Edge of READ to Re-Enabling 150 90 ns
of Address
IRD READ (or INTA) to Valid Data 300 150 ns
IRV Control Trailing Edge to Leading Edge 400 220 ns
of Next Control
IRDH Data Hold Time After READ INTAITI ns
IRYH READY Hold Time ns
IRYS READY Setup Time toLeading Edge 110 100 ns
of CLK
'WD Data Valid After Trailing Edge of WRITE 100 ns
'WDL LEADING Edge of WRITE to Data Valid 40 20 ns
Notes
AS Ats addre.,s Specs app/y to 10/M. So, and Sl exCept AS-Ats are undef ined during T4 TS of OF ryr:le
whereas IO/M So. andS> are stablr
2 Tes t c o n d i tions t oyo = 320ns (8085Al/200ns 18085A 2l. C< = 150 pF
3 For a l l o u t pu t t i m ing whr.re CL = 150pF use lhe fo l lnwinq correction l a c t o r s
25pF CL 150pF -0 10ns/pF
150pF 0 C < 3 00 p F 4 0 3 0 n s/ p F
4 Outp u t t i m i n rls are measured with pu rely capacitive load
A ll timinqs ar i m e a s u r erl at o u t pu t v o t aqe VE — 0 8V VH = 2 OV, and 1 5V with 2 0 n s r is e an d f a l l t im e o n i n p i i t s
T o ca/cu/ate timinq specifications at o t he' va lues nf to y o uae Table 7
D ata hold t im e is g u a r a n teed u n der ail lo a d inq c o n d i t i o n s
20 20
TEST POINTS
00 00
0 40
page 0.32
8085A/8085A-2
AD
(5/2 + N) T — 225 MAX 'AO (5/2 T N) T — 150 MAX
( 3/2 t N) T 180 MAX tRD (3/2 + N) T — 150 MAX
'RAE (1/2) T — 10 M IN RAE (I/2) T — 10 M IN
(1/2) T — 40 IVI I N I CA (I /2) T — 40 MIN
(3/2 s N) T — 60 M IN 'tow ( 3/2 + N) T 7 0 MIN
'wo (1/2) T — 60 MIN 'wo (I /2) T — 40 MIN
(3/2 + N) T - 80 M IN '(:c (3/2 + N) T — 70 MIN
(I/2) T — 110 MIN - (1/2) T - 75 MIN
CL cL
ARY (3/2) T — 260 MAX ARv (3/2) T — 200 MAX
HA C K (I/2) T — 50 MIN - (I /2) T — 60 M IN
~ HA K
(I /2) T + 50 MAX tHABE
- ( I/2) T + 5 0 MAX
HABI
K
- (1/2) T t 50 MAX - (1/2) T + 50 MAX
t HA B E HABE
K
AC
(2/2) T — 50 M IN Ac (2/2) T — 85 MIN
(I/2) T — 80 MIN (I/2) T — 60 MIN
(I /2) T — 40 MIN (1/2) T — 30 MIN
(3/2) T — 80 MIN tnv
- (3/2) T — 80 M IN
RV
LDR (4/2) T — 180 MAX ILDR - (4/2) T — 130 MAX
N OT E N i s eq u a l t o t h e t o t a l W A I T s t a t e s NOT E N is eq u a l t o t h e t o t a l W A I T s t a t es.
T tC Y C . tcvc
Xi I NKI>t
t'I K
ott taut
iKKf
8085A/8085A-2
Read Operation
CLK
I LCK 'La
AB A)s ADDRESS
I RAT
'an ROH
La
AL HI)
'cc
RD/INTA
'I C
- 'ac
Write Operation
TS
CLK
+ )Les — H (
AB-A)S ADDRESS
— 'ca
'LOW — ~
t
ADB-ADI ADDRESS DATA DUT
I)v n L
ALE
— 'cc
,L 'Lc 'CL
'ac
Read operation with Wail Cycle (Typical) — same READY timing applies to WRITE operation.
T)V*I \
CLK
I I (' K 'ca
Av Ais ADDHI SS
I ass
'ao Iaoa
I I — ILK
Iara ICI
ALE 'Loa
IKL — — 'ao
ICC
RO INTA
Icav
'ac
taav Iavs Iava Iavs Ia YH
RL ADY
NOTE I READv I OST RENAHV STABLE OUR)NO SEIUI AIVD HOLD TRKES
8085A/8085A-2
Hold Operation
Tz Tz HOLD THoLo
CLK
HOLD
HLDA
HAD F
IHABE
Tz Tz T4 Ts THOLo Ti Tz
AB-is
BUS FLOATING'
ALE
RD
INTA
HABE
/
I NTR/ , /
I INK I INH
HOLD I
HOS ~ HDH
HLDA
8085A/8085A-2
8085A/8085A-2
NOTES I DOS or SSS 8 000, C 001, 0 010, 6011, H '100, L 101, Memory 110, A 111
2 Two ponible cycle times 16112) mdicate instruction cycles dependent on condition Rags,
intei
8259A
P ROG RANIMABLE INTERRUPT CONTROLLER
The Intele 8259A Programmable Interrupt Controller handles up to eight vectored priority interrupts for the CPU. It is
cascadable for up to 84 vectored priority interrupts without additional circuitry. It is packaged in a 28-pin DIP, uses
NMOS technology and requires a single + 5V supply. 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 Intele 8259. Software originally written for the 8259 will operate the
8259A in all 8259 equivalent modes (MCS-80/85, Non-Buffered, Edge Triggered).
INTA IN T
CS 28 VCC
WR 2 21
RD 3 26 INTA
25 IR7
5 24 IR6 DATA CONTROL LOGIC
De D1-04 BUS
De I R5 BUFFER
D4 7 22 IR4
B259A
De 6 21 IR3
D2 20 IR2
DI 10 19 IR I
De 18 IRO
IRO
CAS 0 12 IN T RD
IR I
WR- READ/ IR2
CAS I 16 SP/EN WRITE NTERR
IN
LOGIC SERVICE PRIORITY REQUEST IR3
GND 14 15 CAS 2
Ae REG ESOLVER REG IR4
(I SR I (IRRI ~ IRS
IRB
CS IR7
PIN NAMES
8259A
I NTERRUPTS IN MICROC O M P U T E R match his system requirements. The priority modes can
SYSTEMS be changed or reconfigured dynamically at any time dur.
ing the main program. This means that the complete in.
Microcomputer system design requires that IIO devices terrupt structure can be defined as required, based on
such as keyboards,displays, sensors and other com- the total system environment.
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.
The most common method of servicing such devices is CPU DRIVEN
IA U C T I PCEX0 R
the Polled approach. This is where the processor must CPU
8259A
The IMR stores the bits which mask the interrupt lines
rnso
to be masked. The IMR operates on the IRR. Masking of I f TI I R U PT MASK R/ / ;
CASCADE
a higher priority i nput w il l no t a f f ect th e i n t errupt CAS I BUFFER'
I IFIR I
CS (CHIP SELECT)
SP/ I N
INTERNAL BUS
A LOW on this input enables the 8259A. No reading or
writing of t h e c hi p w i l l o c cur u nless the device is
selected.
8259A
8259A".)
DI -DO
INTERRUPT SEQUENCE DATA CONTROL LOGIC
BUS
BUFFER
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 th e s pecific interrupt routine requested
without any polling of the interrupting devices. The nor-
IRO
mal sequence of events during an interrupt depends on IR I
READ/
the type of CPU being used. WRITE IN INTERRUPT
IR2
LOG IC SERVICE PRIORITY REQUEST IR3
The events occur as follows in an MCS-80/85 system: REG RESOLVER REG IR4
(ISR I IIRRI IR5
1. One or more o f t h e I N TERRUPT REQUEST lines I RE
CS
(IR7-0) are raised high, setting the corresponding IRR IRT
bit(s).
2. The 8259A evaluatesthese requests, and sends an CAS 0
INTERRUPTIVIASK REG
INT to the CPU, if appropriate. CAS I
CASCADE
BUFFERI
( I MR I
COMPA
3.The CPU acknowledges the INT and responds with an CAS 2 RATOR
INTA pulse.
4. Upon receiving an INTA from the CPU group, the SP/EN
INTERNAL BUS
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 D7-0 pins. 8259A Block Diagram
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 ADDRESS BUS116I
the end of the third INTA pulse. Otherwise, the ISR bit DATA BUS (BI
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. CS A O DT DO RD WR I NT I NTA
CAB 0
4. Upon receiving an INTA from the CPU group, the high- CASCADE CAS I 6259A
est priority ISR bit is set and the corresponding IRR LINES
bit is reset. The 8259A does not drive the Data Bus CAS 2 I RQ IRQ IRQ IRQ IRQ IRQ IRQ IRQ
SPIEN 7 6 5 4 3 2 I 0
during this cycle.
5. The MCS-86 CPU will initiate a second INTA pulse.
During this pulse, the 8259A releases an 8-bit pointer
SLAVE
onto the Data Bus where it is read by the CPU. FROG
IN T E R R UPT
REQLIESTS
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
page 0.41
8259A
INTERRUPT SEQUENCE OUTPUTS During the third INTA pulse the higher address of the ap-
MCS-80/85 SYSTEM propriate service routine, which was programmed as
byte 2 of the initialization sequence (AO-AI5), is enabled
This sequence is timed by three INTA pulses. During the onto the bus.
first INTA pulse the CALL opcode is enabled onto the
data bus.
Content of Third Interrupt
Content of First Interrupt Vector Byte
Vector Byte DT D6 D5 D4 D3 D2 D1 DO
D7 D6 D5 D4 D3 D2 D1 DO A 15 A 14 A 13 A 12 A 11 A 10 A9 A6
CALL CODE 1 I 0 0 I 1
MCS.86 SYSTEM
During the second INTA pulse the lower address of the MCS-86 mode is similar to MCS.80 mode except that
appropriate service routine is enabled onto the data bus. only two Interrupt Acknowledge cycles are issued by
When Interval = 4 bits A5-AT are programmed, while AO- the processor and no CALL opcode is sent to the proc-
A4 are automatically inserted by the 8259A. When Inter- essor. The first interrupt acknowledge cycle is similar to
val = 8 only A6 and AT are programmed, while AO-A5 are that of MCS-80/85 systems in that the 8259A uses it to
automatically inserted. internally freeze the state of the interrupts for priority
resolution and as a master it issues the interrupt code
Content of Second Interrupt on the cascade lines at the end of the INTA pulse. On
Vector Byte this first cycle it does not issue any data to the proc-
IR Interval = 4 essor and leaves its data bus buffers disabled, On the
second interrupt acknowledge cycle in MCS-86 mode
DT D6 D5 D4 D3 D2 D1 DO
the master (or slave if so programmed) will send a byte
A7 A6 A5 I 1 1 0 0
of data to the processor with the acknowledged inter-
A7 A6 A5 1 1 0 0 0
rupt code composed as follows (note the state of the
A7 A6 A5 1 0 1 0 0 ADI mode control is ignored and A5-A« are unused in
AT A6 A5 1 0 0 0 0 MCS-86 mode):
A7 A6 A5 0 1 I 0 0
A7 AF) A5 0 1 0 0 0
A7 A6 A5 0 0 1 0 0
A7 A6 A5 0 0 0 0 0 Content of Interrupt Vector Byte
for MCS-86 System Mode
IR Interval = 6 DT D6 D5 D4 D3 D2 Dl DO
DT D6 D5 D4 D3 D2 Dl DO IR7 A15 A14 A13 A12 A«
AT A6 1
IR6 A15 A14 A13 A12 A«
AT A6 1 00
IR5 A15 A14 A13 A12 A«
AT A6 1
63 0 I R4 A15 A14 A13 A12 A«
A7 A6 I 0 0
0 0 I R3 A15 A14 A13 A12 A«
A7 A6 0
2 A7 A6 0 0 I R2 A15 A14 A13 A12 A«
00 I R1 A15 A14 A13 A12 A« 0
A6 0 0 1 0
A6 0 0 0 0 IRO A 15 A 14 A13 A12 A« J 0
page 0.42
8259A
8259A
AQ DT D6 DS D4 D3 D2 DI DO
0 AT A6 AS I LT I M AD I SNGL I C4 ICWI
YES SINGLE
(SNGL = I)
NO I SNGL = 0)
ST 66 S4 62 SI SO ICW3
NO ICW4
(IC4 = 0)
YES IIC4 — I)
I 0 0 0 FNM SUF MIS AEOI y PM I C W 4
8259A
I CW I
Ao I Do Do Do Do DT D, Do
0 AT Ao /V, I LTIM F S 0
I I CW4 NEEDED
0 = NO ICW4 NEEDED
SINGLE
0.- NOT SINGLE
AT — ASOF LOWER
ROUTINE ADDRESS
IMCS-80/85 MODE ONLYI
ICW 2
Ao DI Do D Do Do DT D, Do
UPPER ROUTINE
ADDRESS
I ST So So So So ST SI
I 0 0 0 0 0 I DT ID/ I Do
X X X X X
SLAVE ID//I
0 I 2 3 4 5 6 7
DON' T 0 I 0 I 0 I 0 I
CARE 0 0 I I 0 0 I I
0 0 0 0 I I I I
ICW4
AO DT DB DS D4 D3 02 DI 00
I 0 0 0 FN M BU F M/ S A EOI y FM
I M C S 86 MODE
0 — IIICS 80/85 MODE
I A U T OEOI
0 N O R M A L EOI
I F U L LY NESTED MODE
0 NOT FULLY NESTED MODE
8259A
OPERATION CONTROL WORDS (OCWs) 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-
OCW1 tion Command Word Format.
AO DT D6 D5 D4 D3 D2 D1 DO Lz, Li, Lp — These bits determine the interrupt level
1 M7 M6 M5 M4 M3 M2 M1 MO ] acted upon when the SEOI bit is active.
8259A
OCWI
A Dl Da Da Oe Dt Dt Dt Do
I M7 MB IRS Ma M3 ME Ml Mo
INTERRUPT MASK
I M A S K SET
0 M A S K RESET
OCW2
o DI Da De De 01 Dt Or e
0 R SEO I EO I 0 0 LI Lr Lo
0 0 0 0 I I I I
0 0 I No rp c hc EOI
0 I I Spechc EOI LGL2 code or IS FF r I»
0 I Rotate • I TOI A r omatrcdre IMod AI
I I Rotate at EOI ( od B l LDL2 od ol I
0 0 Ser Rolal • A FF
0 0 Crea Rotate A FF
I 0 Rol le 0 o t y 1 o d e 01 I depe d lly o I E U I
I 0 No Op r •roc
DI Da I Oa Da DT Dr
0 0
READ READ
IR REG IS REG
NO ACTION ON NEXT ON NEXT
AD PULSE RD PULSE
PO L LING
A HIGH ENABLES THE NEXT RD PULSE
TO READ THE BCD CODE OF THE HIGH
EST I.EVEL REOUESTING INTEIIRUPT
0 I
RESET SET
NO ACTION SPECIAL SPECIAL
MASK MASK
8259A
0 CW I
I Ml MS MS M4 Me ME AH MD
INTERRUPT MASK
I M AS K S E T
0 M A S K R E S ET
<)CW7
Ad Dl Df Dt D Dl Dl D Od
0 R SEOI EOI 0 0 Ll L, Ld
0 0 I I 0 0 I I
0 0 0 0 I I I
(0 0 I
0 I I Sl • ' EQI I T L E M « S F<t
I 0 11
I I I R I I, • I E OI I o 4 Bl L G L 2 d t l
I 0 0 S IR I A FF
0 0 CI • Hd t I A FF
1 I 0 R I I. P 4 l y t d Bl l l • d K T o I E OI
0 I O' Ol
O<WS
Ad Ol DE DE DI Dl Dt Dt Dd
READ READ
IR REG IS Rt I
NO ACTION ON NE X T ONIVIX T
RD PULSE RD PIH SE
PO L L IVC
A HIGH ENAtH f 1 Tl E NEXT RU PULSE
TO READ THE HCD CODE OF THE HIGH
f ST LEVEL Rf <IUES1ING INTE Rfll 'T
0 I
RESET SE 1
NO ACTION SP f.C I A L SPECIAL
MASK MASK
8259A
8259A
o .- I f Ioo o o tol W o l
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 After Rotate (IR4 was serviced, all other priorities
word that must be issued to the 8259A before returning
from a service routine(EOI command). An EOI command rotated correspondingly)
must be issued twice, once for the master and once for IS7 IS 6 I S 5 I S 4 I S 3 I S 2 IS1 I SO
the corresponding slave if slaves are in use. "IS" Status loi ' • ~o i ~ o o 3
There are two forms of EOI command: Specific and Non-
Specific. When the 8259A is operated in modes which Highest Priority Lowest Priority
preserve the fully nested structure, it can determine Poor3ty Status 2I 0 o 3
which IS bit to reset on EOI. When a Non-Specific EOI ~
command is issued the 8259A will automatically reset
the highest IS bit of t hose that are set, since in the
nested mode the highest IS level was necessarily the
The Rotate command mode A is issued in OCW2 where:
last level acknowledged and serviced.
R= I, E= 1, SEOI =O. Internal status is updated by an
However, when a mode is used which may disturb the End of Interrupt (EOI or AEOI) command. If R = 1, E = 0,
fully nested structure, the 8259A may no longer be able SEOI =0, a "Rotate-A" flip-flop is set. This is useful in
to determine the last level acknowledged. In this case a AEOI, and described under Automatic End of Interrupt.
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 E = 1, in OCW2, where LO-L2 is ROTATING PRIORITY MODE B (ROTATION BY
the binary level of th e IS bit t o b e r eset. Note that SOFTWARE)
although the Rotate command can be issued together
The programmer can change priorities by programming
with an EOI where E = 1, it is not necessarily tied to it.
the bottom priority and thus fixing all other priorities;
It should be noted that an IS bit that is masked by an i.e., if IR5 is programmed as the bottom priority device,
IMR bit will not be cleared by a non-specific EOI if the then IR6 will have the highest one.
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
AUTOMATIC END OF INTERRUPT (AEOI) MODE bottom priority device.
If AEOI = 1 in ICW4, then the 8259A will operate in AEOI Observe that in this mode internal status is updated by
mode continuously until reprogrammed by ICW4. In this software control during OCW2. However, it is independ.
m ode the 8259A will a u tomatically perform a n o n - ent of the End of Interrupt (EOI) command (also exe-
specific EOI operation at the trailing edge of the last cuted by OCW2). Priority changes can be executed dur-
interrupt acknowledge pulse (third pulse in MCS-80/85, ing an EOI command or independently.
page D.50
8259A
EDGE SET
SEIYSE P R I O 0 I TY
LATCH SE T ISR
RESOI VER
IIV SE RVICF
LATCH
CLR
Q
) CONTROL
LOGIC
0
SET REQUEST
LATCH
NON
D Q MASKED
MASH
LATE I REQ
C U D 0
0
CLR
N Y
U 1
C>
0 CI CI
N 11 v,
IX
NOTES
I M A S T ER CLEAR ACTIVE ONLY DURING ICYTI
2 F R E EZE/IS ACTIVE DURING INTA/ AND POLL SEQUENCES ONLY
3 T R U T H TABLE FOR 0 LATCH
C
~ D Q 0 P E R A T0I N
I D D FQLLOTY
0 i X Qn-I HOLD
Priority Cell
LEVEL TRIGGERED MODE In-Service Register (ISR): 8-bit register which contains
This mode is programmed using bit 3 in ICW1. the priority levels that are being serviced. The ISR is
updated when an End of Interrupt command is issued.
If LTM = '1', an interrupt request will be recognized by a
'high' level on IR Input, and there is no need for an edge
Interrupt Mask Register: 8-bit register which contains
detection. The i n t errupt request m us t b e r e m oved the interrupt request lines which are masked.
before the EOI command is issued or the CPU interrupt
is enabled to prevent a second interrupt from occurring. The IRR can be read when, prior to the RD pulse, a WR
The above figure shows a conceptual circuit to give the pulse is issued with OCW3 (ERIS = 1, RIS = 0.)
reader an understanding of the level sensitive and edge The ISR can be read in a similar mode when ERIS = 1,
sensitive input circuitry of the 8259A. Be sure to note RIS =1 in the OCW3.
that the request latch is a transparent D type latch.
There is no need to write an OCW3 before every status
READING THE 8259A STATUS read operation, as long as the status read corresponds
with the previous one; i.e., the 8259A "remembers"
The input status of several internal registers can be read whether the IRR or ISR has been previously selected by
to update the user i nformation on th e s ystem, The the OCW3
following registers can be read by issuing a suitable
OCW3 and reading with RD. After initialization the 8259A is set to IRR.
Interrupt Mask Register: 8-bit register whose content For reading the IMR, no OCW3 is needed. The output
specifies the interrupt request lines being masked. data bus will contain the IMR whenever RD is active and
acknowledged. The highest request level is reset from AO = 1.
the IRR w hen a n i n t e rrupt i s a c k nowledged. (Not Polling overrides status read when P = 1, E R IS = 1 i n
affected by IMR.} OCW3.
page 0.51
8259A
8259A
CONTROL BUS
OAT A BUS I 8)
L1 INT REO
CS Ae INT CS Ac INT CS Ae IN 1
CAS 0 CAS 0 CAS 0
7 6 6 4 3 2 I 0 7 6 5 4 3 2 I 0 5 4 3 2 I 0
INTERRUPT REOUESTS
8259A
D.C. CHARACTERISTICS
TA — O'C to 70' C V c c = 5 V ~ 5% (8259A-8) V( c= 5Ves 10% (8259A)
Symbol Parameter Min. Max. Units Test Conditions
V(L Input Low Voltage
Input High Voltage 2.0 Vcc+ .5V V
Vor Output Low Voltage .45 lpL = 2.2 mA
8259A
CAPACITANCE
T A=25 O' Vc c = G N D = O V
Symbol Parameter Min. Typ. Max. Unit Test Conditions
CIN Input Capacitance 10 pF t c= 1 M H z
C I/O I/O Capacitance 20 pF Unmea s ured pins returned to Vss
2,4
2.2 2.2
TEST POINTS
0.8 0.8
0. 45
page 0.55
8259A
WRITE MODE
TWLWH
WR
TAHWL TWHAX
CS
ADDRESS SUS
Ap
TDVWH ~ TW H D X
DATA SUS
READ/INTA MOD E
TRLRH
RD/INTA
TRLEL TRHEH
TAHRL TRHAX
CS
ADDRESS BUS
Ap
TRLDV TRHDZ
TAHDV-
DATA SUS-
OTHER TIMING
.TRHRL
TWHRL
INTA SEQUENCE
— TJHIH
IR
TJLJH
INT
INTA
oe
TCVIAH TCVIAH
i
TCVDV
CO2
— TIAHCV-
page 0.56
MC6$21
(1.0 MHz)
M Mor o a o az
MC6$A21
(1.5 MHz)
MC6$B21
(2.0 MHz)
PERIPHERAL INTER FACE ADAPTER (PIA)
O CA1 40
vss
PA0 CA2 39
P A1 iR OA 38
P A2 IR O B 37
P A3 RS O 36
PA4 35
ORDERING INFORMATION
PA5 Re se t 34
Device Temperature Range PA6 DO 33
1.0 MHz MC6821P, L 0 to+700C PA7 Di 32
MC6821CP, C L -40 to +850C 10 PBO D2 31
MC6821
MAXIMUM RATINGS
Rating Symbol Value Unit
Supply Voltage VCC -0.3 to + 7.0 Vdc T his device cont ains circuitr y t o p r o t ect t h e
Input Vo ltage Vin -0.3 to +7.0 Vdc inputs against damage due to high static voltages
or electric f i e lds; however, i t i s a d v ised t h at
Operating Temperature Range TA TL to TH
'C normal precautions be taken to avoid application
MC6821, MC68A21, MC68821 0 to 70
'C o f an y v o l t age h i gher t h a n m a x i mu m r a t e d
MC6821C, MC68A21C — 40 to 85
'C voltages to this high impedance.
MC6821CQCS, MC6821BQCS -55 to 125
Storage Temperature Range Tstg -55 to +150 'C
Thermal Resistance aJA 82.5 C/W
MC6821
BUS TIMING CHARACTERISTICS IvCC = s.O v s)s, vSS=O, TA = TL to THunie.s othe~i sa specified.)
MC6621 MC68A21 MC66B21 Ref.
Charact
eristic Symbol Min Max Min Max Max Unit Fig. No.
Enable Cycle Time tcycE 1 000 666 500 ns
Enable Pulse Width, High PWEH 280 220 ns
Enable Pulse Width, Low PWEL 430 260 210 ns
Enable Pulse Rise and Fall Times t Er t E I 25 25 25 ns
Setup Time, Address and R/W valid tAS 160 140 70 ns 2,3
to Enable positive transition
Address Hold Time tAH 10 10 10 ns 2,3
Data Delay Time, Read IDDR 320 220 160 ns 2,4
Data Hold Time, Read tDHR 10 10 10 ns 2,4
Data Setup Time, Write tDSW 195 80 ns 3,4
Data Hold Time, Write tDHW 10 10 1P 3,4
20
04 V 0,4 V
tAS tA H RL 2 5 k
0.8 0.8
page 0.59
MC6821
FIGURE 5 — TTL EQUIV. TEST LOAD FIGURE 6 — CMOS EQUIV. TEST LOAD F IG U R E 7 — NMOS EQUIV. TEST LOAD
Vcc
5.0 V
Ru
Test
P oin t MMD6 I 50 T est P o i n t 3k
o r Equ i v .
Vi
30 pF T est Po i n t
C 4 0 p F , R —t 2 k
M MD 7 0 0 0
o r Equ i v .
I 1 00 P F
A dlust R L s o t h a t I I — 3.2 m A
W ith V l — 0 4 V a n d V C C = 5.2 5 V
page D.60
MC6821
FIGURE 8 — PERIPHERAL DATA SETUP AND HOLD TIMES FIGURE 9 — CA2 DELAY TIME
(Read Mode) (Read Mode; CRAW C R A- 3 1 ,C RA 4 0)
PAO.PA 7 2.0 V
E nable 0.8 V
PBO P87 0.8 V
FIGURE 10 — CA2 DELAY TIME FIGURE 11 — PERIPHERAL CMOS DATA DELAY TIMES
(Read Mode; CRA-5 n 1, CRA-3 = CRA 4 0) (Write Mode; CRA-5 ~ CRA-3 = 1, CRA4 ~ 0)
E nable
0.8 V
E nable
08 V
tCMOS
2.0 V --- - - - - v c c -eo"- vcc
CAI tpow
0.8 V
PAO PA 7 2 4 V
'CA2 IRS2 CA2 04 V
2.4 V
CA2
0.4 V
FIGURE 12 — PERIPHERAL DATA AND CB2 DELAY TIMES FIGURE 13 — CB2 DELAY TIME
(Write Mode; CRB-5 = CRB-3 1 , C R B 4 = 0) (Write Mode; CRB-5 = CRB-3 1 , C R B 4 n 0)
E nable
0.8 V
E nable
2.0 V
tpow
24 V i- iCO7 tRS I
PBO PB7
04 V
PWCA 2.4 V
IDC CB2 0 4V
2.4 V
CB2
E nable 2.0 V
CA1, 2 20V
CBI 2.0 V C81, 2 0.8 V
0.8 V
tc82
2.4 V I RGA/8 I 0.4 V
CB2
0.4 V RS3
'Assumes pert was deselected dur ing 'Assumes Interrupt Enable Bits sre set.
sny previous E pulse.
page 0.61
MC6821
2.0 V
F nal>le
I RQ
' Th e R e set l i n e m u s t b e a V I H f o r a m i n i m u m o f
1.0 Its bef or e ad d r essing th e PI A.
IRQA 38 40 CA)
I nter r u p t S t a t u s
Contro l A
3 9 CA 2
C on t r o l
R egiste r A
DO 33 ( CRA )
DI 32 D ata D i r e c t i o n
D2 3 1 Register A
D ata B u s
( DDRA )
D3 30
Buf fers
D4 29 ( DBB ) O utpu t B u s
D5 28
06 2/ 2 PAO
O utp u t 3 PA 1
D7 26
R egiste r A
4 PA2
( OR A )
Peripheral 5 PA3
Interface 6 PA4
A
3 7 PA5
B us I n p u t lb
Registe r 8 PA6
3
( BIR ) c
Q 9 PA 7
Pin 2 0
10 PBO
V SS = P n I
O utpu t 11 P81
R egiste r 8
12 P82
( ORB )
C SO 2 2 Per i p her aI 13 P83
Cs l 24 Interface
8 14 P84
C S2 23 C hi p
15 P85
Select
R SO 3 6 16 P86
and
RS I 35 RW 17 P87
C ont r o l
R /W 21
5 nable
Reset 34
D ata Direct io n
C ont r o l Register 8
Register 8 (DDRB)
(CRB )
18 CB1
I nterr up t S t a t u s
I RQB 3 7 C ontro l 8
19 C82
page 0.62
MC6821
MC6821
P IA PERIPHERAL I N T E R F AC E L I N E S
The PIA p r o v i des tw o 8 b i t b i - d irectional data buses to act as either i n p uts or o u t p ut s in a similar manner to
a nd four i n t e r r u p t / c o n t ro l l i nes fo r i n t e r f acing to p e r i p h PAO-PA7. However, the output buffers driving these lines
eral devices. differ from those driving lines PAO-PA7. They have three
Section A Peripheral Data IPAO-PA7) — E ach of t h e state capability , a l l o w in g t he m t o e n t e r a Ii igh im pedaitce
peripheral data lines can be programmed to act as an input state when th e p e r i pheral data l in e is used as an i nput I n
o r ou t p ut . T h i s i s a c c o m p l ished b y s e t t in g a " 1 " i n t h e a ddition, d at a o n t h e p e r i p h eral d at a l i nes PBO PB7 wi l l
c orresponding D a t a D i r e c t io n R e g ister hi t f o i t h o s e l i n e s be read I>roperly fro m t l i ose lines prograrnrned as outputs
w hich are t o b e o u t p u t s . A " 0 " i n a h it o f t h e D a t a e ven if t h e v o l t ages are below 2.0 v o lts fo r a " h i g h" . A s
Direction R e g i ster c a u ses t h e c o r r e spoiidin g p e r i p heral outputs, these lines are compatible with standard TT L and
data lir~ to act as an input. During an MPU Read Pei ipheral may also be used as a source of up to 1 ni i l liampere at I 5
Data Operation, th e d ata on p e r i p heral lirtes programmed v olts t o d i r e c t l y r l r i v e t h e b a s e o f a t ra i i s i s to r s w i t c h
to act a s i n p u t s a p pears directly o n t h e c o r r esponding Interrupt Input (CA1 and CB1) — Peripheral lii p ut l i n e s
M PU Data B u s l i n es. I n t h e input mode t h e i n t e i n al CA1 and CB 1 ar e i n pu t o n l y l i nes that set the i n t errup t
pullup resistor on these lines represents a maximum of 1.5 flags of the control registers. The active traiisition fo r t h ese
standard TTL loads. signals is also p rogrammed hy the tw o c o n t r o l r e gisters.
The data in O u t pu t R egister A w i l l a ppear on the data Peripheral Control ICA2) — The peripheral control line
l ines that are p r ogrammed t o b e o u t p u ts. A l o g i cal " I " C A2 can be p r o gramme(3 to act as an interrupt i n pu t o i a s
w ritten i n t o t h e r e gister w il l c ause a " h i gh " o n t h e c o r a peripheral con t ro l o u t p u t . A s an ou t p ut , t h is line is corn
r esponrfing data line w h ile a " 0 " r e s u lt s iii a " l o w " . D a t a p atihle w i t h s t a n d ard T T L , as an in pu t t h e i n t e r rial pu l l u p
in Out pu t R e g ister A m a y b e r e a d b y a n M P U " R e a rl resistor on t hi s l ine represents 1.5 standard TTL loads.
Peripheral D at a A " o pe r a t io n w h e n t h e c o r r esponding T he function o f t h i s s i gnal l ine i s p r ogrammed w it h
lines are programmed as o u t p uts. T his <fata will be reail Control Register A.
properly i f t h e v o l t a g e o n t h e per i p h e ra l d a t a l i n e s Peripheral Control IC 82) — Per i pher a I Con tr o I line C B2
i s greater t h a n 2 . 0 v o l t s f o r a lo g i c "1" o utput a n r l m ay also h e p r o g r am med t o a c t a s an i n t e r r up t i n p u t o r
l ess than 0. 8 v o l t f o r a l o g i c " 0 " o u t p u t . L o a d ing t h i' p eripheral c o n t r o l o u t p u t . A s a n i nput , t h i s l i n e h a s
output l i nes such t hat t h e v o l t age on t h iise lines does not h igh i n p u t i m p e d a nc e a n d is co m p a t i b l e w i t h s t a n d .
reach full voltage causes the data transferred into the MPU ard T T L A s an o u t p i i t i t i s c o m p a t i bl e w i t h s t andard
o n a Read operation t o d i f f e r f r o m t h a t c o n t a i ned in t h e T TL an d m a y a lso b e u sed as a source of u p t o 1 m i l l i
respective bit of O u t p u t R e gister A. ampere at 1.5 volts to directly drive the base of a transistor
Section B Peripheral Data (PBO-PB7) —The peripheral s witch. T h i s l i n e i s p r o g r a m me d b y C o n t r o l R e g i ster B
data lines in th e B Section of t h e PIA can be programmed
page 0.64
MC6821
INTERNAL CONTROLS
There are six locations within the PIA accessible to the CONTROL REGISTERS (CRA and CRB)
M PU data b u s : t w o P e r i pheral Registers, tw o D a t a The two Control Registers (CRA and CRB) allow the
Direction Registers, and two Control Registers. Selection MPU to c o n t ro l t h e o p eration o f t h e f o u r p e ripheral
of these locations is controlled by the RSO and RS1 inputs control lines CA1, CA2, CB1 and CB2. In addition they
together w it h b i t 2 i n t h e C o n t r o l R e gister, as shown allow the MPU to enable the interrupt lines and monitor
in Table 1 t he status of th e i n terrupt flags. Bits 0 through 5 of t h e
two registers may be wr i t ten or r ead by th e MPU when
TABLE 1 — INTE RNAL ADDRESSING the proper c h i p s e lect a n d r e gister select signals are
Cont roI applied. Bits 6 and 7 o f t h e tw o r egisters are read only
Register Bir and are modified b y e x t ernal i n terrupts occurring on
RSI RSO CRA 2 CR B.2 Location Selected control lines CA1, CA2, CB1 or CB2. The format of the
Peripheral Register A control words is shown in Table 2.
Data Direcuon Register A
T ABLE 2 — CONTROL WOR D FO R M A T
Control Register A
5 4 3 I 0
Peripheral Register B
CRA IRQA1 IRQA2 CA2 Control DORA CA1 Co ntrol
Data Direction R egister 8
Access
Control Register B
5 4 3 I 0
X — Don't Care CRB I ROB 1IRQB2 CB2 Control DDR B CB 1 Control
Access
I NI TIA LI ZATION
A low reset line has the effect of zeroing all PIA regis-
ters. This will set PAO-PA7, PBO-PB7, CA2 and CB2 as Data Direction Access Control Bit (CRA-2 and CR B2)-
inputs, and all interrupts disabled. The PIA m ust be con- Bit 2 i n each Control register (CRA and CRB) allows
figured during the restart program which follows the reset. selection of either a Peripheral Interface Register or the
Details of possible configurations of the Data Direction Data Direction Register when the proper register select
and Control Register are as follows. signals are applied to RSO and RSl.
Interrupt Flags (CRA-6, CRA-7, CRB-6, and CRB-7)-
DATA DI RECTION R EGISTERS (DORA and DDRB) The four interrupt flag bits are set by active transitions of
T he tw o D a t a D i r e c t ion R e gisters allow t h e M P U t o signals on the four Interrupt and Peripheral Control lines
control the direction of d ata through each corresponding when those lines are programmed to be inputs. These bits
peripheral data l i ne. A D a t a D i r ection Register bit set at cannot be set directly f ro m t h e MP U D ata Bus and are
" 0" c o n f igures the corresponding peripheral data line as reset indirectly b y a R e ad Peripheral Data Operation on
a n input; a "1 " r esults in an output . the appropriate section.
MPU Interrupt
CRA-1 CRA-0 Interrupt Input Interrupt Flag Request
(CRB-I ) (CRB-0) CA1 (C81) CRA-7 (CRB-7) I%Pi (IROB)
Active Set high on s of CA1 Disabled — KQ re-
(CB1) mains high
, Actwe S et high on l o f C A 1 G oes lo w w h e n t h e
(CB1) interrupt flag bil CRA-7
(CRB-7) goes high
Aclive Set high on ' of CA 1 Disabled — ITAL re-
(CB1) mains high
Act we S el high on I o f C A 1 G oes low w he n t h e
(CB1) interrupt flag bit CRA-7
(CRB-7) goes high
N otes I I indicates positive transition (low to high)
I indicates negative transition (high Io low)
The Interrupt liag bit CRA.7 is cleared by an MPU Read of the A Data Reg ister,
and CRB-7 is cleared by an MPU Read of the B Data Register
If CRA-0 (CRB-0) is low when an interrupt occurs (Interrupt disabled) and is later brought
high, IRQA (IRQBI occurs after CRA-0 ICRB-0) is written Io a "one".
page 0.65
MC6821
Control of CA1 and CB1 Interrupt Input Lines (CRA-O, used to enable the MPU interrupt signals IRQA and I ROB,
CRB-O, CRA-1, and CRB-1) — The two lowest order bits respectively. Bits CRA 1 an d C R B. 1 determine the active
of the control r egisters are used to control the interrupt t ransition o f t h e i n t e r r up t i n p u t s i g nals CA 1 a n d C B 1
input lines CA 1 an d C B1 . B it s C RA O an d C R B-0 are (Table 3).
MPU Interrupt
CRA-5 CRA-4 CRA-3 Interrupt Input interrupt Flag Request
(CRB-5) (CRB-4) (C R 8-3) CA2 (CB2) CRA-6 (CRB-6) IRRA (I~RB)
Active S et high on i o f C A 2 Disabled — 1RU re-
(CB2) mains high
Active Set high on , o f C A2 G oes low w hen I h e
(CB2) interrupt tlag bit CRA.6
( CRB-6) goes h i g h
Active S et high on ' o f C A 2 Disabled — le% re-
ICB2) mains high
' Active S et high on ' o t C A 2 G oes low w hen t h e
iCB2) rpt flagbil C RA-6
interu
( CRB-6) g oe s h i g h
CB2
CRB-5 CRB-4 CR B-3 Cleared Set
Low on the posilive transition of High when lhe interrupt flag bit
t he first E p u ls e f o l lowing a n CRB-7 is set by an active transi-
MPU Write B D ata R e g i ster tion of the CBI signal
o'peration
L ow on th e po sit ive transit ion o f I -ligho n t he p o s itive e dg e o f
t he f i rst E p u l se af ter a n M P U t he first " E " p u l s e f o l l o w i n g an
Write " B " D a t a R e g i ster op era- "E" p u l se w h ic h o c c u r red w hile
tion the part was desefected
Low when CRB-3 goes low as a Always low as long as CRB-3 is
result of an MPU Write in Control IOW Will gO high on an MPU Write
Register B i n Control R e g i s te r B t ha t
changes CRB-3 to one
Always high as long as CRB-3 is High when CRB-3 goes high as a
h igh W i l l b e c l e a red w h e n a n r esult of an M PU Wr i t e i nt o
MPU Wnte Control Register B C ontrol Register "B" .
results in c l e a r ing C R B -'3 to
zero
page 0.66
MC6821
PACKAGE DIMENSIONS
•0
MILLIMETERS INCHES
CASE 711-01 DIM MIN MAX MIN MAX
P LAST IC 51.82 52,32 2. 040 2.060
13 72 14 22 0 540 0 560
4. 57 5.08 0.180 0.200
0 20
0. 36 0. 51 0.014 0.020
1.02 1. 52 0.040 0.060
2.41 2. 67 0.095 0,105
1. 65 2.16 0.065 0.085
0,20 0. 30 0.008 0.012
3.68 4. 19 0.145 0.165
14.99 15,49 0. 590 0,610
100 100
0.51 1. 02 0.020 0.040
— lel-- 3! D S EATING -' ~ M
PLANE
MIL L I ME
TE RS INCHES
DIM MIN MAX MIN MAX
NOTE 50.29 51.31 1,980 2.020
1. LEADS, TRUE POSITIONED WITHIN 14.86 15.62 0.585 0.615
0.25 mm (0.010) DIA IAT SEATING 2.54 4.19 0.100 0.165
PLANE), AT MAX. MAT'L 0. 38 0. 53 0.015 0.021
CONDITION. 0.76 1.40 0.030 0.055
2.54 BSC 0.100BSC
0.76 1.78 0.030 0.070
C 0.20 0.33 0.008 0.013
2.54 4.19 0.100 0.165
(t CASE 71542 14.60 15.37 0.575 0.605
SEATING PLANE 7 I K
C ERAM I C 100 10
I — L~ 051 152 0.020 0.060
page 0.67
96S02 • 96LS02
CONNECTION DIAGRAM
PINOUT A
96S02
96LS02 Cxi 1 16 Vcc
D UAL RETRIGGERABLE RESETTA B L E Rxi 2 15 Cxo
MO N O S T A BLE MULTIVI BRATOR CO1 3 14 Rxx
4 13 C07
DESCRIPTION — The 96S02 and 96LS02 are dual retriggerable and reset- lo 5 12
Ceramic
96S02DC, 96LS02DC 96S02DM, 96LS02DM 6B Vcc = Pln 1 6
DIP (D)
GND = Pln 8
Flatpak
(F)
96S02FC, 96LS02FC 96S02FM, 96LS02FM 4L
96S02 • 96LS02
LOGIC DIAGRAM
Vc 16
I (0>
POSITIVE
• (12) (SCNMITT)
TAIGGE4 6 (10>
2 (I • )
NEGATIVE C,~
5 (11>
TAIGGE4 S02
50 Cn
I (15)
L 3 (13)
L6502g
FUNCTIONAL DESCRIPTION — The 96S02 and 96LS02 dual retriggerable resettable monostable multivibra-
tors have two dc coupled trigger inputs per function, one active LOW(lp) and one active HIGH(11). The()i nput of
both circuit types and the ip input of the 96LS02 utilize an internal Schmitt trigger with hysteresis of 0.3 V to
provide increased noise immunity. The use of active HIGH and LOW inputs allows either rising or falling edge
triggering and optional non-retriggerable operation. The inputs are dc coupled making triggering independent
of input transition times. When input conditions for triggering are met the Q output goes HIGH and the external
capacitor is rapidly discharged and then allowed to recharge. An input trigger which occurs during the timing
cycle will retrigger the circuit and result in Q remaining HIGH. The output pulse may be terminated (Q to the
LOW state) at any time by setting the Direct Clear input LOW. Retriggering may be inhibited by tying the Q
output to lp or the Q output to 11. Differential sensing techniques are used to obtain excellent stability over
temperature and power supply variations and a feedback Darlington capacitor discharge circuit minimizes
pulse width variation from unit to unit. Schottky TTL output stages provide high switching speeds and output
compatibility with all TTL logic families.
Operation Notes
T I MI N G
1. An external resistor (Rx) and an external capacitor (Cx) are required as shown in the Logic Diagram. The
value of Rx may vary from 1.0 kft to 1.0 Mft (96LS02) or 2.0 Mft (96S02),
2. The value of Cx may vary from 0 to any necessary value available. If, however, the capacitor has significant
leakage relative to VCC/Rx the timing equations may not represent the pulse width obtained.
3. Polarized capacitors may be used directly. The (+) terminal of a polarized capacitor is connected to pin 1
(15), the (-) terminal to pin 2 (14) and Rx. Pin 1 (15) will remain positive with respect to pin 2 (14) during the
timing cycle. In the 96S02, however, during quiescent (non-triggered) conditions, pin 1 (15) may go negative
with respect to pin 2 (14) depending on values of Rx and Vcc. For values of Rx ~ 10 kft the maximum amount
of capacitor reverse polarity, pin 1 (15) negative with respect to pin 2 (14) is 500 mV. Most tantalum electro-
lytic capacitors are rated for safe reverse bias operation up to 5% of their working forward voltage rating;
therefore, capacitors having a rating of 10 WVdc or higher should be used with the 96S02 when Rx ~ 10 kfi.
4. The output pulse width t f o r Rx ~ 10 kft and Cx ~ 1000 pF is determined as follows:
(96S02) t w = 0.55 RxCx
( 96LS02) t v v = 0.43 RxCx
Where Rx is in kH, Cx is in pF, t is in ns or Rx is in kfi, Cx is in )IF, t is in ms.
5. The output pulse width for Rx < 10 kft or Cx < 1000 pF should be determined from pulse width versus Cx or
Rx graphs.
6. To obtain variable pulse width by remote trimming, the following circuit is recommended:
1.0 k()
PIN 2 (14)
Rx -'I.5 kil
~ AS C L O S E AS POSSIBLE
To DEVICE
PIN I (15)
V- Q-
page 0.69
96S02 • 96LS02
Operation Notes (Cont'd)
7. Under any operating condition, Cx and Rx (Min) must be kept as close to the circuit as possible to minimize
stray capacitance and reduce noise pickup.
8. Vcc and ground wiring should conform to good high frequency standards so that switching transients on
Vcc and ground leads do not cause interaction between one shots. Use of a 0.01NF to 0.1NF bypass capaci-
tor between Vcc and ground located near the circuit is recommended.
TRIGGERING
1. The minimum negative pulse width into I() is 8.0 ns; the minimum positive pulse width into II is 12 ns.
2. Input signals to the 96S02 exhibiting slow or noisy transitions should use the positive trigger input II which
contains a Schmitt trigger. Input signals to the 96LS02 exhibiting slow or noisy transitions can use either
trigger as both are Schmitt triggers.
3. When non-retriggerable operation is required, i.e., when input triggers are to be ignored during quasi-stable
state, input latching is used to inhibit retriggering.
ci ci
+
vcc vcc
OUTPUT ~ OUTIUT ~
INPUT
INPUT
Co Co
4. An overriding active LOW level direct clear is provided on each multivibrator. By applying a LOW to the clear,
any timing cycle can be terminated or any new cycle inhibited until the LOW reset input is removed, Trigger
inputs will not produce spikes in the output when the reset is held LOW. A LOW-to-HIGH transition on Co
will not trigger the 96S02 or 96LS02. If the Co input goes HIGH coincident with a trigger transition, the circuit
will respond to the trigger.
H~L L H Trigger
H L~ H H Trigger
X X L Reset
H = HIGH Voltage Level a Vm
L = Low voltage Level < vie
X = Immatenal letther H or LI
H «L = HIGH to LOW Voltage Level transition
L«H = LOW to HIGH Voltage Level transition
page D.70
96S02 • 96LS02
TYPICAL CHARACTERISTICS
96S02
2
I- 15 tr,e — COMPLEMENT OU TPUT (0)
IC I pc
0 8
Ut AE3 I0
14
UE
EU
EC I-
0
0 2 Ex' 13
Z
10
I- I! EU
e 0 12 It'E 8 TRUE 0 UTPUT (0>
t
11
1.0 10
I 0 2 8 6 8 10 2 8 6 8 Pt . C 6 8 10 . 0 25 50 75
EL
0
a. 36
0 I
0
Pcc
34 Sp p
(01
OU.IPU 0 pcc
RUE 8 25
10 32
0
0
0 9P 30
8
80 28
0 25 50 75 0 25 50 75
EU P V cc 50 V 3
0
0 -02 I- 39 IE
0 0 102
EU -0.4 Vcc — 5.25 V tl
N 6
-0.6 k 2.0 IE
Es
0 1.5 IE
0 -08 C. I 0 IE
Z
• 1.0
0 • 25 "75 10
50 1.0 2 t ' 6 P 2 3 A 6 t P2 : 3 E e 8 I PI
I
96S02 • 96LS02
TYPICAL CHARACTERISTICS
96LS02
K 0
N 46
102 C.
Ih
0 8
6 44 IPI H — TRUE OUT PUT (0)
IN
U I0-80
It 42
OL
2
I-
zs
0 40
10
ij IU 38
X 6 0
It 4 36
40 80
I PL H RUE OUT PUT (0) IL
0
0-PI 38 IL
0
36 70
C 0
IU
34
I-
0Il 32 Ih
60
ik IP i — COMPLEMENT OUTPUT (0)
0ILk
30
28 50
-55 -35 -1 5 5 25 45 6 5 85 105 1 25 1 4 5 -75 -25 25 75 125
20 kfl
Rx = 10 k(I C
U 88
3
4 '1.5 IE
I-
z0
Cx = 1000 pF
-1.0 I - 4.3 • Z
It
I- 2 10 kI
42 0
P
6 103
Z
I- IU
=8pp Ih 8
0 0
$ P 0
IL
IU 4S P
2
3
IL
0
IL
N -'1.0 I-
0 102
0
IU UI
0
64 8
Qk
-2.0 I Ih
43
2
It C.
0 1.0 k
zk
0
-3.0 10
-7 -25 • 25 75 • 125 10 2 3 • 8 8 10 2 I 4 8 8 I Q2 2 3 4 6 8 I Q3
96S02 • 96LS02
DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE (unless otherwise specified)
96S 96LS
SYMBOL PARAMETER UNITS CONDITIONS
M in M a x M in M a x
VT.
Positive-going Threshold 2.0 2.0 Vcc = 5 0 V
Voltage, T0, 11 (96LS02) 11 (96S02)
Negative-going XM 0.8 0.7
VT- Threshold Voltage V Vcc = 5.0 V
XC 0.8 0.8
10, 11 (96LS02) 11 (96S02)
Vcc = Min, VIN = VIH or VIL
XM 2.7 2.5
VoH Output HIGH Voltage IpH = -400 pA ('LS02)
XC 2.7 2.7
IpH = -1.0 mA ('S02)
XM 0.5 0.5
VoL Output LOW Voltage Vcc = Min, VIN = VII-I or VIL
XC 0.5 0.4
Capacitor Voltage - 0.85 3.0 0 3.0 Rx = 1,0 kft
Vcx Pin 1 (15) Referenced - 0.5 3.0 0 30 Rx = > 1 0 k f t
to 525 V
to Pin 2 (14) - 0.4 3.0 0 30 Rx > 1.0 MA
20 20 pA VIN = 2.7 V
IIH Input HIGH Current VIN = 5.5 V ('S02)
0.1 0,1 mA
VIN = 10 V ('LS02)
IIL Input LOW Current -1.0 -0.4 mA VIN = 0.4 V, Vcc = Max
los Output Short Circuit Current -40 -100 -20 -100 mA Vcc = Max, VouT = 0 V
Icc Power Supply Current 75 36 mA VIN = Open, Vcc = Max
100 ns I N P UT P ULSE
f = 100 kHz
Amp ~ 3.0 V
Width = 100 ns
1.5 V
tr= ( 1 s 5 ns
VIN
IPLH
1.5 V
Iw
1.5 V
IPHL
Fig. a
page 0.73
96S02 • 96LS02
AC CHARACTERISTICS: Vcc = +5.0 V, TA = +25'C (See Section 3 for waveforms and load configurations)
96S 96LS
SYMBOL PARAMETER CL = 1 5 p F CL =15 pF UNITS C 0 ND IT I 0 NS
M in M a x M in M a x
Propagation Delay
IPLH 15 55 ns
lotoQ
Propagation Delay 19 50
IPHL ns
10to Q
Propagation Delay
(PL H 19 60 ns
l lto Q
Propagation Delay 20
IPHL 55 ns
Il to Q Fig. a
Propagation Delay
IPHL 20 30 ns
Co to Q
Propagation Delay 14 35
IPLH ns
Co to Q
tw (L) 10 Pulse Width LOW 8.0 15 ns
tw (H) lf Pulse Width HIGH 12 30 ns
tw (L) Co Pulse Width LOW 7.0 22 ns
Rx = 1 0 k f t C x = 1 0 p F
tw (H) Minimum Q Pulse Width HIGH 30 45 25 55 ns including jig and stray
tw Q Pulse Width 5.2 5.8 4.1 4.5 us Rx = 10 kth C x = 1000 PF
TA = -55' C to +125' C,
Rx Timing Resistor Range' 1 .0 2 0 00 1 .0 1 0 0 0 kft
Vcc = 4.5 V to 5.5 V
C hange in Q Pulse Width XM 3.0
Rx = 10 kfL C x = 1000 pF
over Temperature XC 1.0 1.0
TA = 25 C, Vcc =4.75 V to
1.0 0.8 5.25 V, Rx = 10 k(L
Change in Q Pulse Width Cx = 1000 pF
over Vcc Range T A = 25 C, Vc c = 4.5 V to
1.5 5.5V, Rx = 1 0 k D ,
Cx = 1000 pF
Applies only over commercial Vcc and Ta range for 96602.
page 0.74
e • • •
MC2661A/MC68661A
(Baud Rate Set A)
• •
MC2661B/MC68661B
(Baud Rate Set B)
MC2661C/MC68661C
(Baud Rate Set C)
A dv a n c e I n f o r m a ti o n
BLOCK DIAGRAM
OLE REGISTER
O PERATION CON T R O L
RESET (21)
(12)
AO MODE REGISTER I
(rn)
AI MODE REGISTER 2
TRANSMITTER 116) 3 • RDV
(13)
COMM AN D REGISTER
TRANSMIT (19)
SHIFT REGISTER
SRCLK (28)
SAUD RATE
GENERATOR
AND
CLOCK CONTROL (14) ie
RECEIVER R ROV
RECEIVE DATA
HOLDING REGISTER
DSR (22)
RECEIVE
DCD (16) SHIFT REGISTER
CTS
MODEM
RTS (231 CONTROL
DTR (24)
(ial u6)
TFEMT/
DSCHG
(4)
NOTE
reOpen drain output pm
• QTE
l6X c lock s s e d n a s y n chrono s mode In synchrnnous mode cl o ck un p l e r s 1 x and
ann can be se d oniy for r«c
ORDERING CODE
COMMERCIAL RANGES
PACKAGES
VCC = SV a 5 % , T A = 0 C t o 7 0C
Ceramic DIP MC2661A/MC68661A
MC2661 B/M C68661 8 See table 1 for baud rates
MC2661 C/MC68661 C
Plastic DIP M C2661 A/MC68661 A
MC2661 B/MC68661 B See table 1 for baud rates
MC2661C/MC68661C
Table 3 DEVICE-RELATED SIGNALS When the EPCI is initialized into the synchro-
nous mode, the receiver first enters the hunt
INPUT i mode on a 0 to I transit~on Ol RxEN(CR2) In
PIN NAME PIN NO. OUTPUT FUNCTION this mode, as data are shifted into the re-
ceiver shift register a bit at a time, the con.
BRCLK 20 Clock input to the internal baud rate gener-
tents of the register are compared to the
ator (see table I ) N o t r equired if external contents of the SYI41 register If the two are
receiver and transmitter clocks are used
n ot equal, the next bit is s h i fted in and th e
'RxC/BKDET 25 liO Receiver clock l f e x ternal receiver clock comparison is repeated When the two reg.
is programmed. this mput controls the rate isters match, the hunt mode is t e rminated
at which the character is to be r e c ewed and character assembly mode begins If sin-
Its frequency is I X , 16X or 64X the baud gle SYN operation is programmed, the SYN
rate, as programmed by mode register 1 DETECT status bit is set I f double SYN op-
Data are sampled on the nsing edge of the eration is programmed, the first c haracter
c lock I f i n t ernal receiver c lock i s p r o - assembled after SYNI must be SYN2 in or.
grammed, this pin can be a IX i 16X clock der lor the SYN DETECT bit to be set. Other.
or a break detect output pin w ise, the E PC I r e t urns t o t h e h u n t m o d e
'TxCiXSYNC I iO Transmitter cloc k I f e x t e r nal t ransmitter (Note that the sequence SYN1-SYNI-SYN2
clock is programmed, this input controls will not achieve synchronization ) When syn.
the rate at which the character is transmit- chronization has been ac hieved, the EPCI
t ed Its f r equency is I X , 16 X o r 64 X t h e c ontinues t o a s s e m bl e c h a r a c t er s a n d
baud rate, as programmed by mode regis. transfer them to the holding register, setting
ter 1. The transmitted data changes on the t he RxRDY s t a tus b i t a n d a s s e r t ing t h e
falling edge of the clock I f i nternal trans R xRDY output e ac h t i m e a c h a r a c te r i s
m itter clock is p r ogrammed, this pin ca n transferred The PE and OE status bits are
be a 1Xi 16X clock output or an external s et as appropnate F u rther receipt of t h e
tarn synchronization input appropnate SYN sequence sets the SYN
RxD Serial data input to the recewer " M a rk" is DETECT status bi t I f t h e S Y N s t r i p p i ng
high, "space" is low mode is commanded, SYN characters are
TxD 19 Serial data o u tput f ro m th e t r a n smitter not transferred to the holdmg register Note
' Mark ' i s h i g h , 'space' i s lo w H e l d i n that the SYN characters used to e s tablish
mark condition when the transmitter is dis- initial synchronization are not transferred to
abled the holdmg register in any case
L
• •
OPERATE
reconfigured at sny time during program ex-
ecution. A flowchart of the intialization proc-
ess appears in figure I
T he internal r e g i s t er s o f t h e E P C I a r e RECONFIGURE
Sync: Sync:
! 10 = 7 bits
11 = 8 bits
10 = Asynchronous 16X rate
11 = Asynchronous 64X rate
Number of Transparency
SYN char Control
0 = Double 0 = Normal
SYN I = Transparent
I = Single
SYN
NOTE
Baud rate factor n avy vh n o u s appl es only re t e r n al clock v selected F s c l o «s ls x I
nternal clock x se l ected M o ue must be 9elecied (Mal 1 Ma l o ) w a ny case
page 0.81
Receive Transmit
Request Control Data Terminal Control
Operating Mode To Send Reset Error Sync/Async (RxEN) Ready (TxENI
00 = Normal operation 0 = Force RTS 0 = Normal Aaync:
0'1 = Async output high f = Reset Force break
Automatic one clock time error flags 0 = Normal 0 = D sable 0 = Force DTR 0 = Di s a b l e
echo mode after TxSR m status register f = Force bieak f = Enable output high i = Enable
Sync SYN and/or aer/af/zation IFE, OE, PE/DLE 1 = Force DTR
DLE atnpping mode 1 = Force RTS detect) output low
10 = Locslioop back output low
11 Remote loop back
Sync:
Send DLE
0 = Normal
i = Send DLE
Sync:
0 N o rmal
1 = SY N i = P a r ity ur ror or
delecfvd DLE received
(high) while TxRDY snd TxEMT will go high In asynchronous mode, setting CR3 w i ll data holding register. Since this is a one
(mactive). If the receiver is disabled, it will force and hold the TxD output low (spacing time command, CR3 does not have to be
terminate operation immediately. Any char- con(litton) at the end of the current transmit- reset by software. CR3 should be set when
acter being assembled will be neglected. A ted character. Normal operation resumes entering and exiting transparent mode and
0 to I transition of CR2 will initiate start bit when CR3 is cleared. The TxD hne will go for all DLE — non-DLE character sequences.
search (async) or hunt mode (sync). high for at least one bit time before begin.
mng transmission of the next character in
Bits CRI (DTR) and CR5 (RTS) control the the transmit data holding register. In syn- Setting CR4 causes the error flags in the
DTR and RTS outputs, Data at the outputs chronous mode, setting CR3 causes the status register (SR3, SR4, and SR5) to be
are the logical complement of the register transmission of the DLE register contents cleared. This is a one time command. There
data. prior to sending the character m the transmit fs no internal latch Ior this bit.
page D.82
Table 9 MC2661/MC68661 EPCI vs SIGNETICS 2651 PCl only the first DLE of a DLE-DLE pair is
stopped.
FEATURE EPC I PCI
Note that automatic stnpping mode does not
1. MR2 Bit 6, 7 Control pin 9, 25 Not used affect the setting of the DLE detect and SYN
2 DLE detect-SR3 SR3 = 0 for DLE-DLE, SR3 = i fo r DLE DLE detect status bits (SR3 and SR5)
DLE SYNCI DLE-SYNC I
Two diagnostic sub-modes can also be
3. Reset of SR3, DLE Second character after Receiver disable, or CR4 = I
configured In local loop back mode (CR7.
detect DLE, or receiver disable, CR6 = 10), the following loops are connect-
orCR4 = 1 ed internally:
4. Send DLE-CR3 One time command Reset via CR3 on next TxRDY
1. The transmitter output is c onnected to
5. DLE stuffmg in Automatic DLE stuffing when None
the receiver input
transparent mode DLE is loaded except if
2. DTR is connected to DCD and RTS is con-
CR3 = I
nected to CTS
6. SYNC I stnpping AII SYNC I First SYNC1 of pall 3. The receiver is clocked by the transmit
m double sync clock.
non-transparent 4. The DTR, RTS and TxD outputs are held
mode high
7 Baud rate Three One 5. The CTS, DCD, DSR and RxD inputs are
versions ignored
8 Terminate ASYNC Reset CRS in response to Reset CRO when TxEMT Additional requirements to operate in the fo.
transmission TxRDY changing from 0 to I goes from 1 to 0 Then reset cal loop back mode are that CRO (TxEN),
(drop RTS) CR5 when TxEMT goes from
CR1 (DTR), and CR5 (RTS) must be set to 1.
Oto I CR2 (RxEN) is ignored by the EPCI.
9 Break detect Pin 25' FE and null character
The second diagnostic mode is the remote
10 Stop bit searched One Two
loop back mode (CR7 CR6 = 11) I n t h i s
External jam sync Pin 9. No mode
12 Data bus timing improved over 2651
D ata assembled by t h e r e c e iver are
13 Data bus drwers Sink 2 2mA Smk 1 GmA
automatically placed in the transmit hold-
Source 400fxA Source IOOTTA i ng register an d r e t r a nsmitted b y t h e
NOTES transmitter on the TxD output.
Inlernel SRG used for Rxo 2 The transmitter is clocked by the recewe
2 Inlernel SRG used for Txo
c lock
W hen CR5 (RTS) is s e t , t h e RT S pi n i s D ata assembled b y t h e r e c e i ver a r e 3 No data are sent to the local CPU, but the
forced low and the t ransmit serial logic is automatically placed in the transmit hold. error status conditions (PE OE, FE) are
enabled. A 1 to 0 transition of CR5 will cause i ng register an d r e t r a nsmitted b y l h e set.
RTS to go high (inactive) one TxC time after transmitter on the TxD output 4 The RxRDY, TxRDY, and TxEMTT DSCHG
the last serial bit has been transmitted (if 2 The transmitter is clocked by the receive outputs are held high
the transmit shift register was not empty). c lock. 5. CRI (TxEN) is ignored
3 TxRDY output = 1. 6. All other signals operate normally.
The EPCI csn operate in one of four sub-
4. The TxEMTTDSCHG pin will reflect only
modes within each mslor mode (synchro-
the data set change condition
nous or a synchronous). The o p erational Status Register
5. The TxEN command (CRO) is ignored
sub-mode is determined by CR7 and CR6 The data contained in the status register (as
CR7-CR6 = 00 is the normal mode. with the In synchronous mode, CR7-CR6 = 01 places s hown in t a bl e 8 ) i n d i cate r e c eiver a n d
transmitter and receiver operating indepen- the EPCI in the automatic SYNr DLE stRP- transmitter conditions and modem rdata set
dently in accordance with the mode and sta- pmg mode The exact actiontaken depends status
tus register instructions on the setting of bits MR17 and MR16
SRO is the transmitter ready (TxRDY) status
In asynchronous mode, CR7 CR6 = 0 1 1. In the non-transparent, single SYN mode hit It, and its corresponding output, are valid
p laces t h e E P C I i n t h e a u t o m a ti c e c h o (MR17.MR16 = 1 0), characters i n t h e only when the transmitter is enabled If equal
mode Clocked r e generated received data d ata st r eam m a t c hing S Y N I a r e n o t to 0, it indicates that the transmit data hold
are automatically directed to the TxD line transferred to the receive data holding ing register has been loaded by the CPU and
while normal receiver operation continues. register (RHR). t he data has not b een transferred to t h e
The receiver must be enabled (CR2 = I), but 2 In the non-transparent, double SYN mode t ransmit shift register I f s e t e q ual t o 1 , it
the transmitter need not be enabled. CPU to ( MR17-MR16 = 0 0 ) , c h a racters in t h e indicates that the holding register is ready
receiver communications continues normal- data stream matching SYNI, or SYN2 if t o accept d at a f ro m th e CP U T h i s b i t i s
l y, but th e CP U t o t r a nsmitter link i s d i s . immediately preceded by SYNI, are not initially set when the transmitter is enabled
abled. Only the first character of s b reak transferred to the RHR. by CRO, unless a character has previously
condition is echoed. The TxD output will go 3 In transparent mode (MR16 = 1), charac- been loaded into the holding register. It is
high until the next valid start is detected ters in the data stream matching DLE, or not set when the automatic echo or remote
The following conditions sre true while in SYN1 if immediately preceded by DLE, loopback modes are programmed When
automatic echo mode are not transferred to the RHR However, this bit is set, the TxRDY output pin is low In
page 0.83
the automatic echo and remote loop back cleared by loading the transmit data holding when the receiver is disabled or by the reset
modes, the output is held high. register. The DSCHG condition is enabled error command, CR4.
when TxEN = 1 or RxEN = 1. It is cleared
SR1, the receiver ready (RxRDY) status bit, In asynchronous mode, bit SR5 signifies that
w hen the status register is read by t h e
indicates the condition of the receive data the received character was not framed by a
CPU. If the status register is read twice and
holding register. If set, it indicates that 8 s top b i t , i e , o n l y t h e fi r s t s t o p b i t i s
SR2 = 1 w h il e SR 6 an d SR7 re main un-
character has been loaded into the holding checked If RHR = 0 when SR5 = 1, a break
changed, then a TxEMT condition exists.
register from the receive shift register and is condition is present. In synchronous non-
When SR2 is set, the TxEMT/DSCHG output
ready to be read by the CPU. If equal to transparent mode (MR16 = 0), it indicates
is low.
zero, there is no new character in the hold- receipt of the SYN1 character m smgle SYN
ing register. This bit is cleared when the SR3, when set, indicates a received panty mode or the SYN1-SYN2 pair in double SYN
CPU reads the receive data holding register e rror when parity is enabled by MR i4 . In mode. In synchronous transparent mode
or when the receiver is disabled by CR2. synchronous transparent mode (MR16 = 1), (MR16 = I), this bit is set upon detection of
When set, the RxRDY output is low. with parity disabled, it indicates that a char. the initial synchronizing characters (SYN1
aeter matching DLE register was received or SYNI-SYN2) and, after synchronization
The TxEMT/DSCHG bit, SR2, when set, indi-
and the present character is neither SYN1 has been achieved, when s DLE-SYN1 pair
cates either a change of state of the DSR or
nor DLE This bit is cleared when the next is recewed The bit is reset when the recew-
DCD inputs (when CR2 or CRO = 1) or that
character followmg the above sequence is er is disabled, when the reset error com-
the transmit shift register has completed
loaded into RHR. when the receiver is dis- mand is gwen in asynchronous mode, or
transmission of a character and no new
abled, or by a reset error command, CR4. when the status register is read by the CPU
character has been loaded into the transmit
in the synchronous mode.
data holding register. Note that in synchro- The overrun error status bit, SR4, indicates
nous mode this bit will be set even though that the prewous character loaded into the SR6 and SR7 reflect the conditions of the
the appropriate "fill" character is transmit- receive holding register was not read by the DCD snd DSR inputs respectively A low in-
ted. TxEMT will not go active until at least CPU st the time a new received character put sets its corresponding status bit, and a
one character has been transmitted. It is was transferred into it. This bit is cleared high input clears it.
THERMAL CHARACTERISTICS
CHARACTERISTIC SYMBOL VALUE UNIT
Thermal Resistance
Ceramic 50
Plastic 6JA 100 'C/W
Cerdip 60
POWER CONSIDERATIONS
The average chip )unction temperature, TJ, in 'C can be obtained from.
TJ = TA+ (POef)JA) (I)
Where:
TAas Ambient Temperature, 'C
eJAsa Package Thermal Resistance, Junction-to-Ambient, 'C/W
PD= PINT+ PPORT
PiNT saICC x VCC, Watts — Chip Internal Power
PPORT — Port Power D issipation, Watts — User Determined
For most applications PPORTe PINT and can be neglected. PPOR T may become significant if the device is configured to
dnve Darlington bases or sink LED loads.
An approximate relationship between PD and TJ (if PPORT is neglected) is
PP = K (TJ+ 273'Cl (2)
Solvfng equations I and 2 for K gives;
K = PDe(TA+ 273'C) + 8JA • P D2 (3)
Where K is a constant pertaining to the particular part. K can be determined from equation 3 by measuring PD (at equilibrium)
for a known TA. Using this value of K the values of PD and T J can be obtained by solving equations (1) and (2) iteratively for any
value of TA.
MO T O R O L A Se m i conductor Products Inc
page 0.85
• • •
TIMING DIAGRAMS
RESET CLOCK
leRH IBRL
I fl I T H IRITL
RESE T
IREE B RCLK T*C A C
R BAG
NR/T
TRANSMIT RECEIVE
e I I UE
I* O A I f C L O C K P E RIOOSI
I C
I INPU I I
R.O
T•D
I fl I S IRKH
'I,O I'f O
' TC\
E.c
(OUT PU T I
CE
'CE ICED ~
I AH
Riw
ICH~
DP DT
(WIRTE)
IDS
T C Its i
I 3 3 J S I 3 3 • 5 I 3 3 • S I 3 J • 5 I 3 3 • \
T • EN
0
0Z
0
0Z T ROY
0Z
IJ
3
T Eer
CE FOR
WRITE
01 THR
OAT* I DATA 3 DATA 3 DATA •
D ~ A 3 3 1 S e C A I 3 3 • S a C A I 3 3 • S B C m— 0 ~ A I
T • EN
T RD
T Elf
CE FOR
WRITE
OF THR
DAT* I OATS 3 DATA J DATA •
NOTES
A = Start b I
a = Slop b i
C = Stop b I 2
o = Txo mark ng condition
T xEMT goes low at th e b e g mn no ot Ihe Iasl d al e bi t or I p, i t y i s e n e b ie d a t t h e b e g nmng ot lhe party b it
page D.87
Y • •
I XR C
XSTHC
IH
R0
CHARACTER ASSEMBLY
R C I 6 w 66
LOOK FOR START BIT L O W RF R 0 IS HIGH, LOOK FOR HIGH TO LOW TRAHSITIONi
I
FALSE START BIT CHECK MADE IR*O LOW)
t
t
MISSING STOP BIT
OETECTEO SET FE BITB
IST DATA BIT MISSiNG STOP BIT DETECTEO SET FE BIT
SAMPLED 0 - RHR ACTIVATE R RDY SET BKDET PIN
R •
D INPUT — R SR UNTIL A MARK TO SPACE TRANSITION OCCURS
NOTE
e It fhe slop bil is ptesenl Ih e s le it bit seetch
wib commence immedielely
page 0.88
• • • • •
R(ERDY (Shown for 5-bit characters, no panty, 2 stops bits [in asynchronous mode) )
R*C
I 2 3 • 3 I 2 3 • S I 2 3 4 1 I 2 3 • 3 I 2 3 • 1 I 2 3 • 3
IGNORED
8
0 R • EN
?
0 STNOET
STATUS 8
8
0
8
U
R RD
CE FOR
I
READ
READ READ READ READ READ READ
STATUS STATUS RHA RHR RHR AHR
(DATA II IOATA 21 (DATA 3) IDATA 31
D
4 I 2 3 4 \ 8 C A I 2 3 • 1 8 C D A I 2 3 4 \ 8 C A I 2 3
R • EN
0
08
0
8 RDT
0Z
0Z OVERRUN
S TATUS 8 1
UZ
R
CE FOR
READ
READ READ
RHR RHR
(DATA I) (DATA 31
NOTES
A SI 8 r t t l I
a = Stop b,l
C S lo p b t 2
o T o ma r k nocond(non
O nly o e s to p b I 3 d e t e c t e d
page D.89
• • • • • •
TYPICAL APPLICATIONS
ASYNCHRONOUS INTERFACE TO CRT TERMINAL
ADDRESS BUS
CONTROLeus
oATAeus
RO
CONVERT
TD
L J
ADDRESS BUS
CONTROL BUS
DATA BUS
RKD
OSR PHONE
ASTRO LINE
DTR MODEM INTERTACE
CTS
RTS
DCD
ADDRESS BUS
CONTROL BUS
tDATA BUS
SYNCHRONOUS
T E 8 MIN A L
2661 OR PERIPHERAL
DEVICE
DATA BUS
TD
R•C PHONE
LINE
I N T E 8 r AC E
SYNC
MODEM
DCO
CTS
RTS
DTR
TELEPHONE
LINE
page 0.91
• • • •
r
• •
MC68000 MPU-TO-EPCI INTERFACE MPU. To allow for the data setup time on a of CE starts the counter which times out after
REQUIREMENTS read of the EPCI, CE must be delayed one- given riumber of clock cycles. Since tCE is 600
The circuit shown in Figure 2 interfaces the half clock cycle and DTACK generated on the ns, a minimum of 5 clock cycles at 8 MHz (625
EPCI to the MC68000 MPU. The 8-bit data next rising edge of the system clock. This ns) is required. The timing for two consecutive
bus of the EPCI is connected to the low order causes the processor to insert one wait state read bus cycles is shown in Figure 3. The IN-
8 bits of the MPU data bus (DO-D7). Due to in the bus cycle. In addition to this, CE must HIBIT signal prevents CE from being gener-
this, the EPCI's registers are addressed on not be reasserted until the chip enable period ated and DTACK from being asserted, causing
word (even byte) boundaries and so address tCE has expired, Since some instructions on the processor to generate wait states until IN-
line A1 of the MPU is connected to the AO the MC68000 can cause access to consecu- HIBIT is negated.
address line of the EPCI. Similarly, A2 of the tive addresses on consecutive bus cycles
MPU is connected to Al of the EPCI. R/W on (e.g., MQVEP), an INHIBIT signal must be M6809 FAMILY MPU-TO-EPCI
the MC68000 is inverted and connected to R/ generated to hold-off an access during this INTERFACE REQUIREMENTS
W of the EPCI. period. A state machine consisting of a 74LS161 The M6809 family of microprocessors can be
The CEs~inal must be generated for the EPCI binary counter and a 74LS74 D flip-flop is con- easily interfaced to the EPCI as shown in Fig-
and the DTACK signal must be supplied to the figured as a digital "one shot," The rising edge ure 4.
5 MHs
CLK
+ SV
CLK
+5 CARRY
UDs A
CLR B 5 CYCLE DELAY
D c
0 LOAD
PRE
TSLSiei
A i /22
+5 V
INHIBIT 75LS 7 5
Mceeooo ENABLE
Mpu
ADDR
DO DT DECODE EPCI
+ev +5 V
Ai Ao
CLR CLR
D D Ai
0 0
PRE PRE
re V DO-DT
TSLS75
+5V
ttw
RESET
R/W
RESET
page 0.92
I • • r
So Sl S2 S3 64 w w ss ss sr so sl s2 s3 s4 w w w w w w w w ss s6 sr
UDS IL Ds
ENABLE
CE
DTACK
AI A3
VA LID VALID
OO-OT
VALID VALID
[ w— 200 4 4
NOTE: INSERTION OF INHIBITPERIOD DELAYS NEXT READ CYCLE FOR 5 CLOCK CYCLES
DATA 00-Dr
MC66661
MC6606 EPCI
Rav
Aa AO
Al
RESET RESET
TO (IESET CIRCUITRY
Motorola reserves the nght to make changesto any products herein to improve reliability, function or design Motorola does nut assume any liability an sing
out of the application or use of any product or circuit descnbed herein, neither does it convey any license under its patent rights nor the rights of others
page D.93
•
• •
• •
NOTES.
1. POSITIONAL TOLERANCE OF LEADS (D),
SHALL BE WITHIN 0.25mm(0.010) AT MK L I MET ER6 INCHES
MAXIMUM MATERIAL CONDITION, IN DIM MIN MAX MIN MAX
RELATION TO SEATING PLANE AND
EACH OTHER. 36.45 37.21 1.435 1.465
13.72 14.22 0 540 0.560
2. DIMENSION L TO CENTER OF LEADS 3.94 5.08 0 155 0. 200
WHEN FORMED PARALLEL. 0.36 0.56 0.014 0.022
3. DIMENSION 8 DOES NOT INCLUDE 1.02 1,52 0.040 0.060
MOLD FLASH. 2.54 BSC 0 100 BSC
0 1.65 2. 16 0.065 0.085
0 20 0 . 38 0 008 0.015
2.92 3 . 43 0 115 0,135
(c 15.24 BSC 0.600 BSC
Oc 15 4 Oc 155
0.51 1 . 02 0.020 0.040
CASE 110
— )H' - I G I-- M
K
F D s ( L ( Ls
NOTES
I. LEADS, TRUE POSITIONED WITHIN
MI L L IME TERS INCHES
0.25 mm (0.010) DIAMETER (AT
SEATING PLANE) AT MAXIMUM DIM MIN MAX MIN MAX
MATERIAL CONDITION. 35. 20 35.92 l. 386 1.414
2. DIMENSION "L" TO CENTER OF 14.73 15.34 0.580 0.604
LEADS WHEN FORMED PARALLEL. 3.05 4. 19 0.120 0.165
0.38 0.015 0.021
0. 76 1.40 0.030 0,055
BSC 0 100BSC
0. 76 1. 78 0.030 0.070
0. 20 0.30 0.008 0 012
I= I
4.19 0 100 0.165
14 99 15.49 0 590 0.610
105 105
0 51 1 . 5 2 0 020 0 060
NOTES
1. OIM ~A. I S DATUM,
2. POSITIONAL TOL FOR LEADS MILLIMETERS INCHES
ts 15 )I 025(0.010 M T A M DIM MIN MAX MIN MAX
3 ~T. I S SEATING PLANE. A 3 6 . 45 37 85 1.435 1.490
4. DIM AAND 8 INCLUDES MENISCUS. 8 1 270 15.37 0. 500 0.605
5. DIM L TO CENTER OF LEADS
WHEN FORMED PARALLEL. C 4 . 06 584 0.160 0.230
6 DIMENSIONING ANO TOLERANCING D 0 . 3 8 0 56 0 015 0,022
PE 8 ANSI Y14 5, 1973 F 127 1 65 0.050 0 065
G 2 54 B SC 0 100 BSC
L J 0 20 0 30 0 008 0.012
rC K 2 54 4 06 0.100 0 160
L 152 4 BSC 0600 BSC
M 5c 155 55 155
N 0 51 1 21 0 020 0 050
CASE 133
8253/8253-5
PROGRAM M A BLE INTERVAL TIMER
• MCS-85™ Compatible 8253-5 • Count Binary or BCD
The Intele 8253 is a programmable counter/timer chip designed for use as an Intel microcomputer 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.
DT I 24 Vcc
CLK 0
D4 22 WR
DATA COUNTER
Ds 22 DI Dc BUS =0 GATE 0
BUFFER
D4 OUT 0
OT AI
OT 8 S 253 18 Ao
DI 7 18 CLK 2
DP OUT 2
CLK 0 GATE 2 CLK I
OUT 0 CLK I READ/
COUNTER
WRITE =I GATE I
GATE 0 GATE I LOGIC
Ac
GND OUT I OUT I
PIN NAMES
CLK 2
D7 D DATA BUS (8 BIT I CONTROL
WORD COUNTER
CLK N COUN T ER CLOCK INPUTS =2 GATE 2
REGISTER
GATE N CO U N T E R GATE INPUTS
OUT 2
OUT N COUN T ER OUTPUTS
RD READ COI NTER
WRITE COMMAND OR DATA
CS CHIP SELECT
COUNTER SELECT
V 5 VOLTS
GND INTERNAL BUS
Page 0.95
8253/8253-5
• Digital One-Shot
• Complex Motor Controller
Cs
Data Bus Buffer
This 3-state, bi-directional, 8-bit buffer is used to interface . CLK 2
CONTROL
the 8253 to the system data bus. Data is transmitted or WORD COUNT I H
GATE 2
=2
RE GIST I 0
received by the buffer upon execution of INput or OUTput
OUT 2
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.
INTERNAL BUS
Read/Write Logic
The Read/Write Logic accepts inputs from the system bus Figure 1. Block Diagram Showing Data Bus Buffer and
and in turn generates control signals for overall device Read/Write Logic Functions
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.
RD (Read) CS RD WR At Ap
A "low" o n t h i s i n put i n f orms the 8253 that the CPU is
Load Counter No. 0
inputting data in the form of a counters value.
Load Counter No, t
WR (Write) Load Counter No. 2
A "low" on this input informs the 8253 that the CPU is
Write Mode Word
outputting data in the form of mode information or loading
counters. Read Counter No. 0
Read Counter No. I
Read Counter No. 2
No-OpsrBtion 3-State
Disable 3-State
No-OperBtion 3-State
page D.96
8253/8253-5
8253/8253-5
M — MODE:
OPERATIONAL DESCRIPTION M2 M 1 MO
Mode 0
General
The complete functional definition o f the 8 253 i s Mode 1
programmed by the systems software. A set of control Mode 2
words must be sent out by t he CPU to initialize each
counter of the 8253 with the desired MODE and quantity Mode 3
information. Prior to initialization, the MODE, count, and Mode 4
output of all counters is undefined. These control words
Mode 5
program the MODE, Loading sequence and selection of
binary or BCD counting.
Once programmed, the 8253 is ready to perform whatever BCD:
timing tasks it is assigned to accomplish.
T he actual c ounting o peration o f e a c h c o unter i s 0 Binary Counter 16-bits
completely independent and additional logic is provided
on-chip so t hat th e u s ual p roblems associated with Binary Coded Decimal (BCD) Counter
(4 Decades)
efficient m o nitoring an d m a n agement o f e x t e rnal,
asynchronous events or r ates to t h e m i crocomputer
system have been eliminated.
Programming the 8253 Counter Loading
All of the MODES for each counter are programmed by the The count register is not loaded until the count value is
systems software by simple I/O operations. written (one or two bytes, depending on the mode
selected by the RL bits), followed by a rising edge and a
Each counter of the 8253 is individually programmed by
falling edge of the clock. Any read of the counter prior to
writing a control word into the Control Word Register.
that falling clock edge may yield invalid data.
(AO, A1 = 11)
Control Word Format MODE Definition
D7 De Ds D4 Ds Dz Dt Dp MODE 0: Interrupt on Terminal Count. The output will
be initially low after the mode set operation. After the
SC1 S C O R L1 RLO M2 M1 MO BC D 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-
Definition of Control main high until the selected count register is reloaded
with the mode or a new count is loaded. The counter
SC — Select Counter.
continues to decrement after terminal count has been
SC1 SCO reached.
Select Counter 0 Rewriting a counter register during counting results in
Select Counter 1 the following:
Select Counter 2 (1) Write 1st byte stops the current counting.
(2) Write 2nd byte starts the new count.
I llega I
MODE 1: Programmable One-Shot. The output will go
RL — Read/Load: low on the count following the rising edge of the gate in-
RL1 RLO put
Counter Latching operation (see The output will go high on the terminal count. If a new
count value is loaded while the output is low it will not
READ/WRITE Procedure Section)
affect the duration of the one-shot pulse until the suc-
Read/Load most significant byte only, ceeding trigger. The current count can be read at any
time without affecting the one-shot pulse.
Read/Load least significant byte only.
The one-shot is retriggerable, hence the output will re-
Read/Load least significant byte first,
main low for the full count after any rising edge of the
then most significant byte.
gate input.
page 0.98
8253/8253-5
MODE 2: Rate Generator. Divide by N counter. The out- If the count register is reloaded between output pulses,
put will be low for one period of the input clock. The counting will continue from the new value. The count
period from one output pulse to the next equals the will be inhibited while the gate input is low. Reloading
number of input counts in the count register. If the the counter register will restart counting beginning with
count register is reloaded between output pulses the the new number.
present period will not be affected, but the subsequent
period will reflect the new value.
The gate input, when low, will force the output high. MODE 5: Hardware Triggered Strobe. The counter will
When the gate input goes high, the counter will start start counting after the rising edge of the trigger input
from the initial count. Thus, the gate input can be used and will go low for one clock period when the terminal
to synchronize the counter. count is reached. The counter is retriggerable. The out-
put will not go low until the full count after the rising
When this mode is set, the output will remain high until
after the count register is loaded. The output then can edge of any trigger.
also be synchronized by software.
MODE 3: Square Wave Rate Generator.Similar to MODE
2 except that the output will remain high until one half Signal Low
the count has been completed (for even numbers) and StaIUS Or Going
go low for the other half of the count. This is accom- Modes Low Rising High
plished by decrementing the counter by two on the fall- Disables Enabies
ing edge of each clock pulse. When the counter reaches counting c 0 U n I i il g
terminal count, the state of the output is changed and 1 1 inil i a l e S
the counter is reloaded with the full count and the whole counting
process is repeated. 2) Resets output
afternext clock
If the count is odd and the output is high, the first clock I) Disables
pulse (after the count is loaded) decrements the count c 0 U fl I i n g
1) Reloads Enables
by 1. Subsequent clock pulses decrement the clock by 2) Sets output
counter counling
2) initiates
2. After timeout, the output goes low and the full count immedialely
counting
Il gil
is reloaded. The first clock pulse (following the reload)
decrements the counter by 3. Subsequent clock pulses I) Disables
c 0 U il I i n g Initiates Enables
decrement the count by 2 until timeout. Then the whole 2) Sets oulput counting counting
process is repeated. In this way, if the count is odd, the immediately
output will be high for (N+ 1)/2 counts and low for high
(N — 1)/2 counts. Disables Enables
counting counting
MODE 4: Software Triggered Strobe. After the mode is Initiates
set, the output will be high. When the count is loaded, counting
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
page 0.99
8253/8253-5
CLOCK CLOCK
4 2 4 2 4 2 4 2 4 2 4 2 4
OUTPUT (n • )
5 4 2 5 2 5 4 2 5 2 5 4 2
4 3 2 I 0
OUTPUT (INTERRUPT) OUTPUT (n 5)
(n • >
GATE
5 4 3 2 I 0
OUTPUT llNTERRUPT)
(m 5)
A 5
An B m
CLOCK CLOCK
WR n•4
4 3 2 I 0
TRIGGER
OUTPUT
4 3 2 I 0
OUTPUT
(n • 4)
LOAD n n 4
TRIGGER
4 3 2 4 3 2 1 0 GATE
OUTPUT 4 4 3 2 1 0
OUTPUT
CLOCK CLOCK
4
WR n GATE
• 3 7 I 0 (4 3 7 I OI ) 7 I 0
OUTPUT 3 2 I 0
OUTPUT (n 4>
0(3I 3 7 I 0( 3) 2 I 0(3) 2 I
OUTPUT (n - 3)
RESET
GATE
• 3 4 3 2 I 0
OUTPUT In • l
8253/8253.5
8253/8253-5
8085 8253-5
'll an 8085 clock output Is to drive an 8253.5 clock inpul, il must be reduced to 2 MHz or less.
8253/8253-5
ABSOLUTE MAXIMUM RATINGS' COMMENT S t resses above rhose listed under "Absolute
Maximum Ra tings" may cause pernianent damage ro the
device. This is a stress rating only ann' funcrional opera-
Ambient Temperature Under Bias O'Cto 70 C
— 65'C to+150" C tion of the ilevice ar these or any other condi rions above
Storage Temperature
Voltage On Any Pin those indicarcil in rhe operational secrions of rhis specifi.
With Respect to Ground — 0.5Vto i 7V cation i s n o t u n p l i ed. E x p osure t o a b solute m a xi m um
Power Dissipation 1 Watt rating conditions for exrended penorls inay affecr device
reliahili ty
8253/8253-5
Write Cycle:
8253 8253-5
SYMBOL PARAMETER MIN. MAX. Ml N. MAX, UNIT
taw Address Stable Before WR ITE 30
twa Address Hold Time for WR ITE 30 30 ns
WR ITE Pulse Width 400 300 ns
tDW Data Set Up Time for WRITE 300 ns
tWD Data Hold Time for WRITE 40 30 ns
tRV Recovery Time Between %ZITI fss
and Any Other Control Signal
Ae s,CB
i- IAw AR RA
IRR
DATA BUS RD
'RW 'WO
2.4
2.2 2.2
TEST POINTS
0.8 0.8
0.45
page 0.104
8253/8253-5
8253 8253-5
SYMBOL PARAMETER M I N. MAX. MIN. MAX. UNIT
tCLK Clock Period dc dc ns
tPWH High Pulse Width 230 230 ns
Low Pulse Width 150 ns
tGW Gate Width High 1 50 150 ns
tGL Gate Width Low 100 ns
tGS Gate Set Up Time to CLKf 100 100 ns
tGH Gate Hold Time After CLKf 50 ns
too Output Delay From CLKSitf 400 ns
tOOG Output Delay From Gate(It I 300 ns
Note 1: C L = 1SOPF.
CLK
'as toH
GATE G
aH at too — H
OUTPUT 0
tppa
Page D. 1 05
Features/Benefits PART
DESCRIPTION
NUMBER
PALIOHS OCTAL 10 INPUT AND-OR GATE AR AY
• Programmable replacement for conventional TTL
PAL12H6 HEX 12 I N PUT AND-OR GATE ARRAY
logic.
PAL14H4 QUAD 14 INPUT AND-OR GATE ARRAY
• Reduces IC inventories substantially and simplifies PAL16H2 DUAL 1 6 INPUT AND-OR GATE ARRAY
their control. PAL16CI 16 INPUT AND.ORr AND OR. INVERT GATE ARRAY
PAL IOLS OCTAL 10 INPUT AND-OR-INVERT GA'rE ARRAY
• Reduces chip count by 4 to 1. HEX 1 2 INPUT AND-OR-INVERT GATE ARRAY
PAL12L6
• Expedites and simplifies prototyping and board PAL14L4 QUAD 14 INPUT AND OR-INVERT GATE ARRAY
PAL16L2 DUAL 16 INPUT AND OR-INVERT GATE ARRAY
layout.
PAL 16LS OCTAL 16 INPUT AND-OR. INVERT GATE ARRAY
• Saves spacewith 20-pin SKINNY DIM packages. P4L IVRS OCTAL 16 INPUT REGISTERED AND-OR GATE ARRAY
PAL16R6 HEX 1 6 INPUT REGISTERED AND-OR GATE ARRAY
• High speed: 25ns typical propagation delay. PAL16R4 QUAD 16 INPUT REGISTERED AND-OR GATE ARRAY
• Programmed on standard PROM programmers. PAL16X4 QUAD 16 INPUT REGISTERED AND-OR-XOR GATE ARRAY
PAL16A4 QUAD 16 INPUT REGISTERED AND-CARRY-OR-XOR GATE ARRAY
• Programmable three-state outputs.
• Special feature reduces possibility of copying by
competitors.
Unused inputs are tied directly to VCC or GND. Product terms
with all fuses blown assume the logical high state, and product
Description terms connected to both true and complement of any single
input assume the logical low state. Registers consist of D type
flip-flops which are loaded on the low to high transition of the
The PAL family utilizes an advanced Schottky TTL process and clock. PAL Logic Diagrams are shown with all fuses blown,
the Bipolar PROM fusible link technology to provide user pro- enabling the designer use of the diagrams as coding sheets.
grammable logic for replacing conventional SSI/MSI gates and
flip-flops at reduced chip count.
The entire PAL family is programmed on inexpensive con-
ventional PROM programmers with appropnate personakty and
The family lets the systems engineer "design his own chip" by socket adapter cards. Once the PAL is programmed and ver-
blowing fusible links to configure AND and OR gates to perform ified, two additional fuses may be blown to defeat venfication.
his desired logic function. Complex interconnections which This feature gives the user a proprietary circuit which is very
prewously required time-consuming layout are thus "lifted" from difficult to copy.
PC board etch and placed on silicon where they can be easily
modified during prototype check-out or production.
Ordering Information
— PROGRAMMABLE ARRAY LOGIC FAMILY
The PAL transfer function is the familiar sum of products. Like — NUMBER OF ARRAY INPUTS
the PROM, the PAL has a single array of fusible links. Unlike the OUTPUT TYPE
H - ACTIVE HIGH
PROM, the PAL is a programmable AND array dnving a fixed L A C T IVE LOW
OR array (the PROM i s a f i xe d AN D a r ray driving a C C O M PLEMENTARY
R R E GISTERED
programmable OR array). In addition the PAL provides these X E X C LUSIVE-OR REGISTERED
A A R ITHMETIC REGISTERED
options. NUMBER OF OUTPUTS
TEMPERATURE RANGE
C 0C T O +T S C
• Vanable input/output pin ratio M -55C TO+125C
PACKAGE
N P L A S TIC DIP
• Programmable three-state outputs J C E R AMIC DIP
OPTIONAL Hl-REL PROCESSING
• Registers with feedback 8838 MIL-STD-883, METHOD 5004 8 5005 LEVEL 8
883C MI L-STD-883, METHOD 5004 8 5005 LEVEL C
8 M I L -STD-883, METHOD 5004 EQUIVALENT
• Anthmetic capability t
VAL' . e «.. 'Fle ee r eeermr e et kl , n t f e M
PAL14 L4 CJ 8838
Mononthlc
1165 East Arques Avenue, Sunnyvale, CA 94086 Tel: (408) 739-3535 TWX: 910-339-9229 M emOriea
Page 0.106
P AL Series 2 0
9 JA = 75'C/W
//JC = 35'C/W
20
2.65-.300
6.73-7.62
10
. 000
.000 .~
MAX .955-.990 MIN.
.290-.320
7.37-8.13
.015-.035
.38-.89 190
4.83
MAX
.150
MAX.
.125-.165 ' .006-.012
4 19
',
0 15
.20-.31
.090-.110 . 01 6-. 020 .055-.065
2. 29-2. 79 41 —.51 1.40-1 65
0 . 240-. 290
6. 10-7.37
01 10
.080
2.03
MAX.
1,000-1.075
25.40-27.30
015- 060
38-1.52
U UJ J J
. 008-. 0 I 2
090-. I ten
t 016-.020 055-.065
2. 29-2. 79 .41-.51 1.40-1 65
P AL Series 2 0
18 18
18 3 18
17 17 17
17 4
13 8 13
12 12 12 12
10 10 10 10 10
19 19 19 19 19
18 18 18 18 18
17 17 17 17 17
AND
AND 16 AND 16 AND ANO 16 16
OR
GATE GATE GATE GATE
GATE
ARRAY 15 ARRAY 15 ARRAY 15 ARRAY 15
ARRAY
14 14 14 14 14
13 13 13 13 13
12 12 12 12 12
10 10 10 10
19 19 19 19 19
18 18 18 18 16
17 17 17 17 AND 17
AND CARRY
AND AND AND 16
16 16 16 OR 16
OR
OR OR OR
XOR XOR
GATE 15
GATE 15
GATE 15 OD 15 15
GATE GATE
ARRAY ARRAY ARRAY
ARRAY ARRAY 14
14 14 14 14
13 13 13 13 13
12 12 12 12 12
10 10 10 10 10
Page 0.108
PAL Series 20
Operating Conditions
MILITARY COMMERCIAL
SYMBOL PARAMETER UNIT
M IN NOM MAX M IN NOM M A X
V CC — MI N MIL lpH = -2 m A
16R4, 16R6,
COM 120 180
16RB, 16LB
ICC Supply current VCC MAX mA
16LB MIL 140 210
170 240
PAL Series 20
Switching Characteristics
Over Operating Conditions
MILITARY COMMERCIAL
SYMBOL PARAMETER TEST CONDITIONS UN I T,
MIN TYP M A X M IN TYP MA X
I
10HB 12H6 14H4
Input to 16H2 IOLB 12L6 25 45 25 35 ri s
IPO 14L4 16L2 R2 I Iki i
output
16C1 25 45 25 40
T
'PO Input Or feedbaCk tn Output 25 45 25 35 ns
tCLK Clock to output nr feedback 15 25 15 25 ns
'pzx Pin 11 to output I nable 15 25 15 25 ns
'pxz Pin 11 to output disable 15 25 15 25 ns
16RB 16R6 16114 16LB 35 ns
'pzx Input to output enat>le 25 45
16X4 16 A4
'pxz Input to output disttble 25 45 25 35 ns
I
T Lovv 25 25
l'> irttn Ol
R, 200 I i 1-
clocl Hig ri 25
R2 390i> l 25
Setup time 16RB 16R6 16R4 45 35
from input ns
SU 16X4 16 A4 55 4.>
or feedback
IH Hold time 0 — 15 0 ns
Maximum 16RB 16R6 16R4 14 16
IMAx MHz
liequency 16X4 16 A4 12
Test Load
5V
A vailable Program m e r s
PERSONALITY SOCKET ADAPTER
MANUFACTURER
OUTPUT TEST POINT CARD SET CONFIGURATION
Cybernetic CYMPC 1
5I>PF
Proqramming
Systems Inc
909-1427 715 1428-1
715 1428-2
715 1428-3
Schematic of Inputs and Outputs
Pro-Log Corporation P M9068
EQUIVALENT INPUT TYPICAL OUTPUT AM10HB A M 1 0 LB
Stag Systems PM202
AM12H6 A t 1 l2LO
El N OM '5 NOVI
A M14H" A M '4L4
A M16H2 A M 16L2
AM16C1
S tiilc t u ie d p e • q n SD20>24
1
T ,OU T I U T
Page 0.110
PAL Series 20
Programming Step 5 Program the fuse by pulsing the output pins, 0. of the
selected productgrouptoVIMM as shown in Program-
ming Waveform.
PAL fuses are programmed using a low-voltage linear-select
procedure which is common to all 15 PAL types The array is Step 6 Lower VCC (pin 20) to 6.0 V
divided into two groups, products 0 thru 31 and products 32 thru
63, for which pin identifications are shown in Pin Configurations Step 7 Pulse the CLOCK pin and verify the output pin. 0, to be
below To program a particular fuse, both an input line and a Low for active Low PAL types or High for active High
product line are selected according to the following procedure PAL types.
HH HH HH HH HH HH HH L 0 32 Z Z HH Z
01 Z Z
HH HH MH HH HH HH HH 1 33 Z Z ZZ MH HH
H
L Z
HH HH HH HH HH HH HH HH Z Z HH I-IH Z
23
HH HH HH HH HH HH HH H HH 3. 35 Z Z HH HH HH
HH HH HH HH HH HH L HH 4, 36 Z Z Z HH HH Z Z
Z
HH HH HH HH HH HH HH 5. 37 Z Z HH HH Z HH
67
5
4 H
L
HH HH HH HH HH HH HH HH 6, 38 Z Z HH HH HH Z
HH HH HH HH HH HH H 7. 39 Z HH
HH HH Z Z HH HH HH
8 HH HH HH HH HH L HH HH 8, 40 Z Z HH Z Z
Z Z
9 HH HH HH HH HH HH HH 9 4 1
Z Z HH Z Z HH
L
H
10 HH HH HH HH HH HH HH HH 10. 42 Z Z HH HH Z
11 HH HH HH HH MH H HH HH HH 11, 43 Z Z HH Z HH HH
12 HH HH HH HH L HH HM 12, 44 Z
HH Z Z HH HH Z
Z Z
13 HH HH HH HH HH HH HH 13. 45 Z Z HH HH HH
L
H
14 HH HH HH HH HH HH HH HH 14. 46 Z Z HH HH HH Z
15 HH HH HH HH H HH HH HH HH 15, 47 Z HH HH HH HH
16 HH HH HH L HH HH HH HH Z 16. 48 HH Z Z Z
17 17, 49 Z HH
HH HH HH HH HH HHHH Z HH Z Z
H
L
18 HH HH HH HH HH HHHH HH 18. 50 HH HH Z
19 HH HH HH H HH HH HHHH HH 19, 51 Z HH Z HH HH
20 HH HH L HH HH HH HHHH Z 20, 52 Z , HH Z ZZ HH Z
Z
21 HH HH HH HH HH HH HH Z 21, 53 Z HH HH HH
L
H
22 HH HH HH HH HH HH HH HH 22. 54 HH HH HH Z
I-I Z
23 HH HH HH HH HH HH HH HH 23, 55 HH HH HH HH
24 HH L HH HH HH HH HH HH 24, 56 HH ZZ Z Z
Z Z Z
25 HH HH HH HH HH HH HH 25. 57 HH Z HH
HL ZZ
26 HH HH HH HH HH HH HH HH 26. 58 HH HH Z
27 HH H HH Z
HH HH HH HH HH HH 27. 59 HH HH HH
28 L H H HH HH HH HH HH HH 28. 60 HH Z HH Z Z
Z
29 H H H HH HH HH HH HH HH 29. 61 HH HH Z HH
30 L H H HH HH HH HH 30. 62 Z
HH HH HH HH HH HH Z
31 H H H HH MH HH HH HH 31. 63 Z ZZ
HH HH HH MH MM MH
Table 1 Input Line Select Table 2 Product Line Select
page 0.111
PAL Series 20
0) Ap
02 A)
A2
Ap Op
Al 0
A2
P rogramm ing Pa ra m e t er s TA 25 c
LIMITS
SYMBOL PARAMETER UNIT
M IN T YP MAX
V I HH Program-level input voltage 11 11 5 12
Outpu'. Program Pulse 50
I lff H Program-level input current OD. LI'R 25 n1A
Vp Verify-Protect-input voltage 20 21 22
lp Verify-Protect-input cr/rrent 400 mA
Venfy-Protect Pulse Width 20 50 nl sec
P rogramming W a v e f o rm s
V I HH
oo
VIL
IO
V IHH +
I. L/R A
VIHH
vcc
6.0V
5 OV
io iov
4. SV
V I HH VERIFY
VOH
VOL
VERIFY
CLOCK
IO IO Io Ip
Page D.112
PAL Series 20
9
8
10
12
lj
14
15
16
17
18
79 17
20
21
22
7)
Z4
25
26
27
78
29 0
3I
32
33
34
35 15
36
37
78
39
40
41
42
4)
44
45
46
47
48
49
50
51 13
52
51
54
55
56
57
58
59
40
61
62
63
0 I 2 I 4 I I I 8 9 10 11 12 1 3 1 4 1 5 1 6 1 7 IS 19 2 0 2 1 27 71 2 4 2 5 Z6 27 2 8 2 9 30 31
page D.113
PAL Series 20
32
31
40
41
48
49
60
PAL Series 20
19
38
17
24
29
I 26
ID 21 36
28
CO 29
30
31
K
QJ 6
I-
I- 32
33
0 34
36 35
36
31
0IZ 38
tL
14
13
12
0 I Z 3 4 66 I 8 9 10 11 12 13 1 4 1 9 16 1 7 1 8 1' I 2 02 1 7 2 2 1 7 2 92 6 2 7 28 2 9 1 0 3 1
page D.115
PAL Series 20
IS
17
24
2)
76
21
40
41 14
42
-' I
0 I 7 3 4 ) b I 8 9 10 1 1 17 1 3 202177Z) 7 4 7 ) 7 6 7 1 76 7 9 1031
Page D.116
4rn27S20 • Am27S21
1024-Bit Generic Series Bipolar PROM
Am27S20 • Am27S21
MAXIMUM RATINGS (Above which the useful life may be impaired)
Storage Temperature — 65'C to +150 C
Temperature (Ambient) Under Bias — 55'C to +125'C
Supply Voltage to Ground Potential (Pin 16 to Pin 6) Continuous -O.SV to +7.0V
DC Voltage Applied to Outputs (Except During Programming) — 0.5V to +Vcc max.
DC Voltage Applied to Outputs During Programming 21V
Output Current into Outputs During Programming (Max. Duration of 1 sec.) 200mA
DC Input Voltage — O.SV to +5.5V
DC Input Current — 30mA to +5mA
OPERATING RANGE
COM'L Am27S 2 0XC, Am27S21XC TA = O'C to +75'C Vcc = 5.0V 45%
MIL Am27S20XM, Am27S21XM TA = — 55'C to +125'C VCC = 5.0V ~10%
'sc O utput S h or t C i r c u i t Current VCC — MAX., VOUT — O.OV (Note 2( -20 -40 — 90 mA
(Am27S21 only) ,
Note 1. T y P i c a l l i m i t s ar e a t V C C . 5 . 0 V a n d T A = 2 5 C
2 . Not m o r e t h a n o n e o u t p u t s h o u l d b e s h o r t e d a t a t i m e . D u r a t i on of t h e s h o r t c i r c u i t s h o u l d n o t b e m o r e t h a n o n e s e c o n d .
3. These parameters are not 1 0 0 % t e sted, bu t are p eriodica lly sampled,
page 0.118
S WITCHING WAVEFOR M S
3.OV
Ap-Ap I.SV
ov
CS1-CS2 1.SV
ov
I Q
IEA
VOH
— Vo i i — O.SV
OP-03 I.SV
voL+ osv
VOL
CENTER
WILL BE DOES NOT LINE IS HIGH
MAY CHANGE
CHANGING APPLY IMPEDANCE
FROM H TO L
FROM H To L "OFF" STATE
AC TEST LOAD
SI
R1
30011
ouTpuT
R2
soon
BPM-031
Page 0.119
Am27S20 • Am27S21
PROGRAMMING
The Am27S20 and Am27S21 aremanufactured witha conduc- the current drops to approximately 40mA. Current into the
tive Platinum-Silicide link at each bit location. The output of CS, pin when it is raised to 15 volts is typically 1.5mA,
the memory with the link in place is LOW. To program the de-
vice, the fusible links are selectively opened. The memories may become hot during programming dus to
the large currents being passed. Programming cycles should
The fusible links are opened one at a time by passing current not be applied to one device more than 5 seconds to avoid
through them from a 20 volt supply which is applied to one heat damage. If this programming time is exceeded, all power
memory output after the CS, input is at a logic HIGH. Current
to the chip including Vcc should be removed for a period of 5
is gated through the addressed fuse by raising the CS, input
from a logic HIGH to 15 volts. After 50 /ssec, the 20 volt sup-
seconds after which programming may be resumed.
ply is removed, the chip enabled, and the output level sensed When all programming has been completed, the data content
to determine if the link has opened. Most links will open within
of the memory should be verified by sequentially reading all
50 psec. Occasionally a link will be stronger and require addi- words. Occasionally this verification will show that an extra
tional programming cycles. The recommended duration of ad- undesired link has been fused. Should this occur, immediately
ditional programming periods is 5 msec. If a link has not check the programming equipment to make sure that all de-
opened after a total elapsed programming time of 400 msec, vice pins are firmly contacting the programming socket, that
further programming of the device should not be attempted. the input signal levels exhibit sufficient noise margins, and
Successive links are programmed in the same manner until all that the programming voltages are within the specified limits.
desired bit locations have been programmed to the HIGH All of these conditions must be maintained during program-
level. ming. AMD PROMs are thoroughly tested to minimize un-
Typical current into an output during programming will be ap- wanted fusing; fusing extra bits is generally related to pro-
proximately 140mA until the fuse link is opened, after which gramming equipment problems.
"ov CS,
02
PROORAMISED
OUTPUT 4
41 (Yoni "OH
OUTPUT
S 2ER IF Y
YOL
PROORAIIMINO CYCLE Ycs Jl
BPM-032 BPM.033
Page 0.120
Am27S20 • Am27S21
ASCII BPNF
An example of an ASCII tape in the BPNF format is shown 3. A trailer of at least 25 rubouts.
below. Theycan be punched on any Teletypes or on a TWX A P is a HIGH logic level — 2.4 volts.
or Telex machine. The format chosen provides relatively good An N is a LOW logic level = 0.4 volts.
error detection. Paper tapes must consist of:
1. A leader of at least 25 rubouts.
A convenient pattern to use for the data words is to prefix the
2. The data patterns for all 256 words, starting with word 0, in
word (or every few words with the word number, then type the
the following format
data word, then a comment, then carriage return and line feed
a. Any characters, including carnage return and line feed,
as shown below. There must be no characters between the B
except "B".
and the F except for the four Ps and Ns. If an error is made in
b. The letter "B", indicating the beginning of the data
a word, the entire word must be cancelled with rubouts back
word.
c. A sequence of four Ps or Ns, starting with output 03. to the letter B, then the word re-typed beginning with the B.
d. The letter "F", indicating the finish of the data word.
e. Any text, including carriage return and line feed, except When TWXing your tape, be sure the tape is in even parity.
the letter "B". Parity is not necessary if the tape is mailed.
TYPICAL PAPER TAPE FORMAT RESULTING DEVICE TRUTH TABLE (CST 8I CS2 = LOW)
A7 As A5 A4 AJ A2 Ai Ap 03 0 2 OI Op
BIVJNPF 'O'ORDZERO® Q L L L L L L L L L L L L H
B PPNILF COxXENT FIEI.D® QL L L L L L L L H H H L L
(Jkf(2 BPPPNF QI.
AIL Y R L L L L I L H L H H H L
BN!(IJIIF TEXT R +L L L L L L L H H L L L L
(J(P 4 Bfnr! I'J PF C m! R L L L L L L H L L L L L H
BPETJNF GO R L L L L L L H L H H H L L
II((J(6 BPPNNF I(ERE R QL I L H H L H H L L
0 0 • 0 0 0 0 0
O O O O 0 0 0 0 0
0 0 0 0 0 0 0 * 0 0 0 0
OOO O 0 0 0 0 0 0
Am27S20 • Am27S21
AI
Az
MACRO AS Op
INSTRUCTION
OF CODE A< A 27520
OR
A 27521 O z
03
Az
Dp
Al Dz
Az
AS Op D4 A 2910
A< A 27520 OI DE 12 MICROPROORAM
OR Yo — 11 MEMORY
AE A 2 7S 2 1 DS ADDRESS
AS 03 Dz
AT
OS
CSI Dp
010
DI I
MAP
Al
A2
Az Op
A• A 2752 0 OI
OR
A 27521 OZ
AT
CSI
CS2
PHYSICAL DIMENSIONS
Duahln-Line
16-Pin Ceramic 16-Pin Flat Package
0 975
0 99'
0 245 0 335 0 245
0 255 0 310
• I 7
0 050 0 015
00 0 0 OT9 0 310
0 425
0 130 0 145
0 200 0 1115
9 9
0 015
) so 5(A" NG 0 045
4 :A 5 0 055 ~ 0 290 ~ 00<5
O<A
0 009 0 335
03771
4
0 015
0 ilo 0 020
Page D.122
Am27S1 8 • Am27S1 9
256-Bit Generic Series Bipolar PROM
Am27S18 • Am27S19
MAXIMUM RATINGS (Above which the useful life may be impaired)
Storage Temperature — 65'C to +150'C
Temperature (Ambient) Under Bias — 55'C to + 125'C
Supply Voltage to Ground Potential (Pin 16 to Pin 8) Continuous — 0.5V to +7.0V
DC Voltage Applied to Outputs (Except During Programming) — 0.5V to + Vcc max.
DC Voltage Applied to Outputs During Programming 21V
Output Current into Outputs During Programming (Max. Duration of 1 sec.) 200mA
DC Input Voltage -0.5V to +5.5V
DC Input Current — 30mA to. +SmA
OPERATING RANGE
COM'L Am27S18XC, Am27S19XC TA = O'C to +75'C VCC = 5.0V ~5%
MIL Am27S18XM, Am27S19XM TA = -5 5 0 to + 1 25' C V CC = 5.0V I e%%uo
Am27S18 • Am27S19
SWITCHING CHARACTERISTICS OVER OPERATING RANGE
PRELIMINARY DATA
Typ Max
5V
Parameter Description Test Conditions 25'C COM'L MIL Units
1AA Address Access Time 25 40 50 ns
AC Test Load 30 ns
tEA Enable Access Time 15 25
(See Notes 1-3)
tER Enable Recovery Time 15 25 30 ns
S WITCHING WAVEFORM S
3.0V
1.5V
0V
1.5V
Ov
— Vp r 1— 0.5V
I IEA + VOH
OIror I Sv
VOL+ 0 5 V
VOL
CENTER
WILL BE DOES NOT LINE IS HIGH
MAY CHANGE
CHANGING APPLY IMPEDANCE
FROM H TO L
FROM H TO L "OFF" STATE
WILL BE
MAY CHANGE
CHANGING
FROM L TO H
AC TEST LOAD
SI
R1
300! I
OUTPUT
CL R2
I
BPM.022
page D.125
Am27S18 • Am27S19
PROGRAMMING
The Am27SI8 and Am27S19 are manufactured with a conduc- the current drops to approximately 40mA. Current into the CS
tive Platinum-Silicide link at each bit location. The output of pin when it is raised to 15 volts is typically 1.5mA.
the memory with the link in place is LOW. To program the de-
vice, the fusible links are selectively opened. The memories may become hot during programming due to
the large currents being passed. Programming cycles should
The fusible links are opened one at a time by passing current
not be applied to one device more than 5 seconds to avoid
through them from a 20 volt supply which is applied to one
heat damage. If this programming time is exceeded, all power
memory output after the CS input is at a logic HIGH. Current
to the chip including Vcc should be removed for a period of 5
is gated through the addressed fuse by raising the CS input seconds after which programming may be resumed.
from a logic HIGH to 15 volts. After 50 /ASec, the 20 volt sup-
ply is removed, the chip enabled, and the output level sensed When all programming has been completed, the data content
to determine if the link has opened. Most links will open within of the memory should be verified by sequentially reading all
50 /Asec. Occasionally a link will be stronger and require addi- words. Occasionally this verification will show that an extra
tional programming cycles. The recommended duration of ad-
undesired link has been fused. Should this occur, immediately
ditional programming periods is 5 msec. If a link has not check the programming equipment to make sure that all de-
opened after a total elapsed programming time of 400 msec, vice pins are firmly contacting the programming socket, that
further programming of the device should not be attempted. the input signal levels exhibit sufficient noise margins, and
Successive links are programmed in the same manner until all that the programming voltages are within the specified limits.
desired bit locations have been programmed to the HIGH
All of these conditions must be maintained during program-
level. ming. AMD PROMs are thoroughly tested to minimize un-
Typical current into an output during programming will be ap- wanted fusing; fusing extra bits is generally related to pro-
proximately 140mA until the fuse link is opened, after which gramming equipment problems.
Yror YONP
YOIP R 3 00ll
AOO RESS SELECTEO AOORESS STABLE
INPUTS Op
Ap Ar
"CSP
4
Ei iYCSi
CS
ENABLE Am2TSIS
YIHP
OR
YRP Am27919
II IZ lr ty
CS
Yor Or
PROORAIIMEO
OUTPUT 4
BI ivor i "ON
OUTPUT
Y
S YERIF~
"OI
PROORAMMINO CYCLE
YCSP o.
Am27S18 • Am27S19
ASCII BPNF
An example of an ASCII tape in the BPNF format is shown 3. A trailer of at least 25 rubouts.
below. They can be punched on any Teletypes oron a TWX A P is a HIGH logic level = 2.4 volts.
or Telex machine. The format chosen prowdes relatively good
An N is a LOW logic level = 0.4 volts.
error detection. Paper tapes must consist of:
t. A leader of at least 25 rubouts. A convenient pattern to use for the data words is to prefix the
2. The data patterns for all 32 words, starting with word 0, in the word (or every few words with the word number, then type the
following format: data word, then a comment, then carriage return and line feed
a. Any characters, including carnage return and kne feed, as shown below. There must be no characters between the B
except "B". and the F except for the eight Ps and Ns. If an error is made
b. The letter "B", indicating the beginning of the data in a word, the entire word must be cancelled with rubouts
word. back to the letter B, then the word re-typed beginning with the
c. A sequence of eight Ps or Ns, starling with output 07. B.
d. The letter "F", indicating the finish of the data word.
e. Any text, including carriage return and line feed, except When TWXing your tape, be sure the tape is in even parity.
the letter "B". Parity is not necessary if the tape is mailed.
TYPICAL PAPER TAPE FORMAT RESULTING DEVICE TRUTH TABLE (CS = LOW)
BPNPPNNNPF WORD ZERO® QL AA AS At AI AP Or O s Os OA Os 02 OI Op
BPPPPPPNNF C O M MENT FIELD QR QL
f)y)2 B i i NNPPPPNI' A N Y R L L L L L L H L H H L L L H
BNNNNtINNTIF' TEXY R L L L L L H H H H H H H L L
y )II 4 B PNNtINiVN PF C ILV R L L L L H L L L L H H H H L
B iIPPNPPNNF GO R L
L L L H H L L L L L L L L
IIII)6 B P NNPPPNNF MERE R QL L L H L L H L L L L L L H
O O O O O OO O 0 0
O O O O 0 op 0 0
o pp o o op o p 0 op
o o oo p o op o o
Am27S18 • Am27S19
TRUTH TABLE
PHYSICAL DIMENSIONS
Dual-In-Line
16-Pin Ceramic 16-Pin Flat Package
0 92A
0 994
0 \45 0 339 0 24'
Crli5 b 3'20 0 28'
i 8
• I I to
0 080 0 OI 9
Oajo 0 Qoo
onto t n jjo
li 4 2 8
A IA I N t j
0 048 0 290 0 INU
i I AI t
0 O'V,
0 OI24 AIAI2 0 CI88 i j 020
0 Ooii I i
• 040
0 090
9 I ill
Page 0.128
intei
2764
(8K x 8) UV ERASABLE PROM
• 200 ns (2764-2) Maximum Access a Pin Compatible to 2732A EPROM
T ime. . . H M OS*-E Technology
• Industry Standard Pinout.. . JEDEC
• Compatible to High Speed 8mHz Approved
8086-2 MPU.. . Zero WAIT State • Low Active Current...100mA Max.
• Two Line Control • ~ 1 0 / 0 Vcc Tolerance Available
The Intels 2764 is a 5V only, 65,536-bit ultraviolet erasable and electrically programmable read-only memory (EPROM). The
standard 2764 access time is 250ns with speed selection available at 200ns. The access time is compatible to high
performance microprocessors, such as intel's 8mHz 8086-2. In these systems, the 2764 allows the microprocessor to operate
without the addition of WAIT states.
An important 2764 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 CE controls on Intel's EPROMs. AP-72 is available from Intel's
Literature Department.
The 2764 has a standby mode which reduces the power dissipation without increasing access time. The active current is
100mA, while the standby current is only 40mA. The standby mode is achieved by applying a TTL-high signal to the CE
input.
10% VCC tolerance is available as an alternative to the standard • 5% VCC tolerance for the 2764. This can allow the system
designer more leeway in terms of his power supply requirements and other system parameters.
The 2764 is fabricated with HMOS'-E technology, Intel's high-speed N-channel MOS Silicon Gate Technology,
2764
BLOCK DIAGRA M 2732A PIN CONFIGURATION
DATA OUTPUTS
PIN CONFIGURATION Vi 4 28 VCC
VCC o
0 0-0 2 A 12 22 PGM
GNDo Ai 24 "cc AT N C I')
VPP 0
23 AB As 25
22 As 2• Ag
OE OUTPU T ENABLE
CHIP ENABLE PH
A4 23 A
PGM AND OUTPUT SUFFERS 20 OE Vp„
WE PROG LOGIC Ag 22 OE
At 19 nip A2 A10
Y Ai 18 CE
Y GATING Ai 20 CE
DECODER
Ao A i Ap
ADDRESS Ap 19 OT
INPUTS Op 15 Oe
x Op 18 os
DECODER 65 536-6 I I 15 Oe Oi 05
CELL MATRIX
Ot 04 02 13 04
GND 13 01 GND 03
intei 2764
'COMMENT
A BSO L U T E MAX IMUM R A T INGS "
Stresses above those listed under ' Absolute Max imum Ratings may cause
Temperature Under Bias . . . . . . . . . . . — 10 C to +80 C. . .
p ermanent , i a rnage to the device T h i s i s a stress ruling only ann lunc l ii>nal
o peration o f t h e d e n c e a t t h e s e o r a n y o t h e r c o n di tions s h ov e t h o s e
Storage Temperature — 65'C to +125'C
i ndicate<t in th e o p e r a t i o na l s e r t i i >ns of t h i s s p e cifir.atio n i s n o t i m pl i < u
. .
All Input or Output Voltages with Fxposure l o a b s o l u t e m a x i rrrurr> raring c o n d i t i on s fo r < xtenned p< rrodv
+6V to — 0.6V may affect d e n c e i e l i a h i l ity
Respect to Ground
V„ S u p ply Voltage with Respect to Ground
During Programming .. . . . +22V to — 0.6V
. . .
READ OPERATION
A .C. CHA R A C T E R I S T I C S
2764-25 8 2764-30 Sr 2764-45 8
2764-2 Limits 2764 Limits 2764-3 Limits 2764-4 Limits
Test
Symbol Parameter Min Max Min Max Min Max Min Max Unit Conditions
' ACC Address to Output Delay 200 250 300 450 ns CE OE V <C
1 CE CE to Output Delay 200 250 300 450 ns OE Vfr
1 OE OE to Output Delay /5 100 120 150 ns CE Vii
iRtei 2764
2.4 TN014
2.0 2.0
00
TEST POINTS
Q o.e DEVICE
3.3KI I
A.C. WAVEFORMS
ADDRESSES
Anonrsses VALID
CE
ICE
',4I
— IOE l31 I OF
IACC
l3 IOH
HIGH 2 HIGH 2
OUTPUT VALID OUTPUT
NOTES: 1. T ypical values are for T, = 25'C and nominal supply voltages
2. This parameter is only sampled and is not 100'/P tested.
3. OE may be delayed up to t,« — t« a f ter the falling edge of CE without impact on t„«.
4, t« is specified from OE or CE, whichever occurs first
page 0.131
2764
P ROG RAMMING
D.C. PROGRAMM ING CHARA C T ERISTICS: T„ = 25 — 5V ~5%, V„ =
5' C, V« - 2 1 V = 0 .5V (see Note 1)
Limits
Symbol Parameter Min. Typ. Max. Unit Test Conditions
iu Input Current (All Inputs) 10 fEA VIN V lc or V I H
NOTE:
1. Vcc must be applied simultaneously or before Vpp and removed simultaneously or after Vpp
Page 0.1 32
2764
P ROGR A M M ING W A V E F O R M S
PROGRAM
PROGRAM
VERIFY
ADDRESSES ADDRESS N
V,
'2'
ol
I2I
CE
V,
I2l
V„
PGM
V„
l45i i2l
V, lo 15I
MAX
OE
I ALL TIMES SHOWN IN [ l ARE MINIMUM AND IN PSEC UNLESS OTHERWISE SPECIFIED
2. THE INPUT TIMING REFERENCE LEVEL IS IVFOR A V„AND 2V FOR A V,„.
3. L» AND I~ ARE CHARACTERISTICS OF THE DEVICE BUT MUST B E ACCOMMODATED BY THE PROGRAMMER
ERASURE CHARACTERISTICS inch of the lamp tubes during erasure. Some lamps have a
filter on their tubes which should be removed before erasure
The erasure characteristics of the 2764 are such that erasure
begins to occur when exposed to light with wavelengths DEVICE OPERATION
shorter than approximately 4000 Angstroms ()I,). It should be
noted that sunlight and certain types of fluorescent lamps The five modes of operation of the 2764 are listed in Table 1. A
have wavelengths in the 3000 — 4000 A range. Data show that single 5V power supply is required in the read mode. All
constant exposure to room level fluorescent lighting could inputs are TTL levels except for V„
erase the typical 2764 in approximately 3 years, while it would
take approximately 1 week to cause erasure when exposed to
direct sunlight. If the 2764 is to be exposed to these types of TABLE 1. MODE SELECTION
lighting conditions for extended periods of time, opaque PINS CE OE PGM VPP Vcc Outputs
labels are available from Intel which should be placed over MODE (2o) (22) (27) (1) (2II) (11-13, 15-19)
the 2764 window to prevent unintentional erasure. Read Vic Vic Viu Vcc Vcc Dour
The recommended erasure procedure for the 2764 is expo- Standby Viu Vcc Vcc High Z
sure to shortwave ultraviolet light which has a wavelength of
Program Vic Vic VPP Vcc DIN
2537 Angstroms ()I,). The integrated dose (i.e., UV intensity X
exposure time) for erasure should be a minimum of 15 Program Verify Vic Vi VIH VPP Vcc Dour
W-sec/cm'. The erasure time with this dosage is approxi-
Program Inhibit VPP Vcc High Z
mately 15 to 20 minutes using an ultraviolet lamp with 12000
IXW(cm2 power rating. The 2764 should be placed within 1 x can be either V L or V„
Page 0.1 33
irttei 2764
Standby Mode Initially, and after each erasure, all bits of the 2764 are in the
"1" state. Data is introduced by selectively programming "Os"
The 2764 has a standby mode which reduces the active into the desired bit locations. Although only "Os" will be
power current from 100mA to 40mA. The 2764 is placed in programmed, both "1s" and "Os" can be present in the data
the standby mode by applying a TTL high signal to the CE word. The only way to change a "0" to a "I" is by ultraviolet
input. When in standby mode, the outputs are in a high light erasure.
impedance state, independent of the OE input.
The 2764 is in the programming mode when V„ input is at 21V
Output OR-Tieing and CE and PGM are both at TTL low. The data to be pro-
grammed is applied 8 bits in parallel to the data output pins.
Because EPROMs are usually used in larger memory arrays, The levels required for the address and data inputs are TTL.
Intel has provided 2 control iines which accommodate this
multiple memory connection, The two control lines allow for. For programming, CE should be kept TTL low at all times
while V» is kept at 21V. When the address and data are stable,
a) the lowest possible memory power dissipation, and a 50 msec, active low, TTL program pulse is applied to PGM
b) complete assurance that output bus contention will not input. A program pulse must be applied at each address
occur. location to be programmed. You can program any location at
any time — either individually, sequentially, or at random. The
To use these two control lines most efficiently, CE (pin 20) program pulse has a maximum width of 55 msec.
sl ould be decoded and used as the primary device selecting
function, while QE (pin 22) should be made a common con- Programming of multiple 2764s in parallel with the same data
nection to all devices in the array and connected to the READ can be easily accomplished due to the simplicity of the pro-
line from the system control bus. This assures that all de gramming requirements. Like inputs of the paralleled 2764s
selected memory devices are in their low power standby may be connected together when they are programmed with
mode and that the output pins are only active when data is the same data. A low level TTL pulse applied to the PGM input
desired from a particular memory device. programs the paralleled 2764s.
The power switching characteristics of HMOS-E EPROMs Programming of multiple 2764s in parallel with different data
require careful decoupling of the devices. The supply cur- is also easily accomplished. A high level CE or PGM input
rent, ICC, has three segments that are of interest to the sys- inhibits the other 2764s from being programmed. Except for
tem designer — the standby current level, the active current CE (or PGM), all like inputs (including OE) of the parallel
level, and the transient current peaks that are produced on 2764s may be common. A TTL low level pulse applied to a
the falling and rising edges of Chip Enable. The magnitude of 2764 CE and PGM input with V» at 21V will program that
these transient current peaks is dependent on the output 2764.
capacitance loading of the device. The associated transient
voltage peaks can be suppressed by complying with Intel's Program Verify
Two-Line Control, as detailed in Intel's Application Note,
AP-72, and(or by properly selected decoupling capacitors. It A verify should be performed on the programmed bits to
is recommended that a 0.1 pF ceramic capacitor be used on determine that they were correctly programmed. The venfy is
every devicebetween VCC and GND. This should be a high accomplished with CE and OE at Viu However, PGM is at V,„.
page 0.134
8041A/8641A/8741A
UNIYERSAL PERIPHERAL INTERFACE
8-BIT MICROCOMPUTER
• 8-Bit CPU plus ROM, RAM, I/O, Timer • Fully Compatible with MCS-48™,
and Clock ina Single Package MCS.80™, MCS-85™, and MCS.86™
Microprocessor Families
• One 8-Bit Status and Two Data Regis-
ters for Asynchronous Slave-to.Master • Interchangeable ROM and EPROM
Interface Versions
• 3.6 MHz 8741A.8 Available
• DMA, Interrupt, or Polled Operation
Supported • Expandable I/O
• RAM Power-Down Capability
• 1024x 8 ROM/EPROM, 64x 8 RAM,
8-Bit Timer/Counter, 18 Programmable • Over 90 Instructions: 70% Single Byte
I/O Pins • Single 5V Supply
The Intelo 8041A/8741A 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-41A™ has 1K 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 8041A 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 ior 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 compatible 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 it's 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.
XTAL2( PTTIOICK
DA A
RESET PSSIDRO N IN O I V
IE5IOENT
SS P25II EE I EO I Nl I II •
IANDON
CS( PKSIOSP 0 5 ACK
ACCESS
NA5TEI
112 I fo 1 * N 5 NKNOIIT
EA f 5 51KN
I N I I II I AC f
Ro( PIS 00 I I 5 I I U0 TI0 N
Of<ODEA
Ao ( , PIE CS Pf I • I E A A
A N Tflf A< f
Wli 10 501 I AI 31 PI • CDI 110L
Sf • IA IOQIC VO
SYNC I KA ACCUEIULATDI POIT I
SIN<
DO KS
OT( PIT PIOO I POIIT •-
SmT k I I TINE
TIC EKPANOIII
02 ( Pl o OOIC UNIT I NIEIf * C T
K •
Voo IIOWI ON
D• ( PROD PIOQI AN
a
CITSTAI I KT AII Nf NDI T CONDI'I ION I
DS ( (123 LC DI U IININQ SIANCN
Clol'I KTALI LDQI
01( 122 i \ l I POI I II I
TEST I
IEOISTKK
Dt ] P21
ID • 11
YSS I P20 ( V PION PI O O I A N W P P LV • IoolkN
• ONKA V« I WPPI T COUNTEI
VII OIIOUNO
I • IT
I NE N
ll l N T COUNTEI
page D.135
8041A/8641A/8741A
1. Two Data Bus Buffers, one for input and one for out- If"EN FLAGS" has been executed, PESbecomes the
put. This allows a much cleaner Master/Slave pro- IBF (Input Buffer Full) pin. A "1 " w r itten to P2>
tocol. enables the IBF pin (the pin outputs the inverse of the
IBF Status Bit). A "0" written to PES disables the IEP
INTERNAL pin (the pin remains low).',This pin can be used to
DATA BUS
indicate that the UPI-41A is ready for data.
INPUT
DATA
BUS
BUFFER
(8)
OBF
Dp-DT P24 OBF (INTERRUPT REDDEST)
OUTPUT P24
DATA
BUS
P25
BUFFER
(8) P25 )IF (INTERRUPT REDDEST)
IBF
2. 8 Bits of Status
DT Dp
ST4-STT 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. S. PEB and PET are port pins or DMA handshake pins for
use with a DMA controller. These pins default to port
p(ns on Reset.
MOV STS, A Op Code 90H
I 0 0 I 0 0 0 0
If the "EN DMA" instruction has been executed, PEB
DT Dp becomes the DRQ (DMA ReQuest) pin. A "1" written
to PEB causes a DMA request (DRQ is activated). DRQ
is deactivated by DACK RD, DACK WR, or execution
of the "EN DMA" instruction.
3. RD and WR are edge triggered. IBF, OBF, F, and INT
change internally after the trailing edge of RD or WR.
If "EN DMA" has been executed, P2r becomes the
FLAGS AFFECTED DACK (DMA ACKnowledge) pin. This pin acts as a
chip select input for the Data Bus Buffer registers
RD or WW( during DMA transfers.
8041A/8641A/8741A
APPLICATIONS
SP41AI
DATA 8'741A RD RD
rrr
8885A el CS
Ap TO WR TO
SP48 8P41 Al
rc
0 PERiPHERAL PERIPHERAL
RD DEVICES 8741A
CS DEVICES
ADDR Z WR rp PORT CONTROL Ap Tp
O
0
CONTROL
088 BUS DATA BUS 8 088
rr7 FORM
P RINT L J L H OLD SOLENOIDS
P5
8243 O
0
a
Z KEYBOARD
EXPANDER MATRIX Z
I'8 O
i-
I-
0
Z Z
Vi
Pr 8 ROWS MOTOR
ip OIL
SOLENOID
IL
O
i- DRIVERS lu
o DRIVERS
I
u. Z
0IL lu
I u.
zW rc 0I- Iu
o. Z
7 OR 9
PORT 2 PROD
PORT 2
PORT 2 PORT 2 PORT 1IPORT 2
8841A/8741A
8941 AI8741 A
DBB CONTROL 088 COHTRO'
DATA BUS
DATA BUS
Figure 3. 8041 A-8243 Keyboad Scanner Figure 4. 8041A Matrix Printer Interface
Page 0.138
8041A/8641A/8741A
ABSOLUTE MAXIMUM RATINGS' COMMENT: Stresses above those listed under "Absolute Maximum
Ratings" may cause permanent damage to the deince This is a stress
rating only and functional operation Of the device at these or any other
Ambient Temperature Under Bias .. . . . . O ' C to 70 C conditions above those indicated in the operational sections of this
Storage Temperature ... . . . . . . . — 65 C to + 150'C specification is not implied Exposure to absolute maximum rating con.
Voltage on Any Pin With Respect diiions for extended penods may affect deince reliability.
to Ground . 0.5V to + 7V
Power Dissipation . 1,5 Watt
Voff I Output High Voltage (All Other Outputs) 2.4 I off - — 50 riA
-
Input Leakage Current (Tp, Ti, RD, WR, CS, Ap, EA) +10 pA Vss = VIN
ioz Output Leakage Current (Dp-Dr, High Z State) +10 V.. + 0 4 5 = V IN — Vcc
iu Low Input Load Current (P,pptr, PzpPzr) 0.5 mA — 0.8V
ViL -
Low Input Load Current (RESET, SS) 0.2 mA VIL —
- 0.8V
ioo Vpo Supply Current 15 mA Typical = 5 mA
ice+ ioo Total Supply Current 125 mA Typical = 60 mA
A.C. CHARACTERISTICS
T A=O C to 70 C V s s = OV 8041A: Vcc= Voo= + 5 V + 1 0 % 8 7 4 1A: Vcc= Voo= + 5 V + 5 %
DBB READ
Symbol Parameter Min. Max. Unit Test Conditions
IAR CS, Ap Setup to RDI ns
tRA CS, Ap Hold After RDI ns
1RR RD Pulse Width 250 ns
IAO CS, Ap to Data Out Delay 225 ns CL-150 pF
tRO RDI to Data Out Delay 225 ns CL —
- 150 pF
top Rl5I to Data Float Delay 100 ns
tcv Cycle Time (Except 8741A-8) 2.5 15 6.0 MHz XTAL
tcv Cycle Time (8741A-8) 4.17 15 Its 3.6 MHz XTAL
DBB WRITE
Symbol Parameter Min. Max. Unit Test Conditions
tAW CS, Afl Setup to WRI ns
tWA CS, Ap Hold After W~I ns
tww WA Pulse Width 250 ns
tow Data Setup to WRI 150 ns
two Data Hold After WWl1 ns
page 0.139
8041A/8641A/8741A
WAVEFORMS
(SYSTEI(I' S
CS OR Ap ADDRESS BUS)
(aa I pa
(READ CONTROL(
I- - (an — -
DATA BUS
(OU TPU T I (TATA VALID
(SYSTEM S
CS OR Ap ADDRESS BUS(
'n 'v n
BO mA
(p
D
+ SOmA
20 mA
8041A/8641A/8741A
PORT 2 TIMING
SYNC
EXPANDER IDP
PORT
OUTPUT PORT 2P 2 DATA PORT CONTROL OUTPUT DATA
ICP - IPC
PROC
WA V E F O R M S — DMA
DACK
RD
— I IAcC I ICAC
DATA SUS
VALID VALID
IACD
DRO
IICROI — IICR -
Page D.14i
8041A/8641A/8741A
+ 5V
r XTALI
I 6 etHz 470Q
15 pF
IINCLUDES XTAL,
SOCKET STRAY) XTALI
+ sv
L XTAL2
470Q
15 — 25 pF
IINCLUDES SOCKET,
STRAY) I XTAL2
L C OSCILLATOR MO D E
L C NOMINAL I I
4 5 pH 20 p F 5.2 MHz 2 LC '
1 20 H 20 p F 3.2 MHz
XTALI
2
WARNING'
PROGR A M M I N G, VERIFYING, AND
An attemp t t o p r o g ra m a m i s socketed 8 7 4 1 A w i l l r e sult ir i severe
ERASING THE 8741A EPROM d amage to t h e p a r t A n i n d i c a t i o n o f a p r o p e rl y so c k e ted p ar t i s t fi e
a ppearance of th e S YN C cl ock o u t p ut . Th e lack o f t h i s clock m a y
be used to disable the programmer.
Programming Verif ication
In brief, the programming process consists of: a c t ivating The Program/Verify sequence is:
t he program mode, applying an a ddress, latching th e
I, A O = O V, CS 5 V , E A = 5V, B E S E T = OV, TESTO = 5V,
address, applying data, and applying a programming pulse. Vpp = 5V, clock ap p l ied oi i n t r.rhal oscillator operating,
Each word is programmed completely before moving on to BUS and PROG floating.
the next and is followed by a verification step. The follow- 2. Inse r t 8 7 4 1 A fn programming socket
ing is a list of the pins used for programming and a descrip-
3. T E S T 0 — Ov (select program inode)
tion of their functions:
4. EA = 23V (activate program model
5. A ddr e ss applied to BUS and P20.1
6. R ESE T = 5v (latch address)
Pin Function
7. Da t a applied to BUS
XTAL 1 Clock Input (1 to BMHz)
8. V p p = 25v (programming power)
Reset Initialization and Address Latching
9. PR O G = Ov followed by one 50ms pulse to 23V
Test 0 Selection of Program or Verify Mode
10, Vpp = Sv
EA Activation of Program/Verify Modes
1 1. T E S T 0 = 5v (verify mode)
BUS Address and Data Input
12. R e a d and verify data on BUS
Data Output During Verify
1 3. T E S T 0 = Ov
P20-1 Address Input
1 4. R ES E T = Ov and repeat from step 5
Vpp Programming Power Supply
1 5. Pr o g r a m mer should be at co nd i t i ons of step 1 wh en
PROG Program Pulse Input
8741A is removed from socket
Page D.142
8041A/8641A/8741A
8741A Erasure Characteristics should be placed over the 8741A window to p revent
unintentional erasure.
The erasure characteristics of the 8741A are such that
e rasure begins to o c cur w hen exposed to l i ght w i t h
w avelengths s h orter t ha n a p p roximately 4000 A n g- The recommended erasure procedure for the 8741A is
strom- (/). It should be noted that sunlight and certain exposure to s h ortwave ultraviolet light w h ich has a
t ypes of f l uorescent lamps have wavelengths in t h e wavelength of 2537>IL. The integrated dose (i.e., UV inten-
3000-4000A range. Data show that constant exposure to sity x exposure time) for erasure should be a minimum
room level fluorescent lighting could erase the typical of 15 w-sec/cm . The erasure time with this dosage is
8741A in approximately 3 years while it would take ap- approximately 15 t o 2 0 m i n utes using an u l traviolet
proximatelyone week to cause erasure when exposed lamp with a 12,000 IIW/cm p o we r rating. The 8741A
to direct sunlight. If the 8741A is to be exposed to these should be placed within one inch of the lamp tubes dur-
t ypes of l i g h ting c o nditions fo r e x tended periods o f ing erasure. Some lamps have a filter on t heir tubes
t ime, opaque l a bels ar e a v ailable f ro m I n te l w h i c h which should be removed before erasure.
8041A/8641A/8741A
23Y
EA
5Y
PROGRAM VERIFY PROGRAM
t tw -
TESTS
IWW
R~EE T
LAST NEXT
Ptp-Pt ADDRESS (8-9I VALID ADDRESS
ADDRESS
tvoott
Q twt
'25
Voo
tpw
tovt two
23
FROG
'50
RESET
NOTES:
1. PROD MUST FLOAT IF EA IS LOW II. • ., c23V7, OR IF TO SV FOR THE 871IA. FOR THE
SBAIA PROD MUST ALWAYS FLOAT.
XTALI AND XTAL 2 DRIVEN BY 3.8MHT CLOCK WILL GIVE 417 «pec ICY, THIS ISACCEPT.
ABLE FOR 87AIA.S PARTS AS WELL AS STANDARD PARTS,
3. AO MUST BE HELD LOW II. • ., OV) DURING PROGRAM/VERIFY MODES.
H D6 8 4 5 S , H D 6 8 4 4 5 S ,
H D6 8 B 4 S S
CRTC (CRT Controller)
The CRTC is a LSI controller which is designed to provide an
interface for microcomputers to raster scan type CRT displays.
The CRTC belongs to the HMCS6800 LSI Family and has full
compatibility with MPU in both data lines and control lines. its
primary function is to generate timing signal which is necessary
for raster scan type CRT display according to the specification
programmed by MPU. The CRTC ii al so designed as a
programmable controller, so applicable to wide-range CRT
display from small low-functioning character display up to
raster type full graphic display as well as large high-functioning
limited graphic display.
• F EATURES
• Nu mber of Displayed Characters on the Screen, Vertical HD6845SP, HD68A45SP, HD68845SP
Dot Format of One Character, Horizontal and Vertical
Sync Signal, Display Timing Signal are Programmable
• 3.7 MHz High Speed Display Operation
• Line Buffer-le
ss R efreshing
• 14 -bit Refresh Memory Address Output (16k Words
max. Access)
• Programmable Interlace/Non-interlace Scan Mode
• Bu ilt-in Cursor Control Function
• Programmable Cursor Height and its Blink (D P-40)
• Bu i lt-in Light Pen Detection Function
• Paging and Scrolling Capability
• TT L Compatible • PIN ARRANGEMENT
• Si ngle +BY Power Supply "ss YSYNC
Trrs NSY NC
• Up ward compatible with MC6845 LPSTS RA
MA, RA,
MA, RA
• SYSTEM BLOCK DIAGRAM MA, RA
MA, RA
A AP • MA D,
A A„
MAI D,
HD6845S
MA, D,
MA, D,
VA IPA
MA D,
MA, D,
MA„ D,
o
1
CCA HDSSSSSP MA„ l ar
! MIf
RS
DISPTMC l S
A,- CUDISP 1
IIA, "cc CLK
0
C (Top View)
Y4
• OR DERING INFORMATION
PAP Y C o o
CYP •
• C
• C
CRTC CRT Display
I•
Bus Timing
CP I Timing
o
HD6845SP 1.0 MHz
HD68A45SP 1.5 MHz 3.7 MHz max.
HD68845SP 2.0 MHz
Page 0.147
• ELECTRICAL CHARACTERISTICS
• DC CHARACTERISTICS (Vcc S V + 5%, VSS = OV, Ta -20-+75 C, unless otherwise noted.)
Item Symbol Test Condition min typ max Unit
Input "High" Voltage 2.0 V V
Input "Low" Voltage -0.3 0.8
Input Leakage Current l)n Vln =0 5 . 2 5 V (EXCeP't DO Dt ) -2. 5 2.5 ){A
Three-State Input Current V,n = 0.4- 2 . 4 V
ITS i — 10 10
(off-state) Vcc = 5.25V (Do D t )
I LpAp = 205 S{A (Do D t )
Output "High" Voltage Vprf 2.4 V
I QAp 100 ){A (Other Outputs)
Output "Low" Voltage VOL ILpaD = 1.6 mA 0.4
Vi. = 0 D - D 12.5 pF
Input Capacitance Cin Ta =25 C
f = 1.0 MHz Other Inputs 10.0 pF
Output Capacitance Co.t Vln = OV, Ta = 25 C, f = 1.0 MHz 10. 0 pF
Power Dissipation Pp 600 1000 mW
Page 0.148
tcycc
tCr
2.4V
0.4V
M A> M A >>
t MA D >MAD
2.4V
0.4V
R A,- R A ,
t RA D RAD
2.4V
0.4V
D ISPTMG
tDT D tOTO
2.4V
0.4V
CUD I SP
tcoo 'coo
2.4V
0.4V
HSYNC
VSYNC
tHSD tHSD
tvso tvso
2.0V 2.0V
PWLP>t
LPSTB
This Figure shows the relation in time between
CLK signal and each output signals. Output
sequence is shown in Figs. 9 - 15.
tLPD2
tLPDt
CLK O.BV
M As M A i s M+1 M+2
LPSTB OBV
2,OV
LPSTB
Figure 2 LPSTB Input Timing Bt Refresh Memory Address that is set into the light pen register.
PWEH
tae
20V 2.0V
OBV O.BV
R/W, RS
tAH
'acc
tH
2.4V 2.4V
Os-O.
0.4V 0.4V
PWE H
tas
O.BV O.BV
tEr tEt
tostN
CS
R/W 2.0V 2.0V
RS (Address
Register)
O.BV O.BV
RS
tControl Register) tAH
tH
2.0V 2.0V
os-o t
O.BV O.BV
• SYSTEM DESCRIPTION Linear address generator generates refresh memory address MAo
The CRTC is a LSI which is connected with MPU and CRT -MAts to be used for refreshing the screen. By these address
display device to control CRT display. The CRTC consists of signals, refresh memory is accessed periodically. As 14 refresh
internal register group, horizontal and vertical timing circuits, memory address signals are prepared, 16k words max are
linear address generator, cursor control circuit, and light pen accessible. Moreover, the use of start address register enables
detection circuit. Horizontal and vertical timing circuit generate paging and scrolling. Light pen detection circuit detects light
RAp RAe D I SPTMG HSYNC altd VSYNC. RAo RA4 are pen position on the screen. When light pen strobe signal is
raster address signals and used as input signals for Character received, light pen register memorizes linear address generated
Generator. DISPTMG, HSYNC, and VSYNC signals are received by linear address generator in order to memorize where light
by video control circuit. This horizontal and vertical timing pen is on the screen. Cursor control circuit controls the position
circuit consists of internal counter and comparator circuit, of cursor, its height, and its blink.
Page D.152
DO-D,
Vcc Vss RES R /W E C S R S
Address Register
& R/W Control
yr RP Honzontal Total
CMP CMP Register
HMAX
Horizontal Sync
CMP Position Register
0 st HSYNC
2r
CK Horizontal Syn CMP R3 Sync
Width Register
Width Counter
RQs 2z 27
Raster Counte RQ, CMP Rg Maximum Raster
(432) Address Register
MR
Rt p Cursor Start
Raster Register
C ursor Ske w
o RQr CUD ISP
C ontrol Co n t r o l
VT R11 Cursor End
Raster Register
VS
R14 Cursor Register
CMP
VSYNC
Interlace 2o 2i 2s 27
RA,- Control Interlace & Skew
RAs Register
LPST8 SYNC
M A, MA
Figure 5 Internal Block Diagram of the CRTC
Page D.153
• REGISTER DESCRIPTION
Table 1 Internal Registers Assignment
X X X X X
X X X K AR Address Register
0 0 1 1 1 R7 Vertical Sync
Position Line
0 1 0 0 I Rg Maximum Raster
Address Raster
0 1 1 1 0 R14 Cu rso r ( H)
• V ertical Sync Position Register (R7) Skew function is used to delay the output timing of
This is a register used to program the vertical sync position CUDISP and DISPTMG signals in LSI for the time to access
on the screen as multiples of the horizontal character line peri- refresh memory, character generator or pattern generator,
od. Data is 7-bit and any number that is equal to or less than and to make the same phase with serial video signal.
vertical total characters can be programmed. When V is charac-
ter number of vertical sync position,(V-l) shall be programmed • Maximum Raster Address Register (RQ)
to this register. When programmed value of this register is in- This is a register used to program maximum raster address
creased, the display position is shifted up. When programmed within 5-bit. This register defines total number of rasters per
value is decreased, the position is shifted down. Therefore, the character including space. This register is programmed as fol-
optimum vertical position may be determined by this value, lows.
Non-interlace Mode, Interlace Sync Mode
• I nterlace and Skew Register (RB) When total number of rasters is RN, (RN-I ) shall be
This is a register used to program raster scan mode and skew programmed.
(delay) of CUDISP signal and DISPTMG signal. Interlace Sync & Video Mode
Interlace Mode Program Bit (V, S) When total number of rasters is RN, (RN-2) shall be
Raster scan mode is programmed in the V, S bit. programmed.
I Non-interlace Mode 0
I
Total Number of Rasters 5
Programmed Value Nr = 4
Interlace Sync Mode 2 The same as displayed
Interlace Sync & Video Mode 3 (
total number of rasters~
4
Raster Address
In the non-interlace mode, the rasters of even number
I nterlaceSync Mode
field and odd number field are scanned duplicatedly. In the
Total Number of Rasters 5
interlace sync mode, the rasters of odd number field are ---- 0 Programmed Value Nr = 4
scanned in the middle of even number field. Then it is
---- I In the interlace sync mode,
controlled to display the same character pattern in two
---- 2 total number of rasters in
fields. In the interlace sync and video mode, the raster scan
both the even and odd fields
method is the same as the interlace sync mode, but it is ---- 3 is ten. On programming,
controlled to display different character pattern in two field. ---- 4 the half of it is defined as
Skew Program Bit (C1, CO, D1, DO) Raster Address total number of rasters.
These are used to program the skew (delay) of CUDISP
signal and DISPTMG signal. InterlaceSync & Video Mode
0 Total Number of Rasters 5
Skew of these two kinds of signals are programmed
separately. Programmed Value Nr = 3
-3 Total number of rasters
Non-output
16 or 32 Field Period
page 0.157
~ N I IH (* IT I dh I I +I l
~ N h I H I CI H dh INhdl~
L I lla
+ +
Horizontal
Retrace
Zst Period
z Ih
ru .g
O
K e 'I)
o ) Z
X
e
X l-8
0 0 Display Period
I( 5
Ew
z cz
I(
E
Z
The relation between values of Refresh Memory Address In non-interlace mode, each field is scanned duplicatedly.
(MAo MAis ) and Raster Address (RAo-RA4) and the display The values of raster addresses (RAo-RA 4) are counted up one
position on the screen is shown in Fig. 15. Fig. 15 shows the from 0.
case where the value of Start Address is 0. Interlace Sync Mode Display
In the interlace sync mode, raster addressed in the even field
• I nterlace Control and the odd field are the same as addressed in the noninterlace
Fig. 7 shows an example where the same character is mode. One character pattern is displayed mutually and its dis-
displayed in the non-interlace mode, interlace sync mode, and played position in the odd field is set at I/2 raster space down
video mode. from that in the even field.
Non-interlace Mode Display
1
0
2
3
2
3
%--3
45 --e — — —
——------ M —4
5
6
7
6 — -e-- — — —
- ——---M--6
7
8
89
9 —W-- — — --- - — - D - - 9
A
8
A
-D - - - - - - - - - —- 0 - — I
2 I
"-3 2 - e- - - - - --- ---o- 3
4
line ¹0 — w - • — e-o -e -e-0-- line ¹0
6 -- - - - - - - - - —0 - -
7
5
8
A 0
9
2— w —
——- --- — —- -- • ---3
4 5 46 line ¹1
line ¹ 1
6 . -0- 7
-
- -
-7
— - — - - - -
8
8 -M - - — — —
— —---o- — 9
A
A
Interlace Sync & Video Mode Inierlece Sync & Video Mode
(Total number of rasters in a line is even.) (Total number of rasters in a line is odd.l
V
ta Cl '0 Z
8= 0
q8' I
0 0
l
. 0i l lp
0 -Z
K P
I-
Z
0
I
I I
I I
I I
I
II
I
I I 5
Z
I I
II
Z
2
I
0
0
Cl
ll 5$
0
KE
0
I O
I I> la
I 00
I
• I
\
IL
8o
0 CI
i c S p
K O e K
V O 'K
c
I I
I I
• I
) " 8'
I
• I
-' c
0 o 8 u
-
\ I
6 I I
Z
I I I I
Cn E O II
9 I
I
I
l
l
I
I
II
0. rohio
0 •
I I
0C I •
0 II
Ct 0Z U
0
'0 I
IC
I I
g
Z p K
Z0 I I
II
I
II
0
o I
i
a I
K I • I
• l
l I
I I
I
I I
I u I I • •
I I I o
0 I
Z
I I I
I I • 0
I l
II
I
•
O
I C
I O
O
O
Z
O
I- Z V
IL I Z
V Z
V
X 0
o K o
Page D.161
Ol
IL Cl Z
IO D0
Ot
Dl
Ol Q.
K
CL
IO
C
0
.5
Ol
Y
5
X
a Y
CU
4I 0I
a. a
4t ttt
CC O iL
IO
t
Z CI 0
.g IO
0
C
IO
X
I IO
I z
II Ol
0 0
D
0 K CL
0
l0 0 Q. '0 0
'0
C
Ol 41 a Z Ol
E a.
0 IO IO
IO
Ot
C
a IL
DIP
C
'5
E
D0 IL
OCt
It
II
O. lI
DC
Ol '0
0
IO
at Ol
U
O Z
G.
Ol
z
0l
0
E IO
0
8 Ol
IO
IO
0
C K Ctl
IL
II C0
I
CI
CO
I I Ol
0t
IL
E 0.
X E III
Q
K Itl K
zC ZC O
O
Page 0.162
1
r' 'T
1 j; T
h
Page 0.163
Z
Ol 0
0
Z 00
E a-
'0
0 0
ZI
EI
0 C
0I ID
+ ID C Ol
'0 0
C
Z
E '0
0I
D
E
DI g DI EZ
K
Z DI
C KLI
LL
F=k
LU DI
I- ID
2 0 89 K ID
= P
Z
Z 0 CD
0 0 C/ C ID
Z
CL
M
Z
O
K
Z
DI
C
C
0
C D
DI Z
OI a
ID
I ILI X
J0 LU
C
Z
C
ID
0
E
ZI
CC
po F3
a
I I
DI
I 0
L0
0
O
I
D O
Z
II I
/
/ QI
Z t7I
LL
CI
Page 0.164
'o
D c .Q
z O K
SP ai 'I
la 8
z al
o R 2o 8v c IP
c-
9 '=, o 5 a)
al m
g )
E c
V- c 0
al al
Ia SL-
fc Eg
C I o
5 c 5 oc
C C
o W
O F tl Ol
ia 0 al 'C
Ia K SP I- cI
2
Z 7
2
P D 2
2
2
D
2 P 'I
2 p a
7 a 2
2 2 2 2
P P 'D D
2
2 2 Z 2 2
2 2
P z' S
2 2
2
2
D
D I P- P
2 ' Z t 2
2J 2 2
2 2'
P 2
2 2
P
Zs g
2 2
2 aa — 7 2 vz
2 2 2 2
S
2 z
s
P P s
2 2 Z 2
Z 2
O Z O O 2 O
Z D2
/ ~ /
S
2
14 max Refresh
MA Memory
5 max Character
RA
CRTC Generator
D ISPTMG
Video
CUD ISP
Signals
Video Control
HSYNC Sync
Signals
VSYNC 0 0
CLK
F1
CUDISP
D Q
CHCP-N
F2
D lSPTMG
D Q
CRTC VIDEO
MA Refresh CG
Memory
RA
CLK
CHCP-P
DOT COUNTER OSC
When many characters are displayed in horizontal direction troubles about delay time o f M A d u ring horizontal one-
on the screen, and horizontal one-character time is so short character time on high-speed display operation, system shown in
that both refresh memory and CG cannot be accessed, the Fig.19 is adopted. The time chart in this case is shown in Fig,22,
circuitry shown in Fig. 18 should be used. In this case refresh Character video signal is delayed for two-character time because
memory output shall be latched and CG shall be accessed each MA outputs and refresh memory outputs are latched, and
at the next cycle. The time chart in this case is shown in Fig. they are made to be in phase with CUDISP and DISFI'MG
21. CUDISP and DISPI'MG signals should be provided after signals by delaying for two-character time. Table 10 shows the
being delayed by one-character time by using skew bit of circuitry selection standard of display units.
interlace & skew register (R8). Moreover, when there are sotne
CUD ISP
D Q
CHCP.N
F2
DISPTMG
D Q
CRTC VIDEO
L
MA Refresh
C
T
A
H CG
(I
RA
CLK
CHCP-P
DOT COUNTER OSC
FI
CUD I SP
D Q
CHCP.N
F2
D ISPTMG
D Q
CRTC L L VIDEO
MA A
C
T Refresh A
C
T
Memory CG
H
(I H
I)
RA
CLK
CHCP P
MA
DISPTMG
CUDISP
F2 -Q
F1-Q
RMOUT I I/ 3
/
CGOUT
VIDEO
CHCP P
MA
D ISPTMG
One-Character
CUD ISP Skew
F2-Q
F1-Q
RMOUT
LATCH (I)
CGOUT
VIDEO
CRT Display
• 0 • OOO •
CHOP-P
MA
DISPTMG
Two.Character skew
CUD ISP
LATCH (2)
F2Cl
F1-0
RMOUT
LATCH(1)
CGOUT
V I D EO
CRT Display • JO • •0
D ISPTMG
VSYNC
Don Number of
Horizontal Character „
haracter
Character Font ce
• • •
Dot Number of
Vertical Characters
lNumber of Rasters)
Line
Space
Character Font
• • •
' •
, •
' •
Serial Data
Shift R egister
'c
Horizontal Display Period
Horizontal Character Time-
Number of Horizontal Displayed Characters
value of R9, dot number of characters (vertical) is(Nr+1). cal retrace period and the relation between number of vertical
Number of Horizontal Displayed Characters displayed character and total number of rasters on a screen ls
Number of horizontal displayed characters is programmed to as mentioned above, CRT which is suitable for desired screen
horizontal displayed register (Rl ) of the CRTC. Programmed format should be selected,
value is based on screen format. Horizontal display period, For optimum screen format, it is necessary to adjust number
which is given by specification of horizontal deflection fre- of rasters per line, number of vertical displayed characters, and
quency and horizontal retrace period of CRT display unit, total adjust raster (Nadj) within specification of v ertical
determines horizontal character time, being divided by number deflectionfrequency.
of horizontal displayed characters. Moreover, its cycle time and Scan Mode
access time which are necessary for CRT display system are The CRTC can program three-scan modes shown in Table l 1
determined by horizontal character time. to interlace mode register (RB). An example of character display
Number of Vertical Displayed Characters in each scan mode is shown in Fig. 7.
Number of vertical displayed characters is programmed to
vertical displayed register (R6). Programmed value is based on
screen format. As specification of vertical deflection frequency
of CRT determines number of total rasters (Rt) including verti-
page D.171
Item Specification
Character Format 5 x 7 Dot
Character Space Horizontal: 3 Dot Vertical: 5 Dot
One Character Time 1 Its
Number of Displayed Characters 40 characters x 16 lines = 640 characters
Access Method to Refresh Memory Snychronous Method (DISPTMG Read)
Refresh Memory 1 kB
2 15 214 2 1 3 2 1 2 2 l 1 2 1 0 2 9 28 2 1 26 25 24 23 22 21 20
Refresh
Memory
p p p p p p • • • • * • • • •
CRTC
Address Map Address 0 0 0 1 0 0 x x x x 0
Register
CRTC
Control 0 0 0 1 0 0 • x x x x x x x x 1
Register
x . . don't care, 0 or 1
Synchronization Method HVSYNC Method
Item Specification
Scan Mode Non-interlace
Horizontal Deflection Frequency 15.625 kHz
Vertical Deflection Frequency 60.1 Hz
Dot Frequency 8 MVz
Character Dot (Horizontal x Vertical) 8 x 12 (Character Font 5 x 9)
Number of Displayed Characters (Row x Line) 40x 16
HSYNC Width 4 Its
VSYNC Width 3H
Cursor Display Raster 9- 10, Blink 16 Field Period
Paging, Scrolling Not used
Page D.172
Initializing Value
Register Name Symbol
Hex (Decimal)
RO Horizonta I Total Nht 3F (63)
Rt Horizontal Displayed Nhd 28 (40)
R2 Horizontal Sync Position Nhsp 34 (82)
R3 Sync Width Nvsw, Nhsw 34
R4 Vertical Total Nvt 14 (20)
R5 Vertical Total Adjust Nadj 08 ( 8)
R6 Vertical Displayed Nvd 10 (16)
R7 Vertical Sync Position Nvsp 13 (19)
R6 Interlace & Skew 00
Maximum Raster Address Nr OB (11)
R10 Cursor Start Raster 8, P, Ncs7aR7 49
R11 Cursor End Raster NcENo OA (10)
R12 Start Address (H) oo ( 0)
R13 Start Address (L) 00 ( 0)
R14 Cursor (H) 00 ( 0)
R15 Cursor (L) 00 ( 0)
t c 1 us
0 123 4 5 6 7 0 1234567 0 1 2 3 4 5 6 7
Cursor
Figure 29 Non-interlace Display (Example)
Page 0.173
5
> LV-EL'
C
0
X
I-
U
IZ
O
0
I LL-4L- 8
0
a
o* o o
0
I 'eYcbbn '«'
E
a
X
UJ
o0)
Ol
LL
P
I
page 0.174
Differences between the HD6845R (Motorola MC6845 Compatible) and the HD6845S (Enhanced)
No. Functional Difference HD6845R HD68458
7
6
9
8
Programmed number mto Vertical Displayed Programmed number into Vertical Displayed
Register = 5 Register = 10
C haracter 0
4
-0 - - - - - - - - — 0-
-5
—3
-- — — — 0 — 7
'ut= - - -
— 0-- — --- -- — 0- — 7
-
- i'
—3
6
-8- -0 - 0 - - - - I line address
-3 -6- -6 - 0 - — - — I —2
— --- - - - -0--5 2 3
3 — 0 - - - - - - - - - 0. — 4
4
— 0- -0- -8 — -& -——-7 I
6 - —————————————— 9 6
—0-6-- 8 - - 6 - -- - 7
5
Number of raster = 10 scanline (specrfied)
When number of raster When number of raster
However, number which is programmed into per character line per cnaracter iine
register is calculated as follows. is EVEN is ODD
Cursor Cursor is displayed in either EVEN field Cursor is displayed in both EVEN field
Display or ODD field. and ODD field.
0
I
~ EV E N number
3
I
2 M W W - 6 7 — ta-~ EVEN n u m ber — 0-0--8- 5
3 ~ EV E N number
4 4 ) — 47 —
t) —47—tt- 7
5
6 ~ H3 - H s-~ ~ EV EN n u m b er
7
I
3 ~ O D D n umber
I
5 ~ O D D n u mber
— 0 - 0- Et - -6 — 0-- 3 ~ OD D nu m b e r
4 7
— 0 -0--0 - 0 — 0--5 ~ OD D nu m b e r
6
~ EV E N number
3
5~ O D D n u mber
7
Page 0.175
Vsrhcai Sync Fixed at 16 raster scan cycle (16H) Programmable (I - 16 raster scan cycle)
Pulse Width
Specified by
fVSYNC output)
4- F i xed at 16 high Order
scan cycle 4b t s o f R3
VSYNC VSYNC
Attached byte
RS C Co O Ov V S
RS V S
CUDISP DISPTMG
Not used
Example of DISPTMG output
N
One character skew
Two character skew
'I character time
2 character time
AC Characterlatlc Differences between HD6845R (Motorola MC6845 Compatible) and HD6845S (Enhanced)
HD46505R HD46505S
No. Characteristic Difference Symbol min. ly p max. min. lyp max. Unit
TBP18SA030, TBP18S030 T B P 14S10, TBP14SA10 TBP18SA22, TBP18822 TBP18842, TBP18SA42 TBP18546, TBP18SA46
256 BITS 1024 BITS 2048 BITS 4096 BITS 4096 BITS
(32 WORDS BY 8 BITS) ( 2 5 6 WORDS BY 4 BITS) (256 WORDS BY 8 BITS) (512 WORDS BY 8 BITS) (512 WORDS BY 8 BITS)
(TOP VIEW) (TOP VIEW) (TOP VIEW) (TOP VIEW) (TOP VIEW)
03 4 Q5 03 e iz Q5 00 e 14 06
GND io 11 Q4 GND io ii 04 01 i o is 05
Q2» Q4
GND i r Q3
Pin eeelgnmente for all of these memories are the same for the J and N packages, See Product Guide, Section 7, for chip carrier pin assignments.
description
These monolithic TTL programmable read-only memories (PROMs) feature titanium tungsten (Ti JWl fuse links with
each link designed to program in 100 microseconds. The Schottky-clamped versions of these P ROMs offer considerable
flexibility for upgrading existing rlesigns or improving new designs as they feature full Schottky clamping for improved
performance, low-curl ent MOS-compatible p.n p inputs, choice of bus-driving three state or open collector outpiits, and
improved chip-select access times.
T he high-complexity 2 0 48- and 4 096-bit PROMs can I>e used to significantly i m prove system density fo r f i xed
memories as all are offered in the 20-pin dual-in-line package having pin-row spacings of 0.300 ini:h (7,62 mm)
Page 0.177
SERIES i4 AND 18
PROGRAMMABLE READ-ONLY MEMORIES
logic symbols
TBP14810 TBP18822
TBP18S030 PROM 2ti X 4 PROM RN X 0
(5) (11
PROM 32 X • As IS(
(Ot (21 A 'V
Al 17)
(11 171 (12) AP al
A 17 Al AV A2 (31 (Sl
AP 12) lit (111 (41 AP
(10) 0 A'(7 8 Is)
0 (3) 10 15) A A 03
IIII 255 Ap M 155 III
(41 (21 IN A '\7
(12) 4 \7 *5 117( (121
31 AP Sl lll (I • I A'V
Al (131 lil (15) 11!tl (13(
(I •I AI I Al I
AP
4
I I) (101 AP (14)
(151 AP GE (141 G2 5
0 EN (sl EN EN
AP OI Gl 1131 GI 1151
TBP14SA10 TBP18SA22
TBP18SA030 PROM 250X • PROM 2MX •
PROM 33X • AO t51 III
Nl A (7 IOI
(21
I I) 171 IIN (31 (I) at
4 (7 A 3)
14( (111 ( •I 4 () I• I
(10( 4 () at 0 A() 0
(3( 131 10 (51 * A (3 (01
till 255 A «t M NS (I 'll
I IN (4I (2) I• ( (»I A (I
lil A 13 l(21
Oi t)l (10) AO
AE 113) Iil AO (13)
Al 1101 A ()
*4 11• I 171 llil
I
(101 4 ))
(141
1151 5
f. N Nl (131 EN (15) EN
TBP18846
PROM 512 X 0
Nl 0
TBP18S42 171 (st
AI AV 00
PROM 512 X • Ii) I(s)
Ap
I It 0 (dl (11(
AP (0) AP
(4) A
0 1131
13t AP (71 Ap
(01 (3) A 'V ll • I
ii
(•I AV (151
(Sl 40 AP
15) 0 AV (11 ((N
511 A P ( I (I AP
(15) (23) Ap (171
1171 AV (12)
Gi 121)
(10( AP 1131 (IN 0
I(il
iS "" AP GE (1st EN
0 " " 01 120)
EN
TBP18SA46
• ROM 5(l X •
TBP18SA42 I• I 0
PROM 512 X • (7) 4 (3 Is) 00
11) IOI 1101
0 (Ol 4 ()
AQ A3 15) 4 (3 (111
171 (•) 0 (131
(3( A (3 "5»
A0 N) (3( i(it
141 A5 )2)
10) (1 51
M ISI 0
(11) (I)
AO
II • I
(10( 8 11 A Q A (3
(121 1231 O7)
(17) A0 A 8)
113) 1211
(I • ( A(3 &
(14( II • I
110) iQ 02 11 • I EN
(15( (201
E.N
Page 0.178
SERIES 14 AND 18
PROGRAMMABLE READ-ONLY MEMORIES
description (continued)
Data can be electronically programmed, as desired, at any bit location in accordance with the programming procedure
specified. All PROMs, except the TBP14S10 and TBP14SA10 are supplied with a low logic-level output condition stored
at each bit location. The programming procedure open-circuits Ti-W metal links, which reverses the stored logic level at
selected locations. The procedure is irreversible; once altered, the output for that bit location is permanently program-
med, Outputs that have never been altered may later be programmed to supply the opposite output level. Operation of
the unit within the recommended operating conditions will not alter the memory content.
A low level at the chip-select input(s) enables each PROM The opposite level at any chip-select input causes the outputs
to be off.
The three-state output offers the convenience of an open-collector output with the speed of a totem-pole output; it can
be bus-connected to other similar outputs yet it retains the fast rise time characteristic of the TTL totem-pole output.
The open-collector output offers the capability of direct interface with a data line having a passive pull.up.
schematics of inputs and outputs
INPUT
OUTPUT
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)
Supply voltage (see Note 1) 7V
Input voltage 5.5V
Off-state output voltage 5.5V
Operating free-air temperature range: F u ll-temperature-range circuits — 55 C to 125 C
Commercial-temperature-range circuits 0 Cto7 0 C
Storage temperature range — 65 Cto150 C
recommended conditions for programming the TBP18S', TBP18SA', TBP14S', and TBP14SA' PROMs
M IN NO M MA X UNIT
Steady state 4 75 5 5.25
supply voltage. v cc (see Note 1)
Program pulse 9 9. 2 5 9 5
A bsolut e m a x i m u m r a t i ngs.
N OTE S 1 . V o lt a g e v a l u e s a r e w i t h r e s p ec t t o n e t w o r k g r o u n d t e r m i n a l . T h e s u p p l y v o l t a g e r a t i n g d o e s n o t a p p l y d u ri n g p r o g r a m m i n g .
2 T h e T B P 1 8 S 0 30, TBP18S A 0 3 0, TBP18S A 2 2, TBP18S 22, TBP18S42. TBP18S A 4 2, TBPtBS46 and TBP te S A 4 6 are suoolied with
a ll bit l o c a t i o n s co n t a i n i n g a low l o gi c level, and pr o g r a m m i n g a bi t c h a n ges th e o u t pu t o f t h e b i t t o h i g h l o g c l e v el . Th e T B P 1 4 S 1 0 ,
T BP 14SA 1 0 are supp l ied w i t h a l l b i t o u t p u t s a t a h i g h l o g i c l e v el, and p r o g r a m m i n g a bi t c h a n ges it t o a l o w l o g i c l e v e l .
3 P r o g r a m m i n g i s gu a r a n t eed i f t h e l i u l se ap p l ied as 98 ft s in d i i r a t i o n .
page 0.179
SERIES 14 AND 18
PROGRAMMABLE READ-ONLY MEMORIES
SV
3.9 kn
OUTPUT
VERIFY I- Y
NEED To ~ 9.25 V
PROGRAM I REMOVE VCC TO
REDUCE AVERAGE — — 5V
VCC POWE R
1 srs to 1 ms OV
1 peto 1 ms
I- X - I
APPLY REMOVE
VO(pri yoipri
SERIES 14 AND 18
PROGRAMMABLE READ-ONLY MEMORIES
WITN 3-STATE OUTPUTS
recommended operating conditions
TBP14S10, TBP18S22 TBP188030 TBP18842, TBP18846
PARAMETER UNIT
MIN NOM M AX M IN NOM M AX M IN NOM M AX
MJ 45 5 5 5 4.5 5 5.5 45 5 55
Supply voltage, VCC
J,N 4.75 5 5 25 4.75 5 5 25 4 75 5 5 25
MJ
H igh-level output current, Ip H mA
J,N
L ow level output current, Ip L 16 20 12 mA
— 55 125 — 55 125 — 55 125
Operating free air temperature, TA
70
c
J,N 70 70 0
electrical characteristics over recommended operating free-air temperature range (unless otherwise noted)
FULL TEMP COMM. TEMP
PA RAM ETE R TEST COND ITIONS (MJ) (J, N) UNIT
M IN T YP ' MAX M IN T Y P' MAX
V IH High level inpu t voltage
VIL Low-level input vo l t age 08 0.8
VIK Input clamp voltage VCC = MIN, Ii - — 18 mA — 1.2 1.2
= MIN, VIH — 2 V,
VCC
VpH High level output v o l t age 2 4 34 24 3 2
= 08 V, IpH = MA X
ViL
= 2V,
VCC = MI N , VIH
VpL Low-level output v o l t age 0.5 0.5
= 08 V, IpL — MAX
ViL
=
O ff-state output c u r r en t , VCC = MA X , VIH 2 V,
50 50
IOZH high-level voltage applied Vp = 24V
P ff state out pu t c u r r en t , VCC = MA X , VI H = 2 V,
lpzL — 50 — 50 IrA
low level voltage applied Vp — 0.5 V
I nput current at m a x i m u m
VCC — MAX, Vi — 5.5 V mA
input voltage
High level input cu r rent = MAX, = 27V 25 25 fr A
IIH VCC Vi
TBP18542, TBP18546 55 75 20 40 15 35 ns
SERIES 14 AND 18
PROGRAMMABLE READ-ONLY MEMORIES
WITH OPEN-COLLECTOR OUTPUTS
recommended operating conditions
TBP14SA10, TBP18SA22 TBP18SA030 TBP18SA42, TBP18SA46
PARAMETER UNIT
M IN NPM M AX MIN NOM M AX M IN NOM M AX
MJ 4.5 5 5.5 45 5 55 4.5 5 55
Supply voltage, VCC
4.75 5 5 25 4,75 5 5 25 4.75 5 5.2 5
High-level output voltage, VpH 5.5 5.5 5,5
Low-level output current, lpL 16 20 16 mA
MJ — 55 125 — 55 125 — 55 125
Operating free-air temperature, TA
J,N 0 70 70 70
electrical characteristics over recommended operating free-air temperature range (unless otherwise noted)
PARAMETER TEST CONDITIONS1 MIN T Y P r MAX UNIT
VIH High-level input voltage
VIL Low-level input voltage 0.8
VIX Input clamp voltage VCC = MIN , li = — 18 mA — 1.2
VCC = M I N ,
VpH = 2 4 V 50
IpH High.lovel output current V,H = 2 V, JiA
V p H = 5.5 V 100
ViL = OS V
=
VCC = MI N , VIH 2 V,
VpL Low. evel output voltage 0.5 V
ViL = O B V , IpL = MAX
Input current at maximum input voltage VCC = MA X , Vi = 55 V mA
High 'avel input current VCC = MA X , Vi = 2 7 V 25 fr A
Low ivvel input current VCC = MA X , Vi = 0 .5 V — 250
VCC = MA X , TBP18SA030 80 110
Chip select(sl at 0 V, TBP14SA10 100 135
Supply current mA
Outputs open, TBP18SA22 110 155
See Note 4 TBP18SA42, TBP18SA46 1 20 15 5
NOTE : M J de s i gnatesfull temp e r atu re range circuits lfo r m e r ly 54 F a m i l y ) , J a nd N d e s ignate comm e r c i al te m p e r a t u re range c ircuits (fo r m e r l y
74 Family).
t For cond i t i on s show n as MI N o r M A X , us e t he appr o p r i a te value specified un d er r e co m m e n d ed o p e r a ti ng con d i t i o n s .
t All t y p i c a l v a l ues are a t V C C = 5 V , T A = 2 5 C
N OT E 4 T he t y pi c a l v a l u e s o f I C C a r e w i t h a i i o u t o u t l o w .
Page 0.182
New, Expanded Family of Standard, Low Power, • P-N-P Inputs for Reduced Loading On System
Power Down, And Registered PROMs Buffers/Drivers
• Titanium-Tungsten (Ti-W) Fuse Links for Re- • Each PROM Supplied With a High Logic Level
liable Low-Voltage Full-Family-Compatible Stored At Each Bit Location
Programming
• Applications Include:
• Fu ll Decoding And Fast Chip Select Simplify Microprogramming/Firm Ware Loaders
System Design Code Converters/Character Generators
Translators/Emulators
Address Mapping/Look-Up Tables
STANDARD PROMS
TYPE NUMBER OUTPUT BIT SIZE TYPICAL PERFORMANCE
CONFIGURATION 1 (ORGANIZATION) ACCESS TIMES POWER
NEW TYPE NUMBER OLD TYPE NUMBER
ADDRESS SELECT DISSIPATION
TBP24510 (J. N) 1024 Bits
35 ns 20 ns 375 mW
TBP24SAIO (J, N) (256W X 48)
TBP28542 (J, N)
TBP28SA42
4096 Bits
TBP28S45 (J, N) ta 35 ns 20 iis 500 mW
(512W X 88)
TSP28546
TBP28SA46
TBP24S41(J, Ni SN745476 (J, N) 4096 Bits
40 ns 20 rrs 475 mW
TBP24SA41 (J, N) SN745477 (J, N) (1024W X 4B)
TBP24S81 (J, Ni a SN74S454 (J, N) 8192 Bits
45 ns 20 ns 625 mW
TBP24SA81 (J, N) a SN748455 (J, N) (2048W X 48)
TBP28S86 I J, Nl a SN745478 (J, N)
TBP28SA86 (J, N) SN745479 (J, N) 8192 Bits 45 ns 20 ns 625 mW
TBP2882708 (J, N) SN7452708 (J, N) (1024W X 88)
TBP28585 (J, N) Ta 35 ns 15 ns 550 mW
TBP285166 (J, N) 16,384 Bits
35 ns 15 ns 650 mW
TBP28SA166 (2048W X 88)
N ESTF]FN D / 8 / TA l
C 0 /7 P 0 h' A 7 / 0 N
FD179X-02
FLOPPY DISK FORMATTER/CONTROLLER FAMILY
FEATURES • PROGRAMMABLE CONTROLS
• TWO VFO CONTROL SIGNALS — RG & VFOE Selectable Track to Track Stepping Time
• SOFT SECTOR FORMAT COMPATIBILITY Side Select. Compare
• AUTOMATIC TRACK SEEK WITH VERIFICATION • WRITE PRECOMPENSATION
• ACCOMMO D A TES SINGLE AND DOUBLE DENSITY • WINDOW EXTENSION
FORMATS • INCORPORATES ENCODING/DECODING AND
IBM 3740 Single Density (FM) ADDRESS MARK CIRCUITRY
IBM System 34 Double Density (MFM) • FD1792/4 IS SINGLE DENSITY ONLY
Non IBM Format for Increased Capacity • FD1795/7 HAS A SIDE SELECT OUTPUT
• READ MODE 179X4)2 FAMILY CHARACTERISTICS
Single/Multiple Sector Read with Automatic Search or
FEATURES 1791 ' 1792 1793 ' 1794 1 7 9 5 'I797
Entire Track Read
Selectable 128, 256, 512 or 102< Byte Sector Lengths n~i/ e Density IFM X X X X X
• WRITE MODE Double Densit (MFM) X X X
Single/Multiple Sector Write with Automatic Sector True Data Bus X E X X
Search Inverted Data Bus X X
Entire Track Write for Diskette Formatting
• SYSTEM COMPATIBILITY Write Precomp X X X X
Double Buffering of Data 8 Bit Bi-Directional Bus for Side Selection Output X X
Data, Control and Status APPLICATIONS
DMA or Programmed Data Transfers
All Inputs and Outputs are TTL Compatible 8" FLOPPY AND 5'/4" MINI FLOPPY CONTROLLER
On-Chip Track and Sector Registers/Comprehensive SINGLE OR DOUBLE DENSITY
Status Information CONTROLLER/FORMATTER
RAW READ
DATA (8)
RCLK
10 VDD i 1?Vi
AO RGiSSO
/NTRO
CS DRQ LATE
CS EARLY
AD WPRT WD
RE
A,
WE
"BALD TROD
DAL 1 WF/VFOE MR 179X
DAL 2 READY FLOPPY D/SK WF/VFDE
CONTROLLER
DAL 3 WPRT
FORMATTER
DAL • WG
WG
DAL 5 29 TG43 5V
IP
~ AL j HLD
TROD
PA 1 PAW READ
I OK I OK READY
STEP RCLK
DiRC T G43
C L II DRO STEP
LATE INTRO DIRC
MR TEST CI K
/GND/ VSS VC ( 5V)
HLD
'1791/3 = RG 1795 / 7 = SSO
'' 1793/7 TRUE BUS ONE SHOT
HLT IF USED)
'' 1792ie OPEN DDEN
VSS V D D VCC
P IN C 0 NNE CT I 0 N S
+/2 + 5V
PIN OUTS
PIN
NUMBER PIN NAME SYMBOL FUNCTION
NO CONNECTION NC Pin 1 is internally connected to a back bias generator and
must be left open by the user.
19 MASTER RESET MR A logic low (50 microseconds min.) on this input resets the
device and loads HEX 03 into the command register. The Not
Ready (Status Bit 7) is reset during MR ACTIVE. When MR is
brought to a logic high a RESTORE Command is executed,
regardless of the state of the Ready signal from the drive.
Also, HEX 01 is loaded into sector register.
COMPUTER INTERFACE:
WRITE ENABLE WE A logic low on this input gates data on the DAL into the
selected register when CS is low.
CHIP SELECT A logic low on t his input selects the chip and enables
computer communication with the device.
READ ENABLE RE A logic low on this input controls the placement of data from a
selected register on the DAL when CS is low.
5,6 REGISTER SELECT LINES AO, A1 These inputs select the register to receive/transfer data on the
DAL lines under RE and WE control:
CS A 1 AO RE WE
0 0 0 StatusReg C o m m a nd Reg
0 0 1 Track Reg Trac k Reg
0 1 0 Sector Reg Sec t o r Reg
0 1 1 D ata Reg Data R e g
7-14 DATA ACCESS LINES DALO-DAL7 Eight bit Bidirectional bu used for transfer of data, control,
and status. This bus is receiver enabled by WE or transmitter
enabled by RE. Each line will drive 1 standard TTL load.
24 CLOCK CLK This input requires a free-running 50% duty cycle square wave
clock for internal timing reference, 2 MHz ~ 1% for 8" drives,
1 MHz ~ 1% for mini-floppies.
DATA REQUEST DRQ This open drain output i ndicates that th e D R c o ntains
assembled data in Read operations, or the DR is empty in
Write operations. This signal is reset when serviced by the
computer through reading or loading the DR in Read or Write
operations, respectively. Use 10K pull-up resistor to + 5.
39 INTERRUPT REQUEST IN TRQ This open drain output is set at the completion of any com-
mand and is reset when the STATUS register is read or the
command register is written to. Use 10K pull-up resistor to
+5.
PIN
NUMBER PIN NAME SYMBOL FUNCTION
22 TEST TEST This input is used for testing purposes only and should be tied
to +5V or left open by the user unless interfacing to voice coil
actuated steppers.
23 HEAD LOAD TIMING HLT When a logic high is found on the HLT input the head is
assumed to be engaged. It is typically derived from a 1 shot
triggered by HLD.
25 READ GATE RG This output is u sed for synchronization of external data
(1791, 1792, 1793, 1794) separators. The output goes high after two Bytes of zeros in
single density, or 4 Bytes of either zeros or ones in double
density operation.
25 SIDE SELECT OUTPUT SSO The logic level of the Side Select Output is directly controlled
(1795, 1797) by the 'S' flag in Type II or III commands. When U = 1, SSO is
set to a logic 1. When U = 0, SSO is set to a logic 0. The SSO
is compared with the side information in the Sector I.D. Field.
If they do not compare Status Bit 4 (RNF) is set. The Side
Select Output is only updated at the beginning of a Type II or
III command. It is forced to a logic 0 upon a MASTER RESET
condition.
26 READ CLOCK RCLK A nominal square-wave clock signal derived from the data
stream must be provided to this input. Phasing (i.e. RCLK
transitions) relative to RAW READ is important but polarity
(RCLK high or low) is not.
27 RAW READ RAW READ The data input signal directly from the drive. This input shall
be a negative pulse for each recorded flux transition.
28 HEAD LOAD HLD The HLD output controls the loading of the Read-Write head
against the media.
TRACK GREATER THAN 43 TG43 This output informs the drive that the Read/Write head is
positioned between tracks 44-76. This output is valid only
during Read and Write Commands.
WRITE GATE WG This output is made valid before writing is to be performed on
the diskette.
31 WRITE DATA WD A 200 ns (MFM) or 500 ns (FM) output pulse per flux transition.
WD contains the unique Address marks as well as data and
clock in both FM and MFM formats.
32 READY READY This input indicates disk readiness and is sampled for a logic
high before Read or Write commands are performed. If Ready
is low the Read or Write operation is not performed and an
interrupt is generated. Type I o perations are performed
regardless of the state of Ready. The Ready input appears in
inverted format as Status Register bit 7.
WRITE FAULT WF/VFOE This is a bi-directional signal used to signify writing faults at
VFO ENABLE the drive, and to enable the external PLO data separator. When
WG = 1, Pin 33 functions as a WF input. If WF = 0, any write
command will immediately be terminated. When WG = 0, Pin
33 functions as a VFOE output. VFOE will go low during a read
operation after the head has loaded and settled (HLT = 1). On
the 1795/7, it will remain low until the last bit of the second
CRC byte in the ID field. VFOE will then go high until 8 bytes
(MFM) or 4 bytes (FM) before the Address Mark. It will then go
active until the last bit of the second CRC byte of the Data
Field. On the 1791/3, VFOE will remain low until the end of the
Data Field. This pin has an internal 100K Ohm pull-up resistor.
TRACK 00 TROO This input informs the FD179X that the Read/Write head is
positioned over Track 00.
page 0.187
PIN
NUMBER PIN NAME SYMBOL FUNCTION
INDEX PULSE IP This input informs the FD179X when the index hole is en-
countered on the diskette.
WRITE PROTECT WPRT This input is sampled whenever a Write Command is recerved.
A logic low terminates the command and sets the Write
Protect Status bit.
37 DOUBLE DENSITY DDEN This input pin selects either single or d ouble density
operation. When DDEN = 0, double density is selected. When
DDEN = 1, single density is selected. This line must be left
open on the 1792/4.
GENERAL DESCRIPTION When executing the Seek command the Data Register
The FD179X are N-Channel Silicon Gate MOS L SI holds the address of the desired Track position. This
devices which performthe functions of a Floppy Disk register is loaded from the DAL and gated onto the
Formatter/Controller in a s i ngle chip implementation. DAL under processor control.
The FD179X, which can be considered the end result Track Register — This 8-bit register holds the track
of both the FD1771 and FD1781 designs, is IBM 3740 number of the current Read/Write head position. It is
compatible in single density mode (FM) and System 34 incremented by one every time the head is stepped in
compatible i n D o uble D ensity M ode ( MFM). The (towards track 76) and decremented by one when the
FD179X contains all the features of its predecessor the head is stepped out (towards track 00). The contents of
F D1771, plus t h e a d de d f e a tures n ecessary t o the register are compared with th e r ecorded track
read/write and format a double density diskette. These number in the ID field during disk Read, Write, and
include address mark detection, FM and MFM encode Verify operations. The Track Register can be loaded
and decode logic, window extension, and write precom- from or transferred to the DAL. This Register should
pensation. In o r der t o m a i ntain c ompatibility, t he not be loaded when the device is busy.
FD1771, FD1781, and FD179X designs were made as Sector Register (SR) —This 8-bit register holds the address
close as possible with the computer interface, instruc- of the desired sector position. The contents of the register
tion set, and I/O registers being identical. Also, head are compared with the recorded sector number in the ID
load control is identical. In each case, the actual pin field during disk Read or Write operations. The Sector
assignments vary by only a few pins from any one to Register contents can be loaded from or transferred to the
another. DAL. This register should not be loaded when the device is
The processor interface consists of an 8-bit bi-direc- busy.
tional bus for data, status, and control word transfers. Command Register (CR) — This 8-bit register holds the
The FD179X is set up to operate on a multiplexed bus command presently being executed. This register should
with other bus-oriented devices. not be loaded when the deviceis busy unless the new
The FD179X is TT L c o mpatible on a l l i n puts and command is a force interrupt. The command register can
outputs. The outputs will drive ONE TTL load or three be loaded from the DAL, but not read onto the DAL.
LS loads. The 1793 is identical to the 1791 except the Status Register (STR) — This 8-bit register holds device
DAL lines are TRUE for systems that utilize true data Status information. The meaning of the Status bits is a
busses. function of the type of command previously executed. This
The 1796/7 has a s ide select output for controlling register can be read onto the DAL, but not loaded from the
double sided drives, and the 1792 and 1794 are "Single DAL.
Density Only" versions of the 1791 and 1793 respec- CRC Logic — This logic is used to check or to generate the
tively. On these devices, DDEN must be left open. 16-bit Cyclic Redundancy Check (CRC). The polynomial is:
G(x) = x" + x" + x ' + 1 .
ORGANIZATION The CRC includes all information starting with the address
The Floppy Disk Formatter block diagram is illustrated mark and up to the CRC characters. The CRC register is
on page 5. The primary sections include, the parallel preset to ones prior to data being shifted through the
processor interface and the Floppy Disk interface. circuit.
Data Shift Register — This 8-bit register assembles Arithmetic/Logic Unit (ALU) — The ALU is a serial com-
serial data from the Read Data input (RAW READ) parator, incrementer, and decrementer and is used for
during Read operations and transfers serial data to the register modification and comparisons with the disk
Write Data output during Write operations. recorded ID field.
Data Register — T his 8-bit r egister is u s ed a s a Timing and Control — All computer and Floppy Disk In-
holding register during Disk Read and Write operations. terface controls are generated through this logic. The in-
In Disk Read operations the assembled data byte is ternal device timing is generated from an external crystal
transferred in parallel to the Data Register from the clock.
Data Shift R egister. I n D i s k W r it e o p erations i n- The FD179X has two different modes of operation ac-
f ormation is t r ansferred i n p a rallel f rom t h e D a ta cording to the state of DDEN. When DDEN = 0 d ouble
Register to the Data Shift Register. density (MFM) is assumed. When DDEN = 1 , s ingle
page D.f 88
LEC OT AACR 4 P UL
DA A CQLPMR4D
RED AEG R I,
aEG DEC,
Da TP
T
aEG
W AITT D R T R
TO D ER
CA , C
DAQ
WPA T
ROD
OMPUTER PEA C O4 A O L Q\
4TEATACE CQ4TAQL IL I
C • RC L 230 T 'El
D AC
ERAL
LATE
D
DDE4'
density (FM) is assumed. 1792 & 1794 are single density A1 - AO READ (RE) WRITE (WE)
only.
0 0 Status Register Command Register
AM Detector —The address mark detector detects ID, data 0 1 Track Register Track Register
and index address marks during read and write operations. 1 0 Sector Register Sector Register
1 1 Data Register Data Register
PROCESSOR INTERFACE
During Direct Memory Access (DMA) types of d a ta
The interface to the processor is accomplished through the transfers between the Data Register of the FD179X and the
eight Data Access Lines (DAL) and associated control processor, the Data Request (DRQ) output is used in Data
signals. The DAL are used to transfer Data, Status, and Transfer control. This signal also appears as status bit 1
Control words out of, or into the FD179X. The DAL are three during Read and Write operations.
state buffers that are enabled as output drivers when Chip
On Disk Read operations the Data Request is activated (set
Select (CS) and Read Enable (RE) are active (low logic state) high) when an assembled serial input byte is transferred in
or act as input receivers when CS and Write Enable (WE) parallel to the Data Register. This bit is cleared when the
are active. Data Register is read by the processor. If the Data Register
When transfer of data with the Floppy Disk Controller is is read after one or more characters are lost, by having new
required by the host processor, the device address is data transferred into the register prior to processor readout,
decoded and CS ismade low.The address bits A1 and AO, the Lost Data bit is set in the Status Register. The Read
combined with the signals RE during a Read operation or operation continues until the end of sector is reached.
WE during a Write operation are interpreted as selecting On Disk Write operations the data Request is activated
the following registers: when the Data Register transfers its contents to the Data
page D.189
Shift Register, and requires a new data byte. It is reset a) Both HLT and HLD are True
when the Data Register is loaded with new data by the b) Settling Time, if programmed, has expired
processor. If new data is not loaded at the time the next c) The 179X is inspecting data off the disk
serial byte is required by the Floppy Disk, a byte of zeroes If WF/VFOE is not used, leave open or tie to a 10K resistor
is written on the diskette and the Lost Data bit is set in the to +5.
Status Register.
GENERAL DISK WRITE OPERATION
At the completion of every command an INTRQ is
generated. INTRQ is reset by either reading the status When writing is to take place on the diskette the Write Gate
register or by loading the command register with a new (WG) output is activated, allowing current to flow into the
Read/Write head. As a precaution to erroneous writing the
command. In addition, INTRQ is generated if a Force
first data byte must be loaded into the Data Register in
interrupt command condition is met.
response to a Data Request from the FD179X before the
The 179X has two modes of operation according to the Write Gate signal can be activated.
state of DDEN (Pin 37). When DDEN = 1, single density is Writing is inhibited when the Write Protect input is a logic
selected. In either case, the CLK input (Pin 24) is at 2 MHz.
However, when interfacing with the mini-floppy, the CLK low, in which case any Write command is immediately
input is set at 1 MHz for both single density and double terminated, an interrupt is generated and the Write Protect
status bit is set. The Write Fault input, when activated,
density.
signifies a writing fault condition detected in disk drive
GENERAL DISK READ OPERATIONS electronics such as failure to detect write current flow
Sector lengths of 128, 256, 512 or 1024 are obtainable in when the Write Gate is activated. On detection of this fault
either FM or MFM formats. For FM, DDEN should be the FD179X terminates the current command, and sets the
placed to logical "1." For MFM formats, DDEN should be Write Fault bit (bit 5) in the Status Word. The Write Fault
placed to a logical "0." Sector lengths are determined at input should be made inactive when the Write Gate output
format time by the fourth byte in the "ID" field. becomes inactive.
Sector Length Table For write operations, the FD179X provides Write Gate (Pin
30) and Write Data (Pin 31) outputs. Write data consists of a
Sector Length Number of Bytes series of 500 ns pulses in FM (DDEN = 1) and 200 ns
Field hex in Sector decimal pulses in MFM (DDEN = 0). Write Data provides the unique
00 128 address marks in both formats.
01 256
02 512 Also during write, two additional signals are provided for
1024
write precompensation. These are EARLY (Pin 17) and
03
*1795/97may vary — see command summary. LATE (Pin 18). EARLY is active true when the WD pulse
appearing on (Pin 30) is to be written EARLY. LATE is active
The number of sectors per track as far as the FD179X is true when the WD pulse is to be written LATE. If both
concerned can be from 1 to 255 sectors. The number of EARLY and LATE are low when the WD pulse is present,
tracks as far as the FD179X is concerned is from 0 to 255 the WD pulse is to be written at nominal. Since write
tracks. For IBM 3740 compatibility, sector lengths are 128 precompensation values vary from disk manufacturer to
bytes with 26 sectors per track. For System 34 com- disk manufacturer, the actual value is determined by
patibility (MFM), sector lengths are 256 bytes/sector with 26 several one shots or delay lines which are located external
sectors/track; or lengths of 1024 bytes/sector with 8 to the FD179X. The write precompensation signals EARLY
sectors/track. (See Sector Length Table) and LATE are valid for the duration of WD in both FM and
MFM formats.
For read operations in 8" d ouble density the FD179X
requires RAW READ Data (Pin 27) signal which is a 200 ns READY
pulse per flux transition and a Read clock (RCLK) signal to Whenever a Read or Write command (Type II or III) is
indicate flux transition spacings. The RCLK (Pin 26) signal received the FD179X samples the Ready input. If this input
is provided by some drives but if not it may be derived is logic low the command is not executed and an interrupt
externally by Phase lock loops, one shots, or counter is generated. All Type I commands are performed re-
techniques. In addition, a Read Gate Signal is provided as gardless of the state of the Ready input. Also, whenever a
an output (Pin 25) on 1791/92/93/94 which can be used to Type II or III command is received, the TG43 signal output
inform phase lock loops when to acquire synchronization. is updated.
When reading from the media in FM. RG is made true when
2 bytes of zeroes are detected. The FD179X must find an COMM AND DESCRIPTION
address mark within the next 10 bytes; otherwise RG is The FD179X willaccept eleven commands. Command
reset and the search for 2 bytes of zeroes begins all over
words should only be loaded in the Command Register
again. If an address mark is found within 10 bytes, RG when the Busy status bit is off (Status bit 0). The one
remains true as long as the FD179X is deriving any useful exception is the Force Interrupt command. Whenever a
information from the data stream. Similarly for MFM, RG is
made active when 4 bytes of "00" or "FF" are detected. The command is being executed, the Busy status bit is set.
FD179X must find an address mark within the next 16 When a command is completed, an interrupt is generated
and the Busy status bit is reset. The Status Register
bytes, otherwise RG is reset and search resumes. indicates whether the completed command encountered
During read operations (WG = 0), the VFOE (Pin 33) is an error or was fault free. For ease of d iscussion,
provided for phase lock loop synchronization. VFOE will go commands are divided into four types. Commands and
active low when: types are summarized in Table 1.
Page D.190
TYPE I COMMANDS Head Load timing (HLT) is an input to the FD179X which is
used forthe head engage time.When HLT = 1, the FD179X
The Type I Commands include the Restore, Seek, Step,
Step-ln, and Step-Out commands. Each of the Type I assumes the head is completelyengaged. The head
engage time is typically 30 to 100 ms depending on drive.
Commands contains a rate field (r0 '1), which determines
the stepping motor rate as defined in Table 3. The low to high transition on HLD is typically used to fire a
one shot. The output of the one shot is then used for HLT
A 2/zs (MFM) or 4 /zs (FM) pulse is provided as an output to and supplied as an input to the FD179X.
the drive. For every step pulse issued, the drive moves one
track location in a direction determined by the direction
output. The chip will step the drive in the same direction it
last stepped unless the command changes the direction.
The Direction signal is active high when stepping in and HLO
low when stepping out. The Direction signal is valid 12/zs 50 TO 100ms
before the first stepping pulse is generated.
The rates (shown in Table 3) can be applied to a Step-
HL I I>-EIOM ONE DHOTI
Direction Motor through the device interface.
HAS
A TYPE NQ
COMIAANO SEEN
YTS
DOES
ss' SUs a EsLT cac TR Q s a
SEEK E4ROR DRO INTRO
NQ
'5
H 5
DSR TR
NQ
15
CQMLIANO
SET 5
A DIRECT ON DIRECT QN
STEP-IN
I
NO
5
CO Mal AND 4ESET
* 014ECTION TO TR TO TR
STEP OUI'
NQ
'5
HEAD JT
IS TRACK 0 AND
COMMAND D I 4EC TION
A 0
STEP
HQ
ISSUE
15 ONE STEP PULSE
COMMAND
A
SEEK
DELAY ACCORDING
IS TO 4 R e I 'IELD
NU .. R E s TDHE U I
IT TO TR
5
COMMAND
A STEP STEP IN
OR STEP OUT
L 4 To oa
YES
the Data Register (the desired track location). A verification flag is on, the Track Register is incremented by one. After a
operation takes place if the V flag is on. The h bit allows the delay determined by the rlr0 field, a verification takes place
head to be loaded at the start of the command. An interrupt if the V flag is on. The h bit allows the head to be loaded at
is generated at the completion of the command. Note: the start of the command. An interrupt is generated at the
When using multiple drives, the track register must be completion of the command.
updated for the drive selected before seeks are issued.
STEP.OUT
STEP
Upon receipt of this command, the FD179X issues one
Upon receipt of this command, the FD179X issues one stepping pulse in the direction towards track 0. If the U flag
stepping pulse to the disk drive. The stepping motor is on, the Track Register is decremented by one. After a
direction is the same as in the previous step command. delay determined by the rlr0 field, a verification takes place
After a delay determined by the "1r0 field, a verification if the V flag is on. The h bit allows the head to be loaded at
takes place if the V flag is on. If the U flag is on, the Track the start of the command. An interrupt is generated at the
Register is updated. The h bit allows the head to be loaded completion of the command.
at the start of the command. An interrupt is generated at
the completion of the command.
EXCEPTIONS
STEP-IN On the 1795/7 devices, the SSO output is not affected
Upon receipt of this command, the FD179X issues one during Type 1 commands, and an internal side compare
stepping pulse in the direction towards track 76. If the U does not take place when the(V) Verify Flag is on.
Page D.193
ENTER
HAS
IS MS
EXPIRED
IS
TYPE R NO
VES COMMAND
RECEIVED
3
5
LT
SET BUSY.RESFT ORO LOST
DATA RECORD NOT FOUND 5
STATUS BITS 5 • 5 INTRO
HAVE IS
5 INDEX VES INTRO NO OI SK
INTRO Rf SET BUSY
HOLES SET SEEK ERROR RESET BUSY READY
PASSE[.
YES
COPY 5 FLAG TO
HAS
SSO LWE I'Tss'I ONLV
IO AM BEEN
DETECTED
SET HLO
YES
DO E 5
TR TRACK
ADDRESS OF ID NO
FIELD I SE I "
YES
YES
\5 'SEE NOTE
SE T THERE * RESET
CRC CflC ERROR CRC «0 HAS
ERROR IS MSR
EXPIREO
YES
INTRO
RESF 3 BUSY
NO
completion of the command. If m = 1, multiple records are pulses, the interrupt line is made active and the Record.
read or written with the sector register internally updated Not Found status bit is set.
so that an address verification can occur on the next
The Type II and III commands for the 1795 97 contain a side
recorcl The FD179X will continue to read or write multiple select flag (Bit 1). When U = 0, SSO is updated to 0.
records and update the sector register in numerical Similarly, U = 1 updates SSO to 1. The chip compares the
ascending sequence until the sector register exceeds the
number of sectors on the track or until the Force Interrupt SSO to the ID field. If they do not compare within 5
revolutions the interrupt line is made active and the RNF
command is loaded into the Command Register, which
status bit is set.
terminates the command and generates an interrupt.
The 1795/7 READ SECTOR and WRITE SECTOR com-
For example: If the FD179X is instructed to read sector 27
mands include a 'L' flag. The 'L' flag, in conjunction with
and there are only 26 on the track, the sector register ex-
ceeds the number available, The FD179X will search for 5 the sector length byte of the ID Field, allows different byte
lengths to b e i m plemented in each sector. For IBM
disk revolutions, interrupt out, reset busy, and set the
record not found status bit. compatability, the 'L' flag should be set to a one.
READ SECTOR
SEOUENCE
YES
As
HAVE DATA ALI
INTRO RESET BUSY INTRO PE'SLT BUS»
SINDEX HOLES OCCVRED
PASSED SET RECORD-NOT FOUND SET RECORD NOT FOUND
IN TIME
NO YES
'I E S
PS
I P ET 0 F
BEEN ASSEMBLED
DOES N DSA
TR T R ACK
ADDRESS OF ID
FIELD
YES
DOES
NO SR S ECTOR
ADDRESS OFID
F ELD *S
T NEXT BTTE
BEEN ASST.METED
YES N DSR
DOES YES
S S IDE NO
QF AS
I D FIE L D
DR BEEN
AE JD 0 SET DPTX
COMPUTER LOST
TES DRQ 0
S
CCM FA ID
X I TO
*0 'E READ • ACTOR AEG
STATUS
WIIITE SECTOR BIT 5
SEOUEMCE
1 Deleted Data Mark
0 Data Mark
WRITE SECTOR
Upon receipt of the Write Sector command, the head is
loaded (HLD active) and the Busy status bit is set. When an
A iD field is encountered that has the correct track number,
DA BEEN
LOADED BY INTRO RESET BUSY correct sector number, correct side number, and correct
C0 AIPU TE R ET IOY I I AI A
(ORO 0 CRC, a DRQ is generated. The FD179X counts off 11 bytes
in single density and 22 bytes in double density from the
HO
DDEN
0"
CRC field and the Write Gate {WG) output is made active if
the DRQ is sewiced (i.e H the DR has been loaded by the
TURN ON WG A INR TE
computer). If DRQ has not been sewiced, the command is
6 BYTES Of ZERO'
terminated and the Lost Data status bit is set. If the DRQ
has been serviced, the WG is made active and six bytes of
WRITE DATA ALI
ACCORDING TO AO FIELD
TURN ON WT' S WRITE
IT BYTES Of ZEROS
zeroes in single density and 12 bytes in double density are
Of WRITE COAIMAND
then written on the disk. At this time the Data Address
Mark is then written on the disk as determined by the a0
field of the command as shown below:
Data Address Mark (Bit 0)
1 Deleted Data Mark
0 Data Mark
HAS
DR BEEf
LOADED
SET DATA
LOST
The FD179X then writes the data field and generates DRQ's
IDFIO ' Ol WRITE BYTE
OF EEROS
to the computer. If the DRQ is not serviced in time for
continuous writing the Lost Data Status Bit is set and a
byte of zeroes is written on the disk. The command is not
HAYS
*LL BYTES terminated. After the last data byte has been written on the
BEEN WRITTEN WRITE CRC
disk, the two-byte CRC is computed internally and written
on the disk followed by one byte of logic ones in FM or in
MFM. The WG output is then deactivated. For a 2 MHz
clock the INTRQ will set 8 to 12I sec after the last CRC byte
TURN Off WG
is written. For partial sector writing, the proper method is to
write the data and fill the balance with zeroes. By letting the
chip fill the zeroes, errors may be masked by the lost data
status and improper CRC Bytes.
ENTER
IS
THIS A NC
WRITE TRACK
ODEI
0
YES
tN C IU
Sf I BUSY RESET DRO
LOST DATA STATUS
BITS • DOES wA TE 2 CaC
O SA I 0 AS CI K Fr
'5
D SK INTRO
READY RESET BUSY
DD E 5 ES A Tf I'C
YES D SR FC .I K D
SET LD
W F Tf I' 0 FE OA
DOES YES
COPY S FLAG 10 FA FB CLK Ci
O SA F D FE
SSO LINE ( 255'2 ONLYT N rlA I l f C r t C
Qa Frl FB
WHITE DSA
IS E CLK
FS
Yff P YS
HAS HAS NTAQ REST I BUSY NDEX LIAAK
IS MS I NOTK NO
EKP RED PUL LF
OCCUAED
YES
ES wa rf
5 rE or lE R05
15 T I DATA LOST
HL I
YES
NO
TB
I ' A PA
wEEE 5
DOES Y ES w P I f 02' IN HI M
O SR F S WITT M155 NG CLOCK
SET DRQ
TYPE III
COMMAND WRITE TRACK TYPE III
COMMAND WRITE TRACK
page D.197
'Missing clock transition between bits 4 and 5 "Missing clock transition between bits 3 & 4
WRITE TRACK FORMATTING THE DISK sure Type I status in the status register. This command can
(Refer to section on Type III commands for flow diagrams.) be loaded into the command register at any time. If there is
a current command under execution (busy status bit set)
Formatting the disk is a r elatively simple task when the command will be terminated and the busy status bit
operating programmed I/O or when operating under DMA reset.
with a large amount of memory. Data and gap information
must be provided at the computer interface. Formatting the The lower four bits of the command determine the con-
disk is accomplished by positioning the R/W head over the ditional interrupt as follows:
desired track number and issuing the Write Track com- IO = Not-Ready to Ready Transition
mand. I1 = Ready to Not.Ready Transition
Upon receipt of the Write Track command, the head is I2 = Every index Pulse
loaded and the Busy Status bit is set. Writing starts with (3 = Immediate Interrupt
the leading edge of the first encountered index pulse and The conditional interrupt is e nabled when th e c o r-
continues until the next index pulse, at which time the responding bit positions of the command ((3- IO) are set to
interrupt is activated. The Data Request is activated im- a 1. Then, when the condition for interrupt is met, the IN-
mediately upon receiving the command, but writing will not TRQ line will go high signifying that the condition specified
start until after the first byte has been loaded into the Data has occurred. If )3 - IO are all set to zero (HEX DO), no in-
Register. If the DR has not been loaded by the time the terrupt will occur but any command presently under
index pulse is encountered the operation is terminated execution will be immediately terminated. When using the
making the device Not Busy, the Lost Data Status Bit is set, immediate interrupt condition (I3 = 1) an interrupt will be
and the Interrupt is activated. If a byte is not present in the immediately generated and the current command ter-
DR when needed, a byte of zeroes is substituted. minated. Reading the status or writing to the command
This sequence continues from one index mark to the next register will not automatically clear the interrupt. The HEX
index mark. Normally, whatever data pattern appears in the DO is the only command that will enable the immediate
data register is written on the disk with a normal clock interrupt (HEX D8) to clear on a subsequent load command
pattern. However, if the FD179X detects a data pattern of register or read status register operation. Follow a HEX D8
F5 thru FE in the data register, this is interpreted as data with DO command.
address marks with missing clocks or CRC generation. Wait 8 micro sec (double density) or 16 micro sec (single
The CRC generator is initialized when any data byte from density before issuing a new command after issuing a
F8 to FE is about to be transferred from the Dh to the DSR forced interrupt (times double when clock = 1 M H z).
in FM or by receipt of F5 in MFM. An F7 pattern will Loading a new command sooner than this will nullify the
generate two CRC characters in FM or MFM. As a con- forced interrupt.
sequence, the patterns F5 thru FE must not appear in the Forced interrupt stops any command at the end of an in-
gaps, data fields, or ID fields. Also, CRC's must be ternal micro-instruction and generates INTRQ when the
generated by an F7 pattern. specified condition is met. Forced interrupt will wait until
Disks may be formatted in IBM 3740 or System 34 formats ALU operations i n p r o gress ar e c o mplete (CRC
with sector lengths of 128, 256, 512, or 1024 bytes. calculations, compares, etc.).
More than one condition may be set at a time. If for
example, the READY TO NOT-READY condition (I1 = 1)
and the Every Index Pulse (I2 = 1 ) are both set, the
TYPE IV COMMANDS resultantcommand would be HEX "DA". The "OR" func-
The Forced Interrupt command is generally used to ter- tion is performed so that either a READY TO NOT- READY
minate a multiple sector read or write command or to in- or the next Index Pulse will cause an interrupt condition.
READ TRACK
ENTER SEOVENCE
SET BUSY
RESET STATUS
BITS 2. 4. 5
NO INDEX
PULSE
4
NO
INTRO YES
READY
RESET BUSY
YES
SHIFT ONE BIT
INTO DSR
COPY S FLAG
TO SSO LINE
(1795'7 ONLY)
SET HLD
NO
ADDRESS YES
MARK DETECTEC
'1
NO
E- I
NO
YES
NO HAVE 8
BITS BEEN
ASSEMBLED
DELAY 15MS 4
YES
YES YES
TG43
UPDATE
TRANSFER
DSR TO DR
READ NO
TRACK
SET
DRQ
YES READ
ADDRESS
STATUS REGISTER
READ ADDRESS
Upon receipt of any command, except the Force Interrupt
SEQUENCE command, the Busy Status bit is set and the rest of the
status bits are updated or cleared for the new command. If
the Force Interrupt Command is received when there is a
current command under execution, the Busy status bit is
reset, and the rest of the status bits are unchanged. If the
HAVE 6 YES RESET BUSY
Force Interrupt command is received when there is not a
INDEX HOLES SET INTRO current command under execution, the Busy Status bit is
PASSED SET RNF
reset and the rest of the status bits are updated or cleared.
In this case, Status reflects the Type I commands.
NO
The user has the option of reading the status register
through program control or using the DRQ line with DMA or
interrupt methods. When the Data register is read the DRQ
NO HAS
IDAM BEEN
bit in the status register and the DRQ line are automatically
DETECTED reset. A write to the Data register also causes both DRQ's
to reset.
YES The busy bit in the status may be monitored with a user
program to determine when a command is complete, in
lieu of using the INTRQ line. When using the INTRQ, a busy
status check is not recommended because a read of the
SHIFT I BYTE
INTO DSR status register Io determine the condition of busy will reset
the INTRQ line.
BITS
7 6 5 4 3 2 1 0
S7 S6 S5 S4 S3 S2 S1 SO
SET DRO
YES
Delay Req'd.
'
TRANSFER TRACK Operation Nex t Operation FM MFM
NUMBER TO SECTOR
REGISTOR Write to Read Busy Bit 12 Ixs 6MS
Command Reg. (Status Bit 0)
Write to Read Status 28/xs 14 FIS
Command Reg. Bits 1-7
CRC YES SET CRC Write Any Read From Diff.
ERROR ERROR BIT Register Register
NO
issue the Write Track command and load the data register
NUMBER HEX VALUE OF with the following values. For every byte to be written, there
OF BYTES BYTE WRITTEN is one data request.
40 FF (or 00)'
6 00 NUMBER HEX VALUE OF
1 FC (Index Mark) OF BYTES BYTE WRITTEN
26 FF (or 00)' 80 4E
6 00 12 00
1 FE (ID Address Mark) 3 F6 (Writes C2)
1 Track Number 1 FC (Index Mark)
1 Side Number (00 or 01) 50 4E
1 Sector Number (1 thru 1A) 12 00
1 00 (Sector Length) 3 F5 (Writes A1)
1 F7 (2 CRC's written) 1 FE (ID Address Mark)
11 FF (or 00)' 1 Track Number (0 thru 4C)
6 00 1 Side Number(0 or1)
1 FB (Data Address Mark) 1 Sector Number (1 thru 1A)
128 Data(IBM uses E5) 1 01 (Sector Length)
1 F7 (2 CRC's written) 1 F7 (2 CRCs written)
27 FF (or 00)' 22 4E
247" FF (or 00)' 12 00
3 F5 (Writes A1)
"Write bracketed field 26 times 1 FB (Data Address Mark)
**
Continue writing until FD179X interrupts out. 256 DATA
Approx. 247 bytes. 1 F7 (2 CRCs written)
1-Optional '00' on 1795/7 only. 54 4E
598" 4E
IBM SYSTEM 34 FORMAT-
256 BYTES/SECTOR Write bracketed field 26 times
Shown below is the IBM dual-density format with 256 '*
Continue writing until FD179X interrupts out.
bytes/sector. In order to format a diskette the user must Approx. 598 bytes.
H,t
(I CC I )
I G G G
G If
*' I'
I I ' t t' C C C
I G
Hf' it
,„ I "H .
f
I. ~
H 't '
* ' I
I G C G
1. NON-IBM FORMATS
Variations in the IBM formats are possible to a limited
extent if the following requirements are met:
YDRR
FM MFM
'SET
TIMING CHARACTERISTICS
TA = 0 C to 70 C, Vco = + 12V . . 6 V , Vss = OV, Vcc =+5V + .25V
I RR'
TRY I I
DATA MUST
BE VALID NOMINAL
WRITE DATA TIMING: (ALL TIMES DOUBLE WHEN CLK = 1 MHz ) (See Note6, Page21)
SYMBOL CHARACTERISTICS MIN, TYP. MAX. UNITS CONDITIONS
CLK
( IMHZ)
WD
Twdi Twd2
125 125
CLK
) 2MHZ)
WD
Twdl ~ [ ~ Twd2
IDDEN — 0)
MISCELLANEOUS TIMING: (Times Double When Clock = 1 MHZ} (See Note 6, Page 21)
NOTES:
1. Pulse width on RAW READ (Pin 27) is normally
100-300 ns. However, pulse may be any width if
pulse is entirely within window. If pulse occurs inboth
windows, then pulse width must be less than 300 ns
for MFM at CLK = 2 MHz and 600 ns forFM at 2
MHz. Times double for 1 MHz.
2 A PPL Data Separator is recommended for 8" MFM.
3 tbc should be 2 FES, naminal in MFM and 4 F S nOminal
in FM. Times double when CLK = 1 MHz
4. RCLK may be high or low during RAW READ (Polarity
is unimportant).
5. Times doublewhen clock = 1 MHz.
6. Output timing readingsareat VoL = 0.8vandvoR =
Zi-, 2.0v.
STEP A
YO
OAO
YO A T AP'
OA
TTAQ TSTP
J~ TSTP
I I I i
SP
STEP
YOL
MISCELLANEOUS TIMING
'FROM STEP RATE TABLE
ELECTRICAL CHARACTERISTICS
Absolute Maximum Ratings Dissipation = 0.6W
Voowithrepect to Vss(ground): +15to -0.3V CIN & CouT = 15 pF max with all pins grounded except
Voltage to any input with respect to V~ = + 15 to — 0.3V one under test.
Icc = 60 MA (35 MA nominal) Operating temperature = O'C to 70'C
loo = 15 MA (10 MA nominal) Storage temperature = — 55'C to + 125'C
610
MAX
IN01 x
INDE 4 00 1
001 200
2 060
MAX
2 025 MAX
015
MIN
060
;10
J
055
0 55 ~ i 014 125
575
620
040
MIN
060
110
J 055 0, 125
660
021 MIN
Infprmation furnished by Western Digital Corporation is believed to be accurate and reliable. However, no responsibility is
assumed by Western Digital Corporation for its use; nor any infringements of patents or other rights of third parties which
may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Western Digital
Corporation. Western Digital Corporation reserves the right to change said circuitry at anytime without notice.
SPIES'i& A 'Af ZP I N I 7 A f5
C 0 /7 P 0 R' xf / / 0 N
+N
PHASE
COMPARE
PO
WDIN 20 VCC
19
RGO
18 LATE
EARLY
TG43
16 VCO tii
WD1691 VFOE
VFOE
WDOUT 16 DDEN IWP GEMUX PRECOMP T2
LOGIC
ti3
WG 14 PD
+4
VFOE/WF 13 PU
BLOCK DIAGRAM
page D.208
STROBE STB Strobe output from the 1691. Strobe will latch at a high level
on the leading edge of WDIN and reset to a low level on the
leading edge of 04.
WRITE DATA WDOUT Serial, pre-compensated Write data stream to be sent to the
OUTPUT disk drive's WD line.
TRACK 43 TG43 Ties directly to the FD179X TG43 pin, If Write Precompen-
sation is required on TRACKS 44-76.
10 V„ Ground
READ DATA RDD Composite clock and data stream input from the drive.
READ CLOCK RCLK RCLK signal generated by the WD1691, to be tied to the
FD179X RCLK pin.
13 PUMP UP PU Tri-state output that will be forced high when the WD1691
requires an increase in VCO frequency.
14 PUMP DOWN PD Tri-state output that will be forced low when the WD1691 re-
quired a decrease in VCO frequency.
15 Double Density DDEN Double Density Select input. When Inactive (High), the VCO
Enable frequency is internally divided by two.
16 Voltage VCO A nominal 4.0MHz (8" drive) or 2.0MHz (5.25 drive) master
Controlled clock input.
Oscillator
17, 18 EARLY EARLY EARLY and LATE signals from the FD179X, used to deter-
LATE LATE mine Write Precompensation.
20 V„ V„ + SV 1 0 % power supply
Page 0.209
DEVICE DESCRIPTION
The WD1691 is divided into two sections: When VFOE/WF and WRITE GATE are low,the data
recovery circuit is enabled. When the RDD iine goes Active
1) Data Recovery Circuit Low, the PU or PD signals will become active. If the RDD
2) Write precompensation Circuit line has made its transition in the beginning of the RCLK
window, PU will go from a Hl-Z state to a Logic I, requesting
anincrease in VCO frequency. It the RDD line has made its
transition at the end of the RCLK window, PU will remain in
The Data ~Se arator or Recovery Circuit has four inputs: a Hl-Z state while PD will go to a logic zero, requestincCa
DDEN, VCO, RDD, andVFOE/WF; and three outputs: PU, decrease in VCO frequency. When the leading edge of RDD
PD and RCLK. The VVF/WF input is used in conjunction occurs in the center of the RCLK window, both PU and PD
with the Write Gate signal to enable the Data recovery circuit. will remain tri-stated, indicating that no adjustment of the
When Write Gate is high, a write operation is taking place, VCO treruencyisneeded. The RC~ a i is a divid
e-by-
and the data recovery circuits are disabled, regardless of the 16 (DDEN =1 ) or a divide-by-8 (DDEN =O) of the VCO
state on any other inputs. frequency.
X HI-Z
X
1 HI-Z
X
1
HI-Z
00 0 Enable
The Write Precompensation circuit has been designed The minimum Voh level on PU is specified at 2.4V,
to be used with the WD2143-01 clock generator, When the sourcing 200ua. During PUMP UP lime, this output will "drift"
WD1691 is operated in a "single density only" mode, wnte from a tri-state to .4V minimum. By tying PU and PD together,
precompensation as well as the WD2143-01 is not needed. a PUMP signal is created that will be forced low for a de-
In thiscase, p1, Q2, p3, p4, and STB should be tied together, crease in VCO frequency and forced high for an increase in
DDEN left open, and TG43 tied to ground. VCO frequency. To speed up rise times and stabilize the
output voltage, a resistor divider can be used to set the tri-
state level to approximately 1.4V, This yields a worst case
swing of I Y ; acceptable for most VCO chips with a linear
ln the double-density mode (DDEN= 0), the sitLnals Early voltage-to-frequencv charactenstic.
and Late are used to select a phase input (pt - $4) on the
leading edge of WDIN. The STB line is latched high when
this occurs causing the WD2143-01 to start its pulse gen- Both PU and PD signals are affected by the width of the
eration. P2 is used as the write data pulse on nominal RAW READ (RDD) pulse. The wider the RAW READ pulse,
(Early=Late =i t), 42 is used for early, and f3is used for late. the longer the PU or PD signal (depending upon the phase
The leading edge ofP4 resets the STB line i n'' i tion of relationship to RCLK) will remain active. If the RAW READ
the next wnte data pulse. When TG43 =0 or DDEN =1, Pre- pulse exceeds ~ (VCO = 4MHz, DDEN = 0) or 500ns.
compensation is disabled and any transitions on the WDIN (VCO = 4MHz, DDEN = 1), then both a PU and PD will occur
line will appear on the WDout line. If wnte precompensation in the same window. This is undesirable and reduces the
is desired on all tracks, leave TG43 open (an internal pull-up accuracy of the external integrator or low-pass filter to con-
will force a Logic I) while DDEN =O. vert the PUMP signals into a slow moving D.C. correction
voltage.
The signals,
DUES TG43, andTTDD have internal pull- Eventually, the PUMP signals will have corrected the
up resistors and may.be left open if a logic ( is desired on VCO input to exactly the same frequency multiple as the
any of these lines. RAW READ signal.The leading edge of the RAW READ
pulse will then occur in the exact center of the RCLK window,
and ideal condition for the FD179X internal recovery circuits.
Page 0.210
SPECIRCATIONS
AB L U TE MAXIM M R IN
Ambient Temperature under Bias . -25 to 70'C Storage Temp.— Ceramic — 65'C to +150 C
Voltage on any pin with respect Plastic — 55'C to +125'C
to Ground (vss) . -0.2 to +7V
Power Dissipation . . 1W
NOTE: Maximum limits indicate where permanent device
damage occurs. Continuous operation at these limits is not
R C R TERI CS intended and should be limited to those conditions specified
T, = II t o 70'C; V c = 5.0V 1 0%; V = O V in the DC Electrical characteristics.
AC ELECTRICAL CHARACTERISTC
T, = 0' to 70 C; V„ = S V = 10%; Vss = OV
I I
te - FIN - » I
I
Vcc
VCO
PINS
8, 9, 11, 15
ROO
only
I
Rpw
RCLK
INTERNAL PULL-UP RESISTOR ~ Vco -: 16 — ~
Page 0.211
Wel ~ I i~ Wpw
I
WDIN I
EARLY
LATE
WDOUT
NOM EARLY NOM
TG43
DDEN ~ "0" WRITE DATA TIMING (MFM)
Wpw
WDIN
WDOUT
'I
Wpi
"0"
II
TG43
DDEN "1"
WRITE DATA TIMING (FM)
page 0.212
TyPICAL APPLICATIONS
Figure 1 illustrates the 1691 to FD177141 floppy disk con- To adjust write precampensation, issue a command to
troller. The RCLK signal is used to gate the RAW data pulses the FD179X so that write data pulses are present. This can
which are inverted by the 74LS04 inverter. Since RCLK will be done with a 'WRITE TRACK' command and the IP line
be high during data and low during clock a 74LS08 is used open, or a continuous 'WRITE SECTOR' operation. With a
to switch the proper clock or data pulse to the FD1771. scope on pin 4 of the WD1691, adjust the precomp pot for
the desired value. This will range from 100 to 300 ns typically.
Shown in Figure 2 is a Phase-Lock Loop data separator The pulse width set on pin 4 (O1) will be the desired precomp
and the support logic for a single and double-density 8" drive. delay from nominal.
The raw data (Both clock and data bits) are fed to ~th
WD1691 and FD179X. The WD1691 outputs its PU or PD The data separator must be adjusted with the RDD or
signal, which is integrated by the .33uf capacitor and 33ohm VFOE/WF line at a Logic I. Adjust the bias voltage poten-
resistor to form a control voltage for the 74S124 VCO device. tiometer for 1.4V on pin 2 of the 74S124. Then adjust the
The 4.0MHZ nominal output of the VCO then feeds back to range control to yield 4.0MHZ on pin 7 of the 74S124.
the WD1691 completing the loop. The WD2143-01 is also
used, providing write precompensation when in double-den-
sity, from tracks 44-77. The DDEN line can either be con-
trolled by a toggle switch or a logic level from the host
system.
RAW
1771-01
DATA
74LS04
XTDS
1691
ADD
74LS08
12
RCLK 27
FDDATA
26
FDCLOCK
DDEN N.C.
FIG. 1
W01691 to FD1771<1 INTERFACE
SUBSTITUTING VCO's
IJJ
o
P K
O UJ
p
I- K K
Z 0
0 j .oV> K
!
,p K
KK UJ
Z )
Cb
U.
0 Q
Z O
0 O + 0g < g <9 4
IZ
<fl
UJ UJ
CU a I- j I-
p cn VJ VI
Z Z
VJ UJ
0
VI
+ + 1I
UJ
UJ CC
o
IA UJ
g IZ
+
VI
Q
U.
p
VI
oE
O
o CD
ice CII
O C4
O
Q UJ
0
Ol 0 0
0 UJ
8i lO
VJ
0
p
X
0
UJ
Z
UI VI
tl
0
VJ
Z I-
Y Qr
8 P0~ p O
o
VI
K
Vl Q
Y
I
~ UJ
w tz p
0 0 Z ~ '>
Wl
w p
K K
I Ih ~o
CU p p O
D- Z CII I
V) 1,Z tl
• il Z
VJgo Ol UJ
X p Z
P- I- CC zC
p
V) <UJ I- Q ~
C0 O Q Q O
Y. V)
OI UJ IJ UJ IA
Q O I- r Z
UJ Q
a Q <
v) o
Page D.214
The is a preiiminary specdlcation wrrh tentabve device parameters and may be subfect to change atter final product charactenzalion is comore(ed.
Intonnabon furnished by Western Digilai Corporation is beievsd to be accurate and reliable. However. no responsibility is assumed by Western Digitai Corporation
for its use: nor any infringements of patents or other nghts of third partes whch may result from its use. No license is granted by imolicatcn or ctt:ervnse under
any patent or patent nghts ot Western Digrtat Corporation. Western Digital Corporation reserves the ngnt to change said circuitry st any time without noses.
N fES TE APN B / 8 / 7A l
C CJ F7 P 0 Itr' A 7 / 0 N
yl PW
STB IN Q
osc
18 vcc
QPW
osc
$3 16 4I4 Pw OUT T Q
4i3 15 tb3 Pw
4I2 14 Q2 PW
4I2 13 $1 PW
12 OSC OUT
T Q
STB IN
GND 10 sTB DUT
PIN CONNECTIONS T Q
DEVICE OPERATION
Each of the phase outputs can be controlled individually by STROBE IN (pin 11) is driven by a TTL square wave with
typing an external resistor from d>t PW-<b4PW to a +5V sup- STROBE OUT (pin 10) left open. Each of the four phase
ply. When it is desired to have bt through d 4 outputs the outputs provide both true and inverted signals, capable of
same width, the bt PW- h4PW inputs should be lett open and driving 1 TTL load each.
an external resistor tied from the 4PW (Pin 17) input !o
+12V.
page 0.216
1 ,3,5, 7 Four phase clock outputs. These outputs are inverted (active low).
2, 4, 6, 8 41-g4 Four Phase clock outputs. These outputs are true (active high).
GND Ground
12 N.C. No connection
13-16 $ I PW-$4PW External resistor inputs to control the individual pulse widths of each output.
These pins can be left open if 4 PW is used.
17 $PW External resistor input to control all phase outputs to the same pulse widths.
TYPICAL APPLICATIONS
7400 STB IN
WD1891 WD214303
WD2143KI3
STB IN
10
NC STB OUT
+ 12
Figure 2 WRITE PRECOMP OPERATION WITH F.S.L Figure 3 TTL SQUARE WAVE OPERATION
WD1691
5
— 12
13
b1
2K
WD2143-03
14 6
412PW 42
17
10K dPW WD2143-03
15 4
83PW b3 b3
2
44 44
10K
Figure 4 EQUAL PULSE WIDTH OUTPUTS Figure 5 INDIVIDUAL PULSE WIDTH OUTPUTS
Page D.217
0
0 I
n 0
lO C
CCN I Kfu<
'0 'V
SPECIFICATIONS
Absolute Maximum Ratings Note: Maximum ratings indicate limits beyond which perma-
nent damage may occur. Continuous operation at these limits
Operating Temperature 0' to + 70' C is not intended and should be limited to the DC electrical char-
acteristics specified.
Voltage on any pin with — 0.5 to +7V
respect to Ground 'Pin 17 = — 0.5V to +12V. Increasing voltage on Pin 17 will
decrease Tpw.
Power Dissipation 1 Watt
DC ELECTRICAL CHARACTERISTICS
V c = 5 V ~ 5 % , G N D = OV, TA 0 to 7 0 ' C .
SWITCHING CHARACTERISTICS
0 500
I Mxx
0 I50
MAX.
t
gg 0055 0 /25
~0205
$ 0 Ill •
Q+
0 021g
I
Q ~o
0 I25
0 055 MIN M IN
0 085
This is a preliminary specification with tentative device parameters and may be sublect to change after final product characterization is
completed.
Information furnished by Western Digital Corporation is believed to be accurate and reliable. However, no responsibility is assumed by
Western Digital Corporation for its use, nor any infnngements of patents or other rights of third parties which may result from its use No
license is granted by implication or otherwise under any patent or patent rights of Western Dig~tel Corporation Western Digital Corpora-
tion reserves the right to change said circuitry at any time without notice
M O T O R O LA MCM6633
32,76B-BITDYNAMIC RAM
Vcc 9 9 A7
c/
A5 ia ss output This device contains circuitry to protect
ie 334-Bii Memory 8 16,394. Bii Memory E
0 Data. O
/0 the inputs against damage due to high
AE Array Array static voltages or electnc fields; however,
'0 0
cr
d it is advised that normal precautions be
A/ taken to avoid appkcauon of any voltage
higher than maximum rated voltages to
0
recisarg this high-impedance circuit.
Sense Amoirtier Sense Ampkler
Clock
DS9825/9-80
page D.220
MCM6633
DC CHARACTERISTICS
Characteristic Symbol Min Max Units Notes
VCC Power Supply Current (tRC min ) iCCI mA
Standby VCC Power Supply Currenr iCC2 mA
VCC Power Supply Current Dunng l(7ES Only Refresh Cycles iCC3 mA
Input Leakage Current (any input! (0< V no 5 5) IExcept Pin 1) Il(L) 10
OutPut Leakage Current (OS Vou($5.5) ICAS at Logic 1) (OIL) 10 )rA
O utput Logic I Voltage I I i i « -- — 4 mA VOH 24
Output Logic 0 Voltage Sir lo„t = 4 mA VOL 04
M C M6633
CAPACITANCE (f = I 0 MHz, TA= 2 5 'C, VCC=5 V P enodically Sampled Rather Than )00r)(r Tested)
Parameter Symbol Typ Max Units Notes
Input Caparxtance (AO-A7), D C)1 pF
Input Capacitance R7(9. CTF(r', )70RITE Ci2 )0 pF
Output Capacitar ce (Q) (CAS = V)H to disable output) Ca pF
NOTES
I All voltages referenced to V 8 9
2 V (H min and V(L max are reference levels far measunng timing of input signals Transition times are measured between V(H and
VIL
3 A n initial pause of 100 xs is required atter power-up followed by ariy 8 RAS cycles before proper dewce operation guaranteed
4 C u rrent is a function of cycle rate and output loading, maximum current is measured at the fastest cycle rate with the output
open
Output is disabled (open-circuit) and RAS and CAS are both at a logic I
6 T h e transition time specification applies for all input signals In addition to meeting the transnion rate specification, all input sig-
nals must transmit between V(H and V(L lar between V(L and V(H) in a monotonic manner
7 C apacitance measured with a Boonton Meter or effective capacitance calculated fram the equation C = ~
AV
8 T h e specifications for tp c lmin), and tRw c lmin) are used only ta indicate cycle time at which proper operation over the full tem-
perature range (O'C s TA s 70'C) is assured
9 A C measurements assume t T= 5 0 ns
10 Assumes that tRCp S tRCP (maxi
11 Assumes that (RCpatRCO lmax)
12 Measured with a current load eqtavalent to 2 TTL loads I + 200 rrA, — 4 mA) and 100 PF (VOH = 2.0 V, VOL = — 0.8 V)
13 Operation wi;hin the tR cp (max) hm:I ensures that tRAc (max) can be met tR cp (maxi is spetx fied as a reference point only, if
tRcp is greater than the specified tRcp (maxi hmn, then access time is controlled excluswely by ) cAc.
14 Either tRRH or (RCH must be satisfied for a read cycle
15 These parameters are referenced to CA(x leading edge in random wnte cycles and to WRITE leading edge in delayed wnte or read.
modify-write cycleS
16 tW CS, (CWD, and tRWD are not restrictive operat ng parameterS They are included in the data sheet as electnCal charactern
s ties only if ; wcs 2 (wc s (min), the cycle ~s an early wnte cycle and the data out pin will remain open circuit (high impedance)
throughout the entire cycle, if tCWp a )CWO (min) and (Ryyp a (Ryyp (min), the cycle is a read wnte cycle and the data out will
contain data read from the selected cell, if neither af the above sets of conditions is sausfied, the condition of the data aut (at
access time) is rndeterminate
17, toff (maX) de(inca the time at WhiCh the OutPut aChieVeS the OPen CirCuit COnditiOn and ia nO( referenCed tO OutPut VOltage leVelS
page 0.222
MCM6633
RAS 13 A6 13 A6 RAS 13 A6
AO 12 A3 AO 12 A3 AO 12 A3
A2 A4 A2 A4 A2 A4
AI 10 A5 AI 10 A5 AI 10 A5
PIN VARIATIONS
ORDERING INSTRUCTIONS
PART NUMBER DESCRIPTION SPEED MARKING
M C M6633L 15 66330L15/66331L15
M C M 66330L15 32K RAM 66330L15
M C M66331L 15 Sidebraze 66331L15
MCM6633L20 Package 66330L20/66331 L20
"L"
MCM66330L20
MCM66331L20 56331L20
'MCM66330L20 = Tie A7 C~A (A15) Low "0"
MCM66331L20 = T i e A7 CAS (A151 High "I"
page 0.223
MCM6633
IRAS
VIH
RAS
VII
'CSH IRP
IRSH ICRP
IRCD
VIH iCAS
CAS
VIL
IRAH
IASR IASC
MICAH
Add ass~~ Row Column
VIL Address Address
RRH
IRCS IRCH
ICAC
IRAC IOFF
VOH Va.'id
Q lData Outl High Z
VOL Data
IRAH
IASP IASC ICAH
VIH
Row Column
Addresses
Address Address
ICWL
VIH
IWCS
+ WCH
I IRWL
IDHR
VOH
Q (Data Out) High 1
VOL
page 0.224
MCM6633
IRC
IRP
V IH
If? AS
C'C
VIL
IRAH IR
IASR
Addresses,
Row Address
AO-A6
\RWC
IRAS
VIH
VIL
IRSH IRP
tCSH
IRCD ICAS ICR~
VIH'
IRAH
VIH
IASR tASC Q(CAH
ow olumn
Addresses
A Address
ViL
IRWD ICWL
IRCS ICWD 'RWL
VIH
W
VIL
'WP (OFF
ICAC
VOH
0 (Data Out) Valid
High Z
Data
VOL
I(IAC 'DH
'DS
ViH
Valid
D (Data In)
Data
VIL
page 0.225
MCM6633
Row Address A7 A6 A5 A4 A3 A2 Al AO
Column Address A7 A6A5 A4 A3 A2 Al AO Column Addresses
Her D sc A7 A B A 3 A4 A6 A2 AO A I
FE 264 I I I I I I I 0
FF 255 I I I I I I I I
FC 252 I I I I I I 0 0
FD 253 I I I I I 0 I
FA 250 I I I I I 0 I 0
FB 251 I I I I I 0 I I
FB 248 I I I 0 0 0
F9 249 I I I I I 0 0 I
82 130 I 0 0 0 0 0 I 0
83 131 I 0 0 0 0 0 I
BD 12 8 I 0 0 0 0 0 0 0
81 129 I 0 0 0 0 0 0 I
7F 127 0 I I I I I I I
C 7E 126 0 I I I I I I 0
7D 125 0 I I I I I 0 I
Q
-= O8
O O O o o o
4 0 0 0 0 0 I 0 0
03 3 0 0 0 0 0 0 I I
02 2 0 0 0 0 0 0 I 0
88 01 I 0 0 0 0 0 0 0 I
CO 0 0 0 0 0 0 0 0 0
88 o 8 8 OB Q8
• • • • • mo r o e c o - o
Oo Oo —0
o oa ao
O o o o o
O o o o o o a o
Q Q Q Q O O Q O Q
Oo o o o o o o o
Q a o o o o o o o
C O a a a o o o a o