Re: NI-6602 driver questions

Rob,

The RLPM for the 6602 left out the Global Interrupt Config register which
enables interrupts for the TIO.

The default MITE behavior allows interrupts to pass through from the TIOs
on the 6602.

I answered a similar question here:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=5065000000050000006C6C0000&HTHREAD=000027756&UCATEGORY_0

_32_%24_12_&UCATEGORY_S=0

Tim Ousley
Software Engineering
National Instruments



                                                                                                                    
                      Rob Russell                                                                                   
                      <russell_at_osb1.wf         To:      comedi_at_comedi.org                                           
                      f.nasa.gov>              cc:                                                                  
                      Sent by:                 Subject: NI-6602 driver questions                                    
                      comedi-admin_at_com                                                                              
                      edi.org                                                                                       
                                                                                                                    
                                                                                                                    
                      08/15/2002 12:26                                                                              
                      PM                                                                                            
                                                                                                                    
                                                                                                                    




Hello all-

  I have a very specific use (and need) for the NI-6602 board, so I
decided to take a stab at making my own driver using the register level
document from NI.

  I can do some basic setup and testing with the board via registers,
but what I really want is to have an external gate cause a hardware
latch (no problem), and then generate an interrupt so I can handle the
value latched to the HW register.  The interrupt part I get stuck on.

  It seems that either the register guide is incomplete, or (more
likely) I just don't understand how to set up the card.  Installing an
interrupt on the card IRQ doesn't fail in the driver; it is just never
invoked.

  I am guessing that the MITE chip on the board must be programmed to
relay the interrupt from the NI-TIO to the PCI bus, but NI doesn't seem
to give any information about that in the manual, nor have i been able
to find any related documents anywhere. The tech support there let me
know that register level programming isnt supported.

  I would be interested in using Comedi to do more work on the driver,
but can anyone tell me where I could find any useful code or documents
on this?  Will any of the NI drivers used by Comedi resemble this
board?

Thanks for any help you can give...

-Rob Russell






_______________________________________________
comedi mailing list
comedi_at_comedi.org
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2002-08-16Z17:33:40