Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module Applications of the 82C55A

Page 33

82C55A

Reading Port C Status (Figures 15 and 16)

In Mode 0, Port C transfers data to or from the peripheral device. When the 82C55A is programmed to function in Modes 1 or 2, Port C generates or accepts “hand shaking” signals with the peripheral device. Reading the contents of Port C allows the programmer to test or verify the “status” of each peripheral device and change the program flow accordingly.

There is not special instruction to read the status information from Port C. A normal read operation of Port C is executed to perform this function.

INTERRUPT

 

 

ALTERNATE PORT C

ENABLE FLAG

POSITION

 

PIN SIGNAL (MODE)

 

 

 

 

 

 

 

INTE B

PC2

 

 

 

 

(Output Mode 1)

ACKB

 

 

 

or

 

 

 

 

 

 

STBB (Input Mode 1)

 

 

 

 

INTE A2

PC4

 

 

 

 

 

 

STBA (Input Mode 1 or

 

 

 

Mode 2)

 

 

 

 

 

INTE A1

PC6

 

 

 

 

(Output Mode 1 or

ACKA

 

 

 

Mode 2)

 

 

 

 

 

 

 

 

FIGURE 17. INTERRUPT ENABLE FLAGS IN MODES 1 AND 2

Applications of the 82C55A

The 82C55A is a very powerful tool for interfacing peripheral equipment to the microcomputer system. It represents the optimum use of available pins and flexible enough to inter- face almost any I/O device without the need for additional external logic.

Each peripheral device in a microcomputer system usually has a “service routine” associated with it. The routine manages the software interface between the device and the CPU. The functional definition of the 82C55A is programmed by the I/O service routine and becomes an extension of the system software. By examining the I/O devices interface characteristics for both data transfer and timing, and matching this information to the examples and tables in the detailed operational description, a control word can easily be developed to initialize the 82C55A to exactly “fit” the application. Figures 18 through 24 present a few examples of typical applications of the 82C55A.

INTERRUPT

REQUEST

 

 

PC3

PA0

 

 

PA1

 

 

PA2

 

 

PA3

 

 

PA4

 

MODE 1

PA5

 

PA6

 

(OUTPUT)

 

PA7

 

 

 

 

PC7

DATA READY

 

PC6

ACK

 

PC5

PAPER FEED

82C55A

PC4

FORWARD/REV.

 

 

 

PB0

 

 

PB1

 

 

PB2

 

 

PB3

 

 

PB4

 

MODE 1

PB5

 

(OUTPUT)

PB6

 

 

PB7

 

 

PC1

DATA READY

PC0

PC2

ACK

 

 

INTERRUPT

 

CONTROL LOGIC

REQUEST

 

AND DRIVERS

HIGH SPEED

PRINTER

HAMMER

RELAYS

PAPER FEED

FORWARD/REV.

RIBBON CARRIAGE SEN.

FIGURE 18. PRINTER INTERFACE

14

Image 33
Contents RUBY-MM-1612 Table of Contents Description O Header Pinout Signal Name DefinitionBoard Configuration Base Address Configuration Header J5 Position Hex DecimalBase Address Adjustable Reference Voltage Analog Output Range ConfigurationOn-Board Reference Full-Scale Voltage Selection 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 Register Definitions Base + 0 or 1, Read Update DACsBase + 0, Write DAC LSB register Base + 1, Write DAC MSB registerBase + 3, Write External trigger register 82C55 Digital I/O Chip Operation Configuration Register82C55 Register Map 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 Two channel output Examples Single channel outputCalibration Procedure Miscellaneous SpecificationsOrdering Information FeaturesDescription Pinouts82C55A Pin Description Functional DiagramData Bus Buffer 82C55A Functional DescriptionRead/Write and Control Logic Group a and Group B Controls82C55A Mode SelectionOperational Description Ports A, B, and COperating Modes Single Bit Set/Reset Feature FigureInterrupt Control Functions 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 Intr Interrupt Request Output Control Signal DefinitionBi-Directional Bus I/O Control Signal Definition Mode 2 Strobed Bi-Directional Bus I/OOutput Operations Input OperationsMode Control Word Mode 2 Combinations Current Drive Capability Special Mode Combination ConsiderationsReading Port C Status Figures 15 Applications of the 82C55A

RUBY-MM-1612, 16-Channel 12-Bit Analog Output PC/104 Module specifications

The Diamond Systems RUBY-MM-1612 is a versatile 16-channel 12-bit analog output PC/104 module designed to meet the demanding needs of various applications requiring precise analog signal generation. This module excels in environments ranging from industrial automation to scientific research, providing users with reliable performance and high-quality output.

Key features of the RUBY-MM-1612 include its capability to deliver 16 independent analog output channels. Each of these channels supports a resolution of 12 bits, enabling the generation of finely detailed signals for a wide range of applications. The analog outputs are voltage scalable, allowing users to select various output ranges, which enhances the module's flexibility in different system configurations.

Another notable characteristic is the onboard architecture, which employs a specialized digital-to-analog converter (DAC) with excellent linearity and minimal noise, ensuring that the output signals are both accurate and stable. The DAC's specifications allow for output signals with a maximum voltage range of ±10V, providing ample headroom for many applications.

In terms of connectivity, the module utilizes the PC/104 standard, known for its ruggedness and compact form factor. This design allows for easy integration into systems, making it ideal for space-constrained environments. The RUBY-MM-1612 features a robust interface that supports various protocols, ensuring compatibility with a wide array of PC/104 systems.

The module also includes a comprehensive set of support software tools, making it user-friendly for developers. The drivers and libraries provided for various programming environments simplify the process of integrating the module into existing systems, reducing development time and effort.

Additionally, the RUBY-MM-1612 is built for durability, with operational specifications that accommodate a wide temperature range. This reliability makes it suitable for outdoor installations and harsh conditions, where other systems may fail.

In summary, the Diamond Systems RUBY-MM-1612 is an advanced 16-channel 12-bit analog output PC/104 module that combines high performance with flexibility and ease of integration. Its robust features, modern technologies, and durability make it an excellent choice for engineers and developers looking for reliable solutions in analog signal generation. Whether in industrial control systems, data acquisition, or laboratory settings, the RUBY-MM-1612 stands out as a top-tier option for fulfilling complex analog output requirements.