Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2182

PXI-6289 SPI Protocol, Simultaneous Generation & Acquisition

$
0
0

Good day all, 

I am trying to implement the SPI protocol in a PXI-6289. I am generating the SPI waveform with the SPI Digital Waveform library, then outputting through regular I/O (CS,SCLK, MOSI) as shown bellow. 

VI:  Attached below.

 

D15_S_03.PNG

D15_S_04.PNG

D15_S_01.PNG

Note: I am aware of the thin clock cycle at the start of the transmission, but that is probably tied to my SPI settings. Not an Issue.


What I have not quite figured out is how to read/sample digital inputs (MISO) during the exact same time as my other signals are being outputted. This is to emulate the full duplex communication.

 

Ideally, I would test this by tying MOSI and MISO together and see how off these are on the scope.  

 

I have tried a couple of options with Triggers, Timing blocks and Events, but these seems to be restricted due to the hardware I'm using. Since this PXI 6289 is all I can use for now, I am asking for any suggestion of what I could do in this scenario. 

I appreciate your responses. Thank you, 

Sebastian B. 


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>