This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1293: Reading some garbage data

Part Number: ADS1293

Hi i am writing a driver code for the ADS1293 to work with the ESP32. Using my code, I am able to read most of the data output by the ADS1293 properly but certain values which I am reading are junk and it is ultimately rendering the ECG signal useless.

The code is based on the opensource library written by Protocentral on Github. Here is the link: GitHub - Protocentral/protocentral-ads1293-arduino

Here are some snippets from my code:

I have modified their library to set R2 rate to 4 and R3 rate for all channels to 32.

Channel 1 graph looks fine (except the noise from AC line)

But channel 2 graph contains some stray values due to which it loses shape

Among a stream of good values, I am reading some stray out of bound values like this

Can you throw some light like what might be the issue??