cancel
Showing results for 
Search instead for 
Did you mean: 

5 V pulse board stm32f407

fiulala
Associate II
Posted on February 19, 2015 at 16:28

Hello, i want to generate a periodic pulse of 5V into a pin using a TIMER. Has someone a code similar to this?

Thank you

#timers #stm32f4 #stm32f407 #discovery
2 REPLIES 2
Posted on February 19, 2015 at 16:41

Use standard timer code, pick an FT pin, set it in OD mode, and pull to 5V externally.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
fiulala
Associate II
Posted on February 23, 2015 at 13:46

Got it! Thank you clive. One more question: how do I have to configure the timer if I want to make for example 10 pulses and then stop. Using Counter Mode Down maybe? How should the maín look like?

Thank you