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.

InstaSPIN Control for the TMS570LS12x Demo Project Issues

Other Parts Discussed in Thread: TMS570LS1227, INSTASPIN-BLDC, DRV8301

Hello, 

I am trying to get the DRV8301-LS-12 Kit running, and have been able to get the Instaspin-BLDC and FOC solution GUIs working but am facing some issues with the Instaspin-BLDC solution project demo installed from Code Composer. I am using version 5.4 as I saw on other threads version 6.0 is not compatible with the TMS570LS1227. I followed the instruction manual for how to get the project running, but in the watch window I keep seeing the following error messages: 

One thing to note is that I have changed the gGUIdrvObj to simply 'drv' in the watch window, as was suggested by a TI employee in another thread ( https://e2e.ti.com/support/microcontrollers/hercules/f/312/p/235920/959809. These errors keep flashing on and off from actual values after I click the "start" button and set the watch window to continuous refresh mode. I also do not see any data coming in to the dual graph window setup described in the instruction manual and the motor never runs either (even though I have tried setting gGUIObj.EnableFlg to 1 in the watch window). 

The specific demo is described here: /sw/solutions/instaspin_bldc/boards/drv8301kit_revD/tms570ls1227/projects/ccs5/project01

How can I resolve this problem? Thanks for the help.

  • Well I do not know if this is the issue but the expressions window normally shows yellow if the variables are out of scope.
    Your globals are displayed but the drv.xxx are not so maybe they are out of scope in your picture.

    We are going to obsolete this kit / project shortly as GUI composer completely changed and broke all of the visualization if you have CCSv6.
    To make this kit work you need to be back on the version of CCSv5 that the kit is documented to work with unfortunately.

    The replacement kit is being developed by the motor driver team and should have an independent GUI not tied to CCS.
  • Thank you for the help! Is there a way to change the scope of my watch window? And lastly, if TI is discontinuing this kit/project, do you mean that TI will no longer support the 570LS12x microcontroller and DRV8301 driver board with future software or simply the Instaspin-BLDC solution will be updated for this combination?

  • Hi Omar,

    Chips are definitely supported. It's that complete kit that comes with the control card and the big DRV8301 board.. Issue is the GUI is broken in CCSv6. I think there's something coming that will work with a LaunchPad instead of a control card.

    Regarding the scope - I don't know if you can explicitly change the scope. Usually it happens when you step into a function - then the local variables within that function become 'in scope' .. The global variables, being global, are always in scope.
    I suspect but am not sure that the drv. structure is local to one of the subroutines..