Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: Issue with my ad7609, busy signal o/p..

$
0
0

http://Hi Jonathan,

 

Yes, you are absolutely right. I have connected the V1x- pin to AGND.

 

The o/p after the data o/p is processed through the below logic(according to the data sheet), and after this calculation it should get the exact value of i/p voltage but the actual o/p is different.

Please verify:

// converting the 2's complemented binary result to corresponding voltage

            if(array[i] <= 0x1FFFF)

                {

                    array[i] = (array[i]*2)/13107.2; // for 10v range (numerator*2)

                }

            else

                {

                    array[i] = 0x3FFFF - array[i];

                    array[i] = (array[i]*2)/(-13107.2);    // for 10v range (numerator*2)

                }

I am attaching the code, please verify and suggest if any improvements/corrections.

(Code composer Studio is used for code development)

 

Thankyou,

Lakshmi.


Viewing all articles
Browse latest Browse all 36216

Trending Articles



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