Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nRF5340 Bluetooth peripheral_hr sample high power consumption #25434

Closed
cvinayak opened this issue May 19, 2020 · 2 comments
Closed

nRF5340 Bluetooth peripheral_hr sample high power consumption #25434

cvinayak opened this issue May 19, 2020 · 2 comments
Assignees
Labels
area: Bluetooth Enhancement Changes/Updates/Additions to existing features platform: nRF Nordic nRFx

Comments

@cvinayak
Copy link
Contributor

Describe the bug
Average current consumption of peripheral_hr sample in application CPU and hci_rpmsg application in network CPU, is ~2.5 mA. It appears the nRF5340pdk starts with idle current of ~14uA, but after sometime (in the image below ~24 seconds, but this is random), the base idle current increased to ~2.5 mA.

image

It appears the kernel does not sleep after one of the 1 second wake up as seen in the below image:
image

To Reproduce
Steps to reproduce the behavior:

in the prj.conf file, have the below:

CONFIG_BT_DEBUG_LOG=n
CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_SERIAL=n

cpunet application

  1. mkdir build; cd build
  2. cmake -GNinja -DBOARD=nrf5340pdk_nrf5340_cpunet ../samples/bluetooth/hci_rpmsg
  3. ninja
  4. ninja flash

cpuapp application

  1. mkdir build; cd build
  2. cmake -GNinja -DBOARD=nrf5340pdk_nrf5340_cpuapp ../samples/bluetooth/peripheral_hr
  3. ninja
  4. ninja flash

On the nrf5340pdk cut SB40, connect the nRF PPK daughter board and using nRF Connect for desktop v.3.3.3 Power profiler software measure the power consumption.

Expected behavior
idle currents should remain low

Impact
showstopper

Screenshots or console output
If applicable, add a screenshot (drag-and-drop an image), or console logs
(cut-and-paste text and put a code fence (```) before and after, to help
explain the issue.

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: Zephyr SDK 0.11.2
  • Commit SHA or Version used: d2c74eb

Additional context
Add any other context about the problem here.

@cvinayak cvinayak added the bug The issue is a bug, or the PR is fixing a bug label May 19, 2020
@carlescufi carlescufi added area: Bluetooth Enhancement Changes/Updates/Additions to existing features platform: nRF Nordic nRFx and removed bug The issue is a bug, or the PR is fixing a bug labels May 19, 2020
@carlescufi
Copy link
Member

@ioannisg and @cvinayak is this still applicable?

@cvinayak
Copy link
Contributor Author

This is no longer observed. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Enhancement Changes/Updates/Additions to existing features platform: nRF Nordic nRFx
Projects
None yet
Development

No branches or pull requests

3 participants