Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: SYSCONFIG
Hello,
We are currently using the micrcontroller f28p55x to acquire electrical signals with a expected full scale voltage of 3v3. We want to use the external reference of 3v3 fed thourgh the pin VREfHI and have a full scale voltage inseide the ADC of 3v3.
I have encoountered one issue while configuring the Analog subsistem reference registers which I will better explain with an example.
I am measuring a ocnstant voltage of 48V with the ADC, VrefHI 3v3 and the reference set to external thourgh the register REFPMUXSEL. I ADC input pin that measures the voltage, there is 2.556V which should result in a value of 3151 counts aprox. The problem I see is that the counts perceived are 1605 counts and I en up receiving a value of 24V. I saw that the issue is caused becasue of the register ANAREFX1P65SEL which is set to 1. If i put this register to 0, the ADC counts shown in the debug view are 3100 as expected.
My questions are the following:
- I saw TI recommend to set ANAREFX1P65SEL whenever using a external refences higher than 2.95 in technical refernce manual. Why is that? Why am i not able to configure that register to 0 to have the pin voltage at 3.3v?
- If register ANAREFX1P65SEL is set to 1, does it mean I can not put a voltage to the pin higher of 1.65V? If so, why am I seing a Value of 1605 instead a saturation value providing that the votlage at the pin is 2.556 and higher than 1.65V?
- Where does it come this scaling of /2 in the measurement? How does affect having a reference of 1.65 at the pin but having a VREFHI of 3v3? I am not undestanding well the specification in page 138 datsheet.(Image attached). I neither unsdetand the specification on technical reference manual, the part where says "When used with external reference,
use 2P5 mode for all VREFHI <2.97V,
for FSR 3.3V use 1P65 with 1.65V
applied to VREFHI."

Regards,
David