-
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
m2k, axi_dac_interpolate: Add auto rearm feature #1344
Merged
Merged
+113
−66
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
AndreiGrozav
requested review from
PopPaul2021,
gastmaier and
sarpadi
as code owners
May 29, 2024 15:27
acostina
requested changes
Jun 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation and regmap should be updated to reflect the new functionality, in the same commit
This feature will allow the gating each buffer, cyclic included, by a trigger condition. Signed-off-by: AndreiGrozav <[email protected]>
AndreiGrozav
force-pushed
the
m2k_dac_trigger_rearm
branch
from
June 20, 2024 13:08
528f17a
to
1621abd
Compare
IuliaCMoldovan
previously approved these changes
Aug 1, 2024
IuliaCMoldovan
previously approved these changes
Aug 20, 2024
AndreiGrozav
force-pushed
the
m2k_dac_trigger_rearm
branch
from
August 20, 2024 12:33
4e6ff69
to
eaabda6
Compare
This commit fixes the last sample hold and spike before buffers at low samplerates by compensating for the interpolation filter delays. Signed-off-by: AndreiGrozav <[email protected]>
When the DAC is triggered from LA or ADC it can miss some trigger signals. This is because the trigger signal event can be active one clock cycle on the ADC clock domain, which drives both ADC and LA/PG. The ADC runs at 100MHz while the DAC runs at 75MHz. Previously the CDC logic was based simply on 2 FF sync stages. Because we we’re considering changing the DAC clock at 100MHz. This would have helped with reducing the delay on the DAC data path, also meaning reducing the delay between trigger and first samples getting out of the DAC. But because of harmonic consideration we stayed with 75MHz. This commit fixes the issue of missing the trigger signal on the DAC side. But, with introducing further delays on the trigger path. Also, because of the difference in sampling clocks, there will be a +/- one clock cycles uncertainty(75MHz) between clock launching and latching.
AndreiGrozav
force-pushed
the
m2k_dac_trigger_rearm
branch
from
August 29, 2024 07:51
eaabda6
to
0158083
Compare
IuliaCMoldovan
approved these changes
Sep 6, 2024
acostina
approved these changes
Sep 6, 2024
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.
This feature will allow the gating each buffer, cyclic ones included, by a trigger condition.
PR Type
PR Checklist