Skip to main content
ETone
Associate III
Mar 17, 2020 6:00 PM UTC
Question

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

 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.

4 replies

Khouloud ZEMMELI
ST Employee
Mar 18, 2020 8:06 AM UTC

Hello @ETone​ 

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

0693W000000UBFlQAO.png

Best Regards,

Khouloud​

ETone
EToneAuthor
Associate III
Mar 18, 2020 1:18 PM UTC

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
Mar 18, 2020 7:52 PM UTC

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 1:21 PM UTC

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.