Hi all,
Is it OK to change USER_NUM_PWM_TICKS_PER_ISR_TICK from "2" to "3" during program execution?
My customer stops PWM with HAL_disablePwm () during program execution and then restart PWM with HAL_enablePwm (),
somehow the PWM trip occurs and PWM stops.
At restart, if USER_NUM_PWM_TICKS_PER_ISR_TICK is "2", the PWM trip will not occur.
However, since ISR overflows in "2", My customer want to change USER_NUM_PWM_TICKS_PER_ISR_TICK to "3" immediately after restart.
My customer's project is based on lab13b.
Best regards,
Sasaki