• 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 » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » MSP-EXP430F5529 Experimenter Board (PWM Outputs)
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • MSP-EXP430F5529 Experimenter Board (PWM Outputs)

    MSP-EXP430F5529 Experimenter Board (PWM Outputs)

    This question is answered
    Vignesh Venugopalan
    Posted by Vignesh Venugopalan
    on May 02 2012 16:18 PM
    Prodigy230 points

    Hi all,

    The MSP430F5529 offers Timers that can provide PWM outputs.

    I would like to know if it’s possible to get PWM outputs out of the

    MSP-EXP430F5529 experimenter board? From the datasheet it looks like these pins are 

    set to LCD and for other purposes. Is it possible to set the available output port pins to these PWM outputs from timers?

    Any help is greatly appreciated.

    Thank you.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Katie Enderle
      Posted by Katie Enderle
      on May 02 2012 16:23 PM
      Genius12795 points

      The F5529 includes port mapping on the port 4 pins, and all 8 of the port 4 pins are brought out on headers on the MSP-EXP430F5529 experimenter's board. Therefore, by correctly configuring the port mapping controller on the part, you should be able to bring the PWMs out on any of the port 4 pins that you'd like.

      Regards,

      Katie

      Please click the Verify Answer button on this post if it answers your question.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Vignesh Venugopalan
      Posted by Vignesh Venugopalan
      on May 02 2012 16:39 PM
      Prodigy230 points

      Dear Katie,

      Thank you for your reply.

      I actually came across a sample code that uses the Timer B to generate the PWM outputs.

      When we use Timers the PWM outputs are actually set to the respective output pins in F5529.

      For instance, for Timer B the PWM outputs (TB0.0 to TB0.6) are sent to (P5.6, P5.7, P7.4, P7.5, P7.6, P3.5)

      Out of these P7.6, P7.4, P5.6, P5.7 are set  to LCD outputs in the experimenter board.

      Likewise, the PWM outputs of timer A is set to (P1.1 to P1.5). These are not available in the output headers.

      Could you please tell me if its possible to set the PWM outputs of these timers to port 4 pins? or are they hardware configured?

      Thanks...

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Katie Enderle
      Posted by Katie Enderle
      on May 03 2012 13:17 PM
      Verified Answer
      Verified by Vignesh Venugopalan
      Genius12795 points

      I wrote the example code for this app note so that the PWM outputs from timer B would come out on Port 4 pins for exactly the reason of being able to test it on an MSP-EXP430F5529 experimenter's board. Look at the F5529 code example in the folder, the portion concerning the Port_Mapping() function and P4 registers. You should be able to use all of the timer setup from your other code example, just see the port configuration done in this example (the code example in this app note is for a special, non-standard way of doing PWMs on the timer, so you might want to ignore the timer part of the code).

      Zip file: slaa513

      The port mapping controller is documented in the 5xx user's guide and the F5529 datasheet for reference.

      Please click the Verify Answer button on this post if it answers your question.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Vignesh Venugopalan
      Posted by Vignesh Venugopalan
      on May 15 2012 03:43 AM
      Prodigy230 points

      It works. Thanks a lot Katie.

      Vignesh.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Vignesh Venugopalan
      Posted by Vignesh Venugopalan
      on May 18 2012 12:07 PM
      Prodigy230 points

      Hi Katie,

      Is this port mapping feature available for the hall sensor input pins as well?

      Again the experimenter board does not provide access to port 1 pins.

      Please clarify.

      Thanks & Regards,

      Vignesh.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Katie Enderle
      Posted by Katie Enderle
      on Jun 15 2012 08:14 AM
      Verified Answer
      Verified by Vignesh Venugopalan
      Genius12795 points

      Hi Vignesh,

      There isn't anything designated as a "Hall sensor input" on the MSP430F5529, but I'm guessing you are maybe trying to use this app note (slaa503), which runs on an F5529. Any Port pin can be used as a GPIO input, no port mapping required. But, if you are using the above app note, this code needs to use interruptible GPIO inputs for the Hall sensors, so you need to use either port 1 or port 2 (these are the interruptible GPIOs on the F5529). If you look at the MSP-EXP430F5529 on the upper right portion of the board there are headers where several port 2 pins are brought out. Of course you'll need to check these against the schematic to see if there's anything else connected to these pins that could affect your interrupts.

      If you look at the schematic and it ends up turning out that the port 2 pins are all being used already, I'd recommend moving to one of the FET target board for the MSP430F5529 (http://www.ti.com/tool/msp-ts430rgc64usb or http://www.ti.com/tool/msp-ts430pn80usb) - this board brings out all of the pins on the part with only minimal connections to get the part to run and for the USB to work, so you'd really have access to whatever pins you'd like.

      Regards,

      Katie

      Please click the Verify Answer button on this post if it answers your question.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Vignesh Venugopalan
      Posted by Vignesh Venugopalan
      on Jun 15 2012 14:32 PM
      Prodigy230 points

      Thanks a lot Katie.

      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