• 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 » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » help with RDK-STEPPER. beginning user - example of code.
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • help with RDK-STEPPER. beginning user - example of code.

    help with RDK-STEPPER. beginning user - example of code.

    This question is not answered
    Maciej Jankowski
    Posted by Maciej Jankowski
    on Jul 23 2011 04:29 AM
    Prodigy40 points

    hello all,

    we are students @ university of technology and rdk-stepper is our bachelor-degree topic. we have all of software writed by texas (like gui, qstepper and so one) but our task is to write a totally different software. and on the beginning of our work we have some problems with connect with board - it's our first contact with this hardware and we don't know how code should look like.we are writing in visual studio (of course you can suggest better - in your opinion - software)

    could anybody show us/send example code with connection and basicly: enable of stepper motor? it will be very helpful. it's hardest to start of something new...

     

    thanks for attention and help! :)

    Maciek (yankes at gmail dot com)

    rdk-stepper rdk stepper visual
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Andy Neil
      Posted by Andy Neil
      on Jul 23 2011 05:55 AM
      Guru31995 points

      Maciej Jankowski
      we are writing in visual studio

      So you are developing  a PC Application - not writing embedded code to run on the Stellaris microcontroller?

      This forum is about the embedded Stellaris microcontroller - for PC application development, you need to find another forum.

      As VisualStudio is a Microsoft tool, the obvious place to start would be: http://msdn.microsoft.com

      Other references for PC Application development:

      http://codesearch.google.com
      http://www.codeproject.com
      http://www.codeguru.com/
      http://www.developer.com/
      etc, etc,...

      VisualStudio PC Application development Visual Studio
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Maciej Jankowski
      Posted by Maciej Jankowski
      on Jul 23 2011 06:13 AM
      Prodigy40 points

      exactly.. but to write pc application we need use API which is offered by TI, isnt? (for example commands in User Guide)

      sorry if i'm wrong... i though that on Stellaris is firmware with API and we can use it to write an own pc app.

       

      anyway thank you for reply!

       

      and after browse sites above - can't find any helpful topics..

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Jul 23 2011 09:13 AM
      Guru31995 points

      Sorry - it wasn't clear what you were asking or expecting from the forum

      Yes, of course you will need the API specification - but that, surely, is part of the Documentation for the kit?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Maciej Jankowski
      Posted by Maciej Jankowski
      on Jul 24 2011 12:25 PM
      Prodigy40 points

      yes, of course.

      i'm expecting some example of pc app (code in visual c++) using API. example like connection with FTDI and sending some commands. a few, basic functions...

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Stellaris Ashish
      Posted by Stellaris Ashish
      on Jul 25 2011 10:19 AM
      Genius10560 points

      Hi Maciej,

      Unfortunately, at this point in time we do not have an example available that we can share with you.

      Warm Regards,

      Stellaris Ashish

      Warm Regards,
      Ashish Ahuja

      Check out the new Stellaris LaunchPad
      www.ti.com/stellaris-launchpad

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Stellaris Dan
      Posted by Stellaris Dan
      on Jul 25 2011 11:41 AM
      Expert4395 points

      Maciej,

      The RDK-Stepper GUI code was created in NI’s Lab Windows. It will not do you much good unless you have a full license for the tool. This was not done in MSVC++.

       

      To talk to the RDK-Stepper through the FDTI device (USB to serial- Virtual COM port), you simply have to open/read/write the appropriate COM port on the PC. There is lots of example code out there if you do a simple search. Example: http://www.codeproject.com/KB/mcpp/howtocomport.aspx

       

      As for the serial protocol… the protocol is described in the software documentation for the RDK-Stepper. You can use commands.h in the stepper code for the actual serial command codes. You’ll have to do a little work to stitch this together, but is a fairly simple protocol.

       

      Regards,

      Dan Nakoneczny

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Jul 25 2011 13:18 PM
      Guru31995 points

      You could also use some sort of "sniffer" to watch the commands/responses  sent/received by TI's GUI.

      There are plenty of serial port "spy" utilities available as software that works entirely within the PC...

      Google terms like "serial port analyser" or "serial monitor" in addition to "sniffer" and "spy" etc,...

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Maciej Jankowski
      Posted by Maciej Jankowski
      on Dec 01 2011 07:30 AM
      Prodigy40 points

      thank you for helping me, Dan.

      i think we are at end of our work. however we have one little problem with reading data from RDK-Stepper. our application can read stream buffer and usually return us frame with good data but sometimes (randomly) we get frame with unspecified data. for example:

      good frames (with position of motor, bus voltage, etc)

      -3 15 -86 0 0 0 0 0 0 0 0 0 15 0 0 

      -3 15 0 0 0 0 -64 93 0 0 0 0 0 0 -41

      bad frames:

      -3 15 -39 0 56 -117 -39 0 -92 -16 18 0 90 40 -90

      3 -32 -16 18 0 -18 -67 70 -55 -72 -16 18 0 34 -57

       

      and we dont know what it is and from it is (maybe from FTDI or directly from RDK). maybe it is something like communication frame? how we can recognize it?

       

      read stream function: http://ctrlv.it/id/MjcxMTgz

      Stellaris FTDI vc++ rdk-stepper
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ruprecht Steinheubl
      Posted by Ruprecht Steinheubl
      on May 24 2012 12:27 PM
      Prodigy10 points

      quote :******************************************************************************

      Maciej,

      The RDK-Stepper GUI code was created in NI’s Lab Windows. It will not do you much good unless you have a full license for the tool. This was not done in MSVC++.

       

      To talk to the RDK-Stepper through the FDTI device (USB to serial- Virtual COM port), you simply have to open/read/write the appropriate COM port on the PC. There is lots of example code out there if you do a simple search. Example: http://www.codeproject.com/KB/mcpp/howtocomport.aspx

       

      As for the serial protocol… the protocol is described in the software documentation for the RDK-Stepper. You can use commands.h in the stepper code for the actual serial command codes. You’ll have to do a little work to stitch this together, but is a fairly simple protocol.

       

      Regards,

      Dan Nakoneczny

      ************************************************quote end

      well, the rdk-stepper seems to be a ni labview programm, so i would ask, if it is piossible to get somehow a stellaris stepper gui-labview . vi.

      it would help a lot not to go through the dll files an do a job that might already be done before.

      so if it's possible to get a stepper-gui.vi it would save me a lot of time. since i am doing a phd in didactics of pysics education at lmu munic i would be very happy to save rare time. thanks for your understanding r. steinhuebl

      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