English
Language : 

AN92584 Datasheet, PDF (15/42 Pages) Ramtron International Corporation – Designing for Low Power and Estimating Battery Life for BLE Applications
Designing for Low Power and Estimating Battery Life for BLE Applications
3 Example Projects
Two example projects are included with this application note to show the implementation of low-power mode
techniques. These example projects require the BLE Pioneer Kit and the following software to build and test:
 PSoC Creator 3.2 or later with PSoC Programmer 3.23.0 or later
 CySmart™ PC application
3.1 Example Project 1: Low-Power Modes in Advertisement
This project shows how to implement low-power modes in a PSoC 4/PRoC BLE device during the advertising state.
You can also use this project to configure and measure the device’s current consumption for different advertising
intervals. Refer to Appendix A: Advertising State Current Profile for details on how the low-power mode transitions
occur when the device is in the advertising state.
The project configures the device in the Peripheral role with the default settings shown in Table 4. The advertising
interval can be set per your requirement. The Central device sleep-clock accuracy is assumed to be 0 ppm to 20
ppm. The IMO clock is 16 MHz in the example, but it can be lower in real applications.
Table 4. Advertisement Settings
GAP role
Advertising type
IMO clock
Transmit power
WCO clock accuracy
ADV packet length
Peripheral
Nonconnectable advertising
16 MHz
0 dBm
0–20 ppm
14 bytes
The default clock settings used for the project are listed in Table 5.
Table 5. Clock Settings
IMO
ECO
Direct_Sel
DBL_Sel
PLL_Sel
SYSCLK Divider
WCO
WCO Power Mode
LFCLK
Enabled
Enabled
IMO (16 MHz)
1
Enabled
Low Power
WCO (32 kHz)
After you build and program the project into the kit, measure the current and capture the current profile for analysis.
You can modify these configuration parameters and choose the optimum parameters according to your application.
3.2 Example Project 2: Low-Power Modes in Connection
This example project shows you how to implement low-power modes in a PSoC 4/PRoC BLE device in a Peripheral
role. The project can also be used to measure the current consumption of the device for various connection intervals.
Refer to Appendix B: Connection State Current Profile for details on how the low-power mode transitions occur in the
connection state.
The project uses the default connection settings listed in Table 6. The Central-side sleep-clock accuracy is assumed
to be 0 ppm to 20 ppm.
www.cypress.com
Document No. 001-92584 Rev. *A
15