cancel
Showing results for 
Search instead for 
Did you mean: 

5.5 output gpio

mahmoud boroumand
Associate III
Posted on August 10, 2017 at 11:39

hello 

Can i change  3,3 v Gpio output in stm32f1 to 5V ?

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on August 10, 2017 at 12:50

Hi Mahmoud,

 once the STM32 is supplied from 3V3, it will not generate bigger voltage on its GPIO ring.

However, pins marked as FT (5V-tolerant) may be configured as open-drain and, if you use external pull up resistor to 5V rail, you can switch between 5V and zero. This solution has one drawback, the log. 1 output impedance is determined by the resistor size and GPIO current capability. Further the speed of toggling is reduced.

View solution in original post

3 REPLIES 3
Tilen MAJERLE
ST Employee
Posted on August 10, 2017 at 12:38

Hello

Bromand.Mahmoud

‌,

you cannot set output to 5V directly from STM32 using push-pull option.

Best regards,

Tilen.

mahmoud boroumand
Associate III
Posted on August 10, 2017 at 12:52

Do you have any idea about that?

Posted on August 10, 2017 at 12:50

Hi Mahmoud,

 once the STM32 is supplied from 3V3, it will not generate bigger voltage on its GPIO ring.

However, pins marked as FT (5V-tolerant) may be configured as open-drain and, if you use external pull up resistor to 5V rail, you can switch between 5V and zero. This solution has one drawback, the log. 1 output impedance is determined by the resistor size and GPIO current capability. Further the speed of toggling is reduced.