nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

PPK2 high CPU usage in linux

I am using the PPK2 kit to perform current measurements of our system and what I notice is that after a couple of minutes the program becomes very sluggish.

When I open my terminal and run htop I see that the ppk2 process takes more than 100% cpu usage of one of my cores.

The cpu usage fluctuates between 40 and 140% and when it is <= 100% the application runs very smooth but as soon as it requires more than 100% it feels like it is running on a 286.

Changing the sampling parameters does not solve the issue, I am currently running at 100sps but even that causes it to slow down.

Only when I stop the measurement, select Real-time and back to datalogger that it is smooth again for the first minute.

Running Linux Mint 20.3 Cinnamon 5.2.7

Related