Hello,
I'm working with the ADS7953 12 bit A/D converter. http://www.ti.com/product/ads7953
According to the info on page 29 of the datasheet I send the following data over the SPI port:
DI 15-12 : "0001" select manual mode
DI11 : '1' enable the programming of bits DI06-00
DI10-07 : "0001" reads channel 1
DI06 : '1' Selects 5V i/p range (Range 2)
DI05 : '0'
DI04 : '0'
DI03-00 : "0000"
As you can see bit 6 is set to '1' (5V scale). I verified with a scope that the serial data is sent corretly over the SPI Tx channel.
The device immediately answers with the following voltage reading : "111111100111" ( almost the maximum possible value wich should mean 5V )
However, a multimeter reading at the point of test shows 2.49 Volts. Therefore, I expect the A/D to send back half of the above value ( i.e : "011111111111") .
I assume I wrongfully configured the device for a 2.5V reading instead of the 5V scale - but I don't see what I did wrong.