Skip to main content
Jiannong Zhou
Associate III
May 14, 2017
Question

How to interface with quadrature encoder for STM32F301?

  • May 14, 2017
  • 0 replies
  • 456 views
Posted on May 14, 2017 at 11:46

I am coding for

quadrature 

encoder interface with STM32F301. I have two questions. 1. Do you have a complete code with STM32CubeMX to initialize TIM2 to interface with the encoder for reference? 2. I used STM32CubeMX to generate a initialization code, int16_t count = TIM2->CNT. but this cannot be read.

Jiannong

    This topic has been closed for replies.