This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Power Profiling Application for 3rd-party evaluation board

I want to measure a current consumption for the 3rd-party evaluation board which has 32MHz crystal and 32KHz crystal, and there is not PO.18 on the 3rd-party evaluation board. I did follows in the Power Profiling Application software.

1.I changed clock to 32MHz In system_nrf51.c #define __SYSTEM_CLOCK (16000000UL) to (32000000UL)

2.Port change from button2 to button 3 for non-connectable mode. In main.c #define NON_CONN_ADV_BUTTON_ID 2 to 3

Then I compile and program the software to the the 3rd-party evaluation board. I push button1 and Connectable mode advertising starts , it is about 20ms interval. After ending connectable mode advertising, I push button 3 and Non-connectable mode adverting starts ,it is about 100ms interval. I use S110 v 8.0.0.

I have questions:

1.I want to know TX-power level for the both advertising operations. When I need to change TX-power level, how to chagne it?

2.Is this application DC/DC converter ON or OFF at 3.0V operation?

3.Which channel (s) are used for non-connectable advertising? All 3 channels?

4.I changed APP_CFG_CONNECTION_INTERVAL value, however Connectable mode advertising interval was not changed. How to change the advertising interval ?

5.How to change the advertising interval for Non-connectable mode advertising interval?

In main.c, there are #define CONNECTABLE_ADV_INTERVAL and #define NON_CONNECTABLE_ADV_INTERVAL, are they the true interval definition ?

Parents
  • Hi Ken

    1. The default TX power setting is 0dBm, but that can be easily modified with calling the sd_ble_gap_tx_power_set
    2. By default, the DCDC converter is not enabled. You need to enable the dcdc manually, as this thread describes.
    3. When advertising, all three advertising channels are used. How that works is described in this video at [13:36]. Another useful BLE video is here.
    4. The APP_CFG_CONNECTION_INTERVAL is the connection interval. To set the connectable advertising interval change the CONNECTABLE_ADV_INTERVAL constant. Similarly, to change the non connectable advertising interval change the NON_CONNECTABLE_ADV_INTERVAL constant.
  • Hi Stefan Sorry, I thought finished, but I have one more question. I want to measure the current consumption without 32KHz Crystal. In main.c, ble_stack_init(), I changed from SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL); to SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, false); Is above change correct to run without 32KHz crystal for this application ?

Reply
  • Hi Stefan Sorry, I thought finished, but I have one more question. I want to measure the current consumption without 32KHz Crystal. In main.c, ble_stack_init(), I changed from SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL); to SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, false); Is above change correct to run without 32KHz crystal for this application ?

Children
No Data
Related