2022-11-20 11:36 PM
About EVSTSPIN32G4, I started the code generated by MotorControl Workbench 5. Y.3 normally.If you transplant the IIC configuration of the pre drive and enable PWM output, the VDS will report an error.After carefully reading the generated code, it is found that before PWM complementary output, the lower tube is opened for charging, and the output PWM pre drive or VDS protection is written. Is there a routine for STSPIN32G4 IIC to configure PWM output?
2024-03-07 12:10 AM
Is there an IIC interface or initialization in the code generated by STSPING4 using Workbench? I don't remember. And, after adding the IIC configuration register, the chip always reports VDS errors. What should I do?
2025-10-25
10:30 PM
- last edited on
2025-11-03
5:56 AM
by
Maxime_MARCHETT
I encountered this issue as well: once all fault bits are cleared (by writing 0xFF to CLEAR) and output mode is enabled (by setting MOE to 1), the VDS bit in STATUS gets set to 1.
This happens even though my SCREF voltage is already at 2V.
*This post has been translated from Chinese to comply with the ST Community guidelines.
2026-03-07 12:16 AM
我与遇到同样的问题 就是突然会报VDS故障 请问有人知道为什么吗
2026-03-09 1:46 AM
Hello @qhc20020121,
The language of the Community is English, as stated here.
Refer to the STSPIN32G4 datasheet document for more details about VDS monitoring.
The VDS monitoring protection feature can be disabled by setting the SCREF input to VDD.
2026-03-19 12:19 PM
in my experience vds sensing of stspin32g4 works, probably it is not perfect but it cause me no issues. For sure you have to do a good layout and set it correctly. Did you do basic calc of rdson and expected current to set it ? did you change the deglitch ?
2026-05-07 6:04 PM
After disabling the VDS monitoring protection function by setting the SCREF input to VDD, I drove the motor and found that the motor has been shaking continuously. This issue has remained unresolved. Every time I replace a new MCU or controller, I only perform power on/off operations, and after about 20-30 times, a VDS fault is directly reported, with the fault bit set to 1. I'm not sure why this is happening yet. Could you please provide some guidance? Thank you
2026-05-07 6:10 PM
You can see ,the fault vds is contiune show 1 while i perform power on/off operations.
2026-05-07 6:11 PM
你好 并没有取消,我已经把vds监控的电流放开了,但是还是上点就报fault,而且没有驱动电机,只是上电,就报故障了