Extreme ElectronicsExtelec@mstdn.social
Aug 13, 2026, 5:31 PMretooted Niels Moseley
I’ve been writing bare metal code for the #esp32c3 (no #Espressif IDF). The USB UART and GPIO work, but I’m having a lot of trouble getting the ADC to return something other than 0xFFF. All the clocks are enabled, the ADC returns a DONE flag, but the data is always 0xFFF. The sampled GPIO0 is floating around 300mV and grounding it doesn’t change the ADC value. Does anybody know a solution? #embedded