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

Wake up from system on mode from an interrupt

hello

i have 2 questions about System on mode: 

i testing different types of power comsuption modes, i've tested RTC wake-up for system on mode, but i want to try to wake-up from a button even if system off are in deeper sleep mode. It is possible to do? 

in BLE advertising , what is happening with the power comsuption? i read in the manual that system ON is the default state after power-on reset. therefore i believe that even that  send the advertising it enter in low power sub mode until the end of the interval. it's really like that? i'm trying to control this sequent with a RTC, interval 100 ms and duration 0  for the advertising, and it is ok, but i really want to know if there are better alternative to control power comsumption with BLE advertising, i see in the infocenter page that exist Advertising modes with a Slow mode, is that mode better that controling with a RTC? is that very different for coded_phy advertising?

thanks!

  • Hi!, 

    testing more, it is posible to sending advertising in the sleep mode off System on? i put one bsp_board_led_invert after nrf_pwr_mgmt_run and  it is only do it twice unless it still advertising, when wake up from system on sleep state, the program dont restart and its continue with the next instruccion after nrf_pwr_mgmt_run? consider iám testing all with ble_app_beacon example.

    Thanks again!

  • Hi

    To get a good idea of what your current consumption would look like while advertising, I would suggest checking out our Online Power Profiler, which is a tool perfect for playing around with advertising intervals and other various parameters to see the estimated current consumption of the radio per advertising event. Your application will keep advertising until the advertising duration runs out. If you're planning on advertising very rarely I think it would be best to stop and start advertising between every time, but this will of course depend on what you plan for the project.

    Yes, you should be able to "wake" the device from a button event even though the device is in system ON sleep mode.

    As for the slow advertising mode, this is not any different in terms of current consumption from the fast advertising mode. Both are generally used if you'd like a device to advertise "faster" for one period of time to connect as quickly as possible before increasing the advertising interval afterwards, so you can advertise and save power. Both modes should be usable with the Coded PHY link layer.

    Best regards,

    Simon

Related