Skip to main content
Graduate
July 11, 2023
Question

STM32CubeMonitor-Power Energy Values sometimes breaks with 1.2.1?

  • July 11, 2023
  • 3 replies
  • 2066 views

Something went wrong with the Energy Values in µJ yesterday.
If I am not mistaken, to go from µA to µJ should be voltage*current*seconds, so 2546µA average current for 2,052 seconds with 3,3V input voltage should be 17240µJ.

The monitor software said 1332,621µJ. I have no idea why.

OliM_0-1689059068663.png 

A similar measurement after restarting this morning looks ok again:

OliM_1-1689059796346.png

Edit: A few minutes later it's broken again and even reconnecting the power meter and restarting the software does not help to recover again

OliM_0-1689060774482.png

 

 

    This topic has been closed for replies.

    3 replies

    ST Employee
    July 11, 2023

    Hi @OliM ,

    You are right it looks like something wrong with the way STM32CubeMonitor-Power calculates the energy based on the measurement.
    I will escalate this issue, please can you give me more information:
    -  Are you using the new STLINK-PWR ?
    - Can you confirm that your are using the version v1.2.1?

    Best regards,
    Aime 

    OliMAuthor
    Graduate
    July 11, 2023

    As you can see on the screenshots, I am using the  STLINK-V3PWR at firmware V4J2B1P4 with the monitor version v1.2.1 . It feels in the moment like only the first measurement of the day is computed correctly. I have some other tasks to do because of which I can not restart my PC right now, but I will also try that some time later.

    i have used the 1.1.x with the L5 disco with integrated power meter in the past and have not seen the issue there.

    ST Employee
    July 11, 2023

    Hi @OliM , 

    Thank you for your feedback, I escalated this to your Tools team.
    We will check if the issue is due to the STLINK-PWR firmware or STM32CubeMonitor-PWR, and get back to you as soon as possible.
    For now, can you try on the previous version of STM32CubeMonitor-PWR (v1.1.1) if you have the same issue? Please keep the STLINK-PWR for the trial.

    Best regards,
    Aime

    OliMAuthor
    Graduate
    July 11, 2023

    v1.1.1 seems to be stable (but of course missing the power on/off switch of 1.2.1)

    Visitor II
    January 11, 2024