cancel
Showing results for 
Search instead for 
Did you mean: 

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

HAL-9000
Associate II

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.

1 REPLY 1
Laurent Ca...
Lead II

Dear @HAL-9000​ 

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

Best regards