2025-05-23 10:20 PM
Dear community,
I'm developing the STSPIN32G4. My setup is as follows:
12V for the V_M
External 3.3V for VDD / VDDA / VREF+ / VBAT / VREGIN
PB8 (BOOT0) with 10K pull-down
nRESET with RC-delay circuit: 10K pull-up to 3.3V + 10uF capacitor
Power sequence: 12V is applied first to the STSPIN32G4 and L6982N33DR, then L6982N33DR supplies 3.3V to VDD
The problem I'm facing right now is:
The MCU starts working (sending UART and running the peripheral devices), but the gate control parts (GHSx & GLSx) remain idle and don’t drive current.
I have to manually pull nRESET low again to start the gate control.
How can I solve this? I want the chip to automatically start the gate driver at power-up.
I also noticed that the EVSPIN32G4 evaluation board shows the same behavior.
2025-05-30 7:02 AM
Hello @Sheng123,
Generating a project with MCSDK on EVSPIN32G4 board, refer to "STSPIN32G4 driver component initialization" firmware part in MCboot() function, and to STSPIN32G4 datasheet for register description.
2025-05-30 11:09 PM
@GMA
thanks for answering
However, we’re not using MCSDK, but rather working directly through the IDE, as we have developed our own control firmware.
In this case, how should we proceed with the setup?
Should the configuration be done via firmware rather than using BOOT0 settings?
If we’re writing our own firmware in the IDE, can we configure the registers via I2C directly?
Also, is the current issue related to UVLO (Under Voltage Lockout)?
Thanks again for your support.