Closed ReikoR closed 1 year ago
Did you use STM32CubeIDE for creating the pin assignment? Based on the schematic I could not find pin assignment that would work.
For example pin PA2 and PA3 connect to timer 15 channels, but timer 15 does not have encoder mode.
Some more information on how to configure timers in STM32CubeIDE is on the firmware page: https://ut-robotics.github.io/picr22-home/basketball_robot_guide/electronics/firmware.html
Encoder signals are not connected correctly.
Something like this is one option:
Also motor driver PWM and direction signal ports have basically the same name as encoder signal nets:
Did you use STM32CubeIDE for creating the pin assignment? Based on the schematic I could not find pin assignment that would work.
For example pin PA2 and PA3 connect to timer 15 channels, but timer 15 does not have encoder mode.
Some more information on how to configure timers in STM32CubeIDE is on the firmware page: https://ut-robotics.github.io/picr22-home/basketball_robot_guide/electronics/firmware.html