Diamond Systems RUBY-MM-1612 Special Mode Combination Considerations, Current Drive Capability

Page 32

82C55A

MODE DEFINITION SUMMARY

 

MODE 0

 

MODE 1

 

MODE 2

 

IN

OUT

IN

OUT

GROUP A ONLY

PA0

In

Out

In

Out

 

PA1

In

Out

In

Out

 

PA2

In

Out

In

Out

 

PA3

In

Out

In

Out

 

PA4

In

Out

In

Out

 

PA5

In

Out

In

Out

 

PA6

In

Out

In

Out

 

PA7

In

Out

In

Out

 

PB0

In

Out

In

Out

 

PB1

In

Out

In

Out

 

PB2

In

Out

In

Out

 

PB3

In

Out

In

Out

 

PB4

In

Out

In

Out

 

PB5

In

Out

In

Out

 

PB6

In

Out

In

Out

 

PB7

In

Out

In

Out

 

PC0

In

Out

INTRB

INTRB

I/O

PC1

In

Out

IBFB

OBFB

I/O

PC2

In

Out

STBB

ACKB

I/O

PC3

In

Out

INTRA

INTRA

INTRA

PC4

In

Out

STBA

I/O

STBA

PC5

In

Out

IBFA

I/O

IBFA

PC6

In

Out

I/O

ACKA

ACKA

PC7

In

Out

I/O

OBFA

OBFA

Mode 0 or Mode 1 Only

Special Mode Combination Considerations

There are several combinations of modes possible. For any combination, some or all of Port C lines are used for control or status. The remaining bits are either inputs or outputs as defined by a “Set Mode” command.

 

 

INPUT CONFIGURATION

 

 

D7

D6

D5

D4

D3

D2

D1

D0

I/O

I/O

IBFA

INTEA

INTRA

INTEB

IBFB

INTRB

 

 

GROUP A

 

 

GROUP B

During a read of Port C, the state of all the Port C lines, except the ACK and STB lines, will be placed on the data bus. In place of the ACK and STB line states, flag status will appear on the data bus in the PC2, PC4, and PC6 bit positions as illustrated by Figure 17.

Through a “Write Port C” command, only the Port C pins programmed as outputs in a Mode 0 group can be written. No other pins can be affected by a “Write Port C” command, nor can the interrupt enable flags be accessed. To write to any Port C output programmed as an output in Mode 1 group or to change an interrupt enable flag, the “Set/Reset Port C Bit” command must be used.

With a “Set/Reset Port Cea Bit” command, any Port C line programmed as an output (including IBF and OBF) can be written, or an interrupt enable flag can be either set or reset. Port C lines programmed as inputs, including ACK and STB lines, associated with Port C fare not affected by a “Set/Reset Port C Bit” command. Writing to the correspond- ing Port C bit positions of the ACK and STB lines with the “Set Reset Port C Bit” command will affect the Group A and Group B interrupt enable flags, as illustrated in Figure 17.

 

 

OUTPUT CONFIGURATION

 

 

D7

D6

D5

D4

D3

D2

D1

D0

OBFA

INTEA

I/O

I/O

INTRA

INTEB

OBFB

INTRB

 

 

GROUP A

 

 

GROUP B

 

FIGURE 15. MODE 1 STATUS WORD FORMAT

 

D7

D6

D5

D4

D3

D2

D1

D0

OBFA

INTE1

IBFA

INTE2

INTRA

X

X

X

 

 

GROUP A

 

 

GROUP B

 

(Defined by Mode 0 or Mode 1 Selection)

 

FIGURE 16. MODE 2 STATUS WORD FORMAT

Current Drive Capability

Any output on Port A, B or C can sink or source 2.5mA. This feature allows the 82C55A to directly drive Darlington type drivers and high-voltage displays that require such sink or source current.

13

Image 32 Contents
RUBY-MM-1612 Table of Contents Description Signal Name Definition O Header PinoutBase Address Board ConfigurationBase Address Configuration Header J5 Position Hex Decimal 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 Base + Write Function Read Function Reset informationRuby-MM-1612 I/O Map 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 Analog Output Ranges and ResolutionFull Scale 1LSB 10. D/A Code Computation Output Code Explanation Output Voltage for ±5V Range Offset Binary Coding for bipolar output rangesLSB = 1/2048 x Full-Scale Voltage To generate an analog output on one or more channels HOW to Generate AN Analog OutputHardware Update Command 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 Configurations Mode 0 Basic InputMode 0 Basic Output Control Word #4 Control Word #8 IBF Input Buffer Full F/F Input Control Signal DefinitionSTB Strobe Input 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