Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 89978

Forum Post: RE: ADS124S08EVM: Output data analysis from strain gauge interfaced with EVM ADC and arduino uno

$
0
0
Hi Sushmita, Your program loop only lasts a few milliseconds, so I'm not sure what you expect to see. Also, the output of the ADS124S08 is binary 2's complement so you need to properly sign-extend the data from a 24-bit value to the signed 32-bit value. You need to also make sure that your sensor connections are solidly connected to the EVM. Another issue is the gain register setting you are using. This is an invalid setting as you are attempting to use a gain of 128 with the PGA disabled. The PGA must be enabled if you wish to use a gain greater than 1. With the PGA disabled you must set the gain to 1. For a gain of 128 and PGA enabled the setting is 0x0F and not 0x07. The scope shot should show the entire transaction to include the RDATA command and all 3 bytes of the data. This would require seeing the SCLK, DOUT and DIN from the ADS124S08 . You may also want to toggle CS for the communication by setting it low before the RDATA command is transmitted, and setting the CS back high after the last SPI.transfer(0). This will ensure that if there were any communication issues in a previous communication, the SPI bus will be reset at the next read cycle. Best regards, Bob B

Viewing all articles
Browse latest Browse all 89978

Trending Articles



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