Other Parts Discussed in Thread: BOOSTXL-DRV8301, DRV8301, C2000WARE, SFRA, TIDM-02007, BOOSTXL-3PHGANINV, CONTROLSUITE
Hi
I am referring to this post from the E2E-Forum: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/997461/tms320f28379d-stuck-at-level-1-with-fcl-example.
I would also like to adapt the example to be able to run with the BOOSTXL-DRV8301.
Following the steps from the mentioned post, I have made these changes:
- As the DRV8301 Gate is high-active, I have inverted all the gate disable and enable
- Changed the nFault Pin to GPIO19
- Changed the OT to the GPIO18 (OCTW)
- set GPIO18 as INPUTXBAR1
- changed the scaling of the voltage ADC (division by 3)
- changed GPIO18 from output to input
- Activated the gate before running the offset calibrations
The offset calibration runs fine (offsets around 0.5 pu), and the Vbus voltage gets measured correctly, but the trip zone keeps indicating an overcurrent. When I reset the trip flag, it gets immediately reactivated.
I have made the changes in steps 1-3 from the post, but I don't understand what has to be changed exactly in the code.
Could you help me here?
Best regards
Pavel