2024-01-10 12:37 PM - edited 2024-01-14 07:05 AM
I am able to do a 12v motor profile with the old mcsdk 5.4.8 successfully with running motor current at around 0.2A no load, settings are 4 poles pairs, 1A max, 4000rpm max, 12v, sm-pmsm
Power supply at 12v, current limit 6A
Problem:
Using mcsdk 6.2.1 with b-g431-esc board with the same 12v motor and settings, it error up over current.
I use the default example and just tick the motor profiler at the application config section and untick the electronic speed control at stage config, no other settings touched and then generate it for iar/cubeide with firmware package version 1.5.1
Build and flash without error
when run motor pilot 1.2.5 profiler it shows
with a 1ohm and start profile
old mcsdk 5.4.8
FOUND the solution to it, in case anyone experience over current every time like me, just increase the filter duration
2024-03-27 06:59 AM
Hello @unrealistic,
Thank you for sharing your point and the found solution.
In case of reported errors, you can find some hints on our FAQ wiki page.