I was interrogating me on the possibility to autocalibrate the ADC12.
This by enabling the internal Vref, putting it on output (VeREF+ pin) and measuring it through ADC input (should read 0xFFFF), the same thing could be done for VREF-, then slope and offset could be calculated.
Could it give good results for the circuit using VREF?
I made some test measuring the internal VREF and it gives me wrong value, I measure 2470 (after NADC conversion and TLV correction) but should have 2500, I'm using 2.5V for this test and the PZ100USB board with F6638 uC (same results with custom boards).
But I don't know if I'm mistaking during conversion, or putting VREF in some an ADC loop (internal - external - input) will break the measurement.
Best regards