-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
axi_pwm_gen: Add support for 16 channels #1213
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alin724
force-pushed
the
pwm_gen_8ch
branch
2 times, most recently
from
November 7, 2023 09:55
7b972d1
to
864cdf3
Compare
alin724
requested review from
acostina,
AndreiGrozav and
PopPaul2021
as code owners
November 7, 2023 11:31
alin724
changed the title
axi_pwm_gen: Add support for 8 channels
axi_pwm_gen: Add support for 16 channels
Nov 12, 2023
This was referenced Nov 12, 2023
V2:
|
Signed-off-by: Alin-Tudor Sferle <[email protected]> Signed-off-by: AndreiGrozav <[email protected]>
When leaving the offset equal to zero for a pwm channel. That pwm channel was not waiting for all channels to get in sync after a load config. Signed-off-by: AndreiGrozav <[email protected]>
Previously when issuing a load_config, each pwm channel was stopped in its tracks and waited for an external sync, if that was active, or load_config release. The desired behaviour is to wait for the pwm channels to finish their events from the current period, before a new aligned start. Also, the first positive edge of each pulse was initiated only in the second pwm channel period. This niche behaviours have not affected any functionality in the long term alignments for current setups. Signed-off-by: AndreiGrozav <[email protected]>
Signed-off-by: AndreiGrozav <[email protected]>
V2: Squashed cleanup and quartus requirements-related commits into a single one with the name indicating to the support for up to 16 channels; |
AndreiGrozav
approved these changes
Dec 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
axi_pwm_gen: Add support for 16 channels
N_PWMS
parameter [channels that will have valid data];axi_pwm_gen
[16];axi_pwm_gen
top and regmap modules;PR Type
PR Checklist