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.

RE: ADS1256: ADS1256 library for Raspberry Pi

Other Parts Discussed in Thread: ADS1256

Hi

I am trying to get data samples from a sensor using a ADS1256 library with a Raspberry Pi and Waveshare High-Precision AD/DA Expansion Board on my RaspberryPi B3+

the code link:

in their code and datasheet it can take around 30,000 samples per second, but when I am running it, it was taking around 200 samples per second. After some modifications in code, it is taking around 404 samples per second.

I need at least  3750 samples per second for each channel (30,000 sps/8channel)!

Thanks for help me

Thanks a lot

  • Hi Hoss,

    Unfortunately, the Waveshare hardware and software is not supported by Texas Instruments. I would recommend searching to see if anyone else has experience working the Raspberry Pi High-Precision AD/DA Expansion Board and it's accompanying software, or else trying to contact Waveshare for help.

    I have seen an E2E thread on a similar topic though (see:https://e2e.ti.com/support/data-converters/f/73/p/475295/1788391) which might have some helpful tips.

    Quite likely, the Python function calls are operating a very high level of code abstraction and just not fast enough to keep up with the ADS1256 operating at its fastest data rate, or perhaps the code is making very computational intensive calls to print data to a console or other peripheral (for example). You might need to try and use lower-level function calls to remove some of the software delays, otherwise look for hardware that will provide you with faster communication capabilities.