‎2022-01-14 05:16 AM
I am using the STM32L072CBT and wish to use PB15 as PWM output. I have created the project in CubeMx but selecting PB15 offers no timer channels at all. I have double checked the data sheet which shows PB15 with AF1 as TIM15_CH2. I have created a new empty project and tried the same just to make sure that there is no clash but I see the same. Am I missing something obvious here?
Any comments, much appreciated
Solved! Go to Solution.
‎2022-01-14 05:24 AM
Welcome, @GSewe​, to the community!
with the STM32L072, PB15 has no possibility to output PWM from a timer. What makes you think this will work?
Regards
/Peter
<edit>You have mixed it up with the STM32F072...</edit>
‎2022-01-14 05:24 AM
Welcome, @GSewe​, to the community!
with the STM32L072, PB15 has no possibility to output PWM from a timer. What makes you think this will work?
Regards
/Peter
<edit>You have mixed it up with the STM32F072...</edit>
‎2022-01-14 05:27 AM
Schoolboy error! I have been looking at the F072 data sheet! Thank you for your rapid reply and apologies for my mistake!
Best regards
Graham
‎2022-01-14 05:29 AM
Don't worry, things happen. ;)
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter