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

SPI API NI9401

$
0
0

Hi, 

 

I'm using a cRio and attempting to use the SPI API from here http://sine.ni.com/nips/cds/view/p/lang/en/nid/210637 . I have a scope hooked up and I can see the write completing successfully. SCLK and MISO lines and chip select all look good. However when I go to read the SCLK line stays idle the so data is not returned on the MOSI line. If I write another byte the slave returns data while data is being writing but the API doesn't look for data that time and misses it. How do I get the SCLK line to continue for the data read? 


Viewing all articles
Browse latest Browse all 2181

Trending Articles



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