LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI implementation on 7852R using Labview-RIO 12 Problem

Hello,

 

I implemented SPI protocol and able to communicate with ADC (ADS8668), but the data i read from ADC are not proper, i get very unrelavent data from ADC for the proper inputs (reference to datasheet). I had gone through NI SPI implementation example and tried to implement in the same way with little chances.

 

Some of my doubts are, i have single timed loop running at 17 MHz, with that i set clock timing for SPI as 8.5 MHz, which is good enough to do IO operation with ADC (according to ADC datasheet).As datasheet says, Input/Output data can be given/collected at the falling edge of the SCLK, i set the program to sen/recive data exactly at the time SCLK signal falls, But i also a waiting time for clock state (for High and Low), should I send or collect data during the waiting time?

 

Please have a look at my VI and let me know if there is any mistakes.  

 

PS :  ADC connections are very much proper.No issues to hardware connections.

 

Thanks,

Jay

0 Kudos
Message 1 of 1
(2,612 Views)