Skip to main content
Ebun.1
Senior
Mar 23, 2020 7:19 AM UTC
Solved

GPIO pin analog voltage measurement

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.
Ozone
OzoneBest answer
Principal
Mar 23, 2020 7:30 AM UTC

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
Mar 23, 2020 7:30 AM UTC

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
Mar 23, 2020 8:23 AM UTC

Thank you for information.

Check the data sheet.

TDK
Mar 23, 2020 8:28 AM UTC

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
Mar 23, 2020 8:31 AM UTC

Thank you for information.

Check the data sheet.