Diamond Systems RUBY-MM-1612, 16-Channel 12-Bit Analog Output PC/104 Module Mode Control Word

Page 30

82C55A

CONTROL WORD

D7 D6 D5 D4 D3 D2 D1 D0

1 1 1/0 1/0 1/0

PC2-PC0

1 = INPUT

0 = OUTPUT

PORT B

1 = INPUT

0 = OUTPUT

WR

GROUP B MODE 0 = MODE 0

1 = MODE 1

RD

FIGURE 11. MODE CONTROL WORD

 

 

PC3

INTRA

 

PA7-PA0

8

 

 

PC7

OBFA

INTE

PC6

ACKA

1

 

 

 

 

INTE

PC4

STBA

2

 

 

 

 

 

 

PC5

IBFA

 

PC2-PC0

3

 

I/O

 

 

 

FIGURE 12. MODE 2

DATA FROM

CPU TO 82C55A

WR

OBF

INTR

ACK

STB

IBF

PERIPHERAL BUS

RD

tWOB

tST

tSIB

tPS

tPH

DATA FROM

PERIPHERAL TO 82C55A

tAOB

tAK

tAD

tKD

tRIB

DATA FROM

82C55A TO PERIPHERAL

DATA FROM

82C55A TO CPU

NOTE: Any sequence where WR occurs before ACK and STB occurs before RD is permissible. (INTR = IBF MASK STB RD ÷ OBF MASK ACK WR)

FIGURE 13. MODE 2 (BI-DIRECTIONAL)

11

Image 30 Contents
RUBY-MM-1612 Table of Contents Description Signal Name Definition O Header PinoutBoard Configuration Base Address Configuration Header J5 Position Hex DecimalBase Address On-Board Reference Full-Scale Voltage Selection Analog Output Range ConfigurationAdjustable Reference Voltage Full-Scale VoltageAnalog Output Configuration Header J4 Range RUBY-MM-1612 Board Drawing Reset information Ruby-MM-1612 I/O MapBase + Write Function Read Function Base + 0, Write DAC LSB register Base + 0 or 1, Read Update DACsRegister Definitions Base + 1, Write DAC MSB registerBase + 3, Write External trigger register 82C55 Register Map Configuration Register82C55 Digital I/O Chip Operation DefinitionsAnalog 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 Examples Single channel output Two channel outputCalibration Procedure Specifications MiscellaneousDescription FeaturesOrdering Information PinoutsFunctional Diagram 82C55A Pin DescriptionRead/Write and Control Logic 82C55A Functional DescriptionData Bus Buffer Group a and Group B ControlsOperational Description Mode Selection82C55A Ports A, B, and CInterrupt Control Functions Single Bit Set/Reset Feature FigureOperating Modes Inte Flip-Flop DefinitionMode 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 Output Control Signal Definition Intr Interrupt RequestOutput Operations Mode 2 Strobed Bi-Directional Bus I/OBi-Directional Bus I/O Control Signal Definition Input OperationsMode Control Word Mode 2 Combinations Special Mode Combination Considerations Current Drive CapabilityApplications of the 82C55A Reading Port C Status Figures 15