Alternative usage of timer channel pins
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-10 6:42 AM
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
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-10 7:00 AM
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..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-10 7:11 AM
Posted on June 10, 2014 at 16:11
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.
