Skip to content

Implemented DMA support for PWM #443

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

python36
Copy link
Contributor

  1. Changed the calculation of Compare_Value to avoid variable overflow after the first multiplication.
  2. The Compare_Value calculation has been moved to a separate Calculate_Compare_Value function to allow this function to be used to calculate DMA array values.
  3. Created Data_Register_Address function to get the timer register address for use in DMA.
  4. Created demo_pwm_dma_continuous example to demonstrate usage of DMA for PWM. Realized smooth blink on STM32F4XX board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant