Skip to main content
HAL-9000
Associate II
June 18, 2021
Question

Software for B-G431B-ESC1 from MCSDK does not work

  • June 18, 2021
  • 1 reply
  • 825 views

I have created an ESC based on schematic of B-G431B-ESC1 and connected it to my NUCLEO-G431RB board.

Generated software in ST Motor Control Workbench 5.Y for Inverter-B-G431B-ESC1 and changed the MCU to STM32G431RB with all defaults.

The built software on my G431RB nucleo does not work:

  1. No response over UART.
  2. MC_MotorControl_Init(), once called, never returns.
  3. HAL_Delay() works twice as long as expected.

Are there any special options ot be set in MCSDK to let it work?

Till now I have no success with the software generated in MCSDK for neither B-G431B-ESC1 (STM32G431RB) nor the EVSPIN32G4 (STSPIN32G4). Behaviour of the µC is always the same.

On a picture in attachment you can see my ESC board.

Thank you in advance.

This topic has been closed for replies.

1 reply

Laurent Ca...
Senior III
July 2, 2021

Dear @HAL-9000​ 

When you run MC_MotorControl_Init step by step, where is blocked the SW?

Best regards