Skip to main content
MCohn.1
Visitor II
July 9, 2020
Question

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

  • July 9, 2020
  • 17 replies
  • 3224 views

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.

This topic has been closed for replies.

17 replies

Laurent Ca...
Senior III
October 30, 2020

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...

RTrev.1
Associate
October 31, 2020
Got it - my STM32CubeMX is version 5.6.1
Robert Trevellyan