cancel
Showing results for 
Search instead for 
Did you mean: 

Crash occurs when using MCSDK 6.4.0 on STM32G431CBT6

QingWu
Visitor

Hello,
I am using MCSDK6.4.0 on STM32G431CBT6 for motor drive development.
The generated code runs without any modifications. When using the Motor Pilot tool to start the motor,
the chip crash, and there is no change in the motor. Debugging reveals that the program randomly enters NMI_Handler,
HardFault_Handler, and FMAC_IRQHandler when starting the motor (after entering FMAC_IRQHandler several times during the first programming run,
it does not enter again). I am using STMCubeMX 6.3.0. The chip's power supply is measured to be normal, and no reset has occurred.
Below is a screenshot of the interrupt entry. What is the cause of this issue, and how can it be resolved.微信图片_20250825161834_138_8.png微信图片_20250825162106_139_8.png微信图片_20250825162210_140_8.png微信图片_20250825163135_141_8.png

0 REPLIES 0