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.

CCS: Getting Started with C2000 and DRV8353 Motor Control for an Old Programmer

Other Parts Discussed in Thread: CODECOMPOSER

Tool/software: Code Composer Studio

I was told to post here by my TI FAE, seems like a long process, but here goes.

We are embarking for the first time using a C2000 part, and it is for motor control.  We have the DRV8353RS EVM setup, and have successfully turned our 3kW motor with it with no fires.  Next is to engage on our own design, and while I am a seasoned embedded programmer, I need some startup help...

1) need to get setup for C2000 development outside of the EVM board.  Need recommendations on what dongles/programming tools that are needed.  I have the Eclipse devtool installed, it works, etc.  
2) would love to have a discussion on using the controller for braking/regenerative battery charging.  I don't have much knowledge on this other than using the low side FETs in this mode...  I looked for a discussion on this, could not find it, maybe you have one?
3) like to have a discussion on processor utilization, we do have other things to manage, and we are a little fearful of tasking the C2000 to do more than motor control.  Since the bulk of the control algorithm is performed in ISRs, maybe a main loop application could be used...
Not having a single person to send emails to is definitely different, posting on forums is not especially comfortable, but hope to hear back from someone!  I am sure that 1) above has lots of answers and old postings, but I have not gone that search route yet.
Thank you in advance.
  • Jim,

    We have a workshop that covers the basics of the Code Composer Studio IDE here:

    http://dev.ti.com/tirex/explore/node?node=ANJXzL69ZqXoHLjas70yCQ__FUz-xrs__LATEST

    As far as a debug probe the default probe these days is the XDS110:

    http://www.ti.com/tool/TMDSEMU110-U

    I am going to loop in the C2000 team for the rest of the questions.

    Regards,

    John

  • If you haven't already, I'd recommend checking out our workshops to get you more familiar with the C2000. There's also C2000Ware for foundational header files, examples, and libraries.

    Do you mind sharing what C2000 part you're using?

    Whitney

  • I thought that no one had responded to this post, until I manually went into this tool to see what was going on.  Guess I need to set notifications or something to get notified when someone responds.

    TMS32-F28027f is the target, only because that is what is on the 8353EVM board.  Our hardware team has taken the Altium files from the EVM to create our design, since we are trying to reduce risk on this project, the timeline is weeks to get to a final solution.  We opted to copy the EVM design and leave as much alone, and we will be adding a second, master processor to maintain the overall control environment.  Basically, the EVM reference design (with a beefed up output stage) is our motor controller, and we will not ask the 320 to do anything more than control the motor, and talk over one of the serial communication ports to the second master processor.  At least at this time!

    If there is alternate processors that are more relevant than this plan, please respond.

    I did purchase a XDS110 from Mouser, here Monday.  I also purchased two of the cards that sit on the EVM8253 board, and probably am going to have a hard time removing the FTDI device and adding a header to the board to use the dongle for development.  My goal here is to get a board that I can use to get wet with CodeComposer, and I could not find another board that made sense here in the same product family that did not have all that isolation on it.  And I think that I need two rails as well to get that to work, so if you have another dev startup board to recommend for me to play, that would help.

    I will walk through the recommended videos and workshops that you both have recommended, thanks.  I am trying to fast track this, and new tools are never easy to get started with.

  • Also, are there references to regenerative braking for the 8353?  Reading materials?  White papers?

  • 1. Regenerative braking happens when the speed command is reduced from a higher value and in that case, the energy will back flow to raise the dc bus voltage of the link capacitor. A separate regen braking controller may not be needed, the same control loop that was controlling the motor is good enough. A separate Dc voltage monitor and dissipation of excess energy in a resistor may be one way to dissipate the energy.

    2. If you dont want regen at all, then some engineers try to turn on all three bottom switches, in which case the energy is dissipated as heat within the motor heating it up. If regen is sporadic, then one can consider this approach.

    I would recommend some engineering text books to look though I don't have a specific one in mind. 

  • Thanks Ramesh, I believe that is what I had in mind...awesome answers all.

  • Glad it helped !! Am closing this thread.