Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is it possible to read multiple ADC channel values in parallel? #7

Open
FinChristie opened this issue Mar 2, 2022 · 1 comment

Comments

@FinChristie
Copy link

Hello, I have recently started using your High-Pricision_AD_HAT for a university project.

I have successfully used it to read and log sensor values using a raspberry Pi and custom python script (which uses code from the included software). However, I noticed that ADS1263_GetAll function reads the channel values sequentially, therefore each reading is taken at a slightly different time. This is an issue as we are hoping to sample at high frequencies (200-500 Hz).

I was wondering if it is possible to read these values in parallel, i.e. all readings are taken at exactly the same time.

Thank you for your help,
Fin

@SSYYL
Copy link
Collaborator

SSYYL commented Jun 16, 2022

Hi, FinChristie

This ADC is multiplexed and cannot be sampled in multiple channels simultaneously.
You can try increasing the sampling rate and try to get a "synchronized" effect.

good luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants