cancel
Showing results for 
Search instead for 
Did you mean: 

STSPING4 VDS protection triggered.

GWenJ.1
Associate II

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?

8 REPLIES 8
浚钱.1
Associate III

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?

AijerJane0
Associate

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.

qhc20020121
Associate II

我与遇到同样的问题 就是突然会报VDS故障 请问有人知道为什么吗

 

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.

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

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 ?

HW/FW Motor Control Engineer
https://www.linkedin.com/in/federicorodighiero/

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

qhc20020121_0-1778202484252.jpeg

 You can see ,the fault vds is contiune  show 1 while i perform power on/off operations.

你好  并没有取消,我已经把vds监控的电流放开了,但是还是上点就报fault,而且没有驱动电机,只是上电,就报故障了