Getting started with EVSPIN32G4 6 Step, Workbench 6.3.0 and Motor Pilot 1.2.9
I'm looking to upgrade one of my years-old BLDC 6 step designs which used STM32F401 and too many other components! I like the look of STSPIN32G4 and so purchased an EVSPIN32G4 development platform.
It seems I have successfully worked through MC Workbench 6 Step Wizard, including adding my test motor, without error and one warning - pwm generation "Danger: there is no OCP nor Driver Protection enabled" - this despite there being everything required for this on the EVSPIN board but no option to enable it (can we add this to the wish list please).
'Generate the Project' works, I've followed through with CubeMX and IDE, produced code and downloaded to EVSPIN32G4 - all good.
ST Motor Pilot connects ok with board, clicking on 'Start', motor briefly kicks before Pilot reporting 'Speed Feedback' fault. Using 'Ack Faults' to clear the error, 'Start' again produces same effect consistently.
In 'Advanced Configuration' I notice a 'Speed Kp' value of 2038. Changing this to -2038, I can now run the motor in either direction by moving the 'Speed Reference' slider, but with Ref 3600RPM producing 300RPM, and Ref 180RPM producing 2400RPM ! Something daft surely ?
