You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/08/04 18:09:19 UTC
[GitHub] [incubator-nuttx] daniel-p-carvalho opened a new pull request #4284: stm32_pmw: fix pwm_stop() function to enable multiple PWM start and stop
daniel-p-carvalho opened a new pull request #4284:
URL: https://github.com/apache/incubator-nuttx/pull/4284
## Summary
Fix a problem that happens when we try to stop and restart a PWM signal. The problem seems to be related with pwm_stop() function. This function set PWM frequency to zero and reset TIMER peripheral to it's default state. From my understanding the pwm_start() funtion is not able to reconfigure the timer to a functional state. So I change this function to disable the timer and timer outputs.
## Impact
This change may break stm32_pwm driver.
## Testing
Tested on:
- nucleo-g431:pwm
- stm32f334-disco:powerled
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis merged pull request #4284: stm32_pmw: fix pwm_stop() function to enable multiple PWM start and stop
Posted by GitBox <gi...@apache.org>.
acassis merged pull request #4284:
URL: https://github.com/apache/incubator-nuttx/pull/4284
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org