Question
STM32F4 - Quadrature + toggling
Posted on June 10, 2014 at 00:33
Can you use a single timer to make a quadrature divider? What I mean by this is can you take in a quadrature signal, have the timer increase its CNT register and then toggle channels 3 & 4 based upon a particular CNT value?
This would require channels 1&2 acting as quadrature inputs and channels 3&4 acting as toggling outputs. If this is not possible, can you tell me why? My initial attempts at this failed, so I am trying to figure out if there is something about the peripheral that causes this to not be possible.Thanks in advance, #stm32f4 #toggling #quadrature #qei