Hi,
We have recently integrated ADS124S08 with a sensortag to perform high precision data conversion. Is there any sample algorithm that can allow us to perform data conversion for all the adc channels? I'm new to this :).
Best,
MM
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.
Hi,
We have recently integrated ADS124S08 with a sensortag to perform high precision data conversion. Is there any sample algorithm that can allow us to perform data conversion for all the adc channels? I'm new to this :).
Best,
MM
Hi MM,
the ADS124S08 datasheet shows a pseudo example code of how to perform measurements in the 'Pseudo Code Example' section. This should give you a general idea of how the program flow could look like.
In order to measure signals on all channels you would do the following (assuming you are in continuous conversion mode):
...
Read conversion result using RDATA command
Change channel configuration (MUXP[3:0] and MUX[3:0] bits) using the WREG command
Wait for conversion to complete
Read conversion result using RDATA command
Change channel configuration (MUXP[3:0] and MUX[3:0] bits) using the WREG command
Wait for conversion to complete
Read conversion result using RDATA command
...etc.
You can also find example code here:
Regards,