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.

CCS: 28379D and BOOSTXL-3PhGANINV:Dual-Axis Motor Control

Other Parts Discussed in Thread: SFRA

Tool/software: Code Composer Studio

I use 28379d and 3phganinv to test the dual motor routine (Level 1),all the steps are in accordance with the document: "dual axis motor control using FCL and SFRA on a single C2000  MCU” 。 

I did not remove the R20, but according to Yanming Luo, the removal of R20 does not affect the test (Level 1). 

The program only uses CPU1, I can't display the waveform in real time.

 I make sure that all my operations are carried out according to the file. 

How to solve this problem? I hope you can help me,thank you very much indeed.

Here is a screenshot of me burning the dual motor routine:

1.main interface:

2、Click "debug"

3、add. Out file to CPU 1 ,import the variables

4、“Enable silicon real-time mode”  andselect "YES"(maybe ignore this step)

5、Setting up Graphs

6、Run the code,set the variable ‘enableFlag’ to 1 (There's a problem. There's no waveform)

  • 1. Recommend to remove the R20 on both 3phganinv boards since the on-chip DACs are used in all build levels. The over-current fault may be trigged for the current offset is not correct if the on-chip DAC is enabled. 

    It seems like the "tripFlagDMC" is "1" in the watch window that means there is a fault to stop the motor. Set "clearTripFlagDMC" to "1" to clear the fault, and then set the "runMotor" to "MOTOR_RUN" to see if the outputs are correct and the "tripFlagDMC" is "0".

    2. Ignore the step “Enable silicon real-time mode”.

    3. Click the "Continous Refresh" button in the Graph window.