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.

LAUNCHXL-F28379D: FCL build level 1 problems

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: SFRA, , BOOSTXL-3PHGANINV, C2000WARE

Hi

For a project, I am trying to follow the steps described in the manual "Dual-Axis Motor Control Using FCL and SFRA On a Single C2000 MCU". For this purpose, I am using the LAUNCHXL-F28379D with the BOOSTXL-3PhGaNInv and the Demo project "dual_axis_servo_drive_fcl_qep_f2837x". I am using the "C2000Ware_MotorControl_SDK_4_02_00_00".  Unfortunately, already in the building Level 1, some errors occurred.

I have tried to follow the steps described in the document for setting up the graphs and the expressions. The expressions are shown correctly, and the PWM is generated with a fixed duty cycle of 50%.

To achieve this, the enable flag was set to 1. But the first problem is that the imported graphs don't show anything while running the project:

What could here be the problem? As described in the document, I have also tried to change the VdTesting, VqTesting and the motorVars[0].spedRef values with no success. Does this mean that the space vector generation fails?

  • Hi Pavel,

    Can you verify that the parameters you're trying to plot are updating in the expressions window? Also that the dlog (datalog) tool is configured for your desired parameters in the code.

    Best,

    Kevin

  • Hi Kevin

    Thank you for your answer.

    I have found the issue. The problem was that for the generation of the space vectors, the variable "motorVars[0].ctrlState" must be set to "CTRL_RUN". If this variable isn't set to "CTRL_RUN", the "vqTesting" and the "vdTesting" are not applied.

    Unfortunately, this was never mentioned in the document "Dual-Axis Motor Control Using FCL and SFRA On a Single C2000 MCU".

    Best regards

    Pavel