LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can DAQ PFI lines be used for SPI communication?

SPI.png

Hi I need to make the above digital waveforms for SPI communication but all lines are connected to DAQ PFI lines. I am using PXIe 6259 and they are connected to p2.0 to P2.3.

Now I have few questions:

 

1.Can I use PFI lines to read back DOUT?

2. I made the exact waveforms in LV (dt = 0.001 s).but I don't know what I need to do next? Do I need to write these waveforms to DAQ lines and synchronously monitor DOUT to read data? Is there any example to show how can I do this synchronous write/read for SPI comminication?

DIGITAL.png

 

 

0 Kudos
Message 1 of 3
(2,591 Views)

Constraint here is:

1. the speed of DIO module (NI PXIe-6259).

2. how determinitic is the target that you'll use to run your implementation on (is it Windows or RealTime-OS or FPGA).


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 3
(2,587 Views)

it is windows.

 

the lines are all routed to PFI lines and since PFI lines are static I though they can only be used for triggering and static high and low ( no timing ) so I really would like to know if I can use these lines for SPI com and reading and writing digital waveforms

 

0 Kudos
Message 3 of 3
(2,585 Views)