7 years, 4 months ago.

Can I get 5V from a digital output ?

Hello,

I want to know if I can get 5v from the digital output ?

I use Nucleo - F334R8

Faris

1 Answer

7 years, 4 months ago.

No. The best you can do is set the IO pins to be open drain and then use a pull-up to 5V

Not all the pins are 5V tolerant, Only pins with a type of FT and FTf in table 13 of the datasheet can take 5V.

If you need sharper edges than a pullup will give you then you need to use a 5V output buffer to drive the lines.

Accepted Answer

Thank you

posted by Alexandre JAFFRE 28 Nov 2016