cancel
Showing results for 
Search instead for 
Did you mean: 

I want to change the parameters of the motor in the CubeMX IDE.Which file should i change.

Tejashree
Associate III

I want to change few parameters detected by motor profiler in my code(After code generation) But i don't want to change it manually..I am trying to changes in pmsm_motor_parameter.h . Can you tell me which files are used to write parameters from motor profiler?I want to test wide range of value change of parameters and it effect on motor behaviour

1 ACCEPTED SOLUTION

Accepted Solutions
cedric H
ST Employee

Hello @Tejashree​ 

We do not recommend you to change the generated files manually.

Our recommandation is to change the motor parameters with the workbench and generate your project from the workbench.

If your own code is inside USER SECTION (as the one I proposed you yesterday) it will be kept during project generation.

Regards

Cedric

View solution in original post

1 REPLY 1
cedric H
ST Employee

Hello @Tejashree​ 

We do not recommend you to change the generated files manually.

Our recommandation is to change the motor parameters with the workbench and generate your project from the workbench.

If your own code is inside USER SECTION (as the one I proposed you yesterday) it will be kept during project generation.

Regards

Cedric