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?

2 REPLIES 2
浚钱.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.