Skip to main content
SRoy
Associate II
January 2, 2019
Solved

STM32F7: Timers in encoder mode

  • January 2, 2019
  • 3 replies
  • 1349 views

I would like to know whether the general purpose timers Timer 1,8,2,3,4,5 in the STM32 F7 series can be configured in encoder mode?

I am doing a comparison between F7 and H7 series Microcontrollers. I need to count my motor rotations through timers in encoder mode instead of interrupt the CPU for each rotation. I came across in the datasheets that for H7,there are 5 low power timers which support encoder mode and in F7 series there is 1 low power timer which supports encoder mode. Hence I would like to whether the general purpose timers in F7 series supports the encoder.

This topic has been closed for replies.
Best answer by Khouloud GARSI

Hi @SRoy​ ,

  1. As answered by @Community member​ , the timers listed in your question can be configured in encoder mode.
  2. There is no need to connect an intermediary IC between the encoder and the MCU: The timer will handle the whole process.

Khouloud.

3 replies

waclawek.jan
Super User
January 2, 2019

Yes.

SRoy
SRoyAuthor
Associate II
January 2, 2019

Do I need to use any encoder IC along with the General purpose timers to achieve the encoder mode,or the timer is self sufficient to perform the encoder mode action.

Khouloud GARSI
Khouloud GARSIBest answer
ST Employee
January 3, 2019

Hi @SRoy​ ,

  1. As answered by @Community member​ , the timers listed in your question can be configured in encoder mode.
  2. There is no need to connect an intermediary IC between the encoder and the MCU: The timer will handle the whole process.

Khouloud.