Skip to main content
CAPOSIENA.Philippe
Associate II
September 21, 2015
Question

Very dangerous bug with dead time insertion

  • September 21, 2015
  • 2 replies
  • 811 views
Posted on September 21, 2015 at 11:59

Hello,

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

    This topic has been closed for replies.

    2 replies

    Nickname5522_O
    Visitor II
    September 30, 2015
    Posted on September 30, 2015 at 11:45

    Hi Philippe,

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

    -Shahrzad-

    Nickname5522_O
    Visitor II
    January 28, 2016
    Posted on January 28, 2016 at 11:43

    Hi Philippe,

    The fix is already delivered in STM32CubeMX 4.12.0.

    -Shahrzad-