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.

F28069 Incremental build?

Other Parts Discussed in Thread: MOTORWARE, CONTROLSUITE, DRV8301, DRV8313, DRV8312

First post, I'm new. I have F28069MISO and F28069 control cards an experimenter kit "docking station". I have flashing lights but now I'd like to evaluate custom power stage hardware for control of  basic motor types (3-phase variants, DC and stepper). So I'd  like do the incremental build labs but I haven't found any example projects featuring  incremental builds that are written for the F2806x. 

I would like to stick with the F28069M hardware  to take advantage of the InstaSPIN and Motion libraries when appropriate and I'm under the impression that  it's better learning the newer Motorware sw implementation.

I've spent the last two days pouring over the documentation and can't decide if it's worth using the older F2803x example code as a foundation or pick apart the latest Motorware (1_01_00_12) examples. Both options are  unappealing. Any suggestions? Is it worth diving into the older code? Have I missed something?

New labs due soon have been eluded to elsewhere in this form. Due they contain example projects with incremental builds for F2806x devices?

Thanks, Erich

  • Hello Erich,

    I don't know how new you are to C2000. But if you are really new to C2000, please try and understand the example projects provided by ControlSuite (GPIO, ADC, PWM, etc) before you move to motor project to avoid so many questions that will appear related to basic things (compiling, debugging, linker, peripherals setting, etc).

    To learn motor project you need motor driver, and I am not sure how you will connect your motor driver to your experimenter kit.

    To learn motorware project, you need one of these kits: boostxldrv8301_revB (+launchpad), drv8301kit_revD, drv8312kit_revD, OR hvkit_rev1p1.

    Your MCU should be version F2802xF or M, or F2806xF or M.

    Of course you can make your own driver board and connect it to your experimenter board or your controlCard but I believe it will take more time and more risk for the first learning.

    Anyway, you will decide.

    About migrating F2803x code, you can refer to this document

    http://e2e.ti.com/support/microcontrollers/c2000/w/design_notes/1262.aspx

    If you are already understand about F28069 MCU, I think it will not be so difficult to migrate it (they are mostly similar).

    Best regards,

    Maria

  • Thanks Maria, 

    Yes I'm new to the C2000 (but worked with micros since '98).  I see there is quite a bit of fundamental C2000 hardware and SW framework material  to learn before picking apart ControlSuite and Motorware libraries. 

    Fundamental motor control documentation and example projects for F2806x hardware is underrepresented. I've scanned through piece of documentation I can find in both ControlSuite and Motorware. The Motorware docs appear to use the F2803x ControlSuite motor control projects as a foundation. But I have not found a path for a beginner to start with F2806x hardware and learn the fundamentals from peripherals and  non-Motorware motor projects through FOC and InsaSPIN/Motion.  

    If working through the example F2806x non-motor ControlSuite labs will make it obvious how to migrate the example F2803x code to F2806x, then great!  I'll do it. 

    But  there appears to be a major software framework change for motor control form ControlSuite to Motorware.  I need help understanding  (at a very high level) the differences, and which should I concentrate . Is time spent learning the ControlSuite Motor control examples additive to Motorware? I guess I was expecting the framework to appear the same with the addition of extra Motorware functions in ROM.

    It looks like a hunk of  documentation just hasn't been released yet. 

    With respect to hardware: the  power stage is irrelevant. Even if I use one of the TI motor kits then I'm still looking for an incremental build examples of F2806x native code. Besides, my motor  power stage is well tested with another controller and has an identical topology/interface and specs as the DRV8301 kits.  I mention hardware because I plan to investigate DC and stepper motor control in addition to control aided by Motorware tools. 

    Ted

  • Ted,

    For InstaSPIN FOC and MOTION you must use MotorWare. Period. Yes, it is very different from controlSUITE. There are pluses and minuses to both software architecture approaches. 

    I recommend installing MotorWare and running MotorWare.exe to view all the docs. Read the GUI QSG and the the InstaSPIN Project and Lab UG. 

    For controlSUITE And 6x, you are correct, there is very little for motor control, there isn't even a set of drivers like we have done for the 3x and 33x. However, all of these devices are VERY similar and the software functions work for other devices that seen unsupported. In the DRV830x and DRV8313 development kit folders the projects are all built to support 3x and 6x. In CCS just switch the active build to 6x. The folder has the files for 6x and 3x. 

  • Thanks Chris, 

    (I think you meant DRV8312)

    For the DRV8312-C2-KIT I found the projects you are referring to with build configurations for both teh 3x and 6x. This is EXACTLY what I was looking for. Thanks! 

    Database links for DRV830x-HC-KIT appear broken in ControlSUITE. (even after reinstalling v3.2.6). The files and projects appear to be present here: C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105