RM0033
Counter
Figure 107
configuration as above except CC1P='1').
Figure 107. Example of encoder interface mode with TI1FP1 polarity inverted.
Counter
The timer, when configured in Encoder Interface mode provides information on the sensor's
current position.The user can obtain dynamic information (speed, acceleration,
deceleration) by measuring the period between two encoder events using a second timer
configured in capture mode. The output of the encoder which indicates the mechanical zero
can be used for this purpose. Depending on the time between two events, the counter can
also be read at regular times. This can be done by latching the counter value into a third
input capture register if available (then the capture signal must be periodic and can be
generated by another timer). when available, it is also possible to read its value through a
DMA request generated by a real-time clock.
Figure 106. Example of counter operation in encoder interface mode.
forward
TI1
TI2
up
gives an example of counter behavior when TI1FP1 polarity is inverted (same
forward
TI1
TI2
down
Advanced-control timers (TIM1 and TIM8)
jitter
backward
down
jitter
backward
up
RM0033 Rev 8
jitter
forward
up
jitter
forward
down
MS33107V1
MS33108V1
341/1378
375
Need help?
Do you have a question about the STM32F205 series and is the answer not in the manual?
Questions and answers