• 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 » Brownout interrupt handling
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
  • Forums

    Brownout interrupt handling

    This question is not answered
    Deepak Thorwath
    Posted by Deepak Thorwath
    on Jul 28 2010 06:48 AM
    Prodigy40 points

    We are using LM3S5956 controller with IAR tool chain in our project. We are facing an issue regarding brownout interrupt handling.

    We are observing a continuous reset in our system. The brownout bit is always set in the
    "reset cause register(RESC)" which indicates the cause of reset is brownout.We are acknowleding this by using
    "SysCtlResetCauseClear(SYSCTL_CAUSE_BOR)" funtion.

    By default the PBORCTL register has zero which allows for generate an interrupt on occurence of brownout event.

    We have enabled the brownout interrupt using "SysCtlIntEnable(SYSCTL_INT_BOR)" function & made an entry at
    "System Control (PLL, OSC, BO)" in the interrupt vector table.

    The interrupt service handler for brownout interrupt includes the code for switching on a led.
    But we did not observe the led glow.

    Has anyone tried to capture the brownout reset? Please let us know if we have missed any steps.
    Any reference to document or sample code in this regard will be of help.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Bobby Bradford
      Posted by Bobby Bradford
      on Jul 28 2010 11:57 AM
      Genius9030 points

      Are you able to catch the brownout with the debugger still attached?  If so, are you able to set a breakpoint on the brownout interrupt handler?

      Are you able to capture a scope trace of the brownout event?  If so, it would be helpful to see a trace of the voltage and the GPIO signal connected to the LED.

      --Bobby

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Deepak Thorwath
      Posted by Deepak Thorwath
      on Jul 29 2010 07:30 AM
      Prodigy40 points

      No we are not able to catch the brownout interrupt with debugger attached. We tried to capture the GPIO signal but it was of no help.

      Is it possible to generate both brown interrupt & reset also?

      We are able to observe a reset due to brown out even though we have not enabled that option. This we can say because we are switching on a red LED if the

      reset is caused due to brown out.

      We wrote an application that glows a blue led if brownout interrupt occurs & red led when the reset cause is brownout. We never observed the blue led glow.

      --Deepak

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Bobby Bradford
      Posted by Bobby Bradford
      on Jul 29 2010 12:56 PM
      Genius9030 points

      How is the brownout condtion being generated?  What is the voltage level dropping to?

      --Bobby

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Deepak Thorwath
      Posted by Deepak Thorwath
      on Jul 30 2010 00:02 AM
      Prodigy40 points

      There are two ways by which we are generating the brownout condition.

      1. Connecting a load to our system and the operating voltage is around 3.5 volt. The system can be either in hibernate
         or completely switched off. when we power on, there is a dip in the Vcc line and the system gets into continuous
         loop of resets.
      2. There is no load connected to the system.We start decreasing the voltage starting from 3.3V to less than 2.9V.

        In either case the granularity used to decrease the voltage is 1/100th of a volt.

      The voltage level is dropping to less than 2.9V.

      --Deepak

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Deepak Thorwath
      Posted by Deepak Thorwath
      on Jul 30 2010 00:07 AM
      Prodigy40 points

      One more information the glitch on the Vcc line is around for 2 milliseconds.

      --Deepak

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Spin
      Posted by Spin
      on Aug 03 2011 07:44 AM
      Intellectual660 points

      Have you read the errata? What is the revision of your device?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • leon lee76771
      Posted by leon lee76771
      on Apr 10 2012 20:56 PM
      Prodigy170 points

      Hi Deepak,

      So finally did you get the brown out interrupt work, with or without debugger attached?

      Regards,

      Leon

      brown out
      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