cancel
Showing results for 
Search instead for 
Did you mean: 

Map Timer TRGO to GPIO

freppa
Associate II
Posted on January 18, 2018 at 09:42

Is it possible to map timer trigger output signal to a GPIO pin. Typical use-case for my application is to trigger an external adc with the same signal which is used to trigger internal ADC on MCU. The MCU in question is F303.

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
waclawek.jan
Super User
Posted on January 18, 2018 at 10:22

Not directly. You can feed it as TRGI to other timer (if there's such link and the slave timer is available), and use it to trigger a one-pulse process which some of the outputs set to PWM. There will be some latency.

It may be much simpler to use those ADC triggers which are sourced in TIMx_CCy, e.g. regular EXT0 (EXTSEL = 0) triggers from TIM1_CC1 event  event.

JW