cancel
Showing results for 
Search instead for 
Did you mean: 

Why the MCSDK hangs out on the generated board in the STMC board designer

ali_dehbidi
Senior

I used MotorControl Workbench_6.4.1 and used the Board designer to generate the simplest design for the sixStep inverter design.

I choose STM32030K as the MCU and assigned back emf as the speed and position control and also configured the Phase voltage generation and M1 specification and every thing gets a green check mark. then I tried to build a project with the created inverter board file and when I select to generate the project, the MotorControl Workbench Just shows a blank screen and nothing happens. what's going on wrong?

I have attached the inverted json file to the post.

5 REPLIES 5
GMA
ST Employee

Hello @ali_dehbidi,

Thank you for your report.
As mentioned in the Motor Control Boards Description page, timing values should be expressed in "ns".

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
ali_dehbidi
Senior

Thanks for the feedback, I generated the json file purely based on the STMC board designer. so it's auto generated.

Also I have checked it with a sample inverter file from the MotorControl Workbench that works, and the timings are pure numbers.

So what numbers should I change?

 

 

Hello @ali_dehbidi,

You must refer to your power components for minDeadTime, DeadTimetNoise and maxSwitchingFreq values.
Your inverter timing values (1, 2, etc.) do not correspond to parameters that Workbench can handle.
Referring to other inverter boards, you can notice that these values are typically in the thousands, not in the units.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
ali_dehbidi
Senior

Thanks GMA For he feedback.

The tools should not freeze out and just give a blank screen to the user, and they should give us a clue to what's wrong.

Would you please suggest some numbers so I can change and it would at least make the project, then I will change them to real hardware numbers for testing.

Hello @ali_dehbidi,

A ticket has been entered on our side to prevent this blank page.
You can use values from a workbench inverter provided in the tool.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA