cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Board bringup issues

shane mattner
Senior

[VERSION]: 6.3.1
[TOOL]: Board Designer, Motor Pilot, MCSDK
[DETAILS]: Created custom board based on IHM16M dev kit, using STM32G431RB + DRV8323. Motor Pilot cannot spin motor, but encoder signals look accurate, Vbus signal is accurate, and current sense signals look correct (albeit very low).
[EXPECTED BEHAVIOR]: All pins of custom board match IHM16M dev kit. I am trying to spin the motor with Motor Pilot but the motor does not spin.  I can see pwm on the motor phases but no motor movement

I double checked my pinout vs IHM16M dev kit:

My custom board:

shanemattner_0-1731091672956.png

 

IHM16M pinout with default project:

shanemattner_1-1731091696880.png

            shanemattner_2-1731091711399.png

 

The motor driver circuit I'm using with the DRV8323 I've been using for over a year now so that circuit must work minimally as expected.  As I mention above the encoder seems to be working well.  And PWM seems to be happening but the motor is not spinning at all.

I've tried changing gains to be much more aggressive but that doesn't seem to make a difference.

 

I've attached a zip file with:

- log session titled "motor_pilot-test_4_sensored"

- Board file named "Boards_1182024,10_38_47"

- MCWB file titled "stobake06-4"

 

Any help would be appreciated.  Let me know if you need more data or project files.

1 REPLY 1
shane mattner
Senior

Here are some plots from trying to spin the motor.  The rotor stays stationary the whole time.

 

Here are some logic analyzer shots of the 6 mosfet PWM pins:

shanemattner_1-1731094487497.png

And here is the corresponding scope shot at 16kHz:

shanemattner_2-1731094814541.png

 

I can rotate the motor to get other patterns but it seems like the phases are typically always on together or always off together so no torque is produced.