5 ms·
Nordic makes some good products. When I was doing hardware design for a product that uses a battery my options for power profiling were either not to do it or s
by SOLAR_FIELDS 1y ago
Nordic makes some good products. When I was doing hardware design for a product that uses a battery my options for power profiling were either not to do it or spend some eye watering amount of money. Then I discovered Nordic makes the PPKII, a cost effective, highly accurate profiler with quite good software. I detect good things in store for the company just based on the quality of stuff they have been putting out.
- Neywiny 1y agoLooks like it switches different ranges. ST makes something similar that has similar dynamic range without switching. They use analog circuitry (op amps and junk) to compensate for the resistor drop, so the path is uninterrupted. I've had systems where the auto-ranging on a bench meter is enough to cause it to reset. I can't find a schematic for the PPKII (haven't looked too hard though) but if it's actually switching the supply, that can cause issues to devices downstream. Especially if that switching causes a voltage drop change.
- readmodifywrite 1y agoIt switches the detection range, but not the actual power supply. You can ramp from <5 uA up to 500 mA and back all you want. I haven't noticed any glitching on the actual supply. Schematics: https://www.nordicsemi.com/Products/Development-hardware/Power-Profiler-Kit-2/Download https://www.nordicsemi.com/Products/Development-hardware/Pow...
- dragontamer 1y agoWith the onset of cheap 16-bit, 18-bit or even 24-bit sigma delta ADCs, it isn't a very hard circuit to shove a 1 Ohm sense resistor, 2.048V reference and have sensing down to 31uA (16-bit), 8uA (18-bit) or less for 24-bit ADC. SigmaDelta gets pricy if you want higher speeds though. But it's possible.
- ranma42 1y agoI have the ST one (X-NUCLEO-LPM01A), but its range is actually not enough for something like an ESP32, it goes into "overload" as the max current is 50mA for dynamic (100kHz bandwith) and 200mA for "static" measurements. Looks like the PPKII can do up to 1A.
- monegator 1y ago> Nordic makes some good products and godawful software. the SDK for their NRF52/3/4 is pure madness, i haven't even managed to set up the toolchain, documentation always out of date. They used to have another toolchain for the older parts, but good luck setting it up now.
- 5ADBEEF 1y agoI don’t think most have this experience. Zephyr is the future.
- joezydeco 1y agoI've had bad experiences with Zephyr in the past. It's been half-baked and passed around from company to company for ages. Be Linux or don't be Linux, but don't be halfway between the two. I have a lot more hope for PX5.
- machinehum 1y agoI actually disagree. We have lower power bare metal systems, think AVR/STM stuff (in the 1Mhz to 50Mhz range with 128K or less of RAM) here FreeRTOS, no freeRTOS, custom driver code and some basic application code makes sense. For simple to very complex systems. Then there's 1Ghz+ stuff with an MMU and 2GB+ RAM. Linux makes sense here. Companies are now making chips 200Mhz+, 4MB RAM, with no MMU. This is precisely where Zephyr excels, you want a full networking stack? Switch that on. A file system, easy. Driver for some more complex thing? Maybe an SDIO radio? boomboom
- vbezhenar 1y agonRF52820 is 256 KB Flash and 32 KB RAM chip. Actually it's around 150 KB flash, because you need space for 120KB softdevice blob (and some RAM too). And it's perfectly enough for many devices. They want developers to use Zephyr for this chip.
- flyingcircus3 1y ago
- readmodifywrite 1y agoThe PPK2 is one of the best pieces of kit I have and it'd be worth it at 5x the price. There's an unofficial Python library as well. I have power consumption tests running as part of my automated firmware test suite.
- phoronixrly 1y agoDo they have nice open-source SDKs for these nice products?
- vbezhenar 1y agoI'm working with NRF5 SDK. Most of its source is available (no idea if it's free software or not, but sources are there). The most glaring exception is softdevice - that's BLE implementation, it's huge binary blob, taking control over most CPU. Their newer SDK based on Zephyr RTOS, I didn't work with it, but I think it's mostly open source as well.
- Avamander 1y agoYou can use NimBLE on quite a few of these chips.
- fra 1y agoIt's all on Github (https://github.com/nordicsemiconductor https://github.com/nordicsemiconductor), but it is not technically open source as it is a modified BSD that does not let you use the SDKs with other chipsets.
- pabs3 1y agoThe BLE library at least is plain BSD-3-Clause. Most of the other ones are the same, a few don't have licenses applied though. Which repo has the modified BSD license?
- blutack 1y agoThe TinyCurrent or uCurrent can be used for this as well when paired with a scope with scpi. However, the ranges aren't dynamic which is annoying if you're using something a WiFi part where you're going from uA to 200mA. https://n-fuse.co/devices/tinyCurrent-precision-low-Current-Measurement-Shunt-and-Amplifier-Device.html https://n-fuse.co/devices/tinyCurrent-precision-low-Current-...
- SOLAR_FIELDS 1y agoThat was actually very much close to my use case - ESP32 modules sit right in this range.
- deleted 1y ago[deleted]
- cushychicken 1y agoLove that most of the comments here are love for PPKII Strong agree with all those comments - it’s a great little tool at a great price!