• 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 » CCS collapse soon after DSP runs
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

    CCS collapse soon after DSP runs

    This question is not answered
    Jerry Hu
    Posted by Jerry Hu
    on Mar 21 2012 22:21 PM
    Prodigy100 points

    Hi all,

    We are doing a AC/DC converter project using DSP to control the IPM. we are confronting a weird phenomena. CCS disconnected to the target and did not respond soon after the program was download into the DSP and run, in other words, the DSP kept running correctly but CCS crash. However, if no ac input power is supplied to the AC/DC converter (i.e. no high voltage for the main circuit), the DSP runs correctly and CCS works well. Does anybody have the same problem?

    Hardware: F28335 controlCARDs with Docking Station with USB connected to the PC.

    Software: CCS 3.3

    Kind regards,

    Jerry

    CCS 3.3 CCS v3.3 TMS320F28335 eZdsp TMS320F28335 F28x 28335 eZdspF28335 Code Composer 4
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Brett Larimore
      Posted by Brett Larimore
      on Mar 22 2012 08:54 AM
      Mastermind18400 points

      Jerry,

      I can think of two possibilities:  1) isolation or  2) noise in the system  

      1) There should be isolation between your computer (especially if it is a desktop computer) and the F28335. Buying an isolated emulator and plugging it into J2 of the docking station is one option.  (http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/t/87408.aspx)

      2) It sounds like you've wired the Docking station to your custom board.  I would make sure that these wires are short and each signal wire is twisted with a ground if possible.


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jerry Hu
      Posted by Jerry Hu
      on Mar 22 2012 18:11 PM
      Prodigy100 points

      Hi Brett,

      Thanks for your quick reply. I also thought noise might be the possibility, could you give more details of how to eliminate noise?

      Now before i go for the option one, i want to check if the wire connection of the docking station is correct or not.

      The only connection between the Docking station and the AC/DC converter board are:

      6 PWM signal wires

      6 ADC signal wires

      3.3V wire and its ground wire (We use the 3.3V of the Docking station to supply the chip SN74LVCC3245PW on the converter board, SN74LVCC3245PW is a butter which transfer the PWMs from 3.3V to 5V because the voltage level of PWM output from DSP is 3.3V)

      With this connection, we can build, download and run the program without any error, and the PWM output and ADC output values are all correct. It is just when supply high voltage for the converter that CCS no respond and collapse eventually. Could you see anything wrong with this connection?

      Kind regards,

      Jerry

      F28335 Experimenter's Kit CCS 3.3 F2833x CCS v3.3 ADC eZdsp TMS320F28335 TMS320F28335 controlCARD eZdsp™ F28335 28335 eZdspF28335 JTAG DSP
      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 Mar 22 2012 19:11 PM
      Mastermind18400 points

      Jerry,

      Based on what your description, your problem is likely isolation (option 1).

      For option 2, I was mentioning that you can add a grounded wire to each signal wire that goes from the experimenter kit to the converter board.  This will help shield your signal connections, decrease the possibility of noise getting into your system, and improve the quality of these signals significantly.  Also make sure the wires are as short as possible.

      (for example, attach a wire to experimenter kit ground, wrap the wire tightly around one of the PWM connector wire, and then attach the other end to the SN74LVCCC3245PW ground.  Repeat for the other signal wires.  Wrap the 5V supply wire as well.)


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jerry Hu
      Posted by Jerry Hu
      on Mar 22 2012 21:52 PM
      Prodigy100 points

      Hi Brett,

      We use a isolated USB but the problem is still exist.

      After further test, we found that the DSP and CCS work well if the line current of the converter is almost sinusoidal. But CCS collapse when the current is quite distorted (get many harmonics). The question here is the ADC of the DSP should definitely measure any kinds of voltage or current, so why the current would influence the DSP and CCS system?

      Kind regards,

      Jerry

      XDS100 F2833x CCS v3.3 TMS320F28335 ADC 2833x eZdsp TMS320F28335 F28xx eZdsp™ F28335 28335 eZdspF28335 DSP CCS3.3
      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 Mar 23 2012 08:37 AM
      Mastermind18400 points

      Jerry,

      What emulator are you now using?


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jerry Hu
      Posted by Jerry Hu
      on Mar 24 2012 08:49 AM
      Prodigy100 points

      Hi Brett,

      We are still using the On-board USB emulator of the Docking station. What we do now  is use another isolated USB instead of using the original USB from TMS320C2000™ Experimenter Kit. But the CCS was still disconnected soon after the system runs.

      Kind regards,
      Jerry

      F28335 CCS 3.3 CCS v3.3 2833x eZdsp TMS320F28335 28335
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Chang
      Posted by Daniel Chang
      on Mar 24 2012 21:40 PM
      Expert4120 points

      Jerry,

      Does the power supply to C2000 device remain steady when the system is running?  

      Do you have the two Grounds (C2000 and system) connected?

      Regards,
      Daniel 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jerry Hu
      Posted by Jerry Hu
      on Mar 24 2012 22:58 PM
      Prodigy100 points

      Hi Daniel and Brett,

      We use the oscilloscope to observe the 5V and 3.3V of the Docking station, they were quite stable during the system is running.

      Speaking of the grounds, I am a little confused. As I discussed with Brett before, we use the PWM and ADC of the DSP, so there were two kinds of grounds in the custom board, one is the ground of PWM (let us denote it as digital ground), another one is the ground of AD signals processing (transfer the output of voltage sensor or current sensor to 0~3V, let us denote this ground as analog ground), and these two grounds are connected with inductor. we connect the digital ground to the GND pin of Docking station.

      Now our questions are:
      1. Though there are several pins marked "GND" in Docking station, but after check the schematic, there are actually three kinds of ground, i.e. DGND, AGDN, and GND-ISO. What exactly are they, respectively? I could not find any TI docs mentioning them. More importantly, which ground of Docking station should be connected to the digital ground of my custom board?
      2. For ADC, should the ADCLO of the DSP connected to the analog ground of our custom board? (We never connect them before during the experiment)

      Kind regards,
      Jerry

      F28335 F28335 Experimenter's Kit CCS 3.3 F2833x CCS v3.3 TMS320F28335 2833x eZdsp TMS320F28335 eZdsp™ F28335 28335 eZdspF28335
      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 Mar 26 2012 09:14 AM
      Mastermind18400 points

      Jerry,

      1. If you look at the Docking Station's schematics and the controlCARD's schematics, you will see that the analog (ADCGND)and digital grounds (DGND) are connected together on the controlCARD.  GND-ISO (which links to the "Gnd" pin on J3 of the Docking Station) is only used by the SCI transceiver on the F28335 controlCARD.  I would recommend not using this GND-ISO pin.  
      2. In a system where the 'F28335 resides on your application baseboard, yes.  However, in the controlCARD system, the controlCARD ties the grounds together.  You should not need to do anything other than tie your PWMs + ADCs + 3V3 + GND to your converter board. 

      Having only one combined ground plane simplifies layout at the expense of more analog noise.  The greater analog noise was deemed to be minimal, so in the controlCARD we've tied them together in the controlCARD.


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Chang
      Posted by Daniel Chang
      on Mar 26 2012 16:32 PM
      Expert4120 points

      Jerry,

      I believe that the CCS crashing is related to the emulator connection failing during high power operation.  This is because you said that-

      1) C2000 MCU continutues to run properly (only CCS disconnects) with AC power applied
      2) CCS does not disconnect when no AC power is applied
      3) CCS disconnects during high noise situations (non-sinusoidal currents)

      Have you always used an isolated USB or did you try non-isolated USB initially?

      Regards,
      Daniel

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jerry Hu
      Posted by Jerry Hu
      on Mar 31 2012 23:29 PM
      Prodigy100 points

      Hi Brett,

      Thanks for your kindly reply these days. The CCS disconnection seldom happened when we use a laptop as a host.

      Kind regards,
      Jerry

      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