Skip to main content
Visitor II
July 10, 2025
Solved

STM32G4 HRTIM deadtime prescaler defines swapped

  • July 10, 2025
  • 1 reply
  • 242 views

Hi everybody,

i just noticed a bug in the HRTIM HAL library for the STM32G4 controller. The defines for the HRTIM deadtime prescaler in stm32g4xx_hal_hrtim.h are swapped between MUL and DIV.

For example: MUL8 should be 110 binary but it is 000. DIV8 should be 000 but it is 110.

 

Is there any way to transmit this officially to STM?

    This topic has been closed for replies.
    Best answer by Saket_Om

    Hello @diemelbecker 

    Thank you for bringing this issue to our attention.

    I reported this internally.

    Internal ticket number: 213877 (This is an internal tracking number and is not accessible or usable by customers).

    1 reply

    Saket_OmAnswer
    Technical Moderator
    July 10, 2025

    Hello @diemelbecker 

    Thank you for bringing this issue to our attention.

    I reported this internally.

    Internal ticket number: 213877 (This is an internal tracking number and is not accessible or usable by customers).