2023-02-04 11:27 AM
I have a board Nucleo WB55 and I'm configuring PWM on channel 1 of TIM2.
I know is possible configure PWM Mode 1 also on channels configured as Output Compare, but CubeIDE not allow set this configuration, I think is an issue.
I changed the init code with TIM_OC_MODE_PWM1 and works.
Solved! Go to Solution.
2023-02-07 09:02 AM
Hi @juvann ,
Thank you for your contributions and for your detailed explanations,
I confirm the issue on my side, it has been reported to STM32CubeMX development team .
Internal ticket number: 144724 (This is an internal tracking number and is not accessible or usable by customers).
I will keep you posted with updates.
Hope this answered your question.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Regards,
Aymen
2023-02-04 12:18 PM
PWM1 is simply a variant/superset of Compare mode; software-wise it is simply compare mode, it just controls the hardware output differently. You may configure PWM mode and keep the output disabled - then there is no difference between these two modes.
2023-02-07 09:02 AM
Hi @juvann ,
Thank you for your contributions and for your detailed explanations,
I confirm the issue on my side, it has been reported to STM32CubeMX development team .
Internal ticket number: 144724 (This is an internal tracking number and is not accessible or usable by customers).
I will keep you posted with updates.
Hope this answered your question.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Regards,
Aymen