COP424C NSC [National Semiconductor], COP424C Datasheet - Page 9
![no-image](/images/no-image-200.jpg)
COP424C
Manufacturer Part Number
COP424C
Description
Single-Chip 1k and 2k CMOS Microcontrollers
Manufacturer
NSC [National Semiconductor]
Datasheet
1.COP424C.pdf
(24 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
COP424C-RTB/V
Manufacturer:
NSC
Quantity:
5 510
Functional Description
3 EN3 in conjunction with EN0 affects the SO output With
INTERRUPT
The following features are associated with interrupt proce-
dure and protocol and must be considered by the program-
mer when utilizing interrupts
a The interrupt once recognized as explained below
b An interrupt will be recognized only on the following con-
c Upon acknowledgement of an interrupt the skip logic
EN0 set (binary counter option selected) SO will output
the value loaded into EN3 With EN0 reset (serial shift
register option selected) setting EN3 enables SO as the
output of the SIO shift register outputting serial shifted
data each instruction time Resetting EN3 with the serial
shift register option selected disables SO as the shift reg-
ister output data continues to be shifted through SIO and
can be exchanged with A via an XAS instruction but SO
remains set to ‘‘0’’
pushes the next sequential program counter address
(PC
tom of the stack are lost The program counter is set to
hex address 0FF (the last word of page 3) and EN1 is
reset
ditions
1 EN1 has been set
2 A low-going pulse (‘‘1’’ to ‘‘0’’) at least two instruction
3 A currently executing instruction has been completed
4 All successive transfer of control instructions and suc-
status is saved and later restored upon popping of the
stack For example if an interrupt occurs during the exe-
cution of ASC (Add with Carry Skip on Carry) instruction
which results in carry the skip logic status is saved and
program control is transferred to the interrupt servicing
routine at hex address 0FF At the end of the interrupt
routine a RET instruction is executed to pop the stack
and return program control to the instruction following the
original ASC At this time the skip logic is enabled and
skips this instruction because of the previous ASC carry
Subroutines should not be nested within the interrupt
service routine since their popping of the stack will en-
able any previously saved main program skips interfering
with the orderly execution of the interrupt routine
cycles wide has occurred on the IN
cessive LBIs have been completed (e g if the main
program is executing a JP instruction which transfers
program control to another JP instruction the interrupt
will not be acknowledged until the second JP instruc-
tion has been executed)
a
1) onto the stack Any previous contents at the bot-
EN0 EN3
0
0
1
1
TABLE I Enable Register Modes
1
0
0
1
(Continued)
1
input
Shift
Shift
Binary
Binary
Register
Register
Counter
Counter
SIO
Input to Shift
Input to Shift Serial If SKL
Input to
Input to
Register
Register
Counter
Counter
SI
9
d The instruction at hex address 0FF must be a NOP
e An LEI instruction may be put immediately before the
MICROBUS INTERFACE
The COP444C 424C has an option which allows it to be
used as a peripheral microprocessor device inputting and
outputting data from and to a host microprocessor ( P)
IN1 IN2 and IN3 general purpose inputs become Microbus
compatible read-strobe chip-select and write-strobe lines
respectively IN1 becomes RD
will cause Q latch data to be enabled to the L ports for input
to the uP IN2 becomes CS
lects the COP444C 424C as the uP peripheral device by
enabling the operation of the RD and WR lines and allows
for the selection of one of several peripheral components
IN3 becomes WR
data from the L ports to the Q latches for input to the
COP444C 424C G0 becomes INTR a ‘‘ready’’ output reset
by a write pulse from the uP on the WR line providing the
‘‘handshaking’’ capability necessary for asynchronous data
transfer between the host CPU and the COP444C 424C
This option has been designed for compatibility with Nation-
al’s Microbus
parallel data transfer between MOS LSI CPUs and interfac-
ing devices (See Microbus National Publication ) The func-
tioning and timing relationships between the signal lines af-
fected by this option are as specified for the Microbus inter-
face and are given in the AC electrical characteristics and
shown in the timing diagrams ( Figures 4 and 5 ) Connection
of the COP444C 424C to the Microbus is shown in Figure 6
SO
out
RET instruction to re-enable interrupts
0
1
0
Bits EN0 and EN3
If SKL
If SKL
If SKL
FIGURE 6 Microbus Option Interconnect
SK
SK
e
e
e
e
e
e
SKL
SKL
1 SK
0 SK
1 SK
0 SK
SK
a standard interconnect system for 8-bit
e
e
e
e
a logic ‘‘0’’ on this line will write bus
clock
0
clock
0
a logic ‘‘0’’ on this line se-
a logic ‘‘0’’ on this input
TL DD 5259 – 7