HF RL Explorer

PwmOut resets its settings (period, pulse width, duty cycle) after a suspend/resume cycle. When a PwmOut…

PwmOut resets its settings (period, pulse width, duty cycle) after a suspend/resume cycle. When a PwmOut…: a task in LegoFlow-SWE (Harbor dataset). The issue is that the PWM driver's resume/suspend logic does not preserve the configured PWM parameters. Specifically, when resuming from suspend, the…

The task

The issue is that the PWM driver's resume/suspend logic does not preserve the configured PWM parameters. Specifically, when resuming from suspend, the PWM peripheral is reinitialized but the previously set period and pulse width values are lost, causing the output to revert to defaults.

Part of Lego-X/LegoFlow-SWE.