Skip to main content
Associate
April 3, 2026
Solved

STSPIN32G4 Driver Output Anomaly

  • April 3, 2026
  • 1 reply
  • 261 views

I designed my own PCB based on the EVSTSPIN32G4 evaluation board and created a project in STM32Cube IDE. When testing the STSPIN32G4’s internal driver, I encountered an issue: no matter what I do, the GHS voltage remains at 5.8V, the GLS voltage is 0V, and the OUT voltage is also 5.8V. I have tried setting PE8 to high or ground, as well as using PWM, but the voltage on GHS1 never rises. Reading the I²C register values does not trigger any protection; the STBY value is 0 and does not enter low-power mode; the nFAULT pin remains low regardless. As far as I can tell, there are no errors. Could an expert please provide some guidance? Thank you.

The ST Community moderator has translated the post to comply with the language of the Community which is English.  For more information, see: ST Community Terms and Conditions - STMicroelectronics Community
Translated with DeepL.com (free version)

Best answer by GMA

Hello @romantic-qwy,

Did you check the STSPIN32G4 NFAULT register for the "nFAULT pin remains low" root cause?

1 reply

GMA
Technical Moderator
April 13, 2026

Hello @romantic-qwy,

Did you enable the Driver Protection feature to report errors from the STSPIN32G4 device?

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

You mean the undervoltage and overcurrent protection in the driver section? It is enabled by default in the program, and I haven’t changed it. I read the status register and no protection had been triggered. Also, I found that when setting the register, only setting VCC_VAL and changing the voltage to a value other than 8V will cause the entire system to power off and trigger undervoltage protection. I’d like to ask for your advice. Thank you.

 

The ST Community moderator has translated the post to comply with the language of the Community which is English.  For more information, see: ST Community Terms and Conditions - STMicroelectronics Community

GMA
Technical Moderator
April 15, 2026

Hello @romantic-qwy,

I mentioned Driver Protection.
Refer to section 5.5.3 nFAULT output of the STSPIN32G4 Datasheet document for more details.

 

image.png

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