QUERY · ISSUE
ESP8266: PWM glitches when doing DHT measure
port-esp8266
When using a PWM channel in parallel of a DHT measure, there can be some glitches on the PWM channel at the measure time. This is because the DHT drivers locks interrupts for accurate protocol timing handling, and the PWM driver relies on these interrupts.
CANDIDATE · ISSUE
ESP8266 : PWM glitches from full pwm to any value (only if 1 channel active)
The PWM at full value is not considered as an "active" channel so if no other channel is used the timer used to mange pwm is not started. So when another duty value is set the pwm timer restarts and there is a visible glitch when driving leds.
Edit: Root cause is obvious but solution is not. I have to do more tests and measures.