Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Using PCIe6320 with SPI communication

Hello,

 

Quick question. I wonder if it is possible to use a PCIe 6320 in order to use a SPI communication and the SPI digital waveform reference library ?

 

Thank you for your answers,

 

0 Kudos
Message 1 of 5
(4,807 Views)

Hi gr3g,

 

Sorry for the late reply,

 

Here the link where you can find an answer: http://forums.ni.com/t5/Components/SPI-Digital-Waveform-Library/td-p/866346

 

The post of David Staab: 

 

"You'll only be able to use the SDW waveform with a clocked digital I/O device.  Software-timed I/O devices like the 6509 can't generate or acquire the data deterministically, nor can they toggle lines simultaneously.  Devices that can clock their digital I/O include the M-Series DAQ (62xx) and 653x, 654x, and 655x High-Speed Digital I/O."

 

Unfortunately the PCIe 6320 (http://www.ni.com/datasheet/pdf/en/ds-152) doesn't have hardware-timed digital I/O so it can't generate SPI waveforms.

 

Here some useful link about the SPI communication in case you decide to use a NI hardware-timed digital I/O device:

http://www.ni.com/white-paper/9119/en/

http://www.ni.com/example/31163/en/

http://www.ni.com/example/31200/en/

 

Best Regards

Louis
National Instruments France

0 Kudos
Message 2 of 5
(4,691 Views)

 

Unfortunately the PCIe 6320 (http://www.ni.com/datasheet/pdf/en/ds-152) doesn't have hardware-timed digital I/O so it can't generate SPI waveforms.

 


The 6320 most certainly has hardware-timed DIO lines (the 8 lines on port 0 can be clocked at up to 1 MHz).

 

 

Best Regards,

John Passiak
0 Kudos
Message 3 of 5
(4,680 Views)

Hello,

 

Thank you very much for your replies. I'm a little bit confused. Does the PCI-e6320 have an internal clock or not ?

How can I check if my clock is up to 1 Mhz ? Do you have an example to give me to try it with my card ?

 

Thank you for your reply,

 

Best regards,

0 Kudos
Message 4 of 5
(4,542 Views)

Yes, the 6320 has an internal clock that can be used to generate digital waveforms (up to a 1 MHz update rate).  To verify you can just run a digital output shipping example (e.g. https://decibel.ni.com/content/docs/DOC-25286).

 

You can also refer to the specifications document:

 

374459c.png

 

 

Best Regards,

John Passiak
0 Kudos
Message 5 of 5
(4,532 Views)