This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Logging data with PPK

Good day.

We recently bought the NRF52 DK and the Power Profiler Kit with the intent to log power consumption of our battery powered products. Before purchasing the products we did some research to confirm it can log avg current. See picture below.

We downloaded the python software, (nRF6707 Power Profile Kit v1.1.0), from the Nordic website. This is a python program. I've installed python v 2.7.13 and I'm running Windows 8. We flashed the PPK with the provided firmware file and that was successful. However, when we try and launch the program we get an error as shown in the picture below. 

After a bit of searching I downloaded the nrfConnect software package, did the firmware update and can successfully read the avg current consumption, however, you can not log with nrfConnect. It is critically important for us to log this information and we need a solution very quickly. It is not necessary to plot the current on a graph, we just need to log the avg current over a period of time to a file. We can do the processing of that information.

Please advise as to why the Python program is not working and how we can read the current measurements from the PPK and store it to a file.

You help in this matter is much appreciated.

Parents
  • Hi Andreas

    I've uninstalled my J-Link driver, I was using v6.44. Then I installed v6.14; I erased the ppk flash, re-flashed the ppk and then ran ppk.py. I get a different warning, but the program at least opens now. 

    The problem that I have now is that the program opens but no data is coming through. It's not plotting current or showing any current measurements. I've tried with the PPK switches on DK and also connecting my external device to the PPK, but neither is measuring anything. I know my connections are correct because I can measure the current in nRFConnect.

    Any ideas on this? Do you perhaps know when logging will be available in nRFConnect?

    Thanks.

    Kind regards

    David

Reply
  • Hi Andreas

    I've uninstalled my J-Link driver, I was using v6.44. Then I installed v6.14; I erased the ppk flash, re-flashed the ppk and then ran ppk.py. I get a different warning, but the program at least opens now. 

    The problem that I have now is that the program opens but no data is coming through. It's not plotting current or showing any current measurements. I've tried with the PPK switches on DK and also connecting my external device to the PPK, but neither is measuring anything. I know my connections are correct because I can measure the current in nRFConnect.

    Any ideas on this? Do you perhaps know when logging will be available in nRFConnect?

    Thanks.

    Kind regards

    David

Children
No Data
Related