ADC reading drift error

Hi guys,
I’m facing a problem with the Giga when I’m trying to sweep the DAC voltage from 0-1.7V, the ADC1,2 reading drifts slightly while it’s supposed to be constant. I’m using advanced analog library for fast 16bit ADCs and analogWrite for DAC. Here’s a graph:


Blue DAC output goes through a gain amplifier –> sma before oscilloscope, hence it ranges from 0 to 12V.
Do you guys think this is a mixed signal issue of the Giga hardware itself? Do you guys have any ideas of fixing this type of issue?
(This drift appears in my Serial Monitor, but not on the ADC pin itself. So, I’m certain that it’s the problem inside Giga, not my signal or PCB)

How are you using a separate meter to confirm a steady voltage? You need to do that if you want to debug the problem.

Are you sure the Giga's A/D is suitable for voltage measurements.
I think default Aref on a Giga is VCC, which is only good for ratiometric measurements.
Leo..

Start with an annotated schematic. The drift can come from several sources. Did you confirm your reference voltages were stable during this testing.