AnsweredAssumed Answered

STM32CubeF3 / STM32F334 / Wrong PWM frequency in Buckboost example

Question asked by Vincent Employee on Jan 9, 2015
Latest reply on Feb 6, 2015 by Montassar BEN ROMDHANE

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).

Attachments

Outcomes