background image

       AVME948x USER'S MANUAL                                                                                                      Digital I/O Board
       ___________________________________________________________________________________________

- 9 -

Note that because inverted logic is used, a high level at the I/O
connector is read as a "0" in the Port Registers and a low level is
read as a "1".  This is consistent with the use of open-collector
outputs to drive relays and switches.  A logic "1" in the computer
produces a low level at the output driver to "pull in" a relay and turn
something "ON".

Reset Conditions:  All of the I/O points are set to "0" which causes
the output drivers to go into an OFF (high impedance) state.  The
result is that all I/O points are configured as inputs.

INTERRUPT BEHAVOIR

Several interrupt schemes are possible with the board's register

architecture.  Some of the possibilities are:

 

Each point serviced by a separate software interrupt
handler routine.

 

A single software handler for the entire board.

 

A mix of some points causing interrupts, some polled.

Two different interrupt release methods are described in the

VME System Architecture.  They are Release On Register Access
(RORA), and Release On Acknowledge (ROAK).  The architecture
of this board follows the RORA method.  This means that an
interrupt request is removed from the bus when the associated
interrupt point has been cleared.  This method is necessary to allow
several interrupts to be serviced with a single handler, if so desired.

Interrupt Example

The following example outlines the steps taken to initialize the

board to cause interrupts.

1.   Clear the global interrupt enable bit in the "Status/Control

Resister".

2.   Write the interrupt level into the "Interrupt Level Register".
3.   Write vector(s) into the "Vector Registers".
4.   Write proper patterns to establish the interrupt level into the

Interrupt Input Polarity Register".

5.   Write all 1's into the "Interrupt Clear Register " to reset interrupt

inputs.

6.   Write 1's into the "Interrupt Enable Register" to enable individual

interrupts.

7.   Write a 1 into the global interrupt enable bit of the

"Status/Control Register".

Interrupts may now occur from the board.

When the board asserts an interrupt, the following action takes

place:

1.   The host processor asserts IACK* and a level of the interrupt it

is seeking, and if the level matches the board's, the board puts a
vector out on the data bus lines D0-D7.  The original interrupt
request from the board remains asserted.

2.   The host processor uses the vector to determine the software

interrupt handler to execute, and then executes it.  For a single
handler per point scheme, the handler writes to the proper bit in
the "Interrupt Clear" register to remove the interrupt request.
This also clears its interrupt pending flag and interrupt input
flag.  If other points have interrupts pending, another interrupt
request is asserted (or just remains) and upon returning from
the handler, another interrupt cycle is started.

3.   If a software handler is used to handle several points, it could

service them at the same time that it services the original
interrupt by examining the "Interrupt Pending Register"  to
determine what other interrupts need servicing.

Service of Interrupts

The following examples outline the steps necessary to service

an interrupt from the AVME948x.

Example A:
1.   Disable the interrupt point(s) by writing a "zero" to the individual

bit(s) in the Interrupt Enable Register.

2.   Clear the interrupt point(s) by writing a "one" to the individual

bit(s) in the Interrupt Pending/Clear Register.

3.   Then reenable the interrupt point(s) by writing a "one" to the

individual bit(s) in the Interrupt Enable Register.

Example B:
1.   Clear the Global Interrupt Enable bit in the Status Register.
2.   Clear the Interrupt point(s) by writing a "one" to the individual

bit(s) in the Interrupt Pending/Clear Register.

3.   Then reenable the Global Interrupt Enable bit in the Status

Register.

The interrupt input stimulus must be removed before the

interrupt can be cleared.

4.0  THEORY OF OPERATION

This section  provides a functional description of the AVME948x

Digital I/O Board which consists of the following functional blocks:

 VME 

address 

decode

 

VME control logic

 

Digital I/O map decode logic

 Identification 

PROM

 Status 

register

 VME 

interrupter

 Input 

comparators/buffers

 Output 

latches/drivers

A block diagram is shown in Drawing 4500-741.  Refer to the

Schematic and Parts Location Drawing 4500-737 for the items
referenced in the following information.

VMEbus INTERFACE

The VMEbus Interface logic contains the logic necessary to

interface the Digital I/O points to the VMEbus.  This logic includes
VME address decode logic, the VME Control logic and the VME
Interrupter logic.

The VME Address Logic

The Digital I/O Board interfaces with the VMEbus as a non-

intelligent slave in the short I/O address space.  The card will
recognize two of the Address Modifer Codes, the Short Supervisory
Access (2DH), and the Short Non-Supervisory Access (29H) codes.
Jumper J19 selects the Address Modifer Code that the card will
recognize.  The starting address of the Digital I/O Board is
determined by jumpers on pins 1-12 of J17.  This allows the Digital
I/O Board to reside in any one of the 64, 1K blocks of the short I/O
address space.

Integrated circuit U55 compares the VME address lines (A10 -

A15) and the Address Modifier line (AM2) to Jumpers J17 and J19.
If the two are equal, then the EQ* line is asserted.  U57 checks the
remaining Address Modifier Lines and AS*, and then asserts the
CDEN* (card enable) line.

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for 948 Series

Page 1: ...ess underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demo...

Page 2: ...P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 1994 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500 189 G97C009 Art...

Page 3: ...I O Adapter Card 14 4500 790 9921 16 Connection Diagram 15 4500 791 9921 32 Connection Diagram 16 4500 786 9920 16 Digital I O Adapter Card 17 4500 787 9920 32 Digital I O Adapter Card 18 4500 785 99...

Page 4: ...CARD CAGE CONSIDERATIONS Refer to the electrical specifications for loading and power requirements Be sure that the system power supplies are able to accommodate the power requirements of the board w...

Page 5: ...in Place J9 J16 are used only in cases where it is absolutely necessary to have outputs disabled through the hardware See Programming Considerations Section 3 for instruction on software enabling disa...

Page 6: ...monic Row B Signal Mnemonic Row C Signal Mnemonic 1 D00 D08 2 D01 D09 3 D02 D10 4 D03 BG 0 IN D11 5 D04 BG 0 OUT D12 6 D05 BG 1 IN D13 7 D06 BG 1 OUT D14 8 D07 BG 2 IN D15 9 GND BG 2 OUT GND 10 SYSCLK...

Page 7: ...5 volt supply can be used to establish an input voltage See Drawing 4500 743 for various input configurations 3 0 PROGRAMMING INFORMATION This section provides the specific information necessary to p...

Page 8: ...bal Interrupt Enable R W Global Interrupt Enable R W writing a 1 to this bit enables interrupts to occur from the AVME9480 card A 0 prevents interrupts Reset Condition Set to 0 all interrupts disabled...

Page 9: ...egister A write to the corresponding Interrupt Clear Register bit will clear the interrupt input flag if the input level has been negated If the input level has not been negated then the interrupt inp...

Page 10: ...upt pending flag and interrupt input flag If other points have interrupts pending another interrupt request is asserted or just remains and upon returning from the handler another interrupt cycle is s...

Page 11: ...go into an OFF high impedance state That lets the point be pulled to a high voltage level by an onboard pull up resistor The point may then be driven by an external device Reading the point will refl...

Page 12: ...0 or equivalent POWER REQUIREMENTS 5 Volts DC 4 875 to 5 25V DC at 1 6A Typical Board Logic only Does not include additional current for output loads VMEbus Loading Current Input LOW Input HIGH AM2 A...

Page 13: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 14: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 15: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 16: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 17: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 18: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 19: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 20: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 21: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 22: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 23: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 24: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 25: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 26: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 27: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Reviews: