cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get my first project to work on STM32G431.

MCohn.1
Associate

Ran Motor Profiler, Created new project in MotorControlWorkbench, Generated code for STM32CubeIDE, built application with no errors, run debugger which shows download successfully.

Switch back to motor control workbench and successfully connect, when I click on "start motor"

I get the following error "Communication is closed, the board doesn't response correctly" and the board disconnects.

17 REPLIES 17
Laurent Ca...
Lead II

​No, it doesn't.

Sorry.

Laurent Ca...
Lead II

Dear @RTrev.1​ 

Any news?

Best regards

Laurent Ca...

RTrev.1
Associate II

About a week ago someone updated my case saying, "Is this issue still outstanding or can we close the ticket". I responded that the issue is still outstanding, but have not heard anything since.

Laurent Ca...
Lead II

Dear @RTrev.1​ 

You mean someone on the local support side?

Because internally, no news of support request regarding your question.

By the way, it seems too long.

Therefor, I will try to have some news in the week.

Best regards

Laurent Capella

Laurent Ca...
Lead II

Dear @RTrev.1​ 

OK let's dot it.

Firstly, we need you complete setup:

  • HW configuration :
    • Board name (or boards setup if appropriate) :
    • Board usage (1-shunt/3-shunts, Hall sensor, others) :
    • Motor parameters :
    • Motor Control algorithm used (6-Steps/FoC/Stepper/PositionControl/Other) :
  • SW tools configuration :
    • MC Profiler version :
    • MC WB version :
    • MC Pilot version :
    • STM32CubeMX version :
    • IDE used (IAR/Keil/CubeIDE/Other) and version :

Secondly, could you copied here the text you send to local support.

Thirdly, did you take into account of the patch for STM32G431?

Best regards

Laurent Ca...

First of all, I want to avoid confusion. Do you know that I didn't post the original message in this thread, I was just replying to a post from MCohn.1?
Anyway, here are my responses:
*HW configuration :*
Board name (or boards setup if appropriate) : STM32G431CB
Board usage (1-shunt/3-shunts, Hall sensor, others) : just 3 wires
connected to the motor, no hall sensor
Motor parameters : a mixture of 4- and 6-pole motors salvaged from hard
drives, coil resistance varies from 2 Ohms to 5 Ohms, supply voltage is 12
volts, other parameters unknown (that's the whole point of using the
Profiler, right?)
Motor Control algorithm used
(6-Steps/FoC/Stepper/PositionControl/Other) : would
like to experiment with FoC, but that I can't do that without a profile
*SW tools configuration :*
MC Profiler version : 5.4.4
MC WB version : 5.4.4
MC Pilot version : N/A
STM32CubeMX version : N/A
IDE used (IAR/Keil/CubeIDE/Other) and version : STMCubeIDE 1.3.0
Robert Trevellyan
Laurent Ca...
Lead II

Dear @RTrev.1​ 

When you use MC WorkBench, to generate the project you have to select a version of CubeMX installed on your computer.

What are they?

Best regards

Laurent Ca...

Got it - my STM32CubeMX is version 5.6.1
Robert Trevellyan