2 Replies Latest reply on Jul 18, 2016 7:00 AM by tkosiyat_1665816

    Wake up MCU from deep sleep using BLE

    tkosiyat_1665816

      I'm developing a GAP peripheral. I want to put the MCU to deep sleep while BLE is advertising. Can use BLE to wake the MCU up when there is a connection? Thanks in advance. I really appreciate your help.

        • 1. Re: Wake up MCU from deep sleep using BLE
          Madhu Lakshmipathy

          Hi,

             

          Whenever the device advertises, there is an interval where you send advertisement packets, followed by a period of blanking. The Chip can go into deepsleep at the time of this blanking alone. The chip will be automatically waken up during the next adv interval. This has been implemented in all our example projects in PSoC Creator.

             

          Regards,

             

          - Madhu Sudhan

          • 2. Re: Wake up MCU from deep sleep using BLE
            tkosiyat_1665816

            Dear Madhu.

               

            Thanks so much. I really appreciate for your help. I found that explanation in AN92584 - Designing for Low Power and Estimating Battery Life for BLE Applications (http://www.cypress.com/file/140991/download). Looks like BLESS wakes up the CPU twice every time it advertises. First when BLESS enter the active mode and again at end-of-event.

               

            Suppose I want my BLE to advertise continuously without timeout and I want my program to perform a specific task after BLE advertises 10 times. Is there a reliable way to count the number of advertising? Or should I set the timeout and restart advertising after CPU finishes a specific task?