Hello,
My ADS1256 board is able to sample at rates adequate for my needs. The issue I have is that the data returned by the ADS does not vary as you would expect it to (I am feeding a sine wave into the board). Instead of capturing the wave, it instead will only capture the initial offset of the wave with minimal variation afterward. Here is an example of the data returned: (left column is voltage, right column is microsecond count - for wave w/ a 0.5 V offset and 0.5 V amplitude).
0.478901 1562
0.479181 2742
0.479105 3934
0.478935 5078
0.479025 6832
The data continues to hover at ~0.479 for the remaining thousand samples. For reference, the code I am using can be found at this github link (https://github.com/jurebartol/Rpi2_ads1256/blob/master/C/ads1256.c#L759), and I have modified it so that I am taking a single-ended read of the data for a certain count. I am wondering if someone has encountered this issue before and/or knows how to fix it.
Thanks in advance,
Abel