B-G431B-ESC1 - Encoder Connection Problem
Hi everyone,
I recently purchased the B-G431B-ESC1 kit. I did a sensorless experiment with the ST motor control workbanch and it worked as expected. However, when I want to test with the encoder, the rotor remains locked and does not rotate after alignment.
From the Digital I / O part, the encoder pins were initially connected to pins TIM2 A0 and A1. I corrected them according to the diagram and connected them to pins B6 and B7 of the TIM4 timer.
When I watched the function LL_TIM_GetCounter (pHandle-> TIMx), I saw that the encoder counts the pulses. So the MCU can read the encoder.
Despite all this, I did not understand why the motor shaft was locked.
I was working with STEVAL SPIN32F0 before and it was working with Encoder without any problems.
