AnsweredAssumed Answered

Timer Encoder Interface

Question asked by ApBrandy on Dec 12, 2014
Latest reply on Dec 13, 2014 by ApBrandy
Hi, 
I'm trying to read an encoder using the encoder interface provided by the STM32F3Discovery board. I've set up the peripherals using CubeMX and connected the encoder to the input pins (tried with timer 1 and 2), but the CNT register doesn't seem to get updated.
I tried declaring the same pins as GPIO (Input mode) and blinking leds when the input is 1, and they seem to work properly (so I guess the encoder is fine).

Can anybody tell me what's going on? Do I need to specificate other parameters/enable interrupts/DMA/other?

Thanks

Outcomes