Hello.
Background of the problem : I am using a NI myRIO with LabVIEW 2013 as my DAq device for automotive applications and have run out of analog input channels. So I need to interface an external ADC to solve my problem.
I am having a problem with the interfacing. I have tried to reproduce the timing diagram as specified in the datasheet, but it doesnt work. I cant even read-back the registers.
Here is what I am doing : All connections made as specified. The CLK pin left not connected as I plan to use the internal clock. I understand the ADC needs two write cycles to write the two registers, how do I do that ? The timing diagram on the datasheet only specifies one write cycle. I tried this :
CS low, WR low and then write REG1, WR high, CS high, CS low, WR low write REG2, WR high, CS high.
I also tried
CS low, WR low, write REG1, WR high, WR low, write REG2, WR high, CS high.
this also didnt work. How do I proceed ?
Any help is greatly appreciated. Thanks :)