-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32F0 nucleo PWM output not working #26607
Comments
@erwango I'm using nucleo_f091rc board. I have adaptions done and driver is working just I think no signal is muxed properly thus I don't have any output. Thanks. |
for example |
@FRASTM ok thanks I'll add it to pinmux and retest. Thanks. |
@nandra please get back to us when you have new results |
This is my changes:
but unfortunately cannot get output on any of above mentioned pins. Am I missing still something? Thanks. |
what is the PA1 for TIM2_ CH2 configuration : Pull up or Pull down ?
|
I just set: |
yes, if you could try a combination of STM32_PUSHPULL_PULLUP | STM32_OSPEEDR_HIGH_SPEED |
@FRASTM I've tried:
but unfortunately still nothing. |
why not PA1 |
OK this seems to do the trick. Can I create pull request with related changes to have PWM working on F0 nucleo? Thanks. |
Sure, go ahead! |
@nandra if you're satisfied with the proposal can you close the point |
Closing the issue, as last feedback was positive and no update since then |
Use basic sample blinky_led to verify stm32f0 nucleo pwm output. Enable timer2 and pwm nodes in devicetree. Despite of that fact there is no pwm output on any pin. I think that pinmux is maybe wrong but cannot see even pinmux defines for timer. Does anyone try to run pwm on stm32f0 nucleo board to share? Thanks.
The text was updated successfully, but these errors were encountered: