STM32G4: ADC sampling and hold capacitor value
- January 23, 2023
- 2 replies
- 5734 views
Setup
- STM32G491KE
- ADC1 Input Channel 3 using Pin PA2
- Vdd = 3V
- RC-Filter at the ADC input with R = 33 Ohm, C = 330 pF
Observation
When measuring the voltage at the ADC input with an oscilloscope, we see the voltage drop caused by switching the input signal to the SAR-ADC capacitor (C_ADC). This voltage drop and its settling depends on the used RC-Filter (values see above).
We also observe that if the ADC input voltage is around Vdd/2, the voltage drop suddenly jumps by factor 2. Namely, if we compare the voltage drop at input voltage 1.45V with the voltage drop at input voltage 1.52V, the voltage drop is doubled for the input voltage 1.52V (see the plot in the attachment).
However, if the capacitor of the ADC (C_ADC) is constant and the capacitor is completely discharged during the conversion phase of the ADC, we would expect only a linear dependency of the voltage drop to the input voltage of the ADC.
Question(s)
- Is there an explanation for this voltage jump at Vdd/2 (and possibly other other voltage levels)?
- Can this behavior be explained by the architecture of the ADC input buffer?
- Are there possible measures or any recommendations to mitigate this behavior?
