Hi
Page 426 of the AM263x TRM (SPRUJ17C) shows an example ADC code conversion:

On page 428 there are equations that show how to get the ADC code from reference and differential input:

If I plug in 3.2 for (VinPX-VinmX) and 1.8V for (VrefP-VrefM) to match the example from page 426, I get a code of 6336 instead of 4095. Have I misinterpreted the equations? Thanks!
Paul