• 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 » Low Power RF & Wireless Connectivity » Low Power RF Proprietary Software & SimpliciTI Forum » Can't exit PM3 via external interrupt
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Can't exit PM3 via external interrupt

Can't exit PM3 via external interrupt

This question is not answered
ds10001
Posted by ds10001
on Mar 12 2009 20:49 PM
Prodigy165 points

I can't exit PM3 via an external interrupt (triggered by pushing a button on PO_1).  The external interrupt works fine if the processor is in PM0.  Problem still occurs in PM2 and PM1.  Here's the code I'm using for reference:

  // code to trigger external interrupt when S1 is pressed.
  P0DIR = 0;
  P0IFG = 0x00; // clear interrupt flag
  PICTL |= 0x08; // enable interrupt on P0_0 to P0_3
  P0IFG = 0x00; // clear interrupt flag

  IEN1 |= 0x20; // enable PO interrupt
  EA = 1; // global interrupt enable

  SLEEP |= 0x03; // Setup processor to enter PM3
  PCON |= 0x01;  // Enter PM3

Any help would be appreciated!

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • ronnym
    Posted by ronnym
    on Mar 14 2009 16:01 PM
    Expert1450 points

     If the chip is a CC1110 or CC2510, check DN106 on the TI website. Also there is a new release of software examples for these chips. If it is neither of these, please let us know what you are using for a transceiver chip.

    Ron

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ds10001
    Posted by ds10001
    on Mar 16 2009 17:05 PM
    Prodigy165 points

    I'm using the CC2430.  I'm able to wake up from PM1 via an external interrupt but not PM2 or PM3.  I'll look over the doc that you mentioned to see if it has any info that could help.

    Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Siri
    Posted by Siri
    on Apr 30 2009 04:04 AM
    Expert4650 points

    Make sure that your input is configured correctly with respect to input mode etc.

    Also remember to clear the CPU interrupt flag related to Port 0, not only the module flag.

    Remember that for port interrupts the module interrupt flag should be cleared prior to clearing the CPU interrupt flag.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • T3
    Posted by T3
    on Jun 03 2009 06:15 AM
    Intellectual340 points

    I'm using TIMAC and CC2430 as well.

    I have tried now to go to sleep in PM3 and thanks to your code now i can wake up just pressing S1. Or setting P0_0 to P0_3 to ground.

    So I don't know what could be your problem.

     

    EDIT: It worked well with PM3, but with PM2 it only wakes up when P0_1 is set to ground, any idea of the problem?

    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