Skip to content

Dev/adf5611#666

Merged
tfcollins merged 4 commits intomainfrom
dev/adf5611
May 22, 2025
Merged

Dev/adf5611#666
tfcollins merged 4 commits intomainfrom
dev/adf5611

Conversation

@Jude-Osems
Copy link
Collaborator

Description

Add support for ADF5611 PLL/VCO device

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Hardware:
  • OS:

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

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
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

This adds adf5611 adi driver, device in doc, example file, and pre-commit and supported part updates.
Signed-off-by: Jude Osemene <jude.osemene@analog.com>
Added pytest file for adf5611, modified index.rst file to include device, correct attribute name error in adf5611_examples.py
Signed-off-by: Jude Osemene <jude.osemene@analog.com>
Edit harware_map.yml file to include ADF5611

Signed-off-by: Jude Osemene <jude.osemene@analog.com>
@github-actions
Copy link

Generated documentation for this PR is available at Link

@github-actions
Copy link

github-actions bot commented Apr 30, 2025

Test Results

1 694 tests  +6     448 ✅ +6   12m 9s ⏱️ +4s
    1 suites ±0   1 244 💤 ±0 
    1 files   ±0       2 ❌ ±0 

For more details on these failures, see this check.

Results for commit 31419a2. ± Comparison against base commit fb3d81e.

This pull request removes 4 and adds 10 tests. Note that renamed tests count towards both.
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[22.0, 33.0, 22.0, 19.5, 30.5, 18.0, 9.0, 24.0, 6.0, 31.5]-depends={'gain_control_mode_chan1': 'spi', 'rx_ensm_mode_chan1': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[7.5, 6.0, 4.0, 12.5, 31.5, 20.0, 11.5, 22.0, 20.5, 16.5]-depends={'gain_control_mode_chan0': 'spi', 'rx_ensm_mode_chan0': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan0-val=[-17.85, -38.55, -33.2, -4.8, -1.7, -29.2, -9.95, -1.55, -17.25, -28.2]-depends={'atten_control_mode_chan0': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan1-val=[-26.65, -3.3, -23.8, -17.1, -4.65, -8.0, -7.65, -22.85, -34.95, -0.55]-depends={'atten_control_mode_chan1': 'spi'}-classname=adi.adrv9002]
test.test_adf5611 ‑ test_adf5611_attrs[attr=altvolt0_rfout_power-start=1-stop=3-step=1-tol=0-repeats=2-classname=adi.adf5611]
test.test_adf5611 ‑ test_adf5611_attrs[attr=reference_divider-start=1-stop=16383-step=2-tol=0-repeats=1-classname=adi.adf5611]
test.test_adf5611 ‑ test_adf5611_attrs[attr=rfout_frequency-start=8000000000-stop=12000000000-step=100000000-tol=0-repeats=1-classname=adi.adf5611]
test.test_adf5611 ‑ test_adf5611_attrs[attr=rfoutdiv_power-start=1-stop=3-step=1-tol=0-repeats=2-classname=adi.adf5611]
test.test_adf5611 ‑ test_adf5611_attrs_bool[attr=en_rfoutdiv-value=0-classname=adi.adf5611]
test.test_adf5611 ‑ test_adf5611_attrs_bool[attr=en_rfoutdiv-value=1-classname=adi.adf5611]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[13.0, 22.0, 1.5, 13.0, 23.0, 29.5, 15.5, 28.5, 12.5, 24.0]-depends={'gain_control_mode_chan0': 'spi', 'rx_ensm_mode_chan0': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[14.0, 8.0, 10.0, 21.5, 11.0, 16.0, 24.5, 28.5, 12.5, 0.0]-depends={'gain_control_mode_chan1': 'spi', 'rx_ensm_mode_chan1': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan0-val=[-32.05, -18.5, -11.8, -34.2, -5.8, -11.25, -1.75, -5.45, -8.4, -36.45]-depends={'atten_control_mode_chan0': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan1-val=[-22.3, -7.15, -32.3, -33.0, -37.8, -39.65, -39.3, -8.25, -19.65, -16.85]-depends={'atten_control_mode_chan1': 'spi'}-classname=adi.adrv9002]

♻️ This comment has been updated with latest results.

@Jude-Osems Jude-Osems requested a review from tfcollins May 22, 2025 08:21
@tfcollins tfcollins merged commit 118cb01 into main May 22, 2025
44 of 45 checks passed
@tfcollins tfcollins deleted the dev/adf5611 branch May 22, 2025 21:56
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