2021-05-12 03:28 AM
I have here the setup of CubeMX
when I compile, the HRTIMF1 does not reset from HRTIME1 CMP1.
So I add manually the code
pTimerCfg.ResetTrigger = HRTIM_TIMRESETTRIGGER_OTHER5_CMP1;
Attached is the ioc file.
Solved! Go to Solution.
2021-08-04 05:26 AM
Hi @victagayun ,
Good news :smiling_face_with_smiling_eyes: I am pleased to inform you that this issue is fixed in the latest STM32CubeMX version 6.3.0.
Thanks for your contribution.
Khouloud.
2021-05-12 08:27 AM
Hello @victagayun ,
First let me thank you for feedback and for having reported. Issue reproduced and I assume that this problem is due to "1st Reset Trigger Source" list available through STM32CubeMX:
In fact, opening your attached .ioc and focusing on HRTIM1 Configuration panel > Timer F window tab > Reset Trigger Sources Selection > 1st Reset Trigger Source, the list of events that can be selected to trigger the reset of the timer counter seems to be faulty ( The timer counter is reset upon Timer E Compare 1 /2 event is mentioned twice ).
The selected trigger in your case is the first "timer counter is reset upon Timer E Compare 1 event" which is HRTIM_TIMRESETTRIGGER_OTHER4_CMP1.
With this being said, the issue is reported internally to be fixed as soon as possible.
Thanks for your contribution.
Khouloud.
2021-08-04 05:26 AM
Hi @victagayun ,
Good news :smiling_face_with_smiling_eyes: I am pleased to inform you that this issue is fixed in the latest STM32CubeMX version 6.3.0.
Thanks for your contribution.
Khouloud.