• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » InstaSPIN Control for the TMS570LS12x
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

InstaSPIN Control for the TMS570LS12x

InstaSPIN Control for the TMS570LS12x

This question has suggested answer(s)
Michi Yama
Posted by Michi Yama
on Dec 27 2012 05:20 AM
Expert2615 points

Hi,

I got DRV8301-EVM kit. And now I am trying to work BLDC motor that it is included in EVM kit.

I built sample project that is in /sw/solutions/instaspin_bldc/boards/drv8301kit_revD/tms570ls1227/projects/ccs5/porject01. And I tried to run it.

But I got some error after execution script. Please see below.

gDRVObj.isrTicker is Error.

gDRVObj.instaHandle -> vaOffset is Error.

gDRVObj.instaHandle -> vbOffset is Error.

gDRVObj.instaHandle -> vcOffset is Error.

I don't know the cause of the above errors.

Please advise me how to solve this problem.

Best regards,

Michi

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Haixiao Weng
    Posted by Haixiao Weng
    on Jan 02 2013 12:18 PM
    Suggested Answer
    Genius9905 points

    They show as an error because the CCS compiler optimize them (I don't think they are not used in the now running flow).

    You can choose to ignore them, or remove them from the watch window.

    Or if you really want to see it, disable the optimization of the project or set to a lower level of optimation, and these variables should be able to show up.

    Regards,

    Haixiao

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Michi Yama
    Posted by Michi Yama
    on Apr 09 2013 04:44 AM
    Expert2615 points

    Dear Haixiao-san,

    Thank you for your reply.

    I disabled the optimization of the project. But the errors still exist. My motor does not work yet. Why?

    Also I have other question. According to the manual, DIP switch SW1 must be changed as the following.

    "The TPS65381 regulator powers the TMS570 control card. The first time you connect to the processor make sure all positions of the SW1 DIP switch are set to the off position to disable the watchdog on the TPS65381. When the TPS65381 watch dog is used the watch dog must be disabled within 600ms of power on or it will have to be serviced. If the TPS65381 is enabled and the software flashed on the control card does not disable the watchdog within 00ms you will not be able to connect to the control card. The provided software project needs the TPS65381 to be enabed to run currectly, after connecting to the control card for the first time, load the compiled software, disconnect from the target in CCS, power down the system, place positions 1 and 4 of DIP switch SW1 into the on position and re-power the system.

    According to my understanding, DIP switch SW1 must be placed that No.5 and 7 is on. This is default factory position. Motor works fine with this setting only. The motor can not be worked with the above DIP switch setting.  What is the right setting for Project 1 ?

    Please advise me.

    Best regards,

    Michi  

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use