Hello. I am working on a project where we need measure current consumption of our devices in mass production to ensure the devices operate in expected current consumption mode.
We are considering various options for that. One of the options is to use Keysight measuring equipment that is capable of measuring very small currents (down to pA) and it also supports serial commands. So we can easily request the data and get the response as well as control the Voltage output and etc.. The small issue with that is that such equipment can cost 5000 - 10000 Eur which is a bit steep.
All we really need to do is to send a couple of commands (via Python script maybe?)
1. Select the source meter mode
2. Enable the Source voltage
3. Collect average current consumption reading
Thats it, we can then look at the current consumption reading and decide whether the device is in the correct operating mode or not.
I have had some previous experience with PPK II ( I use it to measure device current consumption in sleep modes for various projects). I thought perhaps there is a simple way to setup the device and extract the readings using serial commands from the PPK II? I have found relevant post here:
Automating Power Profiler Kit measurements from the command line
But this is from 2019 and talking about PPK I. Perhaps something has changed as the above method seems quite complex? I
Just out of curiosity, I have tried to run the example commands but could not get it to work:
C:\Users\petrikas.lu\Downloads\ppk_api-master\ppk_api-master>python main.py -p 3 -a 5 main.py: error: An error was reported by NRFJPROG DLL: -13 NO_EMULATOR_CONNECTED.
Perhaps it is not compatible wit PPK II?
would appreciate any kind of response and advice on how to get moving forward. If you need any other information from me, do not hesitate to ask. Thanks in advance.