2014-06-10 06:42 AM
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-channels2014-06-10 07:00 AM
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.2014-06-10 07:11 AM
Thank you for
your quick response
. The MicroXplorer
irritated
me because it
isn't
possible to configure
a timer with
fewer channels than
supported by the timer periphery.