cancel
Showing results for 
Search instead for 
Did you mean: 

Two Axis High Speed Encoder Input Connection to STM32H755

damha
Associate

Hello,

I am working on a project to design an IO controller board using STM32H755 (LQFP144) mcu. I want to interface two axis of high speed encoder inputs to the mcu. TIM1 and TIM8 timers are used. Could you please review the attached schematic design to avoid any design related issues that may arise later?

a) Is the connection of encoder inputs to the mcu correct?

b) Can index pulse encoder inputs (EZx and EZy) be connected to any other gpio of mcu?

c) If the requirement of the design needs to cater for two axis of encoders that require 28-bit counter each, what would be solution for this? I know that I can connect one axis of the encoder inputs to the PA0 and PA1 (using TIM2) but how about the second axis of the encoder input? Can TIM1 and TIM8 or any other timers be cascaded?

Thank you.

1 REPLY 1
Sarra.S
ST Employee

Hello @damha

a) Although am not a design expert, your connections seem correct for interfacing the encoder inputs to the MCU, however, it would be better to double check with asking a separate question here: STM32 MCUs Boards and hardware tools - STMicroelectronics Community

b) Yes

c) Regarding cascading timers, it is possible to cascade timers in STM32 MCUs by configuring one timer to trigger another by setting up the master-slave mode in the timer configuration registers

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.