8.4 Correlation between A/D Code and Input Voltage

The two tables below illustrate the correlation between the A/D code and the corresponding input voltage. Use these tables as guides to help think about how to convert between the voltage domain and the A/D code domain.

Bipolar Input Ranges

A/D Code

Input voltage formula

Input voltage ( +5V range)

-32768

-Vfs

-5.0000V

-32767

-Vfs+1LSB

-4.9998V

-1

-1LSB

-0.153mV

0

0V

0.0000V

1

+1LSB

0.153mV

32767

Vfs-1LSB

4.9998V

Unipolar Input Ranges

A/D Code

Input voltage formula

Input voltage ( +5V range)

-32768

-Vfs

0.0000V

-32767

1 LSB (VFS / 65536)

0.153mV

-1

VFS / 2 - 1 LSB

4.9998V

0

VFS / 2

5.0000V

1

VFS / 2 + 1 LSB

5.00015V

32767

Vfs-1LSB

9.9998V

Last updated