Skip to main content
moez0102
Associate
July 12, 2018
Question

TIMx_CH1_ETR vs TIMx_CH1

  • July 12, 2018
  • 2 replies
  • 1135 views
Posted on July 12, 2018 at 14:55

Could you explain me the difference between TIMx_CH1_ETR and TIMx_CH1, please?

In deed, I would like to replace STM32L071 with STM32F091 (PA0 - pin n°14).

In general, I would like to connect an external clock to a timer pin. My goal is to use the timer alone when the processor in Idle mode to save power. So, could I use TIMx_CH1_ETR or TIMx_CH1 or both are allowed, please?

    This topic has been closed for replies.

    2 replies

    waclawek.jan
    Super User
    July 12, 2018
    Posted on July 12, 2018 at 16:09

    TIMx_CH1_ETR is a - somewhat confusing - way to tell, that this pin is connected internally to *both* the CH1 and the ETR nodes of the TIMx module.

    In other words, as long as you don't use any of the ETR functions, you can use TIMx_CH1_ETR in exactly the same way as you use TIMx_CH1.

    JW

    moez0102
    moez0102Author
    Associate
    July 13, 2018
    Posted on July 13, 2018 at 09:24

    Thanks,

    However, when we use 

    TIMx_ETR and when we use 

    TIMx_CH1 in general, please?