Skip to main content
Associate II
August 16, 2024
Solved

I want to know how to use analog pins as digital pins. (nucleo-f446re)

  • August 16, 2024
  • 1 reply
  • 1178 views

I'm using nucleof446reboard and I'm running out of digital pins. Is there a way to use analog pin as a digital pin??

Best answer by AScha.3

Sure, just try. And see on circuit of the board, if the pins are free or connected to something.

I don't have the circuit here to see, so look yourself... :)

1 reply

AScha.3
Super User
August 16, 2024

All standard pins can be used digital, just see in Cube, what the pins can be set to - then you know.

And if a pin already set to analog, Set it to unused, then you can choose, what ever is possible on this pin.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
August 16, 2024

I have never changed the pins first set on the board separately. The analog pins I mentioned are the pins on the left side of the board. Can I change these pins from cube mx to digital pins?

AScha.3
AScha.3Best answer
Super User
August 16, 2024

Sure, just try. And see on circuit of the board, if the pins are free or connected to something.

I don't have the circuit here to see, so look yourself... :)

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