Is there any way to set which source is connected to the timer's external trigger (ETR) in the cube?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-17 11:00 AM
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?
- Labels:
-
ADC
-
STM32CubeMX
-
STM32H7 Series
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-18 1:06 AM
Hello @ETone​
Please see attached picture , from there, you can set the external trigger source :
Best Regards,
Khouloud​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-18 6:18 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-18 12:52 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 6:21 AM
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.
