Figure 112. Example Of Counter Operation In Encoder Interface Mode; Figure 113. Example Of Encoder Interface Mode With Ti1Fp1 Polarity Inverted - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

Advanced-control timers (TIM1&TIM8)

Figure 112. Example of counter operation in encoder interface mode.

Counter
Figure 113
configuration as above except CC1P='1').

Figure 113. 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. You 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. You can do this 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.
387/1422
forward
TI1
TI2
up
gives an example of counter behavior when TI1FP1 polarity is inverted (same
forward
jitter
TI1
TI2
down
Doc ID 018909 Rev 4
jitter
backward
down
backward
up
jitter
forward
up
jitter
forward
down
RM0090

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F40 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF