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.

Compiler/TMDSHVMTRINSPIN: Cannot find user.h file to reflect on the INSTASPIN software

Part Number: TMDSHVMTRINSPIN
Other Parts Discussed in Thread: MOTORWARE

Tool/software: TI C/C++ Compiler

Hi there

I have recently purchased the HVKIT with the PM motor to learn motor drive. Using the instspin software i would easily run the motor. Now I have a lab IM from GE of 1 HP with the nameplate. I can figure out the parameters using the excel sheet provided in the motorware.

My question is I am unable to find the user.h file in order to change the parameters to that of the IM. Can you please let me know how to do it because the instaspin software is running the motor identification process till 50% and then it fails. So I want to define the parameters and then run the motor.

Any suggestion or help will be useful.

Regards

  • Hi
    If you are using F2806xF control Card, you can find the user.h in \motorware_1_01_00_17\sw\solutions\instaspin_foc\boards\hvkit_rev1p1\f28x\f2806xF\src. Or you can click user.c to open this file, and right click on "user.h" to open a menu, click "Open Declaration" to link the user.h in the menu list.
  • Thank you. I found the user.c file. So I can edit it there.
    Sorry I could not follow you with how to link the user.c to user.h. Do I import the file to CCS and then follow the steps as you said?
  • In CCS, you can control+right click on any header files to follow them to their source. So, at the top of user.c is an include for user.h - ctrl+click to follow to the actual file

    Sean
  • Thank you Sean.

    I finally could change the parameters using the excel sheet and the user.c file in ccs. But the problem is that whatever i changed in the user.h in motorware folder as explained by Yanming, did not reflect in my GUI of instaspin. Am I doing something wrong?
    I have uninstalled GUIComposer and installed again and I couldn't find any change.
  • Please refer to " GUI Quick Start Guide: InstaSPIN UNIVERSAL" , you need to do the following steps.
    1. Change the user.h and recompile your project in CCS to generate a new "xxx.out"
    2. Rename the compiled project (xxx.out) to appProgram.out. Copy the file to the appropriate webapp folder in GUI Composer.
    3. Run the executable from the webapp folder, to reload the .out.