Skip to main content
jones.david
Associate III
May 20, 2015
Question

can ''one pulse mode'' in timer be used to trig other timers?

  • May 20, 2015
  • 1 reply
  • 441 views
Posted on May 20, 2015 at 14:40

i want to make two pulses tdelay1 and tdelay2 with different pulse width after rising edge of an external signal(let's name it sync pulse) also i want to calculate starting time of many signals

so i decide to use timers as a master and slave

the best way that is in my mind is to use two timers(channel1 and channel2 in both timers because as i understand OPM is working in just channel 1&2 one as capture input and the other as pwm output) in one pulse mode to make those two signals and i also want to calculate starting time and pulse width of 6 signals based on Synced signals

i also want to use just one interrupt in each cycle. and because of that i use a channel for rising edge and a channel for falling edge to calculate my desire.

so i want to use those two timers as master to other timer(slave reset of the other)

can OPM be Master?

can Other OPM Channel Except 1 & 2 be used as input capture?
    This topic has been closed for replies.

    1 reply

    nesrine
    Visitor II
    June 16, 2015
    Posted on June 16, 2015 at 19:15

    Hello,

    If you can refer to this two application notes available in ST website,you can found information about Timers interconnection.

    •http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00154959.pdf?s_searchtype=keyword

    •http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00156364.pdf?s_searchtype=keyword

    I hope that help,

    Syrine.