Skip to main content
ATkac.3
Associate
June 10, 2021
Question

STM32CubeMX 6.2.1 Does not allow the setting dead time for HRTIM in push pull mode

  • June 10, 2021
  • 3 replies
  • 2617 views

Hello ST community.

I am use NUCLEO-G474RE, wanted to set up HRTIM in push pull mode with dead time. I select the set and reset sources for outputs TA1 and TA2 period event and compare 1 event. But when i turn on dead time, TA2 setting is considered to be wrong.

0693W00000BaaxtQAB.jpg 

If remove set sourse for TA2 and run program, i get incorrect pwm signals.

0693W00000Bab4VQAR.jpgWhen i manually configure a set sourse for TA2 everything works fine.

0693W00000Bab54QAB.pngI am attaching a project with a fixed bug.

This topic has been closed for replies.

3 replies

Khouloud OTHMAN
Associate
June 16, 2021

Hello @ATkac.3​,

Thanks for having reported, but I haven't reproduced any issue from my side. Could you please precise more how did you reproduce in order to get such error ?

The .ioc you have attached have no problem:

0693W00000BbBbBQAV.png 

Your feedback is helpful to track faster the root cause of the issue.

Thanks in advance.

Khouloud.

ATkac.3
ATkac.3Author
Associate
June 17, 2021

Hello @Khouloud OTHMAN​,

If you enable dead time, you will not be able to select the set and reset sources for the TA2 output. Without selected sources for TA2, you will not be able to get correct PWM signals.

JGrap.1
Associate II
July 13, 2021

Hi @ATkac.3​ ,

Just ignore the red cross(wrong setting sign), and continue generate the code as you did.

I also faced the same issue as you on STM32CubeMX V.6.2.0.