cancel
Showing results for 
Search instead for 
Did you mean: 

STSPINF0251 Not spinning BLDC motor

kenni
Associate II

Hello,

We've designed a STSPIN32F0251-based motor driver board, but when running the 6-step firmware algorithm, the motor aligns and then vibrates with a high-pitched sound. When we check the state-machine, we can see it reaches the RUN state after executing ALIGNMENT.

We probed the inverter output phases on both our custom board and the EVSPIN32F02Q1S1 evaluation board, observing significant differences in pulse width and voltage levels, despite using:

  • The same user code
  • The same PSU
  • The same motor & encoder

Scope Captures

kenni_4-1741042639147.png

Custom Board:

  • Channel 1 = OUTA
  • Channel 2 = OUTB
  • Channel 3 = OUTC

kenni_5-1741042696150.png

EVSPIN32F02Q1S1:

  • Channel 1 = OUTA
  • Channel 2 = OUTB
  • Channel 3 = OUTC
  • Channel 4 = Current Sense Amplifier Output

Board Modifications

To match the EVAL board, we made the following PCB modifications:

  1. RES5 pin grounded via flywire.
  2. V+ and V- on U2 were corrected by lifting the pins and flywiring to the correct nets.

There are more differences between the two boards, I detailed them here below and attached the schematic PDF.

EVSPIN32F02Q1S1 Designators MD V6.0 Designators Status Description

Q1, Q3, Q4, Q6, Q7, Q9Q1, Q2, Q3Changed on V6.0Different inverter MOSFETs
R56, R42, R30, R18, R13, R3R30, R34 (ABC)Changed on V6.0100Ω → 10Ω Gate resistors
C26, C12, C3C47 (ABC)Changed on V6.01uF → 120nF Bootstrap capacitor
R33R23Changed on V6.063.4kΩ → 17.2kΩ OC Resistor
R24R24Changed on V6.01kΩ → 2kΩ OC Resistor
R34, R36, R111R21Changed on V6.025mΩ → 15mΩ Shunt resistor
R41, C27, U2, C23, C24, R55, R52R12, R14, R15, R17, R18, R19, R22, C10, C11, C12, C15, C16, C18, U2Changed on V6.0Current sense circuit
C37, C38, C39C7, C8, C9Changed on V6.010pF → 50pF Encoder decoupling
D7, D4, D1D9 (ABC)Newly Added to V6.0Bootstrap diode populated
R35, R15, R1R26 (ABC)*Newly Added to V6.0 
Changed on V6.0*27Ω → 10Ω Bootstrap resistor  
R49, R40, R27, R16, R10, R2 Missing from V6.0Discharge gate resistor
D9, D8, D6, D5, D3, D2 Missing from V6.0Discharge gate diode populated
R103 Missing from V6.00Ω resistor tying RES5 to GND
R23 Missing from V6.0Speed set resistor for debugging
R26 Missing from V6.0Speed set resistor for debugging
C16 Missing from V6.0Speed set capacitor for debugging
C80, R67, R69, R78, R80 Missing from V6.0Bus voltage sense circuit
D10, D11, D12 Missing from V6.0Encoder protection Schottky diodes
R72, R81, C41 Missing from V6.0Temperature feedback circuit

Questions

  1. How should we interpret the waveform from our custom board? What steps should we take to align it with the EVAL board’s output?
  2. Why does the EVAL board’s current sense amplifier output appear as a flat DC signal? Shouldn’t it show a ramp-like waveform?

Any guidance would be greatly appreciated!

0 REPLIES 0