Skip to main content
John Lowen
Associate II
Aug 2, 2017 6:01 PM UTC
Question

Timer output looped to counter input

Posted on August 02, 2017 at 20:01

I am using an STM32F746 for PWM generation and counting. When I loop the PWM output back to a counter, the amplitude of the PWM drops from 3.3v to about 2.0v. If I set the counter pin to input mode, the 3.3 v level is restored regardless of any pullup configuration. What is there about the counter input that will cause a timer output to drop when configured in counter mode?

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    Aug 2, 2017 6:49 PM UTC
    Posted on August 02, 2017 at 20:49

    Sounds like the pin/peripheral is misconfigured. A TIM input shouldn't drive the pin, yours looks to be.

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