B-G431B-ESC1 overcurrent fault
After profiling my motor with motor profiler, I start a new project with workbench and generate code for Cube IDE. compile it and flash it with STlink utility at adress 0x08000000.
then back to workbench and try to start motor but I have an immediate overcurrent fault. I decrease Iq and Id pid Gains down to 0 and the overcurrent fault disappear. that does not makes the motor spin of course but with Id/Iq gains set to 0 I still measure high current by monitoring with workbench.
My config is as follow: cube IDE v1.6.1 / workbench v5.4.5 / cube MX v6.2.1 / firwmare package version 1.4.0 / ESC1 batch03
I did the exact same process than shown in the tutorial : https://www.youtube.com/watch?v=MF7-tHG_qiQ except the guy is running with true studio but obvisously either I am missing something or there is something wrong with the code generation. The board seems fine because motor profiler manage to spin the motor well. Also if I flash the firmware from motor profiler and then back to workbench, Iq/Id mesasured currents are Ok. I also try to flash the examples and get the exact same result ( overcurrent fault )