5 years, 5 months ago.

Can I get 5V from a digital output ?


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

I use Nucleo - F334R8


1 Answer

5 years, 5 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