Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Reading a wrong byte in the SPI Rx Buffer

$
0
0
Hi Viney, Thanks for the reply. i am able to read the ADC count from ADS1292 channel 2 using 1Mhz SPI clock. ADS1292 has internal clock of 500KHz and sampling @ 500SPS. My only problem is i am seeing some drift in my ADC count. Here is our formula for calculating the ADC converted data for positive range. Voltage measured Value = Vref (2.42v)/ (2^23-1) * ADC Count (23 bit considered ignoring MSB 24bit if set) For Ex. 0.8v input value, measured count 0x23EE91 after calculation measured voltage is – 0.67v while expected value was 0x2A5065 counts 0.4v input value, measured count 0x11CbD4 after calculation measured voltage is – 0.336v while expected value was 0x152832 counts And we are seeing constant linear drop in measured value. I would appreciate you, if you can help in solving this issue. Thanks, Nitesh

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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