Summary Problem ESP32 PWM (LEDC) timer wansn't correctly stopped. We were using ledc_timer_rst() to stop timer, which is incorrect. This section of IDF doc says: ledc_timer_set() ledc_timer_rst()...
32 + run_wait --> run: call HAL/LL functions to start timer 33 + } 34 + -- 35 + Interrupt --> gptimer_stop 36 + state gptimer_stop { 37 + state is_running <<choice>> 38 + [*] --> is_running: Running?39