NXP application note showing how the MCU-Link debug probe measures target power and energy on the LPC55S36-EVK.
This NXP application note (AN13660) demonstrates that the MCU-Link is a reliable tool for power measurements in different applications. The MCU-Link is a cost-effective debug probe that works with MCUXpresso IDE and CMSIS-DAP-compatible tools, and includes a USB-to-UART bridge (VCOM). The PRO and on-board designs add energy measurement, which is the focus of this note.
The note describes the MCU-Link energy measurement hardware, which measures supply voltage and current with automatic low/high current range switching, and compares its results with a Joulescope on an LPC55S36-EVK. It also covers the LPC55S36 power-saving modes and the jumpers used to connect the measurement circuit to board rails.
| Core | dual Arm Cortex-M33 |
|---|---|
| Clock speed | 150 MHz |
| Target voltage range | 1.2 V to 5 V |
| Analog signal monitor range | 1.2 to 3.6 V |
| Power data sample rate | up to 100kS/s |
| ADC | LPC55S69 16-bit ADC |
| MCU-Link firmware | CMSIS-DAP V2.250 or higher |
| MCUXpresso IDE | version 11.5.1 or above |
| LPC55S36 flash | up to 256 KB |
| LPC55S36 SRAM | up to 128 KB |
| LPC55S36 ADCs | two 16-bit 2.0 Msamples/sec ADCs |
| LPC55S36 DACs | three 12-bit 1 Msample/sec DACs |
| Serial console settings | 115200 baud, 8 data bits, no parity, 1 stop bit |
Remove jumpers JP74 and JP75 and connect them in line with the supply rail, just as an ammeter would be connected; to measure total current, remove JP33.
The switch from low to high current range is controlled solely by hardware to avoid excessive voltage drop across the sense resistor; the firmware switches back to low range on an interrupt from a monitoring circuit.
MCUXpresso IDE version 11.5.1 or above, MCU-Link firmware CMSIS-DAP V2.250 or higher, and LPC55S36-EVK SDK version 2.10.2 or above.