Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module Input Control Signal Definition

Page 27

82C55A

Mode 0 Configurations (Continued)

CONTROL WORD #12

CONTROL WORD #14

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

1

0

0

1

1

0

0

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

PA7 - PA0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

82C55A

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC7 - PC4

D7 - D0

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

PC3 - PC0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

B

 

PB7 - PB0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

1

0

0

1

1

0

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

PA7 - PA0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

82C55A

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC7 - PC4

D7 - D0

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

PC3 - PC0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

B

 

PB7 - PB0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTROL WORD #13

CONTROL WORD #15

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

1

0

0

1

1

0

0

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

PA7 - PA0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

82C55A

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC7 - PC4

D7 - D0

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

PC3 - PC0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

B

 

PB7 - PB0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

1

0

0

1

1

0

1

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

PA7 - PA0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

82C55A

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC7 - PC4

D7 - D0

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

PC3 - PC0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

B

PB7 - PB0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Operating Modes

Mode 1 - (Strobed Input/Output). This functional configura- tion provides a means for transferring I/O data to or from a specified port in conjunction with strobes or “hand shaking” signals. In mode 1, port A and port B use the lines on port C to generate or accept these “hand shaking” signals.

Mode 1 Basic Function Definitions:

Two Groups (Group A and Group B)

Each group contains one 8-bit port and one 4-bit control/data port

The 8-bit data port can be either input or output. Both inputs and outputs are latched.

The 4-bit port is used for control and status of the 8-bit port.

Input Control Signal Definition

(Figures 6 and 7)

STB (Strobe Input)

A “low” on this input loads data into the input latch.

IBF (Input Buffer Full F/F)

CONTROL WORD

D7 D6 D5 D4 D3 D2 D1 D0

1

0

1

1

1/0

 

 

 

 

 

 

 

 

 

 

 

PC6, PC7

1 = INPUT

0 = OUTPUT

RD

CONTROL WORD

D7 D6 D5 D4 D3 D2 D1 D0

1

1

1

RD

MODE 1 (PORT A)

 

PA7-PA0

8

INTE

PC4

STBA

A

 

 

 

PC5

IBFA

 

PC3

INTRA

 

PC6, PC7

2

 

I/O

MODE 1 (PORT B)

 

PB7-PB0

8

INTE

PC2

 

B

STBB

 

 

PC1

IBFB

 

PC0

INTRB

A “high” on this output indicates that the data has been loaded into the input latch: in essence, and acknowledg- ment. IBF is set by STB input being low and is reset by the rising edge of the RD input.

FIGURE 6. MODE 1 INPUT

8

Image 27 Contents
RUBY-MM-1612 Table of Contents Description O Header Pinout Signal Name DefinitionBoard Configuration Base Address Configuration Header J5 Position Hex DecimalBase Address Full-Scale Voltage Analog Output Range ConfigurationAdjustable Reference Voltage On-Board Reference Full-Scale Voltage SelectionAnalog Output Configuration Header J4 Range RUBY-MM-1612 Board Drawing Reset information Ruby-MM-1612 I/O MapBase + Write Function Read Function Base + 1, Write DAC MSB register Base + 0 or 1, Read Update DACsRegister Definitions Base + 0, Write DAC LSB registerBase + 3, Write External trigger register Definitions Configuration Register82C55 Digital I/O Chip Operation 82C55 Register MapAnalog Output Ranges and Resolution Full Scale 1LSBFull Scale 10. D/A Code Computation Offset Binary Coding for bipolar output ranges LSB = 1/2048 x Full-Scale VoltageOutput Code Explanation Output Voltage for ±5V Range HOW to Generate AN Analog Output Hardware Update CommandTo generate an analog output on one or more channels Two channel output Examples Single channel outputCalibration Procedure Miscellaneous SpecificationsPinouts FeaturesOrdering Information Description82C55A Pin Description Functional DiagramGroup a and Group B Controls 82C55A Functional DescriptionData Bus Buffer Read/Write and Control LogicPorts A, B, and C Mode Selection82C55A Operational DescriptionInte Flip-Flop Definition Single Bit Set/Reset Feature FigureOperating Modes Interrupt Control FunctionsMode 0 Basic Input Mode 0 Basic OutputMode 0 Configurations Control Word #4 Control Word #8 Input Control Signal Definition STB Strobe InputIBF Input Buffer Full F/F Intr Interrupt Request Output Control Signal DefinitionInput Operations Mode 2 Strobed Bi-Directional Bus I/OBi-Directional Bus I/O Control Signal Definition Output OperationsMode Control Word Mode 2 Combinations Current Drive Capability Special Mode Combination ConsiderationsReading Port C Status Figures 15 Applications of the 82C55A