I'm working the INA219 and reading it's datasheet and I have a doubt. I'm working with 1 sample of 12 bits (no oversampling).
The shunt voltage register has 15 bits plus sign when the PGA is configured in its /8 mode as shown in figure 20 (page 21). I'm only sampling 12 bits, where do those 3 extra bits come from? If I were using oversampling I understand it because it's the result of the average of the samples, however... I'm not! and I'm reading values in those lower 3 bits different than 0s.
In page 20 it says:
Shunt Voltage register bits are shifted according to the PGA setting selected [...]
So if I understand it, with the configuration I'm using, that register should be:
Shunt Voltage Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|sign| ADC | ? | ? | ? |
Where do the ?
3 bits come from wihtout oversampling?