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

Merged
merged 3 commits into from
May 23, 2025
Merged

Implemented DMA support for PWM #443

merged 3 commits into from
May 23, 2025

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.

@reznikmm reznikmm merged commit 8a62be9 into AdaCore:master May 23, 2025
2 of 3 checks passed
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.

3 participants