Low power with BLE Usage - Xiao nrf54280 Sense

How can I reduce the power usage of the board and have the option to wake it remotely via bluetooth? I’ve done things like not activate Serial and the LEDs, but using this line:

NRF_POWER->SYSTEMOFF = 1;

to make it enter deep sleep doesn’t seem to be an option to me since the board has to be physically activated via GPIO or reset.

Some resources I looked at for help:

1 Like

Hi there,

So , This doesn’t exist here, YET :grin:
However there are posts that attempt so creative work-arounds. :+1:
Start by using the TECH mentioned in @msfujino’s Posts on the subject as he has totally documented and discovered what is required to get the Lowest operating numbers in sleep current.

GL :santa_claus: PJ :v:

I like the sleep and wake on IMU motion or double tap… I use it everywhere :+1:

Hi, thank you for responding.

A silly question, but what library do I install on PlatformIO for “bluefruit.h”?

Hi there,

You do it in the lib_deps = line in the PLIO .ini
Try this;

[env:your_board_env_name]
platform = nordicnrf52
board = your_board_id
framework = arduino
lib_deps =
    adafruit/Adafruit nRF52 Arduino @ ^1.0.0 
    ; or directly from the source if the registry link has issues
    ; github.com

To use the #include <bluefruit.h> header with a
Seeed Studio XIAO nRF52840
in PlatformIO, you must use the Adafruit nRF52 Arduino core
rather than the default Seeed Mbed-based core.

The bluefruit.h library is a built-in part of the Adafruit nRF52 framework and cannot be installed as a separate standalone library through the PlatformIO Library Manager.

[env:seeed_xiao_nrf52840]
platform = https://github.com/Seeed-Studio/platform-seeedboards.git
board = seeed-xiao-afruitnrf52-nrf52840
framework = arduino

Note: Using the board = seeed-xiao-afruitnrf52-nrf52840 definition ensures the compiler includes the necessary Bluefruit libraries and FreeRTOS support. :backhand_index_pointing_left: :smiling_face_with_sunglasses:

HTH
GL :santa_claus: PJ :christmas_tree:

I saw this one used somewhere

[env:xiaoble_adafruit]
platform = nordicnrf52
board = xiaoble_adafruit
framework = arduino