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

Extended logging using Power Profiler Kit.

Hello Everyone,

I am using Nordic's Power Profiler Kit to estimate the current consumption of an external board. I have been able to configure it properly and getting results on the nRF Connect v2.3.0 - Power Profiler, (screenshot attached)

However, I am getting readings of only 120 seconds, 

My query is, is there any way to get readings for at least 24 hours. I understand this might be outside the current capabilities of the power profiler kit software, hence I am open to writing any small program or script which can read the data intended for the power profiler kit and store it in a log for at least 24 hours.

Any help would be appreciated.

Thanks and Regards

Sujan Nag.

Parents
  • Most likely 24 hours would be a stretch too long. You can have a look at the source code for the ppk SW here. You can change the const variable in line 42 (BUFFER_LENGTH_IN_SECONDS). I would be careful to increase this value all too much, as it requires quite a bit of memory. You might be able to get 10 to 20 minutes of logging if you have enough memory & CPU power, but I doubt you'd be able to increase this value much more than that. If you increase the value too much, there might be some unintended memory consequences, so be careful.

Reply
  • Most likely 24 hours would be a stretch too long. You can have a look at the source code for the ppk SW here. You can change the const variable in line 42 (BUFFER_LENGTH_IN_SECONDS). I would be careful to increase this value all too much, as it requires quite a bit of memory. You might be able to get 10 to 20 minutes of logging if you have enough memory & CPU power, but I doubt you'd be able to increase this value much more than that. If you increase the value too much, there might be some unintended memory consequences, so be careful.

Children
No Data
Related