background image

Doc. ID 4425_027 v1.0

Page 29

Chapter 10

Troubleshooting

Here are some basic troubleshooting steps to help you fix issues you may encounter when using the Power

Profiler Kit (PPK).

My PPK desktop application won't start

Make sure the PPK board is powered and connected

to the computer.
Try running the desktop application from the

command line as described in 

Using the Power

Profiler Kit desktop application

 on page 21. Inspect

the error output.
You are most likely missing a SEGGER connection, or

the PPK has been flashed with the wrong firmware.

If upgrading has failed for some reason, run the

"recover_ppk.py" script in the software folder. This

should recover the board to the latest firmware.

I am only measuring noise

Make sure you have prepared the nRF5x DK for power

measurements by cutting the 

SB9

 as described in

Step 1 in 

Quick start

.

Alternatively, check that the DUT select (

SW2

) switch

is in the correct position for your configuration.

My measurements fluctuate when I should have a

steady current draw

Your DUT may have a current consumption that is

close to a switching point causing rapid switching

up and down between the ranges and creating

measurement errors/distorted plots. Try adjusting the

switching points.

For personalized support from our technical support team, sign up for 

My Page

.

For more information, visit 

Nordic Developer Zone

.

Summary of Contents for PCA63511

Page 1: ...Doc ID 4425_027 v1 0 2016 10 13 Power Profiler Kit User Guide v1 0 ...

Page 2: ...y optimization 14 5 2 Connecting the Power Profiler Kit to the nRF5x DK 15 5 3 Current measurements on the nRF5x DK 15 5 4 Current measurements on the nRF5x DK while debugging 16 5 5 Current measurements on a custom hardware with nRF5x DK 16 5 6 Current measurements on a custom hardware without using an nRF5x DK 18 Chapter 6 Connecting the Power Profiler Kit to a computer 20 Chapter 7 Using the Po...

Page 3: ...Doc ID 4425_027 v1 0 Page 3 Revision history Table 1 Revision history Date Version Description October 2016 1 0 First release ...

Page 4: ...ch makes customization possible Several measurement configurations are offered which are described in this user guide Figure 1 PPK content the PPK board PCA63511 PPK content The PPK board PCA63511 Downloadable package Software package ZIP that contains Python software for computer py Firmware package for PCA63511 HEX Hardware package ZIP that contains schematic layout and BOM for PCA63511 This use...

Page 5: ...surements on a firmware running on an external board Accumulative measurements such as average peak minimum maximum Instantaneous measurements presented as waveform plots Computer requirements To run the PPK connect it to a USB port of a computer Supported operating systems The supported operating systems are Microsoft Windows 7 8 10 Important The PPK desktop application is developed using Python ...

Page 6: ...tion and as a power supply See Nordic Semiconductor Infocenter for information on the nRF51 Series and nRF52 Series Figure 2 Typical configuration for current measurements on the nRF5x DK Complete the following steps Important In some of the procedure descriptions the nRF52 DK is used as a reference but the nRF51 DK can also be used 1 If the PPK is used with the nRF5x DK prepare the nRF5x DK for p...

Page 7: ...1 0 Page 7 4 Start the PPK desktop application as described in Using the Power Profiler Kit desktop application on page 21 You are ready to perform measurements with the PPK For firmware upgrade see Upgrading the firmware on page 26 ...

Page 8: ...lculate the current consumption The PPK has three different measurement ranges and the switching between them is done automatically through an automatic switch circuitry To send the data to the desktop application the nRF52832 SoC on the PPK uses the SEGGER RTT Real Time Transfer By connecting the PPK to an nRF5x DK the SEGGER available on the nRF5x DK can be used for the computer connection Alter...

Page 9: ... In order to have high measurement dynamic range the PPK features three calibrated parallel measurement means realizing the three measurement ranges simultaneously An automatic range switching mechanism always selects the correct measurement range depending on the instantaneous current draws by the DUT If your DUT has a current consumption that is close to a switching point it will cause rapid swi...

Page 10: ... connecting the custom external hardware One for connecting an external trigger One connector for connecting an external SEGGER J Link The connectors on the bottom side are for connecting the PPK to an nRF5x DK which supplies both data interface and power to the PPK Figure 6 The PPK connectors Table 2 The PPK connectors Connector Description External 5 V power supply input J1 USB This USB connecto...

Page 11: ...ernal SEGGER J Link for communicating with the desktop application when The PPK is used standalone The SEGGER J Link on the nRF5x DK is used for debugging of the nRF5x chip on the DK If this connector is in use and the PPK is connected to an nRF5x DK board the COM switch must be in the EXT position This is done to disconnect the PPK from the SEGGER J Link on the DK How to connect and use is descri...

Page 12: ...ied by the PPK on board regulator Important If you need to use the PPK on board regulator the Power select SW4 switch in the Reg position when performing measurements on the nRF5x DK note that it is not recommended unless the PPK on board regulator voltage exactly matches the nRF5x DK voltage Even a small mismatch between the two will influence the current measurements due to current leakage and r...

Page 13: ...install the SEGGER J Link driver from the Downloads section tab of the nRF52 DK package in nRF52 Development Kit Alternatively the SEGGER J Link driver can be downloaded from SEGGER J Link Software c Download and install the nRF5x Command Line Tools for Microsoft Windows from nRF5x Tools Windows32 2 Download the PPK software package from http www nordicsemi com Products Power Profiler Kit The file...

Page 14: ... are needed to optimize the measurement accuracy The nRF5x DK must be prepared for the power measurement Match voltages between the nRF5x DK and the Power Profiler Kit In cases where the PPK is used with an nRF5x DK it is recommended to use the Power select SW4 switch in the DK position Although not recommended if you need to use the PPK on board regulator as the power source due to noise issues t...

Page 15: ...typical configuration for the PPK which allows quick setup and measurements in reference applications from the SDK or in custom applications In this case the connection to the PPK desktop application is provided by the SEGGER J Link on the nRF5x DK with a power supply applied on the DK The configuration for this use case is shown in the following figure Figure 9 Current measurements on the nRF5x D...

Page 16: ... DUT select SW2 switch is in the DK position The Power select SW4 switch is in the DK position The USB cable is inserted into the USB on the nRF5x DK and connected to a computer running the debugging software The additional SEGGER J Link is connected to the Debug in P21 connector on the PPK using the 10 pin flat cable The USB cable is inserted into the SEGGER J Link and connected to a computer run...

Page 17: ...s well as for communication with the computer The following two figures show the configuration for this use case one with the PPK on board regulator as the power source and one with an external power source Figure 11 Current measurements on custom hardware with the on board regulator as the power source and the nRF5x DK Figure 12 Current measurements on custom hardware with an external power sourc...

Page 18: ...hout using an nRF5x DK The purpose of this setup is to be used at a design stage on a custom hardware without using the nRF5x DK The power supply is provided either by the PPK on board regulator or an external power source The External 5V supply J1 USB connector of the PPK is used to supply power to the on board analog measurement circuitry and the on board regulator with 5 V This will supply the ...

Page 19: ...rnal 5V supply J1 USB connector of the PPK Set the Power select SW4 switch in the Reg position External power supply In addition to the USB cable inserted in the External 5V supply J1 USB connector make sure that the external power is connected to the External DUT supply P22 connector of the PPK voltage range from 1 8 to 3 6 V Set the Power select SW4 switch in the External position The additional...

Page 20: ...ndalone connect the USB cable to the PPK 2 If you are using an external SEGGER J Link in your configuration use a USB cable to connect it to your computer 3 If you are using the nRF5x DK flip the nRF5x power switch to ON If Windows driver installation starts for the inserted DK wait until it finishes before continuing 4 Verify that the LED1 is lit on the PPK 5 Confirm that the connected configurat...

Page 21: ...e file ppk py If prompted for details choose to run the file with Python The PPK desktop application can also be started from the command line console Make sure to navigate to the correct directory and run the following command python exe ppk py The PPK desktop application opens up Two separate windows are displayed The Settings window to the left with configuration and measurement controls option...

Page 22: ...resolution The plot gives the current profile in x ms after a current of y µA is detected To make a one time capture of the triggered data press the Single button Use the Pause Start button to pause or start the triggered data respectively While running the displayed data will be updated every time the current exceeds the trigger level Using the Window option the time span can be adjusted for the ...

Page 23: ...tching points Use the Switch up setting move the slider left right to define the switching point from low to medium range LO value and the switching point from medium to high range HI value Changing the switching points in the Switch up setting will automatically adjust the switching points in the Switch down setting Use the Switch down setting move the slider left right to define the switching po...

Page 24: ...r the plot and use the mouse scroll wheel Scroll up to zoom in Scroll down to zoom out Scaling the plots X Y axis Scale the plots by using the mouse operations or the context menu Using a mouse Click and hold the right mouse button as you move the mouse across the plot left right for the X axis or up down for the Y axis Using the context menu Right click the mouse over a plot In the context menu s...

Page 25: ... vector graphics or CSV from plot data The Matplotlib Window option is not in use in the current version of the PPK Depending on the selected export format you may be able to define some export options Click Export to export to a selected format Click Copy to place the selection on the clipboard Click Close to close the Export dialog box ...

Page 26: ...ing steps 1 The PPK needs to be connected to a SEGGER J Link device The nRF5x DK has the SEGGER J Link built in and can be used by connecting to a USB cable Connect the PPK to the nRF5x DK Make sure that the COM switch is in the DK position See Figure 9 Current measurements on the nRF5x DK on page 15 2 The nRFgo Studio is used to erase memory content or program the application HEX file onto the nR...

Page 27: ...ltage VDD_EXT 1 8 3 6 V Micro USB supply voltage V5V 4 5 5 5 V USB voltage tolerances Table 7 Measurement specifications Item Name Min Typ Max Unit Description Maximum DUT admissible current Max_I 70 mA Measurement resolution 1 70 µA range R1_Resol 0 2 µA 70 µA 1 mA range R2_Resol 3 µA 1 70 mA range R3_Resol 50 µA Measurement accuracy 1 70 µA range R1_Accuracy 20 Readout on Average value 1 70 uA r...

Page 28: ...9 Electrical specifications Doc ID 4425_027 v1 0 Page 28 Item Name Min Typ Max Unit Description Sampling rate Meas_Frequency 77 kHz Fixed value ...

Page 29: ...ome reason run the recover_ppk py script in the software folder This should recover the board to the latest firmware I am only measuring noise Make sure you have prepared the nRF5x DK for power measurements by cutting the SB9 as described in Step 1 in Quick start Alternatively check that the DUT select SW2 switch is in the correct position for your configuration My measurements fluctuate when I sh...

Page 30: ...onductor ASA reserves the right to make changes without further notice to the product to improve reliability function or design Nordic Semiconductor ASA does not assume any liability arising out of the application or use of any product or circuits described herein ...

Page 31: ...All rights reserved Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder ...

Reviews: