Hi I am having issues with cube MX, why am I unable to set timer 5 to anything when I have PA1 and PA1_C in use ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 2:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 6:41 AM
TIM5 is initialized in the IOC file you sent, and channels are able to be changed. Be more specific in your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 8:13 AM
My question is why am I unable to change PA1_C as timer 5 in my .ioc file thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 8:25 AM
PA1_C is not a valid pin for TIM5_CH2 directly. PA1 is, but you're already using it for TIM2_CH2.
You can connect PA1_C and PA1 internally, but since one is already in use, that won't help.
If you clear the function on PA1, you can set PA1_C as TIM5_CH2 as expected.
