SPINFamily tool for ihm03a1 - application crash when set motor >2 Ohms at menu
..
..
Hi @dungeonlords789 ,
Thanks for the info provided. I think I understood what is causing the error.
The parameters you set (Lm = 5mH, Rm = 8 Ohm) correspond to a value of INT_SPEED about equal to 1016 step/s that is higher than the maximum allowed value
of INT_SPEED register (976.5 step/s).
This is the reason why an exception is raised.
I know it could be a little bit confusing and the GUI should provide a clearer explanatory message.
However, I can suggest how to run the wizard and configure the POWERSTEP01 to run your motor.
In the wizard you have to set Lm = 5.25 mH or higher.
This is just to go on, we will change it to the correct value later.
The other parameters can be left unchanged.
Go on with the different configurations of the wizard, till it is done and you can write the configuration registers.
Now you can open the "BEMF compensation" window as shown here:

Set here the correct parameters, so Lm = 5mH, Rm = 8 Ohm, together with the other parameters.
Click the “evaluate button�?: you will still get a warning but you can write the configuration registers for compensation, clicking the “write button.
Now the motor should run properly.

You can even fine tune the slopes (ST_SLP, FN_SLP_ACC /FN_SLP_DEC) in order to keep the phase current as much as constant in the entire speed range of your application.
Try to follow these suggestion and let me know if the motor runs as expected.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.