Hello @Ice_64 and welcome to the ST Community.
The EVLSTDRIVEG611 have been specifically designed for motor control application to obtain dV/dt (output slow rate) lower than 10 V/ns as required on the vast majority of customer designs of this field.
...
Hello @Sheng123
In your case SW pin need to be connected to VM, do not leave it floating. So provide your battery voltage to VM, SW and VCC. Refer to Figure 7 of STSPIN32G4 datasheet.
If you want to use the internal 3.3 V LDO regulator of STSPIN32G4...
Hello @Sheng123 and welcome to the ST Community.
Here are the answers to your questions:
The default configuration of the EVSPIN32G4 is for using the embedded buck regulator so an adequate margin is needed on VM to have a regulated VCC output voltage...