Skip to main content
fiulala
Associate III
February 19, 2015
Question

5 V pulse board stm32f407

  • February 19, 2015
  • 2 replies
  • 543 views
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
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 19, 2015
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
fiulala
fiulalaAuthor
Associate III
February 23, 2015
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