Other Parts Discussed in Thread: ADS8638,
The description in the datasheet for setting the Auto-Md Ch-Sel register does not make sense. The register is an 8-bit register with every other bit a channel select bit.
Bit 7: Sel Ch0
Bit 6: X (don't care)
Bit 5: Sel Ch1
Bit 4: X (don't care)
Bit 3: Sel Ch2
Bit 2: X (don't care)
Bit 1: Sel Ch3
Bit 0: X (don't care)
The description says, "if the Auto-Md Ch-Sel register is programmed to 01100100, then the auto-mode sequence is channels 2, 5, 6, 2, 5, 6...." No matter how you line up the bits in 01100100, the ones do not line up with all the Sel CHx bits. If bit 0 is left-most bit, then Sel Ch3 is selected, then don't care bit 2 is selected, and Sel Ch1 is selected. If bit 0 is the right-most bit, then don't care bit 2 is selected, Sel Ch1 is selected, and don't care bit 6 is selected. I see no way to select channels 2, 5,and 6, from the example register setting.