Skip to content
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

Embed custom PWM frequency logic #43

Open
VGavara opened this issue Feb 25, 2021 · 0 comments
Open

Embed custom PWM frequency logic #43

VGavara opened this issue Feb 25, 2021 · 0 comments
Labels
help wanted Extra attention is needed nice to have New features that can be considered as optional

Comments

@VGavara
Copy link
Owner

VGavara commented Feb 25, 2021

Right now custom PWM frequency on SAMD21 based hardware is being managed using the SAMD21 Turbo PWM library. It allowed a fast integration of custom PWM features, but also arises some problems:

  • Part of the library code is not being used
  • Resolution is limite to 1000 steps, though ArduinoTB6612FNG supports resolutions up to 16 bit and, moreover, the resolutions under 23kHz frequencies are >= 2048 steps (see Wiki).
  • Imposes a library dependency

The SAMD21 Turbo PWM library strictly relevant code must be extracted, simplified and stored in a new include file. Documentation making reference to the SAMD21 Turbo PWM dependency must be updated.

@VGavara VGavara added enhancement New feature or request help wanted Extra attention is needed nice to have New features that can be considered as optional labels Feb 25, 2021
@VGavara VGavara removed the enhancement New feature or request label Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed nice to have New features that can be considered as optional
Projects
None yet
Development

No branches or pull requests

1 participant