05-06-2015 09:31 AM
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,
05-27-2015 07:33 AM
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
05-27-2015 03:06 PM
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,
06-05-2015 03:15 AM
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,
06-05-2015 10:30 AM - edited 06-05-2015 10:31 AM
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:
Best Regards,