Skip to main content
Roadrunner1805
Associate III
October 18, 2023
Question

STLink-V3PWR Bridge

  • October 18, 2023
  • 3 replies
  • 3166 views

Hi,

I'm using a STLink-V3PWR. I have seen in the doc AN5999 that it's possible with the bridge to measure current/power consumption. Is there any DLL/API/Lib or C-Code example available for this?

BR Sebastian

This topic has been closed for replies.

3 replies

jiangfan
ST Employee
October 20, 2023

try STM32CubeMonitor-Power (STM32CubeMonPwr) 

Roadrunner1805
Associate III
October 20, 2023

I'm already using this tool. But I want to develop my own application to measure current/power. So therefore I'm asking for the DLL...

jiangfan
ST Employee
October 20, 2023

OK, this is the advanced use of the tool (hardware and software), it is interesting, but I suppose it is not supported yet. I don't know if the advanced use (driver API open to customers) be supported in the future. Perhaps it depends on the needs of the customer.

videojames
Associate III
October 22, 2023

I am also interested in control/operation of STLink-V3PWR.
For use in own software. Preferably via a CLI interface. 

It seems that this is possible with the X-NUCLEO-LPM01A board, so it seems reasonable to have similar functionality with the V3PWR, or straight from the STM32CubeMonitor-Power software.
https://community.st.com/t5/stm32cubemonitor-mcus/is-there-a-way-to-use-the-stm32cubemonitor-power-in-a-headless/td-p/66231

Roadrunner1805
Associate III
October 23, 2023

The best will be to have a DLL or API. I guess STM32CubeMonitor-Power software uses such a DLL or API right? It would be also great to get the avg value from PowerShield firmware.

AM_it
ST Employee
December 5, 2023

Hello,

As Jiangfan already answered the powershield UM2269 describes the PowerShield VCP commands,  a new document updated for STLINK-V3PWR  will be done to provide the STLINK-V3PWR VCP commands.  STM32CubeMonitor-Power uses these commands on the VCP-PWR interface to communicate with the  STLINK-V3PWR.

In the meantime connecting with a putty/teraterm tool to the STLink Virtual COM Port PWR and doing "stlp > help" will give you the list of supported STLINK-V3PWR command.

Best regards