STM32F4xx TIMER1 ETR
Hello,
I am struggling to get the TIM1 of a STM32F411 to be triggered by an external GPIO.
What I want to achieve is having ETR1 (PA12) to trigger TIM1 and have 4 repetition of 199 period
I am using STCubeMX and I must do something wrong as it is not working, my setup is
Slave Mode : Trigger:
Trigger Source: ETR1 (PA12)
Clock Source: Disable
Channel1 Output compare No Output
Counter Settings:
Period : 199
RCR: 4
AutoReload: disable
Slave Mode controller : Trigger Mode
Trigger :
Trigger Polarity : non inverted
Prescaler not used
Filter: 0
Output compare No Output Channel 1
Mode: Frozen
Pulse : 0
CH Idle State Reset.
when I use the code
