cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0: PWM Generation

jowakar122
Senior

I am using NUCLEO-G071RB. I am trying to generate an PWM pulse. I am using TIMER 3 Channel 2. 

- Clock Frequency = 64 MHz

jowakar122_0-1761917837043.png

With this setting I should get a HIGH pulse of 90 micro second, instead I get 80 or 40 micro seconds. When the Pre-scaler is increased to 640-1,  I received HIGH pulse of 980 and 920 micro second which was also not accurate.

1 REPLY 1
Gyessine
ST Employee

hello @jowakar122 
can you share your .ioc file please
BR
Gyessine

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.