PCNT + RMT vs. GPIO + MCPWM

DrMickeyLauer
Posts: 209
Joined: Sun May 22, 2022 2:42 pm

PCNT + RMT vs. GPIO + MCPWM

Postby DrMickeyLauer » Tue Nov 25, 2025 4:13 pm

So here's an odd one... I have a custom board based on ESP32S3 which works pretty much normal. However...

when I input a PWM signal to a certain GPIO, PCNT and RMT do not detect _anything_. Nothing.
I have played with different ways to initialize and configure the peripherals, preconfigured GPIOs, anything, I can't get them to detect pulses.

Whereas polling the GPIO, reading via IRQ, and even MCPWM's counter are doing the right thing.

What could be the problem?

DrMickeyLauer
Posts: 209
Joined: Sun May 22, 2022 2:42 pm

Re: PCNT + RMT vs. GPIO + MCPWM

Postby DrMickeyLauer » Thu Dec 04, 2025 11:17 am

Turns out the manufacturer incorrectly inserted 100KΩ resistors instead of 100Ω... it's a wonder that direct GPIO access and MCPWM did work at all.

Who is online

Users browsing this forum: Semrush [Bot] and 5 guests