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

plugins/dac_data_manager.c: dynamically convert data for enabled channels. #520

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

AlexandraTrifan
Copy link
Contributor

@AlexandraTrifan AlexandraTrifan commented Feb 7, 2025

PR Description

Instead of assuming a connected device will only have a maximum of 8 DMA channels, add a mechanism to dynamically convert data for all enabled channels.
This can be reproduced with a setup of ADRV9009 and FMCOMMS8 with all 8 TX channels enabled. Loading any file with all channels enabled will display "Waveform loaded successfully" but the DMA output will be 0. Doing the same with only 4 TX channels enabled will work properly.

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have followed the coding standards and guidelines
  • I have conducted a self-review of my own code changes
  • I have commented new code, particulary complex or unclear areas
  • I have checked in CI output that no new warnings/errors got introduced
  • I have updated documentation accordingly (GitHub Pages, READMEs, etc)

dNechita
dNechita previously approved these changes Feb 13, 2025
Copy link
Contributor

@dNechita dNechita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

…nels.

Instead of assuming a connected device will only have a maximum of
8 DMA channels, add a mechanism to dynamically convert data for all
enabled channels.

Signed-off-by: AlexandraTrifan <[email protected]>
@dNechita dNechita merged commit 7c1d5d8 into main Feb 13, 2025
10 checks passed
@dNechita dNechita deleted the fix_dac_dma_8chan branch February 13, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants