cancel
Showing results for 
Search instead for 
Did you mean: 

How to Set PWM in CubeMx2/HA2?

tt2098
Associate

Question split from this thread.

Hi , 

Can you also provide some info on how to set pwm through timer channels ?

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

Hello again,

I can propose to look at the examples provided in CubeC5 package:

https://github.com/STMicroelectronics/STM32CubeC5/tree/main/examples/hal/tim

mALLEm_0-1776862006340.png

I don't think there is a step by step guide treating PWM for the moment. This knowledge base is about How to use TIM with STM32CubeMX2 but unfortunately treats the case of a basic time base.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
mƎALLEm
ST Employee

Hello again,

I can propose to look at the examples provided in CubeC5 package:

https://github.com/STMicroelectronics/STM32CubeC5/tree/main/examples/hal/tim

mALLEm_0-1776862006340.png

I don't think there is a step by step guide treating PWM for the moment. This knowledge base is about How to use TIM with STM32CubeMX2 but unfortunately treats the case of a basic time base.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.