Skip to main content
selmesal
Associate II
Aug 17, 2016 6:06 PM UTC
Question

STM32F4-Discovery 5V pwm

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
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    Aug 17, 2016 6:43 PM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..