cancel
Showing results for 
Search instead for 
Did you mean: 

No PWM of fet gates with STM32G431RBT6 motor controller

shane mattner
Senior

MCSDK v6.3.2

 

It looks like the STM32 is failing to PWM fet gates and that's resulting in high current and an Under Voltage fault.

I made a board with the STM32G431RBT6 and DRV8323 driver chip. I've used the DRV chip in another board for a long time with no issues.  I based the board on dev kits, but I have all pins jumpered so I can change any wrong connections if necessary.

 

First, even with no command to the motor is looks like the motor control firmware is PWM-ing the fet gates. This is from boot not sending any commands:

shanemattner_1-1732225768709.png

shanemattner_2-1732225775183.png

shanemattner_3-1732225790254.png

And here are the signals from trying to start the motor with Motor Pilot.  This results in a fast torque, then the motor cuts off and i get the Under Voltage fault:

shanemattner_5-1732226452878.pngshanemattner_6-1732226465440.png

 

shanemattner_7-1732226487789.png

shanemattner_8-1732226591650.png

 

There does not appear to be any pwm-ing of the fet gates, just all on or all off. Does anyone have an idea what I'm doing wrong?  I've attached the project files and double checked all signal connections

0 REPLIES 0