2018-01-04 08:33 AM
Hello I am trying to use a STM32F4 Discovery Board to read an encoder and am having some difficulty. I have configured the pins and timer 3 and was planning on running TIM_GetCounter inside the timer 3 handler to see how fast its turning. However, when I call TIM_EncoderInterfaceConfig, the code runs, but never enters the timer 3 handler. If I don't call TIM_EncoderInterfaceConfig the code runs and runs timer 3 handler (but then I can't use TIM_GetCounter). How do I fix this?