2021-06-10 01:49 AM
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.
If remove set sourse for TA2 and run program, i get incorrect pwm signals.
When i manually configure a set sourse for TA2 everything works fine.
I am attaching a project with a fixed bug.
2021-06-16 11:23 AM
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:
Your feedback is helpful to track faster the root cause of the issue.
Thanks in advance.
Khouloud.
2021-06-16 11:27 PM
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.
2021-07-12 10:38 PM
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.