cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to set which source is connected to the timer's external trigger (ETR) in the cube?

ETone
Associate III

 Specifically I'm using the H743BI and am connecting ADC1_AWD1 to timer1's ETR using the hal function HAL_TIMEx_RemapConfig to do this. I should be able to do this in Cube but I cannot discover the setting to do this. Thoughts?

4 REPLIES 4
Khouloud ZEMMELI
ST Employee

Hello @ETone​ 

Please see attached picture , from there, you can set the external trigger source :

0693W000000UBFlQAO.png

Best Regards,

Khouloud​

ETone
Associate III

Thanks for the quick reply! This is connecting the timer to trigger a conversion. I want the adc watchdog to trigger a timer reset.

Gene

ETone
Associate III

OK, found the answer. In the Cube, the timer must be set to slave mode RESET and trigger mode set to ETR1 through ADC Remap. Then in parameter settings the heading "ETR remap capabilities for TIM1" will appear. I then was able to select "TIM1_ETR is connected to ADC1_AWD1" from the drop down list.

Gene

Hi, i've the same problem with timer reset triggered by adc watchdog. I've set the timer like you but i can't reset the timer anyway.