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.