cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4-Discovery 5V pwm

selmesal
Associate II
Posted on August 17, 2016 at 20:06

Hello, 

I currently have a 3.3V PWM on TIM3_Channel2.

Can the output be changed to a 5V logic?

Sel
1 REPLY 1
Posted on August 17, 2016 at 20:43

It depends on what you are driving.

You should probably consider using a buffer that can do the level conversion.

You can configure the pin in open-drain mode, and have a pull-up resistor to 5V on pins that are FT (Five volt Tolerant) per data sheet.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..