cancel
Showing results for 
Search instead for 
Did you mean: 

Alternative usage of timer channel pins

stm32239955
Associate
Posted on June 10, 2014 at 15:42

Hello,

as described in the reference manual, the STM32F103 have timers with up to four channels - for example TIM1 - TIM5. But in my application i need only one channel (for output compare or pwm output).

In the MicroXplorer all four channel pins are engaged if a timer function (like pwm output, outputcompare or anything else) are selected.

Can i use the remaining channels as normal GPIO? If the answer is Yes, how can i reach this?

#gpio-timer-channels #timer-channels
2 REPLIES 2
Posted on June 10, 2014 at 16:00

Can i use the remaining channels as normal GPIO? If the answer is Yes, how can i reach this?

Yes, all the pins can be in either AF (peripheral), GPIO mode (IN/OUT). It's pretty straight forward to do in a code based configuration. In Micro Xplorer I guess you'd just click on and change the properties, but it's not a tool I spend a lot of time with.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
stm32239955
Associate
Posted on June 10, 2014 at 16:11

Thank you for

your quick response

.

The MicroX

plorer

irritated

me because it

isn't

possible to configure

a timer with

fewer channels than

supported by the timer periphery.