Part Number: ADS7886
Tool/software: Linux
I'm currently using a raspberry pi running debian Jessie.
The ADS7886 documentation states that the data comes in MSB format but
I noticed that after converting to native hardware format the data is inconsistent.
By inconsistent I mean the documentation states the current value is the 12bits
but when I divide by 4096 I actually get half the expected value so it looks as
if it should be divided by 2048. Also sometimes it puts out data other times
it doesn't. I thought it may be wiring but I hooked it up to a scope and I see
voltage at VIN,VDD and the SPI interface is generating data (signal CS,CLCK).
1. The spec shows it uses 20Mhz clock but the frequency generated by the
Raspberry pi is based on a 250Mhz clock so I'm not sure whether the ADS7886
is just not working correctly because of the clock.
2. Any ideas about why I get half the expected value when I divide by 4096?
Thanks