• 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 » C2000™ Microcontrollers » C2000 32-bit Microcontrollers Forum » C2000 Office Hours: Have questions on your latest C2000 design? Real-time answers to your questions!
Share
C2000™ Microcontrollers
  • Forums
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
C2000 Resources
  • Product Folder
  • C2000 Training Portal
  • C2000 Technical Training Catalog
  • C2000 Datasheets, App Notes, User Guides
  • C2000 Hardware Design Kits
  • controlSUITE for C2000 Software Library


  • InstaSPIN Resources
  • What is InstaSPIN?
  • Videos and Support


  • InstaSPIN-FOC and InstaSPIN-MOTION Resources
  • What is InstaSPIN-FOC?
  • What is InstaSPIN-MOTION?
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • Forums

    C2000 Office Hours: Have questions on your latest C2000 design? Real-time answers to your questions!

    • RandiW
      Posted by RandiW
      on Aug 01 2012 14:59 PM
      Prodigy485 points

      Have questions on your latest C2000 design? Want to learn more about the latest from C2000 MCUs? Just want to chat with experts about real-time control, power electronics, and more? Then you can’t miss out on C2000 Office Hours. Our team of C2000 experts will be on-hand to answer all your questions real-time! With three days and times to choose from you can pick when it’s convenient for you – or join them all!

      Mark your calendar!
      August 21 – 11am -12pm CST
      August 22 – 3pm -4pm CST
      August 23 - 9am – 10am CST


      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jut Shanahan
      Posted by Jut Shanahan
      on Aug 09 2012 15:37 PM
      Prodigy210 points

      Where are the office hours?  This thread?  A chat?  A video?  

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • RandiW
      Posted by RandiW
      on Aug 09 2012 15:40 PM
      Prodigy485 points

      Hi Jut,

      The office hours will take place in this thread.   Just come back on the designated date/time and post your question in the thread and one of our C2000 Experts will answer it for you in real-time! 

      Mark your calendar!

      August 21 – 11am -12pm  CST

      August 22 – 3pm -4pm CST

      August 23 -  9am – 10am CST

      Thanks!


      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patrick Carner
      Posted by Patrick Carner
      on Aug 21 2012 11:04 AM
      Prodigy700 points

      Hi everyone,

      Welcome to C2000 Office Hours! I just want to let you know we will be on hand for the next hour to answer any questions you may have.

      Thanks.

      Patrick

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Frank Z
      Posted by Frank Z
      on Aug 21 2012 11:06 AM
      Prodigy90 points

      Hi,

      I have some questions about the software phase locked loop (SPLL) module from the solar application library in ControlSUITE:

      I tried it on the Development Kit, and the sine output of the SPLL was able to lock the phase of its AC input.   The problem is that the value of the angle ' theta[0]' was only between 0 to 1 , instead of between 0 to 2pi.

      My AC input is 60Hz, and the spll is triggered at 20K Hz

      I modified the code to   spll_obj->theta[0]=spll_obj->theta[1]+(spll_obj->wo*(0.00000795));

      according to the posting  " About the Solar Liberary Function of C2000™ Solar Inverter Development Kits "

       

      What is the meaing of   ( spll_obj->wo*(0.00000795) )   ?

      If Wo= 2*pi*f,   and  0.00000795 is calculated by delta_t / (2*pi), then the formula above becomes   '  frequency * delta_t '   or delta_t / period '  ?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patrick Carner
      Posted by Patrick Carner
      on Aug 21 2012 11:14 AM
      Prodigy700 points

      Hi Frank,

      I am initially not clear on the answer to this question; however, I have directly forwarded this question to the team who developed the library and development kit. Hopefully we can get an answer for you here soon.

      Patrick

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Frank Z
      Posted by Frank Z
      on Aug 21 2012 11:18 AM
      Prodigy90 points

      Thank you.

      Actually, I have more questions related to this SPLL module. Can I post all my questions here?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patrick Carner
      Posted by Patrick Carner
      on Aug 21 2012 11:24 AM
      Prodigy700 points

      Frank,

      Definitely, feel free to post your remaining questions here. We will work to get you answers in addition to your original posting.

      Thanks,
      Patrick

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Gard Mellemstrand
      Posted by Gard Mellemstrand
      on Aug 21 2012 11:28 AM
      Prodigy40 points

      I'm having trouble with the HVBLDC_Sensorless example code on the TMS320F28035 microcontroller.

      I have selected build level 1, set the enable bit, and when I pause the debugger, I get a value between 0 and 5 on the MOD6_CNT output variable.

      But when I try to measure the PWM outputs, I get nothing. I tried one of the other PWM examples, and I got the expected result on the oscilloscope. So nothing should be wrong with the hardware itself.

      Any ideas why it doesn't work on the motor control code? Is there some setting I'm missing?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Frank Z
      Posted by Frank Z
      on Aug 21 2012 11:30 AM
      Prodigy90 points

      In the posting  "About the Solar Liberary Function of C2000™ Solar Inverter Development Kits",

      Manish Bhardwaj, a TI expert, said the SPLL module in the solar library was designed to handle input frequency changes from 57Hz to 63Hz if the grid voltage was 60Hz.

      My first question is :

      why is it from 57Hz and 63Hz ? Is this based on any industry stardard ?

      My second question is :

      How can I modified this SPLL module, so that it will still perform well for larger input frequency changes, i.e. 54Hz to 66Hz ?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patrick Carner
      Posted by Patrick Carner
      on Aug 21 2012 11:41 AM
      Prodigy700 points

      Gard,

      Could you provide more information? Which development kit are you using?

      Patrick

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brett Larimore
      Posted by Brett Larimore
      on Aug 21 2012 12:33 PM
      Mastermind18530 points

      Gard,

      Do you happen to have the motor connected?  I believe that the instructions don't have you connect the motor until Incremental Build 2.

      The motor control software that you are using has protection via internal comparators peripherals and trip zone peripherals.  I believe that the software doesn't expect a motor to be connected and is tripping quickly because things are not as the hardware expects.


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Gard Mellemstrand
      Posted by Gard Mellemstrand
      on Aug 21 2012 13:25 PM
      Prodigy40 points

      I don't know if I'm too late now. But I'm using the "C2000 Microcontrollers Development Tools" and the newest free version of Code Composer Studio.

      I also have not connected the motor yet. I'm measuring the output on the PWM without connecting it to anything. 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Aug 22 2012 10:25 AM
      Expert7390 points

      In the posting  "About the Solar Liberary Function of C2000™ Solar Inverter Development Kits",

      Manish Bhardwaj, a TI expert, said the SPLL module in the solar library was designed to handle input frequency changes from 57Hz to 63Hz if the grid voltage was 60Hz.

      My first question is :

      why is it from 57Hz and 63Hz ? Is this based on any industry stardard ?

      My second question is :

      How can I modified this SPLL module, so that it will still perform well for larger input frequency changes, i.e. 54Hz to 66Hz ?


      The frequency range mentioned is typical of what a PV inverter manufacture will specify. In a traditional grid infrastructure the frequency is quite stable. The PLL module can work for larger range of frequency if you use adaptive notch filters and use update the center frequency adaptively.  If you experiment you will find the PLL locks for  54 to 66 Hz as well, but you may get more error in your phase lock.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sina Aflaki
      Posted by Sina Aflaki
      on Aug 22 2012 14:53 PM
      Prodigy120 points

      I'm trying to generate a sine wave on CCS v4.0 using C28335 as my target. The C code is below :

      # include <math.h>

      int x;
      float k[360];

      #define PI 3.1415926

      void main(void)
      {
              while(1)
                 {

                    for(x=0; x<360; x++)
                      {

                            k[x] = (float)sin(x*(2*PI)/360);


                    }

             }
      }

      but the numbers I get after execution seem to me like random numbers. Sometimes I get the right values till, say, 120 and then all values are set to 0. And rarely I get all the values right! 

      My stack size is 400.

      Could anyone tell what the problem is?

      Thank you.

      sine sinewave c28335
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    123
    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