If I set offset and amplitude with the function generator and input the signal, it doubles and outputs each
STM32G431RB is in use. If you add frequency: 100KHz, offset: 1V, amplitude: 1V as a function generator and proceed with ADC using MATLAB, the signal is output in offset: 2V and amplitude 2V.


It's a picture of the function generator parameter settings, and when I ran it, I extracted the graph from the matlab like the picture on the right.
If you look at the ADC, FFT graph, the waveform does not fluctuate at 1V, but it fluctuates at 2V, and even though Vpp = 1V, it fluctuates as if Vpp = 2V.
I don't know the cause, can you tell me?
