Other Parts Discussed in Thread: CONTROLSUITE
Hi GUYs!
I have a problem related to the ADC settings. I try to sample the voltage value of the 3V3SNS power suppy on board using the ADC.
But there is a constant difference between the real voltage value and the value got by the ADC. I can't figure out why. The resolution of the ACD
is set to be 12-bit. So I calculate the voltage using equation Voltage=AdcbResultRegs.ADCRESULT0*4095/3.3,
By the way, I also want to figure out what is ADCPPB4OFFREF Register used for. At first, I thought this register is an offset for the result register and by changing the value of this register can my previous problem be solved. Then I tried my thought in the program. But nothing changed.
Thank you for any advice and ideas.