i got a SimpleFOC-Shield2.0.1 and was using it with an Arduino UNO with the AMT103 encoder. It all went great till i had to exchange the arduino with a Nucleo-F411RE, because of the low memory of the Arduino UNO. Now with the Nucleo the motor dosnt work anymore. I have checked the encoder with the test script that SimpleFOC is providing and it works the way it should. When i try to run the motor it doesnt move at all or is just moveing back and forth. I tried different pwm configurations, cause i have seen that nucleo boards sometimes have to switch pwm C phase between pin 11 and 13. I tried both but it didnt work, also the stm32CubeIDE is telling that the i should use pin 13 cause pin 11 and 9 are using the same pwm channel.
I tried running the polepair finding example and only changed the pwm pins in the code to be:
( BLDCDriver3PWM driver = BLDCDriver3PWM(PC7, PB3, PA5, PA8); )
BLDCDriver3PWM driver = BLDCDriver3PWM(9, 3, 13, 7);
Encoder encoder = Encoder(12, 2, 500);
In another post it was suggested to use the same timer for the pwm but non of the possible options for the solderpads of the FOC-Shield can meet that requirement. So im confused as to what configuration would run my motor.
I hope its enough information to help solve the issue.