STM32驱动EC11编�?器
使用STM32F446RE的Tim encode模�?接�?�EC11编�?器数�?��?�以区分正�??转�?�?如何使用LL库实现?
使用STM32F446RE的Tim encode模�?接�?�EC11编�?器数�?��?�以区分正�??转�?�?如何使用LL库实现?
Hello @YLi.13 and welcome to the Community :) ,
Thanks to develop your posts in English so it helps us, and the users of our community understand your question and try to help you.
I've translated your question using a translation tool to increase the chances of getting you a reply from our experts and community members, since the majority interact in English.
Here is the translation of your post using Google translate:
STM32 drives EC11 encoder
Using the Tim encode mode of STM32F446RE to accept EC11 encoder data can distinguish between forward and reverse? How can this be achieved using the LL library?
You can configured the TIM1 in encoder mode interface, counting on TI1 and TI2.
The counting direction corresponds to the rotation direction of the connected
sensor. So you can distinguish between forward and Backward.
The LL TIM_Encoder example is not available in STM32CubeF4 package with STM32F446 MCU, but you can get inspired from HAL TIM_Encoder example.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Thank you
Kaouthar
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.