Reading 0x command bytes for an ADC

Hi All,

I am trying to communicate with an ADS7830, datasheet https://www.ti.com/lit/ds/symlink/ads7830.pdf?ts=1704318272140&ref_url=https%253A%252F%252Fwww.google.com%252F

I am trying to find the correct address for the different channels on the ADS. The relevant parts of the data sheet are:
image
and the bottom 8 rows of
image

I am able to successfully read channel 0 with the hex byte 0x00. I am struggling to find what hex I should be using for channels 1, 2 & 3.

I realise stack overflow might be a more appropriate location for this question, but wondering if someone can help me understand how to decode the above table into a hex byte.

Thanks,
Ivan

I'm not sure, but I read the table so that 0x00 isn't really the correct pattern for reading the voltage on channel 0 but the differential between channel 0 & 1.
In order to read the voltage on channel 0 with regards to COM you'd use 0x80;
For channel 1 you'd use 0xC0
For channel 2 .. 0x90
For channel 3 .. 0xD0
(if I'm not mistaken :blush:)

In all the above the last digit is alway 0 as it's referring to the Power-Down selection for which you haven't mentioned any preference :wink:

3 Likes

Thanks @ScruffR Scruff

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.