Showing results for 
Search instead for 
Did you mean: 

STM32CubeF3 / STM32F334 / Wrong PWM frequency in Buckboost example

Vincent Onde
ST Employee
Posted on January 09, 2015 at 16:39

There's a bug in STM32CubeF3 Rev 1.1.0 ''STM32F3348-Discovery/Examples/HRTIM/HRTIM_BuckBoost'' example, causing the TIMA timer to generate PWM with the wrong frequency. This is due to the TIM1 Compare2 init structure being not completely initialized (for the ADC trigger).

The main.c file attached corrects the problem.

Note: this applies only to the simple BuckBoost example (HRTIM_BuckBoost), not to the one described in AN4449 (HRTIM_BuckBoost_AN4449).

Posted on February 06, 2015 at 09:21

Hi Vincent,

We’ll let our team know about your suggestion. Please continue providing valuable feedback.

Best regards,