Question
STM32L152 TIM5
Posted on May 10, 2012 at 11:17
I have an interesting problem I hope someone can explain.
I was trying to modify the PWM_Input example from the StdPeriph examples to work with TIM5 so I could get a longer range. I have tried to use both TIM5_CH2 (PA1) and TIM5_CH4 (PA3) but on both occasions the input signal from my Agilent waveform generator SYNC output gets attenuated to 1.2V and no timer capture events occur.If I switch to using TIM2 with the same pins the signal is not changed and the example works as expected.Can anyone explain why I'm having this problem with using TIM5? #stm32-stm32l152-tim5