AnsweredAssumed Answered

Problem Encoder on STM32F071

Question asked by Bandini.Matteo on Jan 9, 2017
Latest reply on May 3, 2017 by Mark Shoe

Hi,

 I'm using XCube for init a SMT32F071CBT6 with Keil V5, I need to use the encoder periphery. (ALL to the last version)
In attachment three file. The project and the 2 file modify after generation.
I've use 4 alternative pins, because the other are use by an other periphery.
When start the encoder the 2 pins become output and go Low. Why?
After this command:
  HAL_TIM_Encoder_Start(&htim3, TIM_CHANNEL_ALL);
I' ve try with tim1 with exactly the same code with no problem.
Please help me.

Attachments

Outcomes