16.9.2 Conversion Formula for Unipolar
Input Ranges Input voltage = (A/D value + 32768) / 65536 Full-scale input voltage
Example: For unipolar input range 0-5V, full-scale input voltage = 5V.
For an A/D value of 17761: Input voltage = (17761 + 32768) / 65536 5V = 3.855V
For a unipolar input range, 1 LSB = 1/65536 * Full-scale voltage, in this case 5V/65536 = 76uV (0.000076V).
The table below shows the relationship between A/D code and input voltage for a bipolar input range (VFS = Full scale input voltage).
A/D Code | Input Voltage Symbolic Formula | Input Voltage for +/- 5V Range |
-32786 | 0V | 0V |
-32767 | 1LSB(Vfs/65536) | 0.000076V |
... | ... | ... |
-1 | Vfs/2-1LSB | 2.4999V |
0 | Vfs/2 | 2.5000V |
1 | Vfs/2+1LSB | 2.5001 |
... | ... | ... |
32767 | Vfs-1LSB | 4.9998V |
Previous16.9.1 Conversion Formula for Bipolar Input RangesNext17. A/D SCAN, INTERRUPT AND FIFO OPERATION
Last updated