Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

General • Re: Extending ADC gate time on RP2040

$
0
0
Does anyone know if there is a way to extend the time the gate is open for charging the 1pf internal cap for the ADC on RP2040?
I believe that the 1pF capacitor is connected to the selected pin by default and only gets disconnected when measured. That means that using slower sampling rate (e.g. 100 instead of 96) will leave it connected for those extra idle ticks.

Why do I think so? Well, if you toggle it really fast between the inputs without measuring anything, you can actually transfer charge. This trick can be used to e.g. measure pF-scale capacitances.

Statistics: Posted by Mordae — Sun Jul 28, 2024 5:08 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles