background image

Example:

Get the DOUT value

igpiostat(id, I_GPIO_T61622_DOUT, &dout)

TAMS 61622 Macros

The following is a table with all of the defines passed to the TAMS 61622 SICL
extension functions that you can use. Individual bits could be passed to select
specific line(s).

TAMS 61622 SICL extension function defines

T61622_DIN

0x0000FFFF

DIN[0..15] 16 bits

T61622_DIN_L

0x000000FF

DIN[0..7] 8 bits

T61622_DIN_U

0x0000FF00

DIN[8..15] 8 bits

T61622_STI

0x00030000

STI[0..1] 2 bits

T61622_EIR

0x00040000

EIR 1 bit

T61622_RDY

0x00080000

RDY 1 bit

T61622_MORE

0x00100000

used inside driver only

T61622_ALL

0x000FFFFF

all of above 20 bits

Individual bits for DIN and STI

T61622_DIN00

0x00000001

T61622_DIN01

0x00000002

T61622_DIN02

0x00000004

T61622_DIN03

0x00000008

T61622_DIN04

0x00000010

T61622_DIN05

0x00000020

T61622_DIN06

0x00000040

T61622_DIN07

0x00000080

T61622_DIN08

0x00000100

T61622_DIN09

0x00000200

T61622_DIN10

0x00000400

T61622_DIN11

0x00000800

T61622_DIN12

0x00001000

T61622_DIN13

0x00002000

T61622_DIN14

0x00004000

T61622_DIN15

0x00008000

T61622_STI0

0x00010000

T61622_STI1

0x00020000

33

Summary of Contents for 61622

Page 1: ...TAMS PCI GPIO Card Installation Operation Instructions...

Page 2: ...ard Instructions and Software License Test Measurement Systems Inc 750 14th Street SW Loveland CO 80537 USA Telephone 970 669 6553 Fax 970 669 3090 Web Site www tamsinc com Copyright Test Measurement...

Page 3: ...ver Installation 8 Windows NT 4 0 Installation 8 Windows 2000 Installation 9 Windows XP Installation 11 Configuring the Card in Windows NT 4 0 2000 XP 15 Configuration Information 19 Connector Pinouts...

Page 4: ...bag yet Make sure your shipment contains the following items 1 0 5 6 6 2 2 6 d r a C O I P G 3 0 0 0 9 2 2 6 1 6 s n o i t c u r t s n I n o i t a r e p O n o i t a l l a t s n I 1 0 1 0 2 2 6 1 6 D...

Page 5: ...ion process as it relates to the HP Agilent Standard Instrument Control Library SICL A detailed description of the TAMS 61622 s functionality is included to aid in this configuration process The TAMS...

Page 6: ...by plugging the card into the PCI slot Make sure that the card is firmly seated in the slot Follow the instructions being careful to handle the TAMS 61622 board only by its metal bracket Avoid contact...

Page 7: ...lling and Configuring the HP Agilent I O Libraries chapter of the HP Agilent I O Libraries Installation and Configuration Guide for Windows To develop HP Agilent SICL I O applications for the TAMS 616...

Page 8: ...d s and driver to both be present Important The HP Agilent IO libraries SICL or HTBasic for Windows needs to be installed before you proceed with the TAMS 61622 GPIO card driver installation Windows N...

Page 9: ...ws 2000 installation After installing the card and booting for the first time the Windows 2000 plug and play manager will detect the new hardware TAMS GPIO card the screen looks like this Click on can...

Page 10: ...e screen You may or may not get the following message 5 Click on Yes and or Next and continue with the instructions on the screen 6 Finally the installation program will ask you to reboot your PC Plea...

Page 11: ...ows XP installation After installing the card and booting for the first time the Windows XP plug and play manager will detect the new hardware TAMS GPIO card the screen looks like this Click on Cancel...

Page 12: ...CD ROM drive 3 Run setup exe from the CD directory WXP_VERx xx 4 Follow the instructions on the screen You may or may not get the following message 5 Click on Yes and or Next and continue with the ins...

Page 13: ...After rebooting you will be prompted with the following screen Click on Next 13...

Page 14: ...Finally you will get a screen that looks like this Click on Finish After this your TAMS 61622 GPIO card should be ready to be configured Please follow the instructions in the next section 14...

Page 15: ...u should also have a shortcut under Start Programs Agilent IO Libraries Note Configuration of TAMS 61622 interface assumes knowledge of SICL configuration procedures specific to the platform Refer to...

Page 16: ...select the card to configure If more than one card is present the following window will appear if you have only one card continue to the next step 5 Select the 61622 card you wish to configure if you...

Page 17: ...t default configuration parameters For context sensitive help click on the Help button or press the F1 key 8 When you are finished setting the configurable parameter dismiss the dialog box by clicking...

Page 18: ...ill see your interface listed on the screen such as 10 Click OK You will get a window like this 11 Please click on OK but do not reboot your system as this message is intended for ISA cards not PCI ca...

Page 19: ...to configure the TAMS 61622 refer to your software documentation to configure your I O application software for the TAMS 61622 See the Related Software Documentation section of this guide This sectio...

Page 20: ...F P d n a L T C P e k a h s d n a h g a l F l a r e h p i r e P d n a l o r t n o C l a r e h p i r e P O I l o r t n o c n o i t c e r i d t u p t u O t u p n I S T S P s u t a t S l a r e h p i r e...

Page 21: ...nbound and outbound transfer will be performed in interrupt mode Each transfer of a single 8 or 16 bit data item depending on configured GPIO width will be initiated and processor freed to perform oth...

Page 22: ...event performance optimization The TAMS 61622 accepts values directly in nanoseconds The range extends from 90 nanoseconds to 245000 nanoseconds 245 microseconds allowing optimal transfer performance...

Page 23: ...uses TAMS 61622 interface while it is configured If for example a polarity is changed on an interface while an application uses it it may take effect in the middle of a transfer causing undesired effe...

Page 24: ...h W d e R 3 I D 9 3 e u l B n o e t i h W e g n a r O 4 I D 8 3 n e e r G n o e t i h W w o l l e Y 5 I D 7 3 w o l l e Y n o e t i h W n e e r G 6 I D 6 3 e g n a r O n o e t i h W e u l B 7 I D 5 3...

Page 25: ...l e Y e t i h W 5 O D 2 1 e t i h W n o w o l l e Y n e e r G e t i h W 6 O D 1 1 e t i h W n o e g n a r O e u l B e t i h W 7 O D 0 1 e t i h W n o k n i P t e l o i V e t i h W 8 O D 9 n w o r B n...

Page 26: ...l B e t i h W 0 L T C 2 2 n a T n o n w o r B t e l o i V d e R e t i h W 1 L T C 3 2 n a T n o k n i P y e r G d e R e t i h W D R G 4 2 e t i h W n o n w o r B D R G y t e f a S 5 2 n a T n o e g n...

Page 27: ...ow IGPIOCTRL Supported sessions interface Affected by functions ilock itimeout C Syntax include sicl h include t61622sicl h int igpioctrl id request setting INST id int request unsigned long setting V...

Page 28: ...ant time defines for the PCTL delay in nanoseconds N I M _ Y L D _ 2 2 6 1 6 T 0 9 y a l e d L T C P a r o f m u m i n i M P T S _ Y L D _ 2 2 6 1 6 T 0 6 p e t s e v i t c e f f e e r a w d r a H T F...

Page 29: ...llows the setting of detailed polarity for DIN STI0 STI1 and EIR The polarity of nineteen lines DIN 0 15 STI 0 1 and EIR can be controlled independently It enables interrupt control of either rising o...

Page 30: ...ity set to 1 the latch will occur on a HI to LO logically transition This function has three different requests I_GPIO_T61622_LAT_EN controls which group of lines are enabled for latching DIN 0 15 STI...

Page 31: ...T61622_INT_DIN04 Checking what lines can interrupt igpiostat id I_GPIO_T61622_INT_EN int TAMS 61622 Pull up I_GPIO_T61622_PUL controls if DOUT 0 15 CTL 0 1 PCTL I O and PRESET lines are pulled up wit...

Page 32: ...y by the TAMS 61622 card The user can turn the mode on or off by using the request I_GPIO_TEST_ONLY If an unsupported value is passed it is ignored The actual polarity of PCTL and PFLG lines does not...

Page 33: ...00 STI 0 1 2 bits T61622_EIR 0x00040000 EIR 1 bit T61622_RDY 0x00080000 RDY 1 bit T61622_MORE 0x00100000 used inside driver only T61622_ALL 0x000FFFFF all of above 20 bits Individual bits for DIN and...

Page 34: ...ives you specific legal rights and you may also have other rights which vary from state to state and from country to country This Warranty is in Lieu of all other express warranties which now or herea...

Page 35: ...her products and companies referred to herein are trademarks or registered trademarks of their respective companies or mark holders Specifications are subject to change without notice TAMS 61622 GPIO...

Reviews: