cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO pin analog voltage measurement

Ebun.1
Senior

Hello

I am considering using STM32F769NI.

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

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Ozone
Lead

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.

View solution in original post

4 REPLIES 4
Ozone
Lead

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.

Thank you for information.

Check the data sheet.

TDK
Guru

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".

Thank you for information.

Check the data sheet.