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-F280025C: How to evaluate InstaSPIN universal motorcontrol lab?

Part Number: LAUNCHXL-F280025C
Other Parts Discussed in Thread: BOOSTXL-DRV8323RS, , LVBLDCMTR, MOTORWARE

Hi champs,

I am studying universal_motor_lab by using EVM LAUNCHXL-F280025C and BOOSTXL-DRV8323RS. I modified the hardware according to Motor Control SDK Universal Project and Lab User’s Guide and is facing evaluation problem, please refer to my evaluation process below, 

  1. I don’t use DAC128 EVM.
  2. I use suggested motor by User’s Guide, the LVBLDCMTR 24V BLDC Motor
  3. Populate a 47nF capacitor to C9, C10 and C11 on BOOSTXL-DRV8323RS.
  4. Make sure the J3-29 and J3-30 on LAUNCHXL-F280025C disconnect to BOOSXL-DRV8323RS.
  5. Remove JP1 - JP3 from LAUNCHXL-F280025C to isolate PC from motor drive stage.
  6. Connect 24V to J1 of BOOSTXL-DRV8323RS.
  7. Test Level 1 Incremental Build and follow the evaluation steps.
  8. Run the code and the variable motorVars_M1.flagEnableRunAndIdentify to 1, however motorVars_M1.flagEnableRunAndIdentify automatically return to 0 right away and the variable motorVars_M1.faultMtrUse.all is set to 16.

Is there anything I am doing wrong to evaluate the lab project? Please advise, thanks for your help.

Regards,

Luke

  • Please don't apply the +24V on BOOSTXL-DRV8323RS, to check the PWM output and ADC as shown in lab user's guide. And then add +24V without connecting the motor to check the PWM output again.

    Please take a look at the lab guide and follow it to set up the kits. Make sure that the related switches are set correctly on LAUNCHXL-F280025C and the connection is as below shown in the lab guide. Universal Project and Lab User’s Guide: https://www.ti.com/lit/spruj26

     

    Please make sure that the following items are completed as described below, and then connect the BOOSTXLDRV8323RS. For more details about the BOOSTXL-DRV8323RS, see the User's Guide for the EVM.

    • Connect the BOOSTXL-DRV8323RS to site J1/J3 and J4/J2 of the LAUNCHXL-F280025
    • Populate C9, C10, and C11 with a 47nF capacitor.
    • Bend J3-29 and J3-30 of the LAUNCHXL-F280025C 90 degrees so that they are not connected to the BOOSTXL-DRV8323RS.
    • Use a jumper wire to connect J4-18 to J4-4 of the BOOSTXL-DRV8323RS for using SPIASTE pin of F280025C.

     

    Please make sure that the switches on LAUNCHXL-F280025C are set correctly as shown in lab guide as below also, especially the S2.

    • For S2, position the SEL1 (LEFT) switch UP (1) to route GPIO28 and GPIO29 to the BoosterPack connector, and position the SEL2 (RIGHT) switch UP (1) to rout GPIO16 and GPIO17 to the virtual COM port of the XDS110 debugger.
    • For S3, position the SEL1(LEFT) switch DOWN to pull GPIO24 low to logic 0, and position the SEL2(RIGHT) switch UP to pull GPIO32 high to logic 1 to put the F280025C into wait boot mode for reducing the risk of connectivity issues or a previous loaded code execution.
  • Yanming,

    You figure out the root cause. When I set the S2 switch to correct position and then I can run the incremental build(Level 1 to Level 4) without problems. However in the User's Guide, we don't mention S2 switch position and this is the reason I fail to evaluate the labs.

    The user's guide is not up to date, will we have new version of user's guide and shows how to use new device LaunchPad, for example the F28003x and F280013x LaunchPads?

    when I connect +24V to BOOSTXL-DRV8323RS, should I remove the JP1 - JP3 from F280025C LaunchPad to isolate PC from motor drive stage? The user's guide doesn't mention this, either.

    In folder boostxl_drv8320rs, there are InstaSPIN-FOC labs for F28004x devices. Will we have this kind of lab projects for F28002x, F28003x and F280013x devices? Where can I find the document about these lab projects please? Or universal motor control lab covers all the lab project?

    Regards,

    Luke

  • The user's guide is not up to date, will we have new version of user's guide and shows how to use new device LaunchPad, for example the F28003x and F280013x LaunchPads?

    The lab user's guide will be updated for F28003x and F280013x in next release. The settings of the switches on LunachXL can be found in its user's guide.

    when I connect +24V to BOOSTXL-DRV8323RS, should I remove the JP1 - JP3 from F280025C LaunchPad to isolate PC from motor drive stage? The user's guide doesn't mention this, either.

    No since the voltage is lower than the minimum safety voltage, 36V.

    In folder boostxl_drv8320rs, there are InstaSPIN-FOC labs for F28004x devices. Will we have this kind of lab projects for F28002x, F28003x and F280013x devices? Where can I find the document about these lab projects please? Or universal motor control lab covers all the lab project?

    Universal lab is for F28002x, F28003x, and F280013x, latest C2000 devices with InstaSPIN-FOC since these devices don't have the ROM for FAST as F28004xC.

  • In old InstaSPIN-FOC, the motorware for F28027F and F28069M, there are some lab projects and detailed document showing how to fine tune InstaSPIN-FOC performance.

    Today I try to test my customer's motor, I run the motor id without problem and then I want to spin th motor. However, I can not spin the motor and the variable motorVars_M1.faultMtrUse.all is set to 16, means over current situation happened, but I have no idea how to fine tune the parameters and solve this problem. Do we have the document detailed descript how to fine tune the performance of universal motorcontrol lab?

    I have another question, how many current/voltage sensors are needed for flying start function?

    Regards,

    Luke

  • how to fine tune the performance of universal motorcontrol lab?

    Not yet. You can refer to the Universal Project and Lab User’s Guide: https://www.ti.com/lit/spruj26.

    how many current/voltage sensors are needed for flying start function?

    Three-phase voltage and 2~3 phase current.

  • Yanming,

    In the Lab User's Guide, we say to disconnect J3-29, J3-30(on LAUNCHXL-F280025C) to BOOSTXL-DRV8323RS, so that we can start universal lab evaluation.

    How about F280039C and F2800137 LaunchPads? Which pins should we disconnect to BOOSTXL-DRV8323RS please? I think we should isolate PC from motor drive stage in case the VBUS is higher than 36V, am I correct?

    Regards,

    Luke

  • How about F280039C and F2800137 LaunchPads? Which pins should we disconnect to BOOSTXL-DRV8323RS please? I

    The same operation for F28003x and F280013x.

    I think we should isolate PC from motor drive stage in case the VBUS is higher than 36V, am I correct?

    Correct if there is 3.3V or 5V for the controller on LaunchPad from the inverter board. If not, you have to use the power from USB.