This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to wake up from sleep mode from a phone via BLE

Hello

I want to know if we can wake up nrf52832 in sleep mode , from a command through an application on a phone via BLE. If its possible can someone please guide me to the steps or the link where i can learn more about how to that.

Thanks for you time

  • Your question doesn't really make any sense.

    If the nRF52 is in its deepest sleep mode, there will be no BLE activity at all, hence it is not possible to wake it via BLE, you can only wake via hardware interrupt.

    If the nRF52 is just sleeping between sending advertising, as soon as you connect it will be awake. So you just need to use any of the examples which have a connectible service (which I think all the BLE peripheral examples do.

    Then write whatever code you need to in response to the connection to the service (or to a custom service which you write yourself)

  • thanks for your reply i understand that now that there is no way that we can wake the chip remotely if its totally in sleep mode(No advertising).

    A general question as i am new to the board,

    what is the maximum limit for PWM outputs pins on nrf52832? Can we use all the GPIO pins as a PWM output?

    For ADC, i can see there are 8 dedicated pins , but i want to confirm for PWM that if there are any GPIO pins which can't be used as PWM o/p

    thanks for you help

  • You will need to post a separate question about PWM on the nRF52, as I cant give you a definitive answer ( AFIK the mRF52 has hardware PWM , however I am not aware of the limitations if any)

Related