Maintain PWM Output Across Reboot
Posted: 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!
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!