Maintain PWM Output Across Reboot

chrismerck
Posts: 75
Joined: Tue May 29, 2018 8:00 pm

Maintain PWM Output Across Reboot

Postby chrismerck » Fri Feb 28, 2020 1:10 am

Is it possible to reboot the ESP32 CPU while maintaining the PWM output? Or, what is the minimum glitch we could expect in this scenario?

Suppose I have 50% duty cycle, 1kHz PWM output running. Then we reboot. If in 2nd stage bootloader we avoid touching the PWM peripheral, and then reconfigure the peripheral, I imagine that the glitch of the PWM on reboot could be held to just a few microseconds, rather than tens milliseconds (?) for the reboot.

Anyone with some insight here LMK. I'll try some experiments this week and report my findings, but I'd appreciate a pointer. Thanks!

Who is online

Users browsing this forum: No registered users and 70 guests