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-F280049C: C2000 microcontrollers forum

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

We are planning a motor drive (FOC control) with a combination of LAUNCHXL-280049C + BOOSTXL-3PHGANINV + brushless sensorless motor.

We tried to make changes based on the "LAUNCH XL-280025C + BOOSTXL-3PHGANINV" sample software.

We referred to the user's guide (https://www.ti.com/lit/ug/spruj26/spruj26.pdf ), but couldn't figure out how to change it.

Please tell us in detail where and how to change it.

 

The software versions we use are : C2000Ware_MotorControl_SDK_3_03_00_00

(The sample software is "solutions /universal_motorcontrol_lab".)

<HW>

LAUNCHXL-280049C+BOOSTXL-3PHGANINV+brushless sensorless motor

<SW>

C2000Ware_MotorControl_SDK_3_03_00_00

solutions\universal_motorcontrol_lab

<User's Guide>

Universal Project and Lab User’s Guide: https://www.ti.com/lit/ug/spruj26/spruj26.pdf

  • The detailed changes should be described in chapter 3. You just need to change the hal.c, hal.h and user_mtr1.h, even you don't need to change the user_mtr1.h since you are using the BOOSTXL-3PHGANINV which has been support with the LAUNCHXL-280025C in the example lab. As described in section 3.1.2 to change the ADC, PWM and CMPSS configuration in hal.c and hal.h

    You might use the LAUNCHXL-280025C directly since the kits combination has been supported in the lab.

  • The LaunchPad we use is LAUNCH XL-280049C.

    (Because I want to try CLA)

    The motor we use is our brushless sensorless motor.

    We want to drive the motor with FOC.

    Are the files we modify hal.h and hal.c?

    Your answer is no-need change user_mtr1.h file, but is it unnecessary to set the motor type (with sennsor or not) and parameters?

    Do we only need to change the ADC, PWM and CMPSS settings?

  • If you are using the default motor in user_mtr1.h, you don't need to change anything in user_mtr1.h. If not, of course, you need to change the motor parameters accordingly.

    As mentioned above, please follow the lab user's guide to change the hal.h, hal.c for peripherals configuration that include ADC, PWM, CMPSS and etc. as described in the related sections. You might have a try first, and let's know if have any further question when you run the lab on LAUNCH XL-280049C.

    https://www.ti.com/lit/ug/spruj26/spruj26.pdf