Showing results for 
Search instead for 
Did you mean: 

Very dangerous bug with dead time insertion

Associate II
Posted on September 21, 2015 at 11:59


i have a very dangerous bug in CubeMx with HRTIM module (STM32F334C8). Sometimes the dead times are not inserted on the outputs. The configuration is done correctly but in the source file hrtim.c only the dead times for the timer A or B are set in the corresponding registers. The timer C is sometimes not set for the dead times. When it arrives the only solution is to create a new project.

I have to drive motors or SMPS and this bug affects the reliability of our future products.

When i make a modification in my CubeMx project i must verify in the hrtim.c file that dead times are correctly set.

I join a example project when the bug happens. In this case only the timer B outputs have a dead time inserted.

Thanks in advance

Posted on September 30, 2015 at 11:45

Hi Philippe,

Thank you for your feedback. The issue is under investigation by our development team.


Posted on January 28, 2016 at 11:43

Hi Philippe,

The fix is already delivered in STM32CubeMX 4.12.0.