Skip to main content
ETone
Associate III
March 17, 2020
Question

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

  • March 17, 2020
  • 3 replies
  • 1700 views

 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?

This topic has been closed for replies.

3 replies

Khouloud ZEMMELI
ST Employee
March 18, 2020

Hello @ETone​ 

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

0693W000000UBFlQAO.png

Best Regards,

Khouloud​

ETone
EToneAuthor
Associate III
March 18, 2020

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
EToneAuthor
Associate III
March 18, 2020

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

MPian.1
Associate II
May 26, 2021

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.