• Aucun résultat trouvé

HP 98622A GPIO Interface

Dans le document HP-UX Installing Peripherals HP 9000 (Page 110-124)

Description and Support

HP 98622A General Purpose Input/Output (GPIO) Interface card is used for a wide variety of peripheral requirements. It supports 16-bit bi-directional data exchange. Extended control and status lines are available for applications that require more than one signal from the computer. Several handshake modes are also available to permit interfacing to a variety of equipment.

HP 98622A GPIO Interface

Series 300 HP-UX Operating System Support

on Release with Model

5.0 or later all Series 300

HP 98622A GPIO Interface Installation Procedure

The GPIO Interface may be configured in any number of ways depending on the requirements of your application. Abbreviated instructions are provided here; refer to the installation manual that came with the interface if you need

HP 98622A GPIO Interface l. Play It Safe.

a. Turn your computer off and unplug the power cord.

b. Remove the GPIO Interface from its envelope, being careful to handle the card only by its edges and metal end plate. The card may be easily damaged by electrostatic discharge (static zap).

c. Place the card on the envelope.

2. Set the Select Code.

SKIP? If this is the first (or only) GPIO Interface you are installing, you can skip to step 3. The select code is preset to 12 and need not be changed.

a. Find the set of five switches labeled U38 on the GPIO Interface (Figure 5-6). This group of switches determines the select code.

b. Set these switches to one of the four select codes given in Figure 5-7, unless you have used them elsewhere. Refer to the installation note that came with the interface if you need additional switch settings.

:~ :~

Select Code 23 Select Code 24 Select Code 26 Select Code 30

Figure 5-7.

3. Set Other Configuration Switches.

a. Set Interrupt Level switch, labeled U39 on the card, to interrupt level 3 (00) as shown in Figure 5-6 (interrupt level 3 is required for HP-UX). If your application requires a different setting, refer to Table 5-3.

HP 98622A GPIO Interface edge of the output enable signal of the register.

• BSY. This mode clocks the data into the data input register by a ready-to-busy transition of the PFLG line. This transition also clears the PCTL line.

• RDY. This mode clocks the data into the data input register by a busy-to-ready transition of the PFLG line.

c. Set the Option Select switches (labeled U 1) by referring to Table 5-4. If connecting an HP 9884A Paper Tape punch to this interface, set all of these switches to 1.

HP 98622A GPIO Interface

• DOUT CLEAR Jumper. With the jumper installed, both data output registers are cleared at power up and after an interface reset. With the jumper removed, contents of the register are undefined. The card is shipped without the jumper. If you intend to use the HP 9884A Paper Tape Punch with this interface, the jumper should be in .

• BURST Jumper. With the jumper installed, there is better overall system performance, but slightly slower GPIO performance on high-speed transfers. With the removed, there is slightly degraded overall system performance, but better GPIO performance for transfers greater than lOOK transfers/second. The card is shipped with the jumper. If you intend to use the HP 9884A Paper Tape Punch with this interface, the jumper should be removed.

HP 98622A GPIO Interface e. Adjust the PCTL Delay if required. The PCTL line has a built in delay

of 250ns. To increase the delay, increase the value of C6 40pF per lOOns of additional delay. To decrease the delay, decrease the value of R1 1.47k ohms per lOOns of decreased delay.

4. Insert the Interface.

a. Remove the painted cover plates from the back of your computer until you find an empty even-numbered slot. (Slots are numbered from the top down, so the top-most slot is number 1, the next slot down is number 2, etc.) Do not remove the silver cover plates from the bottom of a Series 300 computer.

b. Insert the GPIO Interface, component side up, into the empty

even-numbered slot. Tighten the thumb screws on the metal end plate until the end plate is flush with the back of the computer.

c. If you changed the select code of the GPIO Interface in step 2, find this number in the set of select code labels supplied with the interface. Affix this label to the metal end plate.

d. If you have other interface or accessory cards to install, leave the cover plates off; otherwise, replace them.

5. Record the Select Code.

a. Make a note that select code 12 (or the alternate select code you chose in step 2) has been used and is no longer available. Use the "Select Code Record" form on the Chapter 5, "Interface Cards" tab for this purpose.

HP 98622A GPIO Interface Verification Test

1. Plug in the power cord and turn your computer on. If you have systems on-line that the computer can boot, press the space bar a few times to suspend the automatic booting process.

2. Check the list of components displayed on the left-hand side of the screen:

• If the message, HP98622, appears in the list, you have correctly installed the GPIO Interface .

• If the message above does not appear, repeat the installation procedure, making sure there are no select code conflicts and that the card is firmly seated in an even-numbered slot. If the message still does not appear, call your HP Service Representative for assistance.

HP 98622A GPIO Interface Worksheet Entry

You have now installed the GPIO Interface.

The following "Worksheet Entries" and HP- UX Notes contain information lIeeded to use the GPIO Interface with the HP-UX operating system.

Copy this information to a worksheet (worksheets are found at the end of Chapter 1, "Getting Started") or simply remember to refer here when you lIeed it. If you changed the select code in step 2-b, write in your new select code 'in8tead of 12.

When finished, you'll be ready to install your next peripheral or interface.

HP-UX Notes

Table 5-5.

HP 98622A

GPIO Interface (Select Code 12) Interface N arne Select Code

HP 98622A 12

• The character-mode major number for the Device I/O Library GPIO Interface driver is 22.

• The minor number for a GPIO Interface at select code 12 is OxOcOOOO.

• A typical mknod for a GPIO Interface at select code 12 is:

# mknod /dev/gpio C 22 OxOcOOOO

The Oc in the minor number represents select code 12 (Oc is hexadecimal for 12).

HP 98624A HP-IB Interface

Description and Support

The HP 98624A HP-IB Interface card implements the IEEE 488-1978 Standard Digital Interface for Programmable Instrumentation. The interface can

communicate with as many as 14 HP-IB compatible instruments, connected with a maximum of 20 meters of cable (65.6 ft.). It has interrupt capabilities and can carry out DMA transfers via the optional DMA Controller card.

It is a "normal" or "standard" speed HP-IB interface.

HP 98624A HP-IB Interface

Series 300 HP-UX Operating System Support on Release with Model 5.0 or later all Series 300

HP 98624A HP-IB Interface Installation Procedure

o

1 0

SEL

[i1=>

9

CODE ~ :Ul

8

=>

4

~r~I~U2

Interrupt Level Switch

P1

1 0

"BI

:5:

= . => .

19 HDRS-' HP-IB

= 4

MSB = SYS CTL

U17

1 System Controller

o Non-system controller

- Fl

-_ +5V,4A e--'\.r-e

Figure 5-8.

HP 98624A HP-IB Interface switches

HP 98624A HP-IB Interface

b. Remove the HP-IB Interface from its envelope, being careful to handle the card only by its edges and metal end plate. The card may be easily damaged by electrostatic discharge (static zap).

c. Place the card on the envelope. Figure 5-8). This group of switches determine the interface's select code.

b. Set these switches to one of the four select codes given in Figure 5-9, unless you have used them elsewhere. Refer to the installation note that came with the interface if you need additional switch settings.

~~

Select Code 23 Select Code 24 Select Code 26 Select Code 30

Figure 5-9.

3. Set the Interrupt Level.

SKIP? The interface is preset to interrupt level 3. Unless you are certain that interrupt level 3 is inappropriate for your application, leave the interrupt level setting alone and skip to step 4.

If you need to change the interrupt level, refer to Figure 5-8 and set the switches labeled U2 according to Table 5-6:

HP 98624A HP-IB Interface be set to system controller. To change this interface to non-system controller, move the SYS CTL switch shown in Figure 5-8 to the 0 position (the opposite of that shown).

Note: If you will be connecting a disk drive, printer, plotter or other peripheral to this interface, and you will be using an HP Series 200/300 operating system, do not set this switch to non-system controller.

.1. Insert the Interface.

a. Remove the painted cover plates from the back of your COll1puter until

HP 98624A HP-IB Interface

b. Insert the HP-IB Interface, component side up, into the empty

even-numbered slot. Tighten the thumb screws on the metal end plate until the end plate is flush with the back of the computer.

c. If you changed the select code of the HP-IB Interface in step 2, find this number in the set of select code labels supplied with the interface. Affix this label to the metal end plate.

d. If you have other interface or accessory cards to install, leave the cover plates off; otherwise, replace them.

6. Record the Select Code. suspend the automatic booting process.

2. Check the list of components displayed on the left-hand side of the screen: your HP Service Representative for assistance.

HP 98624A HP-IB Interface Worksheet Entry

You have now installed the HP-IB Interface.

The following table contains information needed to use the HP-IB Interface with the HP-UX operating system.

Copy this select code to a worksheet (worksheets are found at the end of Chapter 1, "Getting Started") or simply remember to refer here when you need it. If you changed the select code in step 2-b, write in your new select code instead of 8.

When finished, you'll be ready to install your next peripheral or interface.

Table 5-7.

HP 98624A

HP-IB Interface (Select Code 8) Interface N arne Select Code

HP 98624A 8

Dans le document HP-UX Installing Peripherals HP 9000 (Page 110-124)

Documents relatifs