Hello!
I have a question about the ADC128D818, and I hope this is the correct subforum. I connected the ADC to a Raspberry Pi and communicate via SMB through a small Python script. And everything works fine, at least when I read/write the 8Bit register. If I want to read/write the 16Bit Register, I get some fairly odd values.
My reference voltage is 4,095V and the voltage at one input is about 3.3V. Which means, that I should get something like 0x0cef (3300). But what I actually get is 0x0e0cf (57551). I could understand it when two bytes would be shifted, but THIS? I really don't understand this result and why it is like this. I tried another ADC and it behaved in the same way.
I have wrote a small code to bitshift the value to a "correct" format. But it really bugs me.
Have I done something wrong? Or is there something I overred?
Would be nice if someone could help me with this.
Cheers.
Ben