cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Encoder mode + Input Capture on the same timer

kardwor1
Associate II
Posted on May 09, 2016 at 22:33

I want to use CH1 and CH2 in encoder mode and also CH3 in input capture mode, all this using one timer (TIM3). Is it possible? I didn't found any warnings in datasheet. I looked at the block diagrams but I'm not sure about it. CubeMX let me do this combination but is it going to work in practice? I'm using STM32F405RGT6

#encoder #stm32f4 #timer
3 REPLIES 3
matic
Associate III
Posted on May 09, 2016 at 22:52

Yes, it definitely works. I used this combination several times. 
Posted on May 10, 2016 at 00:24

Yes, but TIM2 or TIM5 would be a better choice.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Orels cuvox
Associate II
Posted on July 03, 2018 at 18:58

How to??????????????????