cancel
Showing results for 
Search instead for 
Did you mean: 

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

ATkac.3
Associate II

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.

3 REPLIES 3

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
Associate II

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

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.