cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX does not produce the code for the reset source for HRTIMF1

victagayun
Senior III

I have here the setup of CubeMX

0693W00000AO6S5QAL.png 

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

0693W00000D1W8pQAF.pngThanks for your contribution.

Khouloud.

View solution in original post

2 REPLIES 2

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:

0693W00000AO9seQAD.jpg 

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.

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.

0693W00000D1W8pQAF.pngThanks for your contribution.

Khouloud.