Hi,
I am working with 12Bit ADC on custom board with MK22FX512AVLQ12 controller. I am trying to sample VREFH channel (channel no. 29) but I am obeserving considerable fluction of 7 counts (Please see the attached Sheet).
The supply voltage to the controller is stable 3.3V with no ripples. I have connected VDDA to VREFH and VSSA to VREFL. There are capacitors of value 0.01uF, 0.1uF (as mentioned in the reference manual) and 1 uF connected between the pins VREFH and VREFL.( Please see the attached snippet)
ADC Configuration:
12 bit resolution, software trigger mode
ADC module clock: Bus clock with frequency 20MHz and frequency divider of 2
Longsampling disable, continuousConversion disabled, Hardware averaging disabled.
I am not able to understand the reason behind fluctuation in VREFH.
Please help in resolving the issue.