| Author | beginning argument ( Replies received: 2 ) |
| michael.lange |
Posted 05-09-2008 at 09:03   |

Registered on : 06-05-2008
Messages : 19
OFF-Line
|
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
|
|
|
Profile
Quote
|
| tibo |
Posted 05-09-2008 at 14:13   |

Registered on : 06-09-2008
Messages : 39
OFF-Line
|
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.
|
|
|
Profile
Quote
|
| michael.lange |
Posted 05-09-2008 at 14:31   |

Registered on : 06-05-2008
Messages : 19
OFF-Line
|
Fine, that makes sense. Now I understand...
Thank you tibo!
Cheers Michael
|
|
|
Profile
Quote
|