Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the Digital I/O port of a PCI DAQ to realize the 16 bit SPI

Hi, all
 
I have a PCI DAQ card which has a 8 bit DIO port. According to the manual, the DIO0, DIO4 and the EXTSTROBE/SDCLK can be configured as a 8 bit SPI port, but my application needs a 16 bit SPI to talk to an external device. What can I do?
 
Thanks
Best regards,
 
George

 

0 Kudos
Message 1 of 4
(7,893 Views)
George,

For questions of this nature (DIO) in the future I would recommend posting in the Digital I/O forum. You have a better audience on digital matters there. Any way, what DAQ card are you refering to? Most DAQ cards are not capabable of SPI communication over the DIO lines (since they lack a hardware timed output), though some are. So let me know what card you are using, and we can go from there.

-GDE
0 Kudos
Message 2 of 4
(7,874 Views)
Thanks for replying and the remindation!
 
The DAQ card I am using is PCI-6052E.
 
Regards,
 
George
0 Kudos
Message 3 of 4
(7,868 Views)

George,

I am afraid the PCI-6052E does not support hardware timed DIO (or correlated DIO) so you will not be able to achieve SPI communication with this card. If you must accomplish this task with a multi-function DAQ card you might want to consider an M-Series card as they can handle some correlated DIO. Also the 6533 and the 6534 can do this as well, but they are more specifically designed for high speed DIO. Though if you are just doing SPI communication you should take a look at the USB-8451 as this device was designed to do SPI communication. I have posted some links below that you may find useful. Good luck with your project.

-GDE

Another forum post about SPI communication:
http://forums.ni.com/ni/board/message?board.id=250&message.id=8001&requireLogin=False

Other NI products that would be useful:
http://sine.ni.com/nips/cds/view/p/lang/en/nid/202368
http://sine.ni.com/nips/cds/view/p/lang/en/nid/201899
http://sine.ni.com/nips/cds/view/p/lang/en/nid/201759

0 Kudos
Message 4 of 4
(7,853 Views)