Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

linux driver for pxi-6527

Is someone writing (or has written) a driver for this card?
If not, what is the best starting point to write it?

Thanks
Rodolfo Saccani
0 Kudos
Message 1 of 3
(3,336 Views)
Rodolfo;

You can visit the link http://stm.lbl.gov/comedi/, and see if there is a driver for that board already written. Otherwise, all the information about the register map of our boards can be found at http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/b08f4125a9325b3f862565cc0073e68f?OpenDocument.
Hope this helps.
Filipe
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,336 Views)
I have recently written a Linux (RH 7.1 - 2.4.2-2) driver for the PCI 6527 (as well as a 6527 driver for QNX 4.2 and QNX 6.1 RTP). Most of it was straight forward, except for 2 areas. 1) Mapping the cards into User space is a little tricky. 2) Getting interrupts to work was a little tricky as well. I did eventually get them to work, but it was trial and error. I think the Register-Level programming manual is in error (or it appears to be).

A good spot to start for Linux drivers is the O'Reilly book by Alessandro Rubini called "Linux Device Drivers". ISBN 0-596-00008-1. 2nd Edition released June 2001 covers Linux 2.4. Chapters 3, 7, 8 and 9 are well used in my book.
0 Kudos
Message 3 of 3
(3,336 Views)