Skip to main content
Ebun.1
Senior
March 23, 2020
Solved

GPIO pin analog voltage measurement

  • March 23, 2020
  • 4 replies
  • 1567 views

Hello

I am considering using STM32F769NI.

Can all GPIO pins measure analog voltage when set to input?

Thank you.

This topic has been closed for replies.
Best answer by Ozone

That depends on your interpretation.

The interpret the voltage on the input pin as binary signal (0 or 1 / L or H), using the threshold (datasheet) as reference.

A voltage can only measure pins with can function as ADC inputs (pin multiplexing). Again, check the datasheet.

4 replies

Ozone
OzoneBest answer
Principal
March 23, 2020

That depends on your interpretation.

The interpret the voltage on the input pin as binary signal (0 or 1 / L or H), using the threshold (datasheet) as reference.

A voltage can only measure pins with can function as ADC inputs (pin multiplexing). Again, check the datasheet.

Ebun.1
Ebun.1Author
Senior
March 23, 2020

Thank you for information.

Check the data sheet.

TDK
March 23, 2020

No, only pins connected to the ADC can read an analog voltage. The rest read digital only.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Ebun.1
Ebun.1Author
Senior
March 23, 2020

Thank you for information.

Check the data sheet.