This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280025C: TIDM-02010 Boot system overcurrent error

Part Number: TMS320F280025C
Other Parts Discussed in Thread: TIDM-02010

We are going to develop a dual-motor high-voltage DC-AC control system. We think TIDM-02010 is a good start, so we develop it in the tidm_02010_dmpfc_002x code environment based on TIDM-02010.

First, we don't need PFC, so we remove it in the circuit, and disable PFC_DISABLE in the macro in the software, to verify the hardware first, we also modify the motor 2 to MOTOR2_DISABLE, which will disable the function of PFC and motor 2 .

Now, we set both PFC_BUILDLEVEL and DMC_BUILDLEVEL to LEVEL_1 level, which will output ePwm with 50% duty cycle, unfortunately, it is not going well:

We power the whole circuit with 30v DC, the dcbus looks fine:

Subsequently, the voltage and current offset calibration for motor 1 is done:

It seems that the offset seems to be normal, but in the HAL_readMtr1ADCData function in motor1CtrlISR, the adc data is read directly, and the offset is not processed, which will cause the overcurrent immediately after enabling flagEnableRunAndIdentify:

So do I need to do the following modification:

Now it seems to be normal:

But after enabling flagEnableRunAndIdentify, I still get the overcurrent error:

 

The PCB follows the TIDM-02010 design, the PFC circuit is removed, and the IO port configuration is almost the same (different configurations have also been adjusted).

How to troubleshoot and resolve this issue?