cancel
Showing results for 
Search instead for 
Did you mean: 

Can I read the voltage through stm32f401ccu6 and ST-LINK?

Park
Associate II

I'm going to use CubeMX, is there a way to measure the voltage input through STM32F401CCU6 and ST-LINK? I'd like to know an example code or method if there is

3 REPLIES 3

The short answer is, no.

The long answer is, theoretically yes, but it's unlikely anybody ever made the effort to do that.

JW

KnarfB
Principal III

ST-LINK has a TVCC pin for measuring the target voltage. You will find the value in the logs or STM32CubeProgrammer.

hth

KnarfB

AScha.3
Chief III

Just to make sure: you want see supply voltage of target or voltage at a pin of target, by ADC of target CPU?

If you feel a post has answered your question, please click "Accept as Solution".