Skip to main content

NX15 Low Power Guide

This page explains how to approach low-power design for NX15-based BLE applications.

The goal of a low-power BLE device is simple: keep the device in a low-power state most of the time, wake up only when needed, finish the required task quickly, and return to sleep.

note

This page focuses on firmware-level low-power strategy. Power supply, decoupling, and PCB hardware design are covered in NX15 Hardware Design.


Low-Power Operating Concept

A typical low-power BLE device follows this cycle:

StepAction
1Stay in sleep mode
2Wake up by timer, button, sensor interrupt, or host event
3Read sensor or update application state
4Advertise, connect, or send data
5Disable unused peripherals
6Return to sleep mode

The average current depends on how long the device stays active compared with how long it sleeps.


Key Parameters

ParameterWhy It Matters
Sleep currentMain factor for idle battery life
Wake-up intervalControls how often the device becomes active
Advertising intervalControls how often the device broadcasts
Connection intervalControls how often connected devices exchange data
TX powerHigher TX power can improve range but increases current
Peripheral usageSensors, UART, SPI, I2C, LEDs, and debug logs can increase current
Firmware stateApplication logic must allow the system to enter sleep

Advertising Interval

BLE advertising is often used for beacons, sensors, and devices waiting for a connection.

Advertising IntervalBehavior
Short intervalFaster discovery, higher power consumption
Long intervalSlower discovery, lower power consumption
Periodic advertisingUseful for data broadcast patterns
Stop advertising when not neededReduces unnecessary radio activity
tip

For battery-powered devices, avoid advertising too frequently unless fast discovery is required.


Connection Interval

For connected BLE devices, the connection interval affects power consumption.

Connection BehaviorImpact
Short connection intervalLower latency, more frequent radio activity
Long connection intervalLower average current, higher latency
Infrequent data transferCan use longer intervals
Real-time controlMay require shorter intervals

Choose the interval based on application needs. A sensor that sends data every few minutes does not need the same connection behavior as a real-time control device.


Peripheral Power Management

Unused peripherals should be disabled when the device is sleeping.

PeripheralLow-Power Recommendation
UARTDisable when logs or host communication are not needed
SPI / I2CEnable only during sensor or peripheral access
ADCEnable only during measurement
PWMDisable when output is not required
LEDsAvoid keeping LEDs on in battery-powered mode
SensorsUse sensor sleep mode or interrupt mode when available
Debug logsDisable or reduce logs in low-power builds

Sensor Duty Cycle

Many BLE products use sensors. The sensor duty cycle can strongly affect battery life.

Design QuestionExample
How often is data needed?Every 1 second, 1 minute, or 10 minutes
Can the sensor sleep?Put sensor into standby between readings
Can an interrupt wake the system?Motion, threshold, button, or event wake-up
Is continuous sampling required?Avoid if periodic sampling is enough
note

Low-power design should include both the BLE module and all external components on the board.


AreaCheck
Sleep stateConfirm firmware can enter low-power state
AdvertisingUse the longest acceptable advertising interval
ConnectionUse a suitable connection interval for the application
TX powerUse only the power level required for reliable communication
SensorsDisable or sleep sensors between measurements
InterfacesDisable unused UART, SPI, I2C, ADC, PWM, or PDM blocks
DebugDisable unnecessary debug logs in release firmware
MeasurementMeasure current on real hardware, not only in firmware simulation

Low-Power Validation

Validate current consumption in each mode:

ModeWhat to Measure
BootStartup current and duration
AdvertisingAverage current during advertising
ConnectedCurrent at selected connection interval
Sensor readCurrent during sensor operation
SleepLowest idle current
Full cycleAverage current over one complete application cycle

Common Low-Power Issues

SymptomPossible CauseCheck
Current is always highDevice never enters sleepCheck firmware state and active peripherals
Sleep current is higher than expectedExternal components still activeCheck sensors, pull-ups, LEDs, and host circuits
Battery drains quicklyAdvertising or connection interval too shortIncrease intervals where possible
BLE response is slowInterval too longBalance latency and power
Current varies between boardsHardware or assembly differenceCompare antenna, sensors, and external loads

What Not to Include Here

To avoid duplicate content:

TopicGo To
VDD, GND, SWD, resetNX15 Hardware Design
Antenna keep-out / u.FL traceNX15 Antenna Design
First BLE bring-upNX15 Quick Start
BLE services and application dataNX15 BLE Application Guide