MC after Stop command ABI encoder is dealigning
I'm using custom firmware on EVSPING4 board.
After MC_StartMotor1() motor and ABI encoder is aligning, and everything works as expected.
After that I'm using MC_StopMotor1() command to stop motor and moving motor by hand.
After that I'm using MC_StartMotor1(), and It looks like motor working little worst. I don't want realign encoder again.
It's strange because ENCODER_M1->TIMx->CNT looks working.
I was reading ENC_CalcAngle(), and hElAngle (responsible by commutation) is calculated from hMecAngle, and hMecAngle is calculated from ENCODER_M1->TIMx->CNT.
What I'm doing wrong?
[VERSION]: MCSDK 5.4.8
