Team,
Please help answer my customer's question:
I've finally got the part talking to a Raspberry Pi3 (wrote a driver from scratch), but still seeing some odd behaviors I was hoping you can explain. Or maybe point me in a direction on further understanding them.
1.) I've got my application just doing simple Manual Reads from the ADS. Each read I write the channel and range (0-5V). I've actually found that if I write that register (04h) just once, the data I get on subsequent reads only ranges from 2048 - 2700 (when voltage on input goes from 0 - 5000mV).
2.) If I do my write register to 04h twice back-to-back, I can get the data to read from 0 - 2700 counts. (when going from 0 mV to 5000mV).
So, the 2nd scenario is much better, but I'm still not seeing the ADC values get up to the theoretical 4096 (12-bit, 0xFFF).
Is there something in the register setup I'm missing? Read through the datasheet numerous times and nothing caught my attention that had to be done prior to manual channel reads.
Thanks
Viktorija