Diamond Systems RUBY-MM-1612 user manual Intr Interrupt Request, Output Control Signal Definition

Page 28

82C55A

STB

IBF

INTR

RD

INPUT FROM PERIPHERAL

tST

tSIB

tPS

tSIT

tPH

tRIB

tRIT

FIGURE 7. MODE 1 (STROBED INPUT)

INTR (Interrupt Request)

A “high” on this output can be used to interrupt the CPU when and input device is requesting service. INTR is set by the condition: STB is a “one”, IBF is a “one” and INTE is a “one”. It is reset by the falling edge of RD. This procedure allows an input device to request service from the CPU by simply strobing its data into the port.

INTE A

Controlled by bit set/reset of PC4.

INTE B

INTE A

Controlled by Bit Set/Reset of PC6.

INTE B

Controlled by Bit Set/Reset of PC2.

NOTE:

1.To strobe data into the peripheral device, the user must operate the strobe line in a hand shaking mode. The user needs to send OBF to the peripheral device, generates an ACK from the pe- ripheral device and then latch data into the peripheral device on the rising edge of OBF.

Controlled by bit set/reset of PC2.

Output Control Signal Definition

(Figure 8 and 9)

OBF - Output Buffer Full F/F). The OBF output will go “low” to indicate that the CPU has written data out to be specified port. This does not mean valid data is sent out of the part at this time since OBF can go true before data is available.

Data is guaranteed valid at the rising edge of OBF, (See Note 1). The OBF F/F will be set by the rising edge of the WR input and reset by ACK input being low.

ACK - Acknowledge Input). A “low” on this input informs the 82C55A that the data from Port A or Port B is ready to be accepted. In essence, a response from the peripheral device indicating that it is ready to accept data, (See Note 1).

INTR - (Interrupt Request). A “high” on this output can be used to interrupt the CPU when an output device has accepted data transmitted by the CPU. INTR is set when ACK is a “one”, OBF is a “one” and INTE is a “one”. It is reset by the falling edge of WR.

CONTROL WORD

D7 D6 D5 D4 D3 D2 D1 D0

1

0

1

1

1/0

 

 

 

 

 

 

 

 

 

 

 

PC4, PC5

1 = INPUT

0 = OUTPUT

WR

CONTROL WORD

D7 D6 D5 D4 D3 D2 D1 D0

1

1

0

WR

MODE 1 (PORT A)

 

PA7-PA0

8

 

PC7

OBFA

INTE

PC6

ACKA

A

 

 

 

PC3

INTRA

 

PC4, PC5

2

 

 

MODE 1 (PORT B)

 

PB7-PB0

8

 

PC1

OBFB

INTE

PC2

ACKB

B

 

 

 

PC0

INTRB

FIGURE 8. MODE 1 OUTPUT

9

Image 28 Contents
RUBY-MM-1612 Table of Contents Description Signal Name Definition O Header PinoutBase Address Configuration Header J5 Position Hex Decimal Board ConfigurationBase Address Analog Output Range Configuration Adjustable Reference VoltageOn-Board Reference Full-Scale Voltage Selection Full-Scale VoltageAnalog Output Configuration Header J4 Range RUBY-MM-1612 Board Drawing Ruby-MM-1612 I/O Map Reset informationBase + Write Function Read Function Base + 0 or 1, Read Update DACs Register DefinitionsBase + 0, Write DAC LSB register Base + 1, Write DAC MSB registerBase + 3, Write External trigger register Configuration Register 82C55 Digital I/O Chip Operation82C55 Register Map DefinitionsFull Scale 1LSB Analog Output Ranges and ResolutionFull Scale 10. D/A Code Computation LSB = 1/2048 x Full-Scale Voltage Offset Binary Coding for bipolar output rangesOutput Code Explanation Output Voltage for ±5V Range Hardware Update Command HOW to Generate AN Analog OutputTo generate an analog output on one or more channels Examples Single channel output Two channel outputCalibration Procedure Specifications MiscellaneousFeatures Ordering InformationDescription PinoutsFunctional Diagram 82C55A Pin Description82C55A Functional Description Data Bus BufferRead/Write and Control Logic Group a and Group B ControlsMode Selection 82C55AOperational Description Ports A, B, and CSingle Bit Set/Reset Feature Figure Operating ModesInterrupt Control Functions Inte Flip-Flop DefinitionMode 0 Basic Output Mode 0 Basic InputMode 0 Configurations Control Word #4 Control Word #8 STB Strobe Input Input Control Signal DefinitionIBF Input Buffer Full F/F Output Control Signal Definition Intr Interrupt RequestMode 2 Strobed Bi-Directional Bus I/O Bi-Directional Bus I/O Control Signal DefinitionOutput Operations Input OperationsMode Control Word Mode 2 Combinations Special Mode Combination Considerations Current Drive CapabilityApplications of the 82C55A Reading Port C Status Figures 15