cancel
Showing results for 
Search instead for 
Did you mean: 

NPU and CPU power consuption measurment

RanjithRemasan
Associate II

Hi 

 

For some of my project, I need to measure the power consumption of the STM32N6570-DK while running a model on the CPU only versus an NPU + CPU accelerated workload.
 
I am following the guide 
 
Based on these documents, I plan to measure the current via CN2 pins 3 and 4 while powering the board through CN6 (USB-C).
 
My Question:
Does measuring current at this point (CN2 pins 3 & 4) isolate the consumption of the NPU and CPU (VDDCore)? Specifically, I want to know if this measurement will include the power draw from the camera module and LCD display if they are active in the same project.
 
Any guidance on isolating the core MCU power from the peripheral power would be greatly appreciated.
 
 

 

 

2 REPLIES 2
jiangfan
ST Employee

Question:
Does measuring current at this point (CN2 pins 3 & 4) isolate the consumption of the NPU and CPU (VDDCore)? Specifically, I want to know if this measurement will include the power draw from the camera module and LCD display if they are active in the same project.

brief answer (answer from glance, not fully correct):

measuring current at this point (CN2 pins 3 & 4) will not isolate the consumption of the NPU and CPU (VDDCore).

this measurement will not include the power draw from the camera module and LCD display if they are active in the same project.

RanjithRemasan
Associate II

HI @jiangfan 

 

       I am planning to compile the Model(STM32 Cube AI studio) with and without Neural-ART. Then planning to measure current follow from CN2-3 to CN2-4 separately for the two models compiled(with and without Neural-ART). Hope this will give current consumption during CPU operation and Current consumption during CPU + NPU operation.

 

1) Is it possible to use the same pin for measuring current consumption in both CPU-only and combined CPU + NPU processing modes?

2) Could you please confirm that does the pin i have selector is correct or not for the current measurement(I am powering the board via CN6)?