Hi,
I'm trying to read the TPS65981 ADCs over the I²C bus and after looking at the Host Interface Technical Reference and the Datasheet I'm still confused on a few things:
- I'm not entirely sure how the command interface works.
- I think I have to write the Input DataX to the data register before writing the command to the cmd register - is that correct, or should input data be written after the command?
- Once the cmd register reads back all zeroes, the data register appears to still contain the input data followed by output data. I was expecting the input data to be replaced by output data. Am I accidentally overwriting the output or should I expect the the input data to be echoed in the output?
- The datasheet mentions three different modes for ADC access.
- How can I switch between the three modes - single-channel, round-robin and automatic?
- Which registers contain the output of the automatic readouts?
Thanks
Andy