You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/08/17 14:15:35 UTC

[GitHub] [mynewt-nimble] bvdberg opened a new issue, #1323: Extreme low-power mode on NRF5340

bvdberg opened a new issue, #1323:
URL: https://github.com/apache/mynewt-nimble/issues/1323

   This is not so much an issues as a discussion, before we start implementation, since I couldn't find a forum for this.
   
   We would like to completely disable Nimble and the net-core on the NRF5340 for long periods. When needed, the Nimble
   stack (and Net-core) should be restarted and used for communications. Nimble itself doesn't appear to have deinit() functions (yet).
   
   What we plan to do is:
   - Net-core: wait for Radio to be idle and then disable the Radio (and all other used peripherals). Then signal app-core
   - App-core: wait until net-core is done with shutdown and then really shut it down.
   - App-core Nimble stack: stop tasks, stop timer, remove queues (or clear), reset some static global structs to zero.
   
   The idea is that we dont have to modify the init steps this way, so future merges remain easy.
   
   Am I missing something with this approach?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-nimble] sjanc commented on issue #1323: Extreme low-power mode on NRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on issue #1323:
URL: https://github.com/apache/mynewt-nimble/issues/1323#issuecomment-1222499041

   This should probably have some "generic" in host ie  ble_hs_disable()/ble_hs_enabled(), and support in HCI transport interface
   
   But... have you measured power savings?   ie how much reinitialize would cost comparing to just idling?   ie, when not used radio is disabled, we go tickless on idle on networking core etc so it should be quite low power already


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-nimble] bvdberg commented on issue #1323: Extreme low-power mode on NRF5340

Posted by GitBox <gi...@apache.org>.
bvdberg commented on issue #1323:
URL: https://github.com/apache/mynewt-nimble/issues/1323#issuecomment-1231311166

   Are any special configuration settings needed for this? I'm using the default Peripheral app for testing now, but it seems to use around 6.3 mA on avg (with energy 2 spikes per second).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org