Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4922

ESP32 - GPIO25 as PWM output connected to GPIO33 as ADC input - voltage drop on pulse

$
0
0
I am a bit stuck on this one and would appreciate help or tips from the community here...

I am using ESP-IDF and using a dev board from TTGO (with LORA).

I've programmed the GPIO 25 to have a 100KHz PWM output with 50% duty cycle.
Looking at the osciloscope I see a nice, well behaved pulse 0-3.3V, as expected.

Now, I configured the GPIO33 as ADC input (atenuation DB 11). As soon as I connect the two GPIOs I see a drop on the Voltage on the high cycle of the pulse, from +3.3V to ~900mV in...

ESP32 - GPIO25 as PWM output connected to GPIO33 as ADC input - voltage drop on pulse

Viewing all articles
Browse latest Browse all 4922

Trending Articles