Skip to content

Ad9084 misc sync#674

Merged
tfcollins merged 11 commits intomainfrom
ad9084-misc-sync
Sep 26, 2025
Merged

Ad9084 misc sync#674
tfcollins merged 11 commits intomainfrom
ad9084-misc-sync

Conversation

@mhennerich
Copy link
Contributor

Description

  • Added a new example script for AD9084/AD9082 synchronization and phase measurement, including full documentation and helper functions for signal analysis.
  • Implemented the hmc7044 IIO device interface with dynamic channel property support and comprehensive docstrings.
  • Implemented the adf4030 IIO device interface, supporting dynamic channel properties and temperature sensor access.
  • Added the axi_aion_trig IIO device interface, dynamically generating trigger channel properties for flexible control.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have signed off all commits and they contain "Signed-off by: "
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@mhennerich mhennerich requested review from FilipG24 and tfcollins July 17, 2025 09:15
@github-actions
Copy link

Generated documentation for this PR is available at Link

@github-actions
Copy link

github-actions bot commented Jul 17, 2025

Test Results

1 709 tests  ±0     459 ✅ ±0   11m 56s ⏱️ -1s
    1 suites ±0   1 250 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 620878b. ± Comparison against base commit 118cb01.

♻️ This comment has been updated with latest results.

@gastmaier
Copy link
Contributor

I have no idea what the hell happened to my sign-off.

@mhennerich mhennerich force-pushed the ad9084-misc-sync branch 2 times, most recently from 0e64f91 to 4fb3402 Compare July 17, 2025 10:24
@gastmaier gastmaier force-pushed the ad9084-misc-sync branch 2 times, most recently from a9c196d to e6063fc Compare July 17, 2025 11:07
Copy link
Contributor

@gastmaier gastmaier left a comment

Choose a reason for hiding this comment

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

on the try catch

Filip.Gherman and others added 11 commits July 24, 2025 15:02
Signed-off-by: Filip Gherman <filip.gherman@analog.com>
…support

- Implements the `adf4030` class for interfacing with the ADF4030 device via
  the IIO framework.
- Provides a comprehensive class docstring with usage, attributes, and example.
- Dynamically creates properties for all supported attributes on each
  'altvoltage' channel, using either the channel label or ID for property
  naming.
- Includes a property for reading the temperature sensor input.
- Raises an exception if the device is not found in the IIO context.
- Improves maintainability and extensibility for

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
…support

- Implements the `hmc7044` class for interacting with the HMC7044 device via
  the IIO framework.
- Provides device-level properties for mute, reseed, reset dividers, sleep,
  sync pin mode, sysref request, and status.
- Dynamically creates properties for frequency, label, and phase on each
  'altvoltage' channel, using the channel label or ID for property naming.
- Includes comprehensive class docstring with usage, attributes, and example.
- Raises an exception if the device is not found in the IIO context.
- Improves maintainability and extensibility

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
…nnel properties

- Implements the `axi_aion_trig` class for controlling the axi_aion_trig IIO
  device.
- Dynamically creates properties for each voltage channel and supported
  attributes, including enable, phase, status, frequency, internal bsync,
  output enable, trigger now, and GPIO trigger select.
- Provides a comprehensive class docstring with usage, attributes, and example.
- Raises an exception if the device is not found in the IIO context.
- Improves maintainability and extensibility for AION

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
 - New setter and getter for main_tb1_6db_digital_gain_en

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
- New example script for synchronizing AD9084 and AD9082 devices,
  measuring phase and sample delay.
- Implements device setup, JESD204 FSM handling, buffer and NCO
  configuration, and optional AION trigger support.
- Includes helper functions for phase/delay measurement, DC offset removal,
  tone generation, and imaginary part zeroing, all with detailed
  docstrings.
- Main routine is fully documented, outlining each step of the
  measurement and synchronization process.
- Results are summarized and optionally plotted for analysis.
- Improves maintainability and clarity for users working with
  multi-chip synchronization and phase

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
@tfcollins tfcollins merged commit a5c223f into main Sep 26, 2025
53 checks passed
@tfcollins tfcollins deleted the ad9084-misc-sync branch September 26, 2025 01:05
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.

3 participants