Skip to main content
Tejashree
Associate III
October 29, 2021
Solved

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

  • October 29, 2021
  • 1 reply
  • 689 views

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

This topic has been closed for replies.
Best answer by cedric H

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

1 reply

cedric H
cedric HAnswer
Technical Moderator
October 29, 2021

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