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

Add Spread Spectrum Modulation to Assembly Code Generation #8

Open
areiter128 opened this issue Nov 21, 2019 · 0 comments
Open

Add Spread Spectrum Modulation to Assembly Code Generation #8

areiter128 opened this issue Nov 21, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@areiter128
Copy link
Contributor

areiter128 commented Nov 21, 2019

  • Class: Feature Request
  • Complexity: Item
  • Priority: Medium

Spread Spectrum Modulation (SSM) is a highly efficient cycle-by-cycle PWM modulation technique used to efficiently spread the noise spectrum to improve EMC. It's commonly implemented by utilizing the LFSR register as pseudo random generator. The random number derived from this register is used as fractional factor which can be masked with user-defined bit masks to restrict the modulation range to a limited percentage ratio. This windowed modulation factor is then multiplied with all timing values (e.g. period, duty cycle, phase shifts, ADC trigger locations) simultaneously. As all target registers are known at runtime, SSM can be implemented as generic code block into the control loop assembly code to ensure most efficient execution.

@areiter128 areiter128 added the enhancement New feature or request label Nov 21, 2019
@areiter128 areiter128 self-assigned this Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant