Q: I am not getting the expected output code. What am I doing wrong?
A: Give the part a RESET after power-up to ensure proper configuration. Also ensure you have a stable reference (if external is used), and that correct voltages appear on the REFCAPx and REGCAP pins. Remember to connect REFCAPA and REFCAPB together and decouple to AGND with a low ESR 10uF ceramic capacitor. Decoupling these pins separately may result in incorrect output.