Hi @Community member ,
The STSPIN32G4 is designed to drive three half bridges, so three high side and three low side MOSFETs.
However you can configure the device in order to drive independently six low side drivers with some limitations:
- The high side drivers must be referred to GND: this can be achieved by connecting each OUT pin (OUT1, OUT2, OUT3) to GND
- Disable the interlocking function (ILOCK bit = 0), so the two drivers on the same half bridge can be turned on independently
- Disable the VDS monitoring (connect SCREF pin to 3.3V )
Anyway, keep the capacitor on each BOOT pin to stabilize the supply of the HS driver: this capacitor is now referred to GND, since OUT pins are referred to GND.
Then consider that the 6 digital input which command the drivers cannot be driven by the advanced timer of the embedded microcontroller.
This configuration, usual when driving HS +LS , cannot be used because the advanced timer has three outputs that are the negated of the other three channels.
So you cannot drive the six drivers independently.
For this reason, I suggest to configure the control pins (from PE8 to PE13) as simple GPIO outputs, so you can set their status independently.
If this post answers to your question consider to mark it as best, by clicking the label "select as best" here below.