Skip to main content
Associate II
August 25, 2025
Solved

STSPIN32G4 – Unable to Drive MOSFETs

  • August 25, 2025
  • 2 replies
  • 1384 views

Hello everyone,

I’m working on a project using the STSPIN32G4 and running into an issue where the MOSFETs are not switching as expected. I’d really appreciate some guidance from the community.

Setup:

  • MCU: STSPIN32G4 (integrated STM32G4 + gate driver)

  • Power stage: 3-phase inverter using N-channel MOSFETs

  • Power supply: 48V

  • Control method: Just attempting to drivethe Inverter

  • Firmware: Own

suyog1_0-1756129949590.pngsuyog1_1-1756129984502.png

 

Problem:

  • The MCU is running and I can confirm firmware execution via debug.

  • The MOSFETs are not turning on — no switching on the half-bridges.

  • Gate driver outputs appear to stay low (no high/low drive pulses).

What I’ve Checked:

  • VBOOT and VCC supply rails are within spec.

  • EN/FAULT pins are pulled correctly(High).

  • PWM timer configuration looks fine in CubeMX.

  • Dead-time insertion is enabled.

  • No over-current fault is being signaled (nFAULT pin is inactive).

Questions:

  1. Are there any common setup steps (jumpers, register settings, enable sequences) I might be missing before the gate driver will actually drive the MOSFETs?

  2. Do I need to explicitly enable the gate driver block via firmware before it starts responding to PWM?

  3. Could the issue be related to bootstrap capacitor sizing or incorrect wiring of high-side/low-side drivers?

Best answer by suyog1

Thank you for your reply. The problem was TVS diodes. 

2 replies

GMA
Technical Moderator
September 23, 2025

Hello @suyog1,

You can use the MCSDK tool available here to create a project with an STSPIN32G4 MCU-based board as an example.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
suyog1AuthorBest answer
Associate II
September 24, 2025

Thank you for your reply. The problem was TVS diodes. 

GMA
Technical Moderator
September 24, 2025

Hello @suyog1,

Thank you for your feedback.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA