• 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 ZigBee® Software & IEEE 802.15.4 Forum » CC2430DB Entering DEEP sleep
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

CC2430DB Entering DEEP sleep

This question is not answered
ssaornil
Posted by ssaornil
on Oct 06 2008 06:28 AM
Prodigy80 points

Hi Everyone,

I'm using Z-stack 1.4.2 1.1.0 with the evaluation kit. I'm just trying to program my end device to enter in DEEP sleep mode. I've already followed the instruccions in Power Management documentation but I can only get what it feels like LITE sleep.

The thing is although I'm setting poll rate to 0, it still recieves every message that I send to it, and in DEEP sleep mode it should'n happen.

Any clue?

 

zigbee CC2430DB sleep power modes
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Khan
    Posted by Khan
    on Jan 15 2010 10:01 AM
    Prodigy80 points

    Hi I am using SmartRF05 EB with CC2530 CC2530ZDK_EM .

    I am trying to implement TIMAC on CC2530 with lowest power option. Problem is that when i am making

    #define MSA_KEY_INT_ENABLED       TRUE //  Changed to TRUE from false to avoid polling. in msa.h

    it is going for sleep but without pressing any keys (without touching the Joy stick) it is taking interrupt and it stops posting data. When again i am pressing sw2(Joy stick position 2) it starts sending data and after sending 2-3 packets it stops again. I mean to say it is taking interrupt without pressing any keys.

    I removed the CC2530 EM from RF05EB and just supplied power through connecting through burg stick to power supply it is not at all sending any data.

    I tried to disbale keys and without key press i want to send data to avoid this .

    When I am making change in hal_board_cfg.h to disable keys

    #ifndef HAL_KEY
    #define HAL_KEY FALSE //TRUE To disable the keys
    #endif

    The red LED blinks and it never sends any data.

    Please Help me in this regard

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • judy chen
    Posted by judy chen
    on Feb 05 2010 09:54 AM
    Prodigy75 points

    Very helpfule! thanks Kjetil and guys very much!

    I got the same problem and very desperate.

    You guys helped me well!

    thanks again!

    :)

    sleep timer
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • chethan kp
    Posted by chethan kp
    on Jan 12 2011 07:02 AM
    Expert1150 points

     

    Hi,

    I'm using TIMAC to send the data to co-ordinator at regular interval ( once in an hour ), so my end device has to send the data  to co-ordinator and go back to sleep and needs to wake up at after 1 hr . I'm using hal_sleep(10000)  fun to send this to sleep. its going to sleep but the problem when its in sleep mode voltage on the I/0 pins are high only and LED is also ON..

     

    When I send to sleep mode it should be switch off all I/O pins led etc , since I want send it in Power mode 2(i.e except sleep timer evrry thing should be OFF , according to data sheet) .

     And in data sheet it shows that when it goes to sleep mode it should consume only  0.2micro to 0.3micro amps but my EM device is consuming 2mA when its in sleepmode .

    How to send this to powermode 2 properly ..? How to switch of the digital regulator ?

     

    regards

    chethan 

    TIMAC SLEEP
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Emanuele7070
    Posted by Emanuele7070
    on Jan 12 2011 08:59 AM
    Prodigy110 points

    Hi everyone,

    after an hard work of some moths we discovered the trick to make a low power application, so the CC2430 or CC2530 can enter in a deep sleep mode ( PM2).

    Before the sleep procedure is necessary set the MAC_RX_ON_WHEN_IDLE to False and after the sleep period set this to True, so:

    MAC_MlmeSetReq(MAC_RX_ON_WHEN_IDLE, &MACTrue);   // set True after the sleep procedure

    MAC_MlmeSetReq(MAC_RX_ON_WHEN_IDLE, &MACFalse);   // set False before the sleep procedure so the chip can enter in PM2

    I use a function that call theese sets and the chip works ok.

    Regards,

    Emanuele Tavelli

     

     

     

    TIMAC Sleep CC2530 CC2430 PM2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • chethan kp
    Posted by chethan kp
    on Jan 12 2011 20:46 PM
    Expert1150 points

    Hi,

    After including these function only its going to sleep , . My worry is , it is consuming 2mA current when it's in sleep ,according to data sheet when its sleep mode(POWER MODE2) it should not consume more than 0.3mA ,. Have you checked the current consuption of your board ..?

    regards

    chethan

    TIMAC SLEEP
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • foresightyj
    Posted by foresightyj
    on Mar 01 2012 06:33 AM
    Expert1680 points

    Hi,

    I am using CC2430 and zstack. In my application, I put a osal_set_event(Hal_TaskID, HAL_ADXL345_INT1_EVENT) in the halProcessKeyInterrupt(). This interrupt pin is also in Port 0 so I wrote all those functions along with the key functions. 

    In the Hal_ProcessEvent() in hal_drivers.c, I have:

     if (events & HAL_ADXL345_INT1_EVENT)
    {
    ADXL345_Int1_Hdlr();


    return events ^ HAL_ADXL345_INT1_EVENT;
    }

    I did not want the ADXL345_Int1_Hdlr() to be inside the ISR as this function will take a bit long. That is why I used osal_set_event to let this function run outside the ISR. However, I found that CC2430 went back to the sleep mode right after the ISR. ADXL345_Int1_Hdlr() function is only called after the next wake up, which is equal to the  POLL_RATE = 5 seconds later.

    I even tried to add a osal_pwrmgr_task_state( Hal_TaskID, PWRMGR_HOLD ) in the halProcessKeyInterrupt() to purposely stop CC2430 from sleeping but that does not seem to work.

    In my opinion, once I set an event to Hal_TaskID, CC2430 shouldn't go back to sleep before I finishes all pending tasks in the OS. How could this happen?

    I really appreciate if someone could help me on this. I spent a whole day and still have no clue.

    Yuan Jian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • foresightyj
    Posted by foresightyj
    on Mar 02 2012 06:12 AM
    Expert1680 points

    Hi,

    I figured out the problem myself. Pls see this post for the reason:http://e2e.ti.com/support/low_power_rf/f/155/t/168495.aspx#617456

    Yuan Jian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
1234
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