Hi,
I am performing some evaluation on the low power capabilities of the nRF5340 using the DK and the PPK v1.
I have written a really basic BLE Peripheral Application based loosely around the peripheral_lbs sample code as I want to test with a button handler eventually.
The problem I have is that after considerable configuration, I can only get the current floor down to ~200uA with an average current of ~215uA with a 1.2 second advertising interval. I've seen a lot of people on here talk about seeing much, much lower currents so wondered is there a configuration that I am missing perhaps?
I have been reading the documents and a few threads on here to understand how to configure the device and I have done the following.
- My main application, running on the NS partition, has been configured as follows:Fullscreen123456789101112131415161718192021CONFIG_NCS_SAMPLES_DEFAULTS=yCONFIG_BT=yCONFIG_BT_PERIPHERAL=yCONFIG_BT_DEVICE_NAME="MH_TEST"# Enable the LBS serviceCONFIG_BT_LBS=yCONFIG_BT_LBS_POLL_BUTTON=yCONFIG_DK_LIBRARY=y# Drivers and peripheralsCONFIG_I2C=nCONFIG_WATCHDOG=nCONFIG_GPIO=nCONFIG_PINMUX=nCONFIG_SPI=nCONFIG_SERIAL=n# Power managementCONFIG_DEVICE_POWER_MANAGEMENT=y
- I have added an spm.confFullscreen1234CONFIG_IS_SPM=yCONFIG_FW_INFO=yCONFIG_GPIO=yCONFIG_SERIAL=n
and added that to the CMakeLists.txtFullscreen1set(spm_CONF_FILE ${CMAKE_CURRENT_SOURCE_DIR}/spm.conf) - I have also configured the hci_rpmsg via the menuconfig to turn off logging
- I also tried turning on Power Management via the SPM and HCI_RPMSG's menuconfig's as well but it did not seem to have any effect.
As for my source code, I have attached it. I simply setup the BLE and handlers and then call:
If we look at the PPK, I see this:
where my baseline current seems to be around 200uA - from what I had read around, I would have expected to be able to get it lower than this, so I imagine I must be configuring something incorrectly.
If you had any advice, it would be appreciated!
nRF Connect SDK: v1.6.1