cancel
Showing results for 
Search instead for 
Did you mean: 

Pin configuration for TIM1

michaellange9
Associate II
Posted on September 05, 2008 at 11:01

Pin configuration for TIM1

3 REPLIES 3
michaellange9
Associate II
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

tibo
Associate II
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.

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

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

Thank you tibo!

Cheers Michael