ADC conversion is not stable
Hello!
I'm using XPC56xL minimodule on the XPC56XX motherboard.I slightly modified the SPC56ELxx OS-Less ADC Test Application to print the ADC conversion values on the UARTThe issue I noticed is that the value of the conversion is not stable: for example if I print 15 measures (all of them done without changing the trimmer position) I get the following result (in hexadecimal):ADC Value:
278279274278277274272272275278276274276276278276So it seems that the 4 least significant bits are given only by the noise. Since i read on the reference manual that the ADC has 12 bits resolution, i would like to know if there is a strategy to keep those bits stable.
Thank you in advance!kind regards,Fabio