cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f4 timer output pin config

rezadjadidi
Associate II
Posted on July 13, 2016 at 17:02

Hi

I set timer 1 for output pwm on a pin.

i need when timer is disable, pwm output will have ground level.

when output pin is pull up and timer disable,output pin  have VDD LEVEL

when output pin is pull down  and timer disable,output pin  have GND LEVEL

I SEE ST EXAMPLES PROGRAMS SET PWM OUTPUT PULL UP.NOW IF I SET PULL DOWN , MY DEVICE CORRUPT??

#stm32f4-pwm-output-pin-pull-dow
1 REPLY 1
Walid FTITI_O
Senior II
Posted on July 13, 2016 at 17:49

Hi jadidi.reza,

You can activate either pull up or pull-down, and this will be fine . Just make the test.

-Hannibal-