• 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 Bluetooth® Low Energy & ANT Forum » Switch to PM 3 state
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Switch to PM 3 state

This question is answered
Evgeny Lunev
Posted by Evgeny Lunev
on Mar 15 2012 01:51 AM
Intellectual470 points

Hi,
Could you also clarify how to change cc2540/41 state to PM3 programmatically?

I tried to use 'osal_pwrmgr_powerconserve()' function but it doesn't seem to change power consumed ( current measured on KeyFob.. 1.6 - 1.7 mA before and after).

Is it the proper way at all?

Is that function the only way to set PM3 state?

Regards,
Evgeny.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Igor Sherer
    Posted by Igor Sherer
    on Mar 15 2012 04:32 AM
    Guru21965 points

    Hi,

    Though I'm not familiar with Bluetooth FW, the cc254x and cc253x

    sharing the same peripherals and power modes (Radio is the major difference).

    Read the OSAL_API.pdf, in Z-stack calling osal_pwrmgr_powerconserve() otside

    of OSAL is not a wise thing to do.

    Evgeny Lunev
    current measured on KeyFob.. 1.6 - 1.7 mA before and after


    While measuring this current the keyfob is connected to debugger?

    In debug mode cc254x and cc253x SoC's emulates deep sleep power modes (PM2 and PM3),

    but consumes much more power. 

    Br,

    Igor

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Evgeny Lunev
    Posted by Evgeny Lunev
    on Mar 15 2012 07:18 AM
    Intellectual470 points

    Hi,

    >>While measuring this current the keyfob is connected to debugger?

    Sure not, with debugger the usual current is about 17-18 mA.

    So, qeustion remains - how to shift to PM3 mode from application stack?...

    Evgeny

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • kazola
    Posted by kazola
    on Mar 15 2012 15:51 PM
    Guru10665 points

    Read this!

    http://www.ti.com/lit/an/swra347/swra347.pdf

    :)

    And then we can talk again.



    Please click the     Verify Answer     button on a 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.
  • Evgeny Lunev
    Posted by Evgeny Lunev
    on Mar 15 2012 23:58 PM
    Intellectual470 points

    Thank you, we've already stambled upon it)

    but there is another question, related to it

    how to detect disconnect event (due to explicit request or timeout). I saw several related events like

    GAPROLE_INIT = 0,
    GAPROLE_STARTED,
      GAPROLE_ADVERTISING,
      GAPROLE_WAITING,
      GAPROLE_WAITING_AFTER_TIMEOUT,
      GAPROLE_CONNECTED,
      GAPROLE_ERROR

    but there is no disconnect event as such or something like that.

    What is best suitable event for disconnect ?

    Or disconnect handling functions should be triggered in some other way?

    Regatrds,

    Evgeny.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Evgeny Lunev
    Posted by Evgeny Lunev
    on Mar 21 2012 14:54 PM
    Intellectual470 points

    Any suggestions on how to catch disconnect event?

    Any help highly appreciated.

    Regards,

    Evgeny

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • J Chan
    Posted by J Chan
    on Apr 05 2012 04:35 AM
    Prodigy90 points

     

    From observation running the BLE v1.2,

    if disconnection was caused by link supervision timeout, you will be notified of the new GAP state GAPROLE_WAITING_AFTER_TIMEOUT;

    otherwise will be notified of GAPROLE_WAITING.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Evgeny Lunev
    Posted by Evgeny Lunev
    on Apr 05 2012 06:25 AM
    Intellectual470 points

    Thank you,

    just checked - it works)

    BR

    Evgeny

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • kazola
    Posted by kazola
    on Apr 05 2012 16:47 PM
    Verified Answer
    Verified by Evgeny Lunev
    Guru10665 points

    Great Evgeny!

    So perhaps you can verify the previous answer to mark this thread as solved.

    Bye!



    Please click the     Verify Answer     button on a 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.
  • kazola
    Posted by kazola
    on Apr 08 2012 15:10 PM
    Guru10665 points

    Not mine but the one who gave you the answer! Whatever. Bye!



    Please click the     Verify Answer     button on a 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.
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