2017-08-10 02:39 AM
hello
Can i change 3,3 v Gpio output in stm32f1 to 5V ?
Solved! Go to Solution.
2017-08-10 05:50 AM
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.
2017-08-10 03:38 AM
Hello
Bromand.Mahmoud
,you cannot set output to 5V directly from STM32 using push-pull option.
Best regards,
Tilen.
2017-08-10 03:52 AM
Do you have any idea about that?
2017-08-10 05:50 AM
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.