Staging/xlnx/main next ad9084 dev ffh#3084
Closed
omaganap wants to merge 1 commit intoanalogdevicesinc:staging/xlnx/main-next-ad9084-devfrom
Closed
Staging/xlnx/main next ad9084 dev ffh#3084omaganap wants to merge 1 commit intoanalogdevicesinc:staging/xlnx/main-next-ad9084-devfrom
omaganap wants to merge 1 commit intoanalogdevicesinc:staging/xlnx/main-next-ad9084-devfrom
Conversation
Collaborator
|
please use (1) https://andrewlock.net/smoother-rebases-with-auto-squashing-git-commits/ |
f704c69 to
4b38cfa
Compare
Setting up a "trigger master" so the hardware can handle NCO profile switching automatically. This means we can do frequency hopping on a timer instead of manually toggling GPIOs or registers every time. Key changes: -Added FFH_TRIG_PERIOD to sysfs. You can now set a hop period in $F_s$ cycles. If you write 0, it defaults to 2000 cycles to keep things sane. -Added cnco_trig_by_tmaster() and fnco_trig_by_tmaster(). These kick in automatically when you set the mode to TRIG_AUTO. -The apollo API won't let us update NCO frequencies one by one. I’ve switched to a vector-based approach where we cache frequencies in an array and push the whole batch at once using apollo_cnco_init_profile_load_func(). -Added a timestamp reset before the auto-trigger starts so you don’t get a random hop right at the beginning. -Moved ad9088_read_gpio_hop_array() to the end of the file and added forward declarations to clean up the flow. The trigger master defaults to 2000 Fs cycles if userspace writes 0, providing a reasonable default for automated frequency hopping sequences. Tested with CNCO and FNCO profile switching in TRIG_AUTO mode. Signed-off-by: Oscar Magana Pantoja <Oscar.MaganaPantoja@analog.com>
Collaborator
|
Closing and reopening to regen merge commit |
Author
|
Waiting until the branch is merged into main. |
This file contains hidden or 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
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
necessary to understand them. List any dependencies required for this change.
any space), or simply check them after publishing the PR.
description and try to push all related PRs simultaneously.
PR Type
PR Checklist