Skip to main content
michaellange9
Associate III
September 5, 2008
Question

Pin configuration for TIM1

  • September 5, 2008
  • 3 replies
  • 1580 views
Posted on September 05, 2008 at 11:01

Pin configuration for TIM1

    This topic has been closed for replies.

    3 replies

    michaellange9
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:44

    Trivial question... (regarding STM32F103)

    I'd like to connect 3 hallsensors to TIM1 and create 6 outputsignals with TIM1. At which pin can I connect the 3 Hallsensors and where are the 6 outputsignals?

    In the reference manual, page 201/Fig. 47, the names TIMx_CH1, -CH2, CH3 are used for input and for output. In the datasheet (page 24) I can find only TIMx_CH1..2...3 and TIMx_CH1N..2N..3N. I guess this are the compare-outputs (connected with OC1..). Where are the physical capture inputs????

    Michael

    michaellange9
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:44

    Fine, that makes sense. Now I understand...

    Thank you tibo!

    Cheers Michael

    tibo
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:44

    a timer channel can be used only for capture or (!) compare,

    so the TIMx_CHx input /output are mapped on the same physical

    pin. In the reference manual ''12.3.18 Interfacing with hall

    sensors'' is described a solution using two timers. Perhaps

    this is addressing your question.