diff --git a/.github/scripts/install_libiio.sh b/.github/scripts/install_libiio.sh index 4a5b6fe28..d09ff42c3 100755 --- a/.github/scripts/install_libiio.sh +++ b/.github/scripts/install_libiio.sh @@ -6,7 +6,7 @@ if [ -z "$LIBIIO_BRANCH" ]; then fi sudo apt-get -qq update -sudo apt-get install -y git cmake graphviz libavahi-common-dev libavahi-client-dev libaio-dev libusb-1.0-0-dev libxml2-dev rpm tar bzip2 gzip flex bison git libzstd-dev +sudo apt-get install -y build-essential git cmake graphviz libavahi-common-dev libavahi-client-dev libaio-dev libusb-1.0-0-dev libxml2-dev rpm tar bzip2 gzip flex bison git libzstd-dev git clone -b $LIBIIO_BRANCH --single-branch --depth 1 https://github.com/analogdevicesinc/libiio.git cd libiio cmake . -DHAVE_DNS_SD=OFF diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87232bab3..047b5d7c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,10 +4,10 @@ on: [push, pull_request] jobs: Test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11"] libiio: ['main', 'v0.25'] steps: @@ -28,11 +28,11 @@ jobs: run: pytest -v --cov=adi Test-Emulated-HW: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.8] steps: - uses: actions/checkout@v2 @@ -67,11 +67,11 @@ jobs: files: results.xml Lint: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v2 @@ -94,7 +94,7 @@ jobs: exit $ec Doc: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 @@ -116,7 +116,7 @@ jobs: cd .. DeployMainDoc: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [Test,Lint,Doc] if: github.ref == 'refs/heads/main' @@ -148,7 +148,7 @@ jobs: destination_dir: main DeployDevelopmentDoc: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [Test,Lint,Doc] # Only run on pull requests to main and non-forks if: github.event_name == 'pull_request' && github.base_ref == 'main' && ! github.event.pull_request.head.repo.fork @@ -188,7 +188,7 @@ jobs: Generated documentation for this PR is available at [Link](https://analogdevicesinc.github.io/pyadi-iio/prs/${{ github.head_ref }}/index.html) Deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [Test,Lint,Doc] if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') diff --git a/.github/workflows/win-test.yml b/.github/workflows/win-test.yml index ff4d3f8bf..12cd8ae2f 100644 --- a/.github/workflows/win-test.yml +++ b/.github/workflows/win-test.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: ["windows-latest"] - python-version: ["3.7", "3.8", "3.9"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea28dd8a9..2cc5cb086 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,16 +5,12 @@ repos: hooks: - id: codespell entry: codespell --ignore-words=.codespell-whitelist --exclude-file=examples/cn0549/ml_fan_example.ipynb --skip="*.pyc,*.xml" -- repo: https://github.com/pre-commit/mirrors-isort - rev: v4.3.20 +- repo: https://github.com/pycqa/isort + rev: 5.13.2 hooks: - id: isort - additional_dependencies: ["toml"] - #- repo: https://github.com/pre-commit/mirrors-mypy - # rev: v0.720 - # hooks: - # - id: mypy - # args: [--no-strict-optional, --ignore-missing-imports] + name: isort (python) + args: ["--profile", "black", "--filter-files"] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: diff --git a/README.md b/README.md index 0751f66a3..735c47262 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ Codacy Badge - -Python Version + +Python Version

diff --git a/adi/QuadMxFE_multi.py b/adi/QuadMxFE_multi.py index c5f2aaadf..f7de89411 100644 --- a/adi/QuadMxFE_multi.py +++ b/adi/QuadMxFE_multi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/__init__.py b/adi/__init__.py index 2db3ec9ee..8b36a295a 100644 --- a/adi/__init__.py +++ b/adi/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad2s1210.py b/adi/ad2s1210.py index d0d117e04..a8f47844b 100644 --- a/adi/ad2s1210.py +++ b/adi/ad2s1210.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad3552r.py b/adi/ad3552r.py index e9d071950..89ef91c3b 100644 --- a/adi/ad3552r.py +++ b/adi/ad3552r.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad4020.py b/adi/ad4020.py index 186e80e65..895a54972 100644 --- a/adi/ad4020.py +++ b/adi/ad4020.py @@ -1,8 +1,9 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad405x.py b/adi/ad405x.py index c80015cf9..d8079fcc9 100644 --- a/adi/ad405x.py +++ b/adi/ad405x.py @@ -1,10 +1,11 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad4110.py b/adi/ad4110.py index 48b025214..29cf82d6a 100644 --- a/adi/ad4110.py +++ b/adi/ad4110.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad4130.py b/adi/ad4130.py index 30ae7ec2f..44447eb1b 100644 --- a/adi/ad4130.py +++ b/adi/ad4130.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad4170.py b/adi/ad4170.py index f7c87d67a..7a2b1d236 100644 --- a/adi/ad4170.py +++ b/adi/ad4170.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad4630.py b/adi/ad4630.py index b3a064252..dbdcce215 100644 --- a/adi/ad4630.py +++ b/adi/ad4630.py @@ -1,10 +1,11 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad469x.py b/adi/ad469x.py index 78e6a9b9e..22e8428bf 100644 --- a/adi/ad469x.py +++ b/adi/ad469x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad4858.py b/adi/ad4858.py index 787453129..6686a79cd 100644 --- a/adi/ad4858.py +++ b/adi/ad4858.py @@ -1,10 +1,11 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad5592r.py b/adi/ad5592r.py index 6d8ae056b..baf515cd0 100644 --- a/adi/ad5592r.py +++ b/adi/ad5592r.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5627.py b/adi/ad5627.py index b6fdacfa3..b186b0082 100644 --- a/adi/ad5627.py +++ b/adi/ad5627.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5686.py b/adi/ad5686.py index e0f23b3be..06c04b4d4 100644 --- a/adi/ad5686.py +++ b/adi/ad5686.py @@ -1,8 +1,9 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager diff --git a/adi/ad5754r.py b/adi/ad5754r.py index 819e4327d..41fb1f690 100644 --- a/adi/ad5754r.py +++ b/adi/ad5754r.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad579x.py b/adi/ad579x.py index 599308a51..1c9162bc9 100644 --- a/adi/ad579x.py +++ b/adi/ad579x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5940.py b/adi/ad5940.py index 74e0408b8..70c89c26b 100644 --- a/adi/ad5940.py +++ b/adi/ad5940.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad6676.py b/adi/ad6676.py index 0b31c0071..4c593a25f 100644 --- a/adi/ad6676.py +++ b/adi/ad6676.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7124.py b/adi/ad7124.py index 32826fdca..2f1937857 100644 --- a/adi/ad7124.py +++ b/adi/ad7124.py @@ -1,10 +1,11 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad7134.py b/adi/ad7134.py index 1f3b8c2a7..e7f8a093b 100644 --- a/adi/ad7134.py +++ b/adi/ad7134.py @@ -1,10 +1,11 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad717x.py b/adi/ad717x.py index 7c46ee67d..02204404e 100644 --- a/adi/ad717x.py +++ b/adi/ad717x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad719x.py b/adi/ad719x.py index c8ae4a9f6..9658e3fda 100644 --- a/adi/ad719x.py +++ b/adi/ad719x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad7291.py b/adi/ad7291.py index 5f69d297d..f158c7d9d 100644 --- a/adi/ad7291.py +++ b/adi/ad7291.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad738x.py b/adi/ad738x.py index eaadd83aa..18e979f17 100644 --- a/adi/ad738x.py +++ b/adi/ad738x.py @@ -1,10 +1,11 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad7606.py b/adi/ad7606.py index 61f593fa2..5d6afa036 100644 --- a/adi/ad7606.py +++ b/adi/ad7606.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad7689.py b/adi/ad7689.py index ccfbfb384..505a85b32 100644 --- a/adi/ad7689.py +++ b/adi/ad7689.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad7746.py b/adi/ad7746.py index 1e5ef2de7..5277db37a 100644 --- a/adi/ad7746.py +++ b/adi/ad7746.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7768.py b/adi/ad7768.py index df251448c..eeefb1d4b 100644 --- a/adi/ad7768.py +++ b/adi/ad7768.py @@ -1,8 +1,9 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad777x.py b/adi/ad777x.py index ea98c11dd..ae2949c3e 100644 --- a/adi/ad777x.py +++ b/adi/ad777x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,6 +6,7 @@ from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ad7799.py b/adi/ad7799.py index a6836a8b7..0fd992c2c 100644 --- a/adi/ad7799.py +++ b/adi/ad7799.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9081.py b/adi/ad9081.py index 2f922550a..aa419253d 100644 --- a/adi/ad9081.py +++ b/adi/ad9081.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9081_mc.py b/adi/ad9081_mc.py index 6a6e0486f..33ca5f516 100644 --- a/adi/ad9081_mc.py +++ b/adi/ad9081_mc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9083.py b/adi/ad9083.py index 0cb37f26d..c3df063c8 100644 --- a/adi/ad9083.py +++ b/adi/ad9083.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9084.py b/adi/ad9084.py index 3b689386b..e1d08fe8c 100644 --- a/adi/ad9084.py +++ b/adi/ad9084.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9084_mc.py b/adi/ad9084_mc.py index 48cd217e6..206688162 100644 --- a/adi/ad9084_mc.py +++ b/adi/ad9084_mc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9094.py b/adi/ad9094.py index 569d87646..1e994f4b0 100644 --- a/adi/ad9094.py +++ b/adi/ad9094.py @@ -1,8 +1,9 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx from adi.sync_start import sync_start diff --git a/adi/ad9136.py b/adi/ad9136.py index fe2fa841a..b0f6bd694 100644 --- a/adi/ad9136.py +++ b/adi/ad9136.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9144.py b/adi/ad9144.py index dcc1d127b..73893604b 100644 --- a/adi/ad9144.py +++ b/adi/ad9144.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9152.py b/adi/ad9152.py index 584c60d80..9214cd98b 100644 --- a/adi/ad9152.py +++ b/adi/ad9152.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9162.py b/adi/ad9162.py index a30243ab2..9f0fb8924 100644 --- a/adi/ad9162.py +++ b/adi/ad9162.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9166.py b/adi/ad9166.py index 9fae8dc13..4fa2f5f44 100644 --- a/adi/ad9166.py +++ b/adi/ad9166.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9172.py b/adi/ad9172.py index ab63c0e9d..1dddf01c8 100644 --- a/adi/ad9172.py +++ b/adi/ad9172.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9213.py b/adi/ad9213.py index 0bcb14ff3..2294b1052 100644 --- a/adi/ad9213.py +++ b/adi/ad9213.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9250.py b/adi/ad9250.py index 7031acb3b..4b0427c73 100644 --- a/adi/ad9250.py +++ b/adi/ad9250.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9265.py b/adi/ad9265.py index 0daa0b49d..6e733a273 100644 --- a/adi/ad9265.py +++ b/adi/ad9265.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad936x.py b/adi/ad936x.py index 3b444fa26..c71cd809e 100644 --- a/adi/ad936x.py +++ b/adi/ad936x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad937x.py b/adi/ad937x.py index d529b4a78..e2cf543cd 100644 --- a/adi/ad937x.py +++ b/adi/ad937x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9434.py b/adi/ad9434.py index b51647cef..99cdd3390 100644 --- a/adi/ad9434.py +++ b/adi/ad9434.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9467.py b/adi/ad9467.py index 543b32e08..571109ef0 100644 --- a/adi/ad9467.py +++ b/adi/ad9467.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9625.py b/adi/ad9625.py index b43b34845..4ddf8d397 100644 --- a/adi/ad9625.py +++ b/adi/ad9625.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9680.py b/adi/ad9680.py index 0c8fea447..e9ee294c7 100644 --- a/adi/ad9680.py +++ b/adi/ad9680.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9739a.py b/adi/ad9739a.py index e96520043..8060c4d31 100644 --- a/adi/ad9739a.py +++ b/adi/ad9739a.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ada4961.py b/adi/ada4961.py index 365783063..317b5f2d3 100644 --- a/adi/ada4961.py +++ b/adi/ada4961.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adaq8092.py b/adi/adaq8092.py index f35f25507..e574aede8 100644 --- a/adi/adaq8092.py +++ b/adi/adaq8092.py @@ -1,8 +1,9 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/adar1000.py b/adi/adar1000.py index ec57afad9..8618d1604 100644 --- a/adi/adar1000.py +++ b/adi/adar1000.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf4159.py b/adi/adf4159.py index 90cc9cd3c..c0717d58f 100644 --- a/adi/adf4159.py +++ b/adi/adf4159.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf4355.py b/adi/adf4355.py index 5ac660a44..ed4e185d9 100644 --- a/adi/adf4355.py +++ b/adi/adf4355.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf4371.py b/adi/adf4371.py index 916bf81a1..e184cf306 100644 --- a/adi/adf4371.py +++ b/adi/adf4371.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf5610.py b/adi/adf5610.py index c45ee09b4..c9c4835e5 100644 --- a/adi/adf5610.py +++ b/adi/adf5610.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adg2128.py b/adi/adg2128.py index 96b0c92ba..3d1690c54 100644 --- a/adi/adg2128.py +++ b/adi/adg2128.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adis16460.py b/adi/adis16460.py index c324167f2..36f98c3d0 100644 --- a/adi/adis16460.py +++ b/adi/adis16460.py @@ -1,8 +1,9 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/adis16475.py b/adi/adis16475.py index 160c75d78..5e77bf2c9 100644 --- a/adi/adis16475.py +++ b/adi/adis16475.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adis16480.py b/adi/adis16480.py index f3e7b1c3a..bce5097c6 100644 --- a/adi/adis16480.py +++ b/adi/adis16480.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adis16507.py b/adi/adis16507.py index 5997ca1cb..6d51165f7 100644 --- a/adi/adis16507.py +++ b/adi/adis16507.py @@ -1,8 +1,9 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/adis16550.py b/adi/adis16550.py index 7c483dba4..ac98229f5 100644 --- a/adi/adis16550.py +++ b/adi/adis16550.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adl5240.py b/adi/adl5240.py index 4630c941f..78d1f06fc 100644 --- a/adi/adl5240.py +++ b/adi/adl5240.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adl5960.py b/adi/adl5960.py index 2bb56ddb1..0ae42f508 100644 --- a/adi/adl5960.py +++ b/adi/adl5960.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/admv8818.py b/adi/admv8818.py index dac102f75..f3791432a 100644 --- a/adi/admv8818.py +++ b/adi/admv8818.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adpd1080.py b/adi/adpd1080.py index 67436ae49..cfd1767c5 100644 --- a/adi/adpd1080.py +++ b/adi/adpd1080.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adpd188.py b/adi/adpd188.py index b74dfd296..047ceab3c 100644 --- a/adi/adpd188.py +++ b/adi/adpd188.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adpd410x.py b/adi/adpd410x.py index 85f19d0ff..48914541b 100644 --- a/adi/adpd410x.py +++ b/adi/adpd410x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrf5720.py b/adi/adrf5720.py index 174b740a1..ea33b2d7a 100644 --- a/adi/adrf5720.py +++ b/adi/adrf5720.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9002.py b/adi/adrv9002.py index ac1ae068b..235cb3b6e 100644 --- a/adi/adrv9002.py +++ b/adi/adrv9002.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009.py b/adi/adrv9009.py index 5282d07fb..7744ee7ce 100644 --- a/adi/adrv9009.py +++ b/adi/adrv9009.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009_zu11eg.py b/adi/adrv9009_zu11eg.py index ce5bca8e1..61f22da19 100644 --- a/adi/adrv9009_zu11eg.py +++ b/adi/adrv9009_zu11eg.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009_zu11eg_fmcomms8.py b/adi/adrv9009_zu11eg_fmcomms8.py index bd5b8c1df..89ece9f76 100644 --- a/adi/adrv9009_zu11eg_fmcomms8.py +++ b/adi/adrv9009_zu11eg_fmcomms8.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009_zu11eg_multi.py b/adi/adrv9009_zu11eg_multi.py index 16a8b39b1..09c1bcda9 100644 --- a/adi/adrv9009_zu11eg_multi.py +++ b/adi/adrv9009_zu11eg_multi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adt7420.py b/adi/adt7420.py index 433564c96..7ab70ff40 100644 --- a/adi/adt7420.py +++ b/adi/adt7420.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adxl313.py b/adi/adxl313.py index 3cbbba960..57a213aad 100644 --- a/adi/adxl313.py +++ b/adi/adxl313.py @@ -1,8 +1,9 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/adxl345.py b/adi/adxl345.py index 61b9a5a64..839f6156b 100644 --- a/adi/adxl345.py +++ b/adi/adxl345.py @@ -1,10 +1,11 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/adxl355.py b/adi/adxl355.py index a7bfa8c34..5644ad451 100644 --- a/adi/adxl355.py +++ b/adi/adxl355.py @@ -1,10 +1,11 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from decimal import Decimal import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/adxl380.py b/adi/adxl380.py index 0d1daf061..2de2fcf19 100644 --- a/adi/adxl380.py +++ b/adi/adxl380.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adxrs290.py b/adi/adxrs290.py index d5930c095..431f661b2 100644 --- a/adi/adxrs290.py +++ b/adi/adxrs290.py @@ -1,8 +1,9 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/attribute.py b/adi/attribute.py index 5279a2a6d..3849bfdd2 100644 --- a/adi/attribute.py +++ b/adi/attribute.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0511.py b/adi/cn0511.py index 1bc70b197..e2fa182ff 100644 --- a/adi/cn0511.py +++ b/adi/cn0511.py @@ -1,7 +1,8 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.ad9166 import ad9166 as ad9166_adi # pyadi-iio library from adi.context_manager import context_manager diff --git a/adi/cn0532.py b/adi/cn0532.py index 8376a5ff2..2aa20da22 100644 --- a/adi/cn0532.py +++ b/adi/cn0532.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0540.py b/adi/cn0540.py index 09a2c71b2..9242c3792 100644 --- a/adi/cn0540.py +++ b/adi/cn0540.py @@ -1,10 +1,11 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import time import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/cn0554.py b/adi/cn0554.py index ea4c6ee56..1829c5d77 100644 --- a/adi/cn0554.py +++ b/adi/cn0554.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0556.py b/adi/cn0556.py index 47d35d7b4..527a8f083 100644 --- a/adi/cn0556.py +++ b/adi/cn0556.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import adi diff --git a/adi/cn0565.py b/adi/cn0565.py index 5486518c4..ec7c60971 100644 --- a/adi/cn0565.py +++ b/adi/cn0565.py @@ -1,9 +1,10 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD # Author: Ivan Gil Mercano import numpy as np + from adi.ad5940 import ad5940 from adi.adg2128 import adg2128 from adi.context_manager import context_manager diff --git a/adi/cn0566.py b/adi/cn0566.py index 2fa0330fb..3b8ddf255 100644 --- a/adi/cn0566.py +++ b/adi/cn0566.py @@ -1,12 +1,13 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import pickle from time import sleep -import adi import numpy as np + +import adi from adi.adar1000 import adar1000_array from adi.adf4159 import adf4159 diff --git a/adi/cn0575.py b/adi/cn0575.py index 35eb64c9e..1e26f467b 100644 --- a/adi/cn0575.py +++ b/adi/cn0575.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0579.py b/adi/cn0579.py index 6bb2a9694..47e13b483 100644 --- a/adi/cn0579.py +++ b/adi/cn0579.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/compat.py b/adi/compat.py index ed8cbe242..7150117fa 100644 --- a/adi/compat.py +++ b/adi/compat.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD """Compatibility module for libiio v1.X.""" @@ -6,7 +6,6 @@ from typing import List, Union import iio - import numpy as np diff --git a/adi/context_manager.py b/adi/context_manager.py index 73224d1ea..fe0b9a76e 100644 --- a/adi/context_manager.py +++ b/adi/context_manager.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/daq2.py b/adi/daq2.py index 13083e625..6becc38dc 100644 --- a/adi/daq2.py +++ b/adi/daq2.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/daq3.py b/adi/daq3.py index c45f5108b..d3d5e181e 100644 --- a/adi/daq3.py +++ b/adi/daq3.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/dds.py b/adi/dds.py index 1d412cc9a..a866fbd02 100644 --- a/adi/dds.py +++ b/adi/dds.py @@ -1,8 +1,9 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute diff --git a/adi/dsp.py b/adi/dsp.py index d0acb8dc5..361ab9add 100644 --- a/adi/dsp.py +++ b/adi/dsp.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmc_vna.py b/adi/fmc_vna.py index ecdfff4bc..9d00da44e 100644 --- a/adi/fmc_vna.py +++ b/adi/fmc_vna.py @@ -1,8 +1,9 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.ad9083 import ad9083 from adi.adf5610 import adf5610 from adi.adl5960 import adl5960 diff --git a/adi/fmcadc3.py b/adi/fmcadc3.py index 98940eaec..d3f0516ff 100644 --- a/adi/fmcadc3.py +++ b/adi/fmcadc3.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmcjesdadc1.py b/adi/fmcjesdadc1.py index 1441e5124..86da17483 100644 --- a/adi/fmcjesdadc1.py +++ b/adi/fmcjesdadc1.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmclidar1.py b/adi/fmclidar1.py index ee749e1a3..3dbea8a20 100644 --- a/adi/fmclidar1.py +++ b/adi/fmclidar1.py @@ -1,8 +1,9 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.ad5627 import ad5627 from adi.ad9094 import ad9094 from adi.rx_tx import phy diff --git a/adi/fmcomms11.py b/adi/fmcomms11.py index 235cf1a9e..b0977a3f8 100644 --- a/adi/fmcomms11.py +++ b/adi/fmcomms11.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmcomms5.py b/adi/fmcomms5.py index f22be0b4e..f40685c8c 100644 --- a/adi/fmcomms5.py +++ b/adi/fmcomms5.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/gen_mux.py b/adi/gen_mux.py index 588ce8e76..5db99856e 100644 --- a/adi/gen_mux.py +++ b/adi/gen_mux.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/jesd.py b/adi/jesd.py index 0ef9cd5d9..9b6a50e85 100644 --- a/adi/jesd.py +++ b/adi/jesd.py @@ -1,11 +1,11 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD """JESD Shim import to handle JESD as optional dependency""" try: - from .sshfs import sshfs from .jesd_internal import jesd + from .sshfs import sshfs except ImportError: jesd = None diff --git a/adi/jesd_internal.py b/adi/jesd_internal.py index 349133f8d..c6fee2642 100644 --- a/adi/jesd_internal.py +++ b/adi/jesd_internal.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/lm75.py b/adi/lm75.py index 840aa2a65..e54bf089e 100644 --- a/adi/lm75.py +++ b/adi/lm75.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2314_14.py b/adi/ltc2314_14.py index 6a3143d09..149b9db46 100644 --- a/adi/ltc2314_14.py +++ b/adi/ltc2314_14.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2387.py b/adi/ltc2387.py index a8ae1b4d9..0a4a5feca 100644 --- a/adi/ltc2387.py +++ b/adi/ltc2387.py @@ -1,8 +1,9 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ltc2499.py b/adi/ltc2499.py index 6b4c5f3c5..f8dc8f117 100644 --- a/adi/ltc2499.py +++ b/adi/ltc2499.py @@ -1,9 +1,10 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from collections import OrderedDict import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/ltc2664.py b/adi/ltc2664.py index 95a51847b..0133e402f 100644 --- a/adi/ltc2664.py +++ b/adi/ltc2664.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2672.py b/adi/ltc2672.py index 7bf97c69d..55cc8c9d5 100644 --- a/adi/ltc2672.py +++ b/adi/ltc2672.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2688.py b/adi/ltc2688.py index 23a79eee3..ebdf0d371 100644 --- a/adi/ltc2688.py +++ b/adi/ltc2688.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2983.py b/adi/ltc2983.py index 2b075b197..ec6b19320 100644 --- a/adi/ltc2983.py +++ b/adi/ltc2983.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numbers @@ -6,6 +6,7 @@ from collections.abc import Iterable import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/max11205.py b/adi/max11205.py index 5ff84f068..ce3e9c3ac 100644 --- a/adi/max11205.py +++ b/adi/max11205.py @@ -1,9 +1,10 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/max14001.py b/adi/max14001.py index 12b1aeb97..f701e860e 100644 --- a/adi/max14001.py +++ b/adi/max14001.py @@ -1,9 +1,10 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/max31855.py b/adi/max31855.py index da25972df..68ff08703 100644 --- a/adi/max31855.py +++ b/adi/max31855.py @@ -1,8 +1,9 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/max31865.py b/adi/max31865.py index 53cbb80d9..cf993f3d6 100644 --- a/adi/max31865.py +++ b/adi/max31865.py @@ -1,7 +1,8 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np + from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/adi/max9611.py b/adi/max9611.py index 9d9e941f7..c6c8c9e76 100644 --- a/adi/max9611.py +++ b/adi/max9611.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023-2024 Analog Devices, Inc. +# Copyright (C) 2023-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/obs.py b/adi/obs.py index 9b958399e..2c49eb237 100644 --- a/adi/obs.py +++ b/adi/obs.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/one_bit_adc_dac.py b/adi/one_bit_adc_dac.py index e91ac45c0..9cb59f1ad 100644 --- a/adi/one_bit_adc_dac.py +++ b/adi/one_bit_adc_dac.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2024 Analog Devices, Inc. +# Copyright (C) 2020-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/rx_tx.py b/adi/rx_tx.py index a91b532b0..cdde3c376 100644 --- a/adi/rx_tx.py +++ b/adi/rx_tx.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2024 Analog Devices, Inc. +# Copyright (C) 2019-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD @@ -6,9 +6,9 @@ from typing import List, Union import iio +import numpy as np import adi.compat as cl -import numpy as np from adi.attribute import attribute from adi.context_manager import context_manager from adi.dds import dds diff --git a/adi/sync_start.py b/adi/sync_start.py index eaef6f2f1..be5a488e6 100644 --- a/adi/sync_start.py +++ b/adi/sync_start.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2024 Analog Devices, Inc. +# Copyright (C) 2022-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/tdd.py b/adi/tdd.py index a95544661..cc1262b6e 100644 --- a/adi/tdd.py +++ b/adi/tdd.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024 Analog Devices, Inc. +# Copyright (C) 2021-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/tddn.py b/adi/tddn.py index c56842c1e..7fdddb1d0 100644 --- a/adi/tddn.py +++ b/adi/tddn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Analog Devices, Inc. +# Copyright (C) 2024-2025 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/examples/QuadMxFE_dual_example.py b/examples/QuadMxFE_dual_example.py index 70ec60136..cc8572ea9 100644 --- a/examples/QuadMxFE_dual_example.py +++ b/examples/QuadMxFE_dual_example.py @@ -5,11 +5,12 @@ import time from datetime import datetime -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def measure_phase_and_delay(chan0, chan1, window=None): assert len(chan0) == len(chan1) diff --git a/examples/QuadMxFE_example.py b/examples/QuadMxFE_example.py index a46905c58..f79bf100f 100644 --- a/examples/QuadMxFE_example.py +++ b/examples/QuadMxFE_example.py @@ -5,11 +5,12 @@ import time from datetime import datetime -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def measure_phase_and_delay(chan0, chan1, window=None): assert len(chan0) == len(chan1) diff --git a/examples/QuadMxFE_ffh_example.py b/examples/QuadMxFE_ffh_example.py index be534739d..a076dcb1a 100644 --- a/examples/QuadMxFE_ffh_example.py +++ b/examples/QuadMxFE_ffh_example.py @@ -5,12 +5,13 @@ import time from datetime import datetime -import adi import matplotlib.pyplot as plt import numpy as np +from scipy import signal + +import adi from adi.gen_mux import genmux from adi.one_bit_adc_dac import one_bit_adc_dac -from scipy import signal def measure_phase_and_delay(chan0, chan1, window=None): diff --git a/examples/Triton_example.py b/examples/Triton_example.py index 400c8578b..66fdb21c4 100644 --- a/examples/Triton_example.py +++ b/examples/Triton_example.py @@ -5,11 +5,12 @@ import time from datetime import datetime -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def measure_phase_and_delay(chan0, chan1, window=None): assert len(chan0) == len(chan1) diff --git a/examples/ad4020_example.py b/examples/ad4020_example.py index 0b8dfc642..81886b6ea 100644 --- a/examples/ad4020_example.py +++ b/examples/ad4020_example.py @@ -5,11 +5,12 @@ import sys -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + device_name = "ad4020" vref = 5.0 # Manually entered, consult eval board manual diff --git a/examples/ad4052_example.py b/examples/ad4052_example.py index 546588090..5cfb88663 100644 --- a/examples/ad4052_example.py +++ b/examples/ad4052_example.py @@ -31,10 +31,11 @@ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import adi import matplotlib.pyplot as plt import numpy as np +import adi + device = adi.ad405x("serial:COM13,230400", "ad4052") ######## User configuration ########## diff --git a/examples/ad4110_example.py b/examples/ad4110_example.py index 39f34e341..f4232c6ad 100644 --- a/examples/ad4110_example.py +++ b/examples/ad4110_example.py @@ -2,9 +2,10 @@ # # SPDX short identifier: ADIBSD -import adi import numpy as np +import adi + ad4110_dev = adi.ad4110("ip:analog") chn = 0 diff --git a/examples/ad4130_example.py b/examples/ad4130_example.py index 0d64c7fdd..073ebbd38 100644 --- a/examples/ad4130_example.py +++ b/examples/ad4130_example.py @@ -2,9 +2,10 @@ # # SPDX short identifier: ADIBSD -import adi import numpy as np +import adi + ad4130_dev = adi.ad4130("ip:analog") chn = 0 diff --git a/examples/ad4170_example.py b/examples/ad4170_example.py index 3c192ae28..e28c7bccd 100644 --- a/examples/ad4170_example.py +++ b/examples/ad4170_example.py @@ -2,9 +2,10 @@ # # SPDX short identifier: ADIBSD -import adi import numpy as np +import adi + ad4170_dev = adi.ad4170("ip:analog") chn = 0 diff --git a/examples/ad4630/ad4630_example_all_mode.py b/examples/ad4630/ad4630_example_all_mode.py index 26804d4c4..32b75c874 100644 --- a/examples/ad4630/ad4630_example_all_mode.py +++ b/examples/ad4630/ad4630_example_all_mode.py @@ -5,11 +5,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np import sin_params as sp +import adi + device_name = "ad4630-24" fs = 2000000 # Sampling Frequency N = 65536 # Length of rx buffer diff --git a/examples/ad4630/ad4630_example_simple_plot.py b/examples/ad4630/ad4630_example_simple_plot.py index 25be7279c..3f86de1f9 100644 --- a/examples/ad4630/ad4630_example_simple_plot.py +++ b/examples/ad4630/ad4630_example_simple_plot.py @@ -5,10 +5,11 @@ import sys -import adi import matplotlib.pyplot as plt import numpy as np +import adi + # Optionally pass URI as command line argument, # else use default context manager search my_uri = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/examples/ad469x_example.py b/examples/ad469x_example.py index 48e090535..21fc0adfe 100644 --- a/examples/ad469x_example.py +++ b/examples/ad469x_example.py @@ -2,9 +2,10 @@ # # SPDX short identifier: ADIBSD -import adi import numpy as np +import adi + ad4696_dev = adi.ad469x(uri="ip:analog") ad_channel = 0 diff --git a/examples/ad4858_example.py b/examples/ad4858_example.py index 82c7dc92f..afd17f443 100644 --- a/examples/ad4858_example.py +++ b/examples/ad4858_example.py @@ -35,6 +35,7 @@ from time import sleep import matplotlib.pyplot as plt + from adi import ad4858 # Optionally pass URI as command line argument, diff --git a/examples/ad5592r_examples/ad5592r_curve_tracer.py b/examples/ad5592r_examples/ad5592r_curve_tracer.py index a1deb7fb1..afdf5a2e9 100644 --- a/examples/ad5592r_examples/ad5592r_curve_tracer.py +++ b/examples/ad5592r_examples/ad5592r_curve_tracer.py @@ -33,9 +33,10 @@ import sys # Only needed to read in command line arguments, if any -import adi # This is the main pyadi-iio module, contains everything import matplotlib.pyplot as plt # Matplotlib is a very common Python plotting routine. +import adi # This is the main pyadi-iio module, contains everything + # Optionally pass URI as command line argument, else use analog.local # (URI stands for "Uniform Resource Identifier") # NOTE - when running directly on the Raspberry Pi, you CAN use "local", diff --git a/examples/ad579x_example.py b/examples/ad579x_example.py index 915d919ae..0be400222 100644 --- a/examples/ad579x_example.py +++ b/examples/ad579x_example.py @@ -31,9 +31,10 @@ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import adi import numpy as np +import adi + # Set up AD579X ad579x_dev = adi.ad579x(uri="ip:analog") diff --git a/examples/ad6676.py b/examples/ad6676.py index 5c8c30d43..0d20698e7 100644 --- a/examples/ad6676.py +++ b/examples/ad6676.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def noise_analysis(samples): x = [] diff --git a/examples/ad7124.py b/examples/ad7124.py index 5a733edea..0b7783265 100644 --- a/examples/ad7124.py +++ b/examples/ad7124.py @@ -4,11 +4,12 @@ import argparse -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Set up AD7124 # Optionally pass URI as command line argument with -u option, # else use default to "ip:analog.local" diff --git a/examples/ad7134_example.py b/examples/ad7134_example.py index 01adbaa26..ebd5d31d6 100644 --- a/examples/ad7134_example.py +++ b/examples/ad7134_example.py @@ -31,9 +31,10 @@ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import adi import numpy as np +import adi + ad7134_dev = adi.ad7134("ip:analog") chn = 0 diff --git a/examples/ad717x_example.py b/examples/ad717x_example.py index e82896993..4e7286edb 100644 --- a/examples/ad717x_example.py +++ b/examples/ad717x_example.py @@ -2,9 +2,10 @@ # # SPDX short identifier: ADIBSD -import adi import numpy as np +import adi + ad717x_dev = adi.ad717x("ip:analog") chn = 0 diff --git a/examples/ad719x_example.py b/examples/ad719x_example.py index 16b63a963..4bdd6b6b9 100644 --- a/examples/ad719x_example.py +++ b/examples/ad719x_example.py @@ -2,9 +2,10 @@ # # SPDX short identifier: ADIBSD -import adi import numpy as np +import adi + ad719x_dev = adi.ad719x("ip:analog") chn = 0 diff --git a/examples/ad738x_example.py b/examples/ad738x_example.py index e92cf047b..adc8a2bb7 100644 --- a/examples/ad738x_example.py +++ b/examples/ad738x_example.py @@ -3,9 +3,10 @@ # SPDX short identifier: ADIBSD import sys -import adi import numpy as np +import adi + my_uri = sys.argv[1] if len(sys.argv) >= 2 else "ip:analog.local" print("uri: " + str(my_uri)) diff --git a/examples/ad7606.py b/examples/ad7606.py index 7978d3f84..07c0b97ba 100644 --- a/examples/ad7606.py +++ b/examples/ad7606.py @@ -2,11 +2,12 @@ # # SPDX short identifier: ADIBSD -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Set up AD7606 ad7606 = adi.ad7606(uri="ip:analog") ad_channel = 0 diff --git a/examples/ad7689.py b/examples/ad7689.py index 1115cf171..b2fac47af 100644 --- a/examples/ad7689.py +++ b/examples/ad7689.py @@ -2,11 +2,12 @@ # # SPDX short identifier: ADIBSD -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Set up AD7689 ad7689 = adi.ad7689(uri="ip:analog") ad_channel = 0 diff --git a/examples/ad7768_4_example.py b/examples/ad7768_4_example.py index f702bac0e..35164a947 100644 --- a/examples/ad7768_4_example.py +++ b/examples/ad7768_4_example.py @@ -5,9 +5,10 @@ import sys from time import sleep -import adi import matplotlib.pyplot as plt +import adi + def display_settings(power_mode, sampling_frequency, filter_type, rx_enabled_channels): print("Power Mode: ", power_mode) diff --git a/examples/ad7768_example.py b/examples/ad7768_example.py index 4be625dc1..c45a70f5b 100644 --- a/examples/ad7768_example.py +++ b/examples/ad7768_example.py @@ -6,6 +6,7 @@ from time import sleep import matplotlib.pyplot as plt + from adi import ad7768 # Optionally pass URI as command line argument, diff --git a/examples/ad777x_example.py b/examples/ad777x_example.py index 69503cb34..a3afb31e2 100644 --- a/examples/ad777x_example.py +++ b/examples/ad777x_example.py @@ -2,9 +2,10 @@ # # SPDX short identifier: ADIBSD -import adi import numpy as np +import adi + ad777x_dev = adi.ad777x("ip:analog") chn = 0 diff --git a/examples/ad9081_dma_example.py b/examples/ad9081_dma_example.py index c8250fe23..64f2ef411 100644 --- a/examples/ad9081_dma_example.py +++ b/examples/ad9081_dma_example.py @@ -2,11 +2,12 @@ # # SPDX short identifier: ADIBSD -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def gen_tone(fc, fs, N): fc = int(fc / (fs / N)) * (fs / N) diff --git a/examples/ad9081_example.py b/examples/ad9081_example.py index e24a1fd38..2f6ed15c0 100644 --- a/examples/ad9081_example.py +++ b/examples/ad9081_example.py @@ -4,10 +4,11 @@ import time -import adi import matplotlib.pyplot as plt from scipy import signal +import adi + dev = adi.ad9081("ip:analog.local") # Configure properties diff --git a/examples/ad9081_ffh_example.py b/examples/ad9081_ffh_example.py index 80378f68e..8210f5c05 100644 --- a/examples/ad9081_ffh_example.py +++ b/examples/ad9081_ffh_example.py @@ -9,13 +9,14 @@ import sys import time -import adi import matplotlib.pyplot as plt import numpy as np import pandas as pd +from scipy import signal + +import adi from adi.gen_mux import genmux from adi.one_bit_adc_dac import one_bit_adc_dac -from scipy import signal def measure_phase_and_delay(chan0, chan1, window=None): diff --git a/examples/ad9081_sync_start_example.py b/examples/ad9081_sync_start_example.py index de0a326c9..6afbbbb04 100644 --- a/examples/ad9081_sync_start_example.py +++ b/examples/ad9081_sync_start_example.py @@ -4,12 +4,13 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np import pandas as pd from scipy import signal +import adi + dev = adi.ad9081("ip:analog.local") diff --git a/examples/ad9081_tdd_example.py b/examples/ad9081_tdd_example.py index d0812f7bd..95e30a194 100644 --- a/examples/ad9081_tdd_example.py +++ b/examples/ad9081_tdd_example.py @@ -4,10 +4,11 @@ import sys -import adi import matplotlib.pyplot as plt import numpy as np +import adi + url = "ip:analog-2.local" if len(sys.argv) == 1 else sys.argv[1] trx = adi.ad9081(url) diff --git a/examples/ad9083_vna.py b/examples/ad9083_vna.py index 89ae96e4c..cbb38d040 100644 --- a/examples/ad9083_vna.py +++ b/examples/ad9083_vna.py @@ -4,7 +4,6 @@ import time -import adi import matplotlib.pyplot as plt from numpy import ( absolute, @@ -24,6 +23,8 @@ from scipy import signal from scipy.signal import find_peaks +import adi + def spec_est(x, fs, ref=2 ** 15, plot=False, title=""): diff --git a/examples/ad9084_example.py b/examples/ad9084_example.py index 60260bd14..2c1cb4e37 100644 --- a/examples/ad9084_example.py +++ b/examples/ad9084_example.py @@ -4,10 +4,11 @@ import time -import adi import matplotlib.pyplot as plt from scipy import signal +import adi + dev = adi.ad9084("ip:10.44.3.185") print("CHIP Version:", dev.chip_version) diff --git a/examples/ad9172.py b/examples/ad9172.py index 74ab8f7f0..46e25069e 100644 --- a/examples/ad9172.py +++ b/examples/ad9172.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio tx = adi.ad9172(uri="ip:localhost") rx = adi.Pluto() diff --git a/examples/ad9265.py b/examples/ad9265.py index f71d2d9d9..69c9bd863 100644 --- a/examples/ad9265.py +++ b/examples/ad9265.py @@ -8,11 +8,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio rx = adi.ad9265(uri="ip:localhost") tx = adi.Pluto() diff --git a/examples/ad9361_example.py b/examples/ad9361_example.py index 911acfcdc..e2b82a831 100644 --- a/examples/ad9361_example.py +++ b/examples/ad9361_example.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio sdr = adi.ad9361(uri="ip:analog.local") diff --git a/examples/ad9371.py b/examples/ad9371.py index 0071c0f4e..c8bb4838e 100644 --- a/examples/ad9371.py +++ b/examples/ad9371.py @@ -5,11 +5,12 @@ import sys import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Optionally pass URI as command line argument, # else use default context manager search my_uri = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/examples/ad9371_dec8.py b/examples/ad9371_dec8.py index 9acc6636a..4c41a0d5b 100644 --- a/examples/ad9371_dec8.py +++ b/examples/ad9371_dec8.py @@ -5,11 +5,12 @@ import sys import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Optionally pass URI as command line argument, # else use default context manager search my_uri = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/examples/ad9375.py b/examples/ad9375.py index 7d07f576e..30cbef7c2 100644 --- a/examples/ad9375.py +++ b/examples/ad9375.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio sdr = adi.ad9375(uri="ip:192.168.10.231") diff --git a/examples/ad9434.py b/examples/ad9434.py index cccb30481..84b0cba95 100644 --- a/examples/ad9434.py +++ b/examples/ad9434.py @@ -8,11 +8,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio rx = adi.ad9434(uri="ip:localhost") tx = adi.Pluto() diff --git a/examples/ad9467.py b/examples/ad9467.py index 74c4e4313..0663901fc 100644 --- a/examples/ad9467.py +++ b/examples/ad9467.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio dev = adi.ad9467(uri="ip:analog") fs = int(250e6) # May need to adjust based on device diff --git a/examples/ad9739a.py b/examples/ad9739a.py index 1130c4469..8a3f76835 100644 --- a/examples/ad9739a.py +++ b/examples/ad9739a.py @@ -8,11 +8,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio tx = adi.ad9739a(uri="ip:localhost") rx = adi.Pluto() diff --git a/examples/adaq4224_example.py b/examples/adaq4224_example.py index 44c3669b2..b6e54f679 100644 --- a/examples/adaq4224_example.py +++ b/examples/adaq4224_example.py @@ -4,10 +4,11 @@ import sys -import adi import matplotlib.pyplot as plt import numpy as np +import adi + # Optionally pass URI as command line argument, # else use default context manager search my_uri = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/examples/adaq8092_example.py b/examples/adaq8092_example.py index 710340ebc..49a05aa5b 100644 --- a/examples/adaq8092_example.py +++ b/examples/adaq8092_example.py @@ -6,6 +6,7 @@ import matplotlib.pyplot as plt import numpy as np + from adi import adaq8092 # Optionally pass URI as command line argument, diff --git a/examples/adiplot.py b/examples/adiplot.py index 107d55a93..1507d5b8b 100644 --- a/examples/adiplot.py +++ b/examples/adiplot.py @@ -6,7 +6,6 @@ from queue import Full, Queue from random import randint -import adi import matplotlib.pyplot as plt import numpy as np import pyqtgraph as pg @@ -15,6 +14,8 @@ from scipy import signal from scipy.fftpack import fft +import adi + try: import genalyzer diff --git a/examples/adis16460.py b/examples/adis16460.py index 5c267b3b2..a574c4bfb 100644 --- a/examples/adis16460.py +++ b/examples/adis16460.py @@ -2,11 +2,12 @@ # # SPDX short identifier: ADIBSD -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Set up AD7124 adis16460 = adi.adis16460() diff --git a/examples/adis16480_example.py b/examples/adis16480_example.py index 86e285319..8f8817d3e 100644 --- a/examples/adis16480_example.py +++ b/examples/adis16480_example.py @@ -3,9 +3,10 @@ # SPDX short identifier: ADIBSD import sys -import adi import matplotlib.pyplot as plt +import adi + # Set up ADIS16480 my_dev_name = sys.argv[1] my_uri = sys.argv[2] diff --git a/examples/adis16507_example.py b/examples/adis16507_example.py index e666f65df..56756d6b0 100644 --- a/examples/adis16507_example.py +++ b/examples/adis16507_example.py @@ -2,10 +2,11 @@ # # SPDX short identifier: ADIBSD -import adi import matplotlib.pyplot as plt import numpy as np +import adi + # Set up ADIS16507 imu = adi.adis16507(uri="ip:analog") diff --git a/examples/adis16550_example.py b/examples/adis16550_example.py index 95b8f8ad4..cd8449727 100644 --- a/examples/adis16550_example.py +++ b/examples/adis16550_example.py @@ -3,9 +3,10 @@ # SPDX short identifier: ADIBSD import sys -import adi import matplotlib.pyplot as plt +import adi + # Set up ADIS16550 my_dev_name = sys.argv[1] my_uri = sys.argv[2] diff --git a/examples/adrv9002_example.py b/examples/adrv9002_example.py index f5fcb92a8..35fc32d6d 100644 --- a/examples/adrv9002_example.py +++ b/examples/adrv9002_example.py @@ -1,10 +1,11 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + sdr = adi.adrv9002(uri="ip:192.168.86.58") sdr.digital_gain_control_mode_chan0 = "Gain_Compensation_manual_control" sdr.digital_gain_control_mode_chan1 = "Gain_Compensation_manual_control" diff --git a/examples/adrv9002_profile_example.py b/examples/adrv9002_profile_example.py index 772100f40..409c25143 100644 --- a/examples/adrv9002_profile_example.py +++ b/examples/adrv9002_profile_example.py @@ -8,20 +8,22 @@ import os import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Find the location of this script since the profile folder is relative to it loc = os.path.dirname(os.path.realpath(__file__)) try: # Try using libadrv9002 to load profiles # Available at: https://analogdevicesinc.github.io/libadrv9002-iio/ - import adrv9002 as libadrv9002 import copy + import adrv9002 as libadrv9002 + use_prebuilt_profiles = False except ImportError: print("libadrv9002 not found. Using prebuilt profiles.") diff --git a/examples/adrv9009.py b/examples/adrv9009.py index 3a208d8d4..d58227afe 100644 --- a/examples/adrv9009.py +++ b/examples/adrv9009.py @@ -4,10 +4,11 @@ import time -import adi import matplotlib.pyplot as plt from scipy import signal +import adi + # Create radio sdr = adi.adrv9009() diff --git a/examples/adrv9009_som.py b/examples/adrv9009_som.py index 5575ce3a7..a539791d9 100644 --- a/examples/adrv9009_som.py +++ b/examples/adrv9009_som.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def measure_phase(chan0, chan1): errorV = np.angle(chan0 * np.conj(chan1)) * 180 / np.pi diff --git a/examples/adrv9009_som_fhm_phase.py b/examples/adrv9009_som_fhm_phase.py index b521e5fa8..d5c6ce51e 100644 --- a/examples/adrv9009_som_fhm_phase.py +++ b/examples/adrv9009_som_fhm_phase.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def measure_phase(chan0, chan1): errorV = np.angle(chan0 * np.conj(chan1)) * 180 / np.pi diff --git a/examples/adrv9009_som_multi.py b/examples/adrv9009_som_multi.py index 71410f975..020b4aff7 100644 --- a/examples/adrv9009_som_multi.py +++ b/examples/adrv9009_som_multi.py @@ -8,12 +8,13 @@ import os import time -import adi import matplotlib.pyplot as plt import numpy as np import scipy.io as sio from scipy import signal +import adi + def measure_phase_and_delay(chan0, chan1, window=None): assert len(chan0) == len(chan1) diff --git a/examples/adrv9009_som_single_sync.py b/examples/adrv9009_som_single_sync.py index b3cd724cb..e241cbace 100644 --- a/examples/adrv9009_som_single_sync.py +++ b/examples/adrv9009_som_single_sync.py @@ -8,12 +8,13 @@ import os import time -import adi import matplotlib.pyplot as plt import numpy as np import scipy.io as sio from scipy import signal +import adi + def measure_phase_and_delay(chan0, chan1, window=None): assert len(chan0) == len(chan1) diff --git a/examples/adrv9009_som_sync.py b/examples/adrv9009_som_sync.py index dfc1063ba..520ed0029 100644 --- a/examples/adrv9009_som_sync.py +++ b/examples/adrv9009_som_sync.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + def measure_phase(chan0, chan1): errorV = np.angle(chan0 * np.conj(chan1)) * 180 / np.pi diff --git a/examples/adxrs290.py b/examples/adxrs290.py index 419f5475e..1b20d29e2 100644 --- a/examples/adxrs290.py +++ b/examples/adxrs290.py @@ -4,11 +4,12 @@ from typing import List -import adi import matplotlib.animation as animation import matplotlib.pyplot as plt import numpy as np +import adi + # Set enable_plot to True if you want to plot in real-time enable_plot = True diff --git a/examples/cn0511_example.py b/examples/cn0511_example.py index bd7265371..0e0172645 100644 --- a/examples/cn0511_example.py +++ b/examples/cn0511_example.py @@ -4,9 +4,10 @@ import sys import time -import adi import numpy as np +import adi + # Set up CN0511. Replace URI with the actual uri of your CN0511 for remote access. uri = sys.argv[1] if len(sys.argv) >= 2 else "ip:analog.local" rpi_sig_gen = adi.cn0511(uri=uri) diff --git a/examples/cn0548/CN0548_simple_plot.py b/examples/cn0548/CN0548_simple_plot.py index 741b858bd..f66e230a9 100644 --- a/examples/cn0548/CN0548_simple_plot.py +++ b/examples/cn0548/CN0548_simple_plot.py @@ -40,11 +40,12 @@ from datetime import datetime from typing import List -import adi import click import matplotlib.animation as animation import matplotlib.pyplot as plt +import adi + unit = 24 x_init = -4 * unit y_init = 6 * unit diff --git a/examples/cn0548_py.py b/examples/cn0548_py.py index 1018e44f3..30f908d1b 100644 --- a/examples/cn0548_py.py +++ b/examples/cn0548_py.py @@ -43,8 +43,8 @@ try: import tkinter as tk - from tkinter import filedialog import tkinter.scrolledtext as tkscrolled + from tkinter import filedialog except ImportError: print("Please install tkinter") diff --git a/examples/cn0549/collect_data.py b/examples/cn0549/collect_data.py index b36aed06c..8384d6f7a 100644 --- a/examples/cn0549/collect_data.py +++ b/examples/cn0549/collect_data.py @@ -1,7 +1,8 @@ -import adi import matplotlib.pyplot as plt import numpy as np +import adi + uri = "ip:analog" captures = 100 samples_per_capture = 2 ** 12 diff --git a/examples/cn0554_example.py b/examples/cn0554_example.py index c55d9d526..ce2c3690a 100644 --- a/examples/cn0554_example.py +++ b/examples/cn0554_example.py @@ -5,9 +5,10 @@ import sys import time -import adi import numpy as np +import adi + # Optionally pass URI as command line argument, # else use default context manager search my_uri = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/examples/cn0556/cn0556_prod_tst_boost.py b/examples/cn0556/cn0556_prod_tst_boost.py index f30895ecb..f91bf9e9c 100644 --- a/examples/cn0556/cn0556_prod_tst_boost.py +++ b/examples/cn0556/cn0556_prod_tst_boost.py @@ -1,9 +1,10 @@ import sys import time -import adi import numpy as np +import adi + print("-----------------------------------------------------------------------") print("| EVAL-CN0556-EBZ: Programmable High Current Source/Sink Power Supply |") print("-----------------------------------------------------------------------") diff --git a/examples/cn0556/cn0556_prod_tst_buck.py b/examples/cn0556/cn0556_prod_tst_buck.py index f2b7863d7..22ba020f5 100644 --- a/examples/cn0556/cn0556_prod_tst_buck.py +++ b/examples/cn0556/cn0556_prod_tst_buck.py @@ -1,9 +1,10 @@ import sys import time -import adi import numpy as np +import adi + print("-----------------------------------------------------------------------") print("| EVAL-CN0556-EBZ: Programmable High Current Source/Sink Power Supply |") print("-----------------------------------------------------------------------") diff --git a/examples/cn0565/cn0565_back_projection.py b/examples/cn0565/cn0565_back_projection.py index 8a0c16874..7fb6e0d4a 100644 --- a/examples/cn0565/cn0565_back_projection.py +++ b/examples/cn0565/cn0565_back_projection.py @@ -9,11 +9,12 @@ import pyeit.eit.bp as bp import pyeit.eit.protocol as protocol import pyeit.mesh as mesh -from adi import cn0565 from pyeit.eit.fem import EITForward from pyeit.mesh.shape import thorax from pyeit.mesh.wrapper import PyEITAnomaly_Circle +from adi import cn0565 + # variable/board declaration value_type = "re" # re, im, others -> magnitude n_el = 16 # no of electrodes diff --git a/examples/cn0565/cn0565_example.py b/examples/cn0565/cn0565_example.py index 8453da6c2..52074fd1e 100644 --- a/examples/cn0565/cn0565_example.py +++ b/examples/cn0565/cn0565_example.py @@ -8,10 +8,11 @@ from datetime import datetime from math import sqrt -import adi import openpyxl import pandas as pd +import adi + # Electrode Names Dictionary electrode_name = [ "R26_C56_C57", # Electrode 0 diff --git a/examples/cn0565/cn0565_greit.py b/examples/cn0565/cn0565_greit.py index cc7ca5210..8a9099cba 100644 --- a/examples/cn0565/cn0565_greit.py +++ b/examples/cn0565/cn0565_greit.py @@ -9,11 +9,12 @@ import pyeit.eit.greit as greit import pyeit.eit.protocol as protocol import pyeit.mesh as mesh -from adi import cn0565 from pyeit.eit.fem import EITForward from pyeit.mesh.shape import thorax from pyeit.mesh.wrapper import PyEITAnomaly_Circle +from adi import cn0565 + # variable and parameter declaration value_type = "re" # re, im, others -> magnitude n_el = 16 # no of electrodes diff --git a/examples/cn0565/cn0565_jacobian.py b/examples/cn0565/cn0565_jacobian.py index 6bc70ab85..6bc6a79c3 100644 --- a/examples/cn0565/cn0565_jacobian.py +++ b/examples/cn0565/cn0565_jacobian.py @@ -9,12 +9,13 @@ import pyeit.eit.jac as jac import pyeit.eit.protocol as protocol import pyeit.mesh as mesh -from adi import cn0565 from pyeit.eit.fem import EITForward from pyeit.eit.interp2d import sim2pts from pyeit.mesh.shape import thorax from pyeit.mesh.wrapper import PyEITAnomaly_Circle +from adi import cn0565 + # variable and parameter declaration value_type = "re" # re, im, others -> magnitude n_el = 16 # no of electrodes diff --git a/examples/cn0565/cn0565_prod_tst.py b/examples/cn0565/cn0565_prod_tst.py index 860709bd8..4271fe675 100644 --- a/examples/cn0565/cn0565_prod_tst.py +++ b/examples/cn0565/cn0565_prod_tst.py @@ -8,10 +8,11 @@ from datetime import datetime from pprint import pprint -import adi import openpyxl import pandas as pd +import adi + # Electrode Names Dictionary electrode_name = [ "R26_C56_C57", # Electrode 0 diff --git a/examples/cn0565/cn0565_sample_plot.py b/examples/cn0565/cn0565_sample_plot.py index fd5d3f082..eb7fccb35 100644 --- a/examples/cn0565/cn0565_sample_plot.py +++ b/examples/cn0565/cn0565_sample_plot.py @@ -11,12 +11,13 @@ import pyeit.eit.jac as jac import pyeit.eit.protocol as protocol import pyeit.mesh as mesh -from adi import cn0565 from pyeit.eit.fem import EITForward from pyeit.eit.interp2d import sim2pts from pyeit.mesh.shape import thorax from pyeit.mesh.wrapper import PyEITAnomaly_Circle +from adi import cn0565 + print(" 1. build mesh, protocol and setup board ") value_type = "re" # re, im, others -> magnitude n_el = 16 # no of electrodes diff --git a/examples/cn0565/cn0565_test_iio.py b/examples/cn0565/cn0565_test_iio.py index 16c8a20bf..09b8159a8 100644 --- a/examples/cn0565/cn0565_test_iio.py +++ b/examples/cn0565/cn0565_test_iio.py @@ -3,11 +3,12 @@ import sys import time -import adi import numpy as np import serial.tools.list_ports from EitSerialReaderProtocol import EIT, EIT_Interface +import adi + def main(): # Electrodes diff --git a/examples/cn0565/main.py b/examples/cn0565/main.py index 19bf78c1a..2924500d5 100644 --- a/examples/cn0565/main.py +++ b/examples/cn0565/main.py @@ -8,7 +8,6 @@ import sys from types import MethodType -import adi import realtimeEITUI import serial import serial.tools.list_ports @@ -18,6 +17,8 @@ from matplotlib.figure import Figure from PyQt5 import QtCore, QtGui, QtWidgets +import adi + __tool_name__ = "Real Time Electrical Impedance Tomography" __banner__ = "Analog Devices" __version__ = "0.0.2.0" diff --git a/examples/cn0579/cn0579_example.py b/examples/cn0579/cn0579_example.py index eafb8673a..361f3d611 100644 --- a/examples/cn0579/cn0579_example.py +++ b/examples/cn0579/cn0579_example.py @@ -8,6 +8,7 @@ import matplotlib.pyplot as plt import numpy as np + from adi import cn0579 # Lets try to reuse the ./examples/ad4630/sin_params.py file instead of having diff --git a/examples/daq2.py b/examples/daq2.py index c2156e54d..77d6649a7 100644 --- a/examples/daq2.py +++ b/examples/daq2.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Set up DAQ2 daq = adi.DAQ2(uri="ip:192.168.86.44") diff --git a/examples/fmcadc3.py b/examples/fmcadc3.py index 004bcfc52..3f4d6645a 100644 --- a/examples/fmcadc3.py +++ b/examples/fmcadc3.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio rx = adi.fmcadc3(uri="ip:analog") tx = adi.Pluto() diff --git a/examples/fmcjesdadc1.py b/examples/fmcjesdadc1.py index a98a29f1d..300bdba42 100644 --- a/examples/fmcjesdadc1.py +++ b/examples/fmcjesdadc1.py @@ -8,11 +8,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio rx = adi.fmcjesdadc1(uri="ip:analog") tx = adi.Pluto() diff --git a/examples/fmcomms11.py b/examples/fmcomms11.py index f30326b5e..196f5a081 100644 --- a/examples/fmcomms11.py +++ b/examples/fmcomms11.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio sdr = adi.fmcomms11(uri="ip:analog") diff --git a/examples/fmcomms5.py b/examples/fmcomms5.py index 3b2b0ba83..25197b692 100644 --- a/examples/fmcomms5.py +++ b/examples/fmcomms5.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio sdr = adi.FMComms5(uri="ip:analog") diff --git a/examples/lidar.py b/examples/lidar.py index d0b092f46..ba9e1ca9e 100644 --- a/examples/lidar.py +++ b/examples/lidar.py @@ -20,13 +20,13 @@ from tkinter import filedialog, ttk import iio - import matplotlib.pyplot as plt import numpy as np -from adi.fmclidar1 import fmclidar1 from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from scipy.signal import firwin +from adi.fmclidar1 import fmclidar1 + lidar = None # Lidar context snapshot_path = "" # If set to non-empty, save the rx samples to that path reference_signal = [] # type: ignore Synthetic signal used for distance correlation diff --git a/examples/ltc2387_example.py b/examples/ltc2387_example.py index 611d486b2..15d399c7c 100644 --- a/examples/ltc2387_example.py +++ b/examples/ltc2387_example.py @@ -5,11 +5,12 @@ import sys -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + device_name = "ltc2387" vref = 4.096 diff --git a/examples/max11205_example.py b/examples/max11205_example.py index 0ede6e569..892cf63a6 100644 --- a/examples/max11205_example.py +++ b/examples/max11205_example.py @@ -5,9 +5,10 @@ import sys -import adi import numpy as np +import adi + # Optionally pass URI as command line argument, # else use default context manager search my_uri = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/examples/max14001_examples.py b/examples/max14001_examples.py index abc6f5044..96b9919cc 100644 --- a/examples/max14001_examples.py +++ b/examples/max14001_examples.py @@ -5,9 +5,10 @@ import sys -import adi import numpy as np +import adi + # Optionally pass URI as command line argument, # else use default context manager search # my_uri = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/examples/phaser/RADAR_FFT_Waterfall.py b/examples/phaser/RADAR_FFT_Waterfall.py index 1fc9b00d6..296b70e9d 100644 --- a/examples/phaser/RADAR_FFT_Waterfall.py +++ b/examples/phaser/RADAR_FFT_Waterfall.py @@ -5,7 +5,6 @@ import sys import time -import adi import matplotlib.pyplot as plt import numpy as np import pyqtgraph as pg @@ -13,6 +12,8 @@ from PyQt5.QtWidgets import * from pyqtgraph.Qt import QtCore, QtGui +import adi + # Instantiate all the Devices rpi_ip = "ip:phaser.local" # IP address of the Raspberry Pi sdr_ip = "ip:192.168.2.1" # "192.168.2.1, or pluto.local" # IP address of the Transceiver Block diff --git a/examples/phaser/SDR_functions.py b/examples/phaser/SDR_functions.py index 3ed7dc720..cfdf16f97 100644 --- a/examples/phaser/SDR_functions.py +++ b/examples/phaser/SDR_functions.py @@ -5,9 +5,10 @@ import sys import time -import adi import numpy as np +import adi + # MWT: Add uri argument... def SDR_LO_init( diff --git a/examples/phaser/phaser_examples.py b/examples/phaser/phaser_examples.py index c79238638..9eaa50cae 100644 --- a/examples/phaser/phaser_examples.py +++ b/examples/phaser/phaser_examples.py @@ -48,8 +48,6 @@ import matplotlib.pyplot as plt import numpy as np -from adi import ad9361 -from adi.cn0566 import CN0566 from phaser_functions import ( calculate_plot, channel_calibration, @@ -59,6 +57,9 @@ ) from scipy import signal +from adi import ad9361 +from adi.cn0566 import CN0566 + try: import config_custom as config # this has all the key parameters that the user would want to change (i.e. calibration phase and antenna element spacing) diff --git a/examples/phaser/phaser_find_hb100.py b/examples/phaser/phaser_find_hb100.py index f669b2576..708b5848c 100644 --- a/examples/phaser/phaser_find_hb100.py +++ b/examples/phaser/phaser_find_hb100.py @@ -49,11 +49,12 @@ import matplotlib.pyplot as plt import numpy as np -from adi import ad9361 -from adi.cn0566 import CN0566 from phaser_functions import save_hb100_cal, spec_est from scipy import signal +from adi import ad9361 +from adi.cn0566 import CN0566 + # First try to connect to a locally connected CN0566. On success, connect, # on failure, connect to remote CN0566 diff --git a/examples/phaser/phaser_gui.py b/examples/phaser/phaser_gui.py index 2bb02385c..779dfabee 100644 --- a/examples/phaser/phaser_gui.py +++ b/examples/phaser/phaser_gui.py @@ -44,7 +44,6 @@ from tkinter import * from tkinter import ttk -import adi import matplotlib.pyplot as plt import numpy as np from ADAR_pyadi_functions import * # import the ADAR1000 functions (These all start with ADAR_xxxx) @@ -54,6 +53,8 @@ from scipy import signal from SDR_functions import * # import the SDR functions (These all start with SDR_xxxx) +import adi + try: import config_custom as config # this has all the key parameters that the user would want to change (i.e. calibration phase and antenna element spacing) diff --git a/examples/phaser/phaser_minimal_example.py b/examples/phaser/phaser_minimal_example.py index 3b62fc32e..68e37e7de 100644 --- a/examples/phaser/phaser_minimal_example.py +++ b/examples/phaser/phaser_minimal_example.py @@ -49,9 +49,10 @@ import matplotlib.pyplot as plt import numpy as np +from phaser_functions import load_hb100_cal, spec_est + from adi import ad9361 from adi.cn0566 import CN0566 -from phaser_functions import load_hb100_cal, spec_est # First try to connect to a locally connected CN0566. On success, connect, # on failure, connect to remote CN0566 diff --git a/examples/phaser/phaser_prod_tst.py b/examples/phaser/phaser_prod_tst.py index c612ff36a..b10ce9413 100644 --- a/examples/phaser/phaser_prod_tst.py +++ b/examples/phaser/phaser_prod_tst.py @@ -55,8 +55,6 @@ import matplotlib.pyplot as plt import numpy as np -from adi import ad9361 -from adi.cn0566 import CN0566 from phaser_functions import ( calculate_plot, channel_calibration, @@ -66,6 +64,9 @@ ) from scipy import signal +from adi import ad9361 +from adi.cn0566 import CN0566 + start = time.time() failures = [] diff --git a/examples/pluto.py b/examples/pluto.py index 386b41177..ff02ae11b 100644 --- a/examples/pluto.py +++ b/examples/pluto.py @@ -4,11 +4,12 @@ import time -import adi import matplotlib.pyplot as plt import numpy as np from scipy import signal +import adi + # Create radio sdr = adi.Pluto() diff --git a/examples/pluto_tddn.py b/examples/pluto_tddn.py index b491297cf..15262645e 100644 --- a/examples/pluto_tddn.py +++ b/examples/pluto_tddn.py @@ -2,10 +2,11 @@ # # SPDX short identifier: ADIBSD -import adi import matplotlib.pyplot as plt import numpy as np +import adi + plt.close("all") # This script uses the new Pluto TDD engine diff --git a/examples/waterfall.py b/examples/waterfall.py index 16542398c..03614a5b5 100644 --- a/examples/waterfall.py +++ b/examples/waterfall.py @@ -1,12 +1,13 @@ # Waterfall Plot with PlutoSDR # Original code: https://hackaday.io/project/165403/logs -import adi import numpy as np import pygame from matplotlib import mlab as mlab from PIL import Image +import adi + DISPLAY_WIDTH = 256 DISPLAY_HEIGHT = 200 diff --git a/pyproject.toml b/pyproject.toml index ea7a49704..09c65d63c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,13 +12,13 @@ classifiers = [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules"] -requires-python = ">=3.7" +requires-python = ">=3.8" authors = [ {name = "Travis Collins", email="travis.collins@analog.com"}, ] @@ -57,6 +57,7 @@ include_trailing_comma="True" force_grid_wrap=0 use_parentheses="True" line_length=88 +profile="black" [tool.mypy] ignore_missing_imports="true" diff --git a/supported_parts.md b/supported_parts.md index 3fed533f0..14a8abce8 100644 --- a/supported_parts.md +++ b/supported_parts.md @@ -3,7 +3,7 @@ ![PyADI-IIO Logo](images/PyADI-IIO_Logo_72.png) [![Build Status](https://travis-ci.org/analogdevicesinc/pyadi-iio.svg?branch=master)](https://travis-ci.org/analogdevicesinc/pyadi-iio) -[![PyPI version](https://badge.fury.io/py/pyadi-iio.svg)](https://badge.fury.io/py/pyadi-iio) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/4bd027bfc5774029a30a9e1cedf5a434)](https://www.codacy.com/app/travis.collins/pyadi-iio?utm_source=github.com&utm_medium=referral&utm_content=analogdevicesinc/pyadi-iio&utm_campaign=Badge_Grade) [![](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/download/releases/3.7.0/) +[![PyPI version](https://badge.fury.io/py/pyadi-iio.svg)](https://badge.fury.io/py/pyadi-iio) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/4bd027bfc5774029a30a9e1cedf5a434)](https://www.codacy.com/app/travis.collins/pyadi-iio?utm_source=github.com&utm_medium=referral&utm_content=analogdevicesinc/pyadi-iio&utm_campaign=Badge_Grade) [![](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/download/releases/3.8.0/) [[Docs](http://analogdevicesinc.github.io/pyadi-iio/)] [[Support](http://ez.analog.com)] diff --git a/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.json b/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.json new file mode 100644 index 000000000..2401536e7 --- /dev/null +++ b/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.json @@ -0,0 +1,1328 @@ +{ + "clocks": { + "deviceClock_kHz": 38400, + "clkPllVcoFreq_daHz": 884736000, + "clkPllHsDiv": 0, + "clkPllMode": 0, + "clk1105Div": 2, + "armClkDiv": 6, + "armPowerSavingClkDiv": 1, + "refClockOutEnable": true, + "auxPllPower": 2, + "clkPllPower": 2, + "padRefClkDrv": 0, + "extLo1OutFreq_kHz": 0, + "extLo2OutFreq_kHz": 0, + "rfPll1LoMode": 0, + "rfPll2LoMode": 0, + "ext1LoType": 0, + "ext2LoType": 0, + "rx1RfInputSel": 0, + "rx2RfInputSel": 0, + "extLo1Divider": 2, + "extLo2Divider": 2, + "rfPllPhaseSyncMode": 0, + "rx1LoSelect": 2, + "rx2LoSelect": 2, + "tx1LoSelect": 1, + "tx2LoSelect": 1, + "rx1LoDivMode": 1, + "rx2LoDivMode": 1, + "tx1LoDivMode": 1, + "tx2LoDivMode": 1, + "loGen1Select": 1, + "loGen2Select": 1 + }, + "rx": { + "rxInitChannelMask": 195, + "rxChannelCfg": [ { + "profile": { + "primarySigBandwidth_Hz": 9000000, + "rxOutputRate_Hz": 15360000, + "rxInterfaceSampleRate_Hz": 15360000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 1, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 1, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 15360000, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 9000000, + "rxOutputRate_Hz": 15360000, + "rxInterfaceSampleRate_Hz": 15360000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 2, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 1, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 15360000, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 2, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 9000000, + "rxOutputRate_Hz": 15360000, + "rxInterfaceSampleRate_Hz": 15360000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 64, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 1, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 9000000, + "rxOutputRate_Hz": 15360000, + "rxInterfaceSampleRate_Hz": 15360000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 128, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 3, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + } ] + }, + "tx": { + "txInitChannelMask": 12, + "txProfile": [ { + "primarySigBandwidth_Hz": 9000000, + "txInputRate_Hz": 15360000, + "txInterfaceSampleRate_Hz": 15360000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 0, + "txPreProcWbNbPfirQBankSel": 1 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 0, + "txInterpBy2Blk24En": 1, + "txInterpBy2Blk22En": 1, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 2, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + }, { + "primarySigBandwidth_Hz": 9000000, + "txInputRate_Hz": 15360000, + "txInterfaceSampleRate_Hz": 15360000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 2, + "txPreProcWbNbPfirQBankSel": 3 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 0, + "txInterpBy2Blk24En": 1, + "txInterpBy2Blk22En": 1, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 2, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } ] + }, + "sysConfig": { + "duplexMode": 1, + "fhModeOn": 0, + "numDynamicProfiles": 1, + "mcsMode": 0, + "mcsInterfaceType": 0, + "adcTypeMonitor": 1, + "pllLockTime_us": 380, + "pllPhaseSyncWait_us": 0, + "pllModulus": { + "modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ], + "dmModulus": [ 8388593, 8388593 ] + }, + "warmBootEnable": false + }, + "pfirBuffer": { + "pfirRxWbNbChFilterCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxWbNbChFilterCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxNbPulShp": [ { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagLowTiaLowSRHp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + } ], + "pfirRxMagLowTiaLowSRLp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + } ], + "pfirTxMagComp1": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagComp2": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ] + } +} diff --git a/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.stream b/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.stream new file mode 100644 index 000000000..79bfb3e61 Binary files /dev/null and b/test/adrv9002_profiles/lte_10_lvds_nco_api_68_14_10.stream differ diff --git a/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.json b/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.json new file mode 100644 index 000000000..55b3aaed8 --- /dev/null +++ b/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.json @@ -0,0 +1,1328 @@ +{ + "clocks": { + "deviceClock_kHz": 38400, + "clkPllVcoFreq_daHz": 884736000, + "clkPllHsDiv": 0, + "clkPllMode": 0, + "clk1105Div": 2, + "armClkDiv": 6, + "armPowerSavingClkDiv": 1, + "refClockOutEnable": true, + "auxPllPower": 2, + "clkPllPower": 2, + "padRefClkDrv": 0, + "extLo1OutFreq_kHz": 0, + "extLo2OutFreq_kHz": 0, + "rfPll1LoMode": 0, + "rfPll2LoMode": 0, + "ext1LoType": 0, + "ext2LoType": 0, + "rx1RfInputSel": 0, + "rx2RfInputSel": 0, + "extLo1Divider": 2, + "extLo2Divider": 2, + "rfPllPhaseSyncMode": 0, + "rx1LoSelect": 2, + "rx2LoSelect": 2, + "tx1LoSelect": 1, + "tx2LoSelect": 1, + "rx1LoDivMode": 1, + "rx2LoDivMode": 1, + "tx1LoDivMode": 1, + "tx2LoDivMode": 1, + "loGen1Select": 1, + "loGen2Select": 1 + }, + "rx": { + "rxInitChannelMask": 195, + "rxChannelCfg": [ { + "profile": { + "primarySigBandwidth_Hz": 18000000, + "rxOutputRate_Hz": 30720000, + "rxInterfaceSampleRate_Hz": 30720000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 1, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 18000000, + "rxOutputRate_Hz": 30720000, + "rxInterfaceSampleRate_Hz": 30720000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 2, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 2, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 18000000, + "rxOutputRate_Hz": 30720000, + "rxInterfaceSampleRate_Hz": 30720000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 64, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 1, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 18000000, + "rxOutputRate_Hz": 30720000, + "rxInterfaceSampleRate_Hz": 30720000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 128, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 3, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + } ] + }, + "tx": { + "txInitChannelMask": 12, + "txProfile": [ { + "primarySigBandwidth_Hz": 18000000, + "txInputRate_Hz": 30720000, + "txInterfaceSampleRate_Hz": 30720000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 0, + "txPreProcWbNbPfirQBankSel": 1 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 0, + "txInterpBy2Blk24En": 0, + "txInterpBy2Blk22En": 1, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 0, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + }, { + "primarySigBandwidth_Hz": 18000000, + "txInputRate_Hz": 30720000, + "txInterfaceSampleRate_Hz": 30720000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 2, + "txPreProcWbNbPfirQBankSel": 3 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 0, + "txInterpBy2Blk24En": 0, + "txInterpBy2Blk22En": 1, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 0, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } ] + }, + "sysConfig": { + "duplexMode": 1, + "fhModeOn": 0, + "numDynamicProfiles": 1, + "mcsMode": 0, + "mcsInterfaceType": 0, + "adcTypeMonitor": 1, + "pllLockTime_us": 380, + "pllPhaseSyncWait_us": 0, + "pllModulus": { + "modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ], + "dmModulus": [ 8388593, 8388593 ] + }, + "warmBootEnable": false + }, + "pfirBuffer": { + "pfirRxWbNbChFilterCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxWbNbChFilterCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxNbPulShp": [ { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagLowTiaLowSRHp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + } ], + "pfirRxMagLowTiaLowSRLp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + } ], + "pfirTxMagComp1": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagComp2": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ] + } +} diff --git a/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.stream b/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.stream new file mode 100644 index 000000000..79bfb3e61 Binary files /dev/null and b/test/adrv9002_profiles/lte_20_lvds_api_68_14_10.stream differ diff --git a/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.json b/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.json new file mode 100644 index 000000000..c8148ce6a --- /dev/null +++ b/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.json @@ -0,0 +1,1328 @@ +{ + "clocks": { + "deviceClock_kHz": 38400, + "clkPllVcoFreq_daHz": 884736000, + "clkPllHsDiv": 0, + "clkPllMode": 0, + "clk1105Div": 2, + "armClkDiv": 6, + "armPowerSavingClkDiv": 1, + "refClockOutEnable": true, + "auxPllPower": 2, + "clkPllPower": 2, + "padRefClkDrv": 0, + "extLo1OutFreq_kHz": 0, + "extLo2OutFreq_kHz": 0, + "rfPll1LoMode": 0, + "rfPll2LoMode": 0, + "ext1LoType": 0, + "ext2LoType": 0, + "rx1RfInputSel": 0, + "rx2RfInputSel": 0, + "extLo1Divider": 2, + "extLo2Divider": 2, + "rfPllPhaseSyncMode": 0, + "rx1LoSelect": 2, + "rx2LoSelect": 2, + "tx1LoSelect": 1, + "tx2LoSelect": 1, + "rx1LoDivMode": 1, + "rx2LoDivMode": 1, + "tx1LoDivMode": 1, + "tx2LoDivMode": 1, + "loGen1Select": 1, + "loGen2Select": 1 + }, + "rx": { + "rxInitChannelMask": 195, + "rxChannelCfg": [ { + "profile": { + "primarySigBandwidth_Hz": 38000000, + "rxOutputRate_Hz": 61440000, + "rxInterfaceSampleRate_Hz": 61440000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 1, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 38000000, + "rxOutputRate_Hz": 61440000, + "rxInterfaceSampleRate_Hz": 61440000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 2, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 2, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 38000000, + "rxOutputRate_Hz": 61440000, + "rxInterfaceSampleRate_Hz": 61440000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 64, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 1, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 38000000, + "rxOutputRate_Hz": 61440000, + "rxInterfaceSampleRate_Hz": 61440000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 128, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 3, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + } ] + }, + "tx": { + "txInitChannelMask": 12, + "txProfile": [ { + "primarySigBandwidth_Hz": 38000000, + "txInputRate_Hz": 61440000, + "txInterfaceSampleRate_Hz": 61440000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 0, + "txPreProcWbNbPfirQBankSel": 1 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 0, + "txInterpBy2Blk24En": 0, + "txInterpBy2Blk22En": 0, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 0, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + }, { + "primarySigBandwidth_Hz": 38000000, + "txInputRate_Hz": 61440000, + "txInterfaceSampleRate_Hz": 61440000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 2, + "txPreProcWbNbPfirQBankSel": 3 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 0, + "txInterpBy2Blk24En": 0, + "txInterpBy2Blk22En": 0, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 0, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 2, + "ssiDataFormatSel": 4, + "numLaneSel": 1, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": true, + "rxMaskStrobeEn": false + } + } ] + }, + "sysConfig": { + "duplexMode": 1, + "fhModeOn": 0, + "numDynamicProfiles": 1, + "mcsMode": 0, + "mcsInterfaceType": 0, + "adcTypeMonitor": 1, + "pllLockTime_us": 380, + "pllPhaseSyncWait_us": 0, + "pllModulus": { + "modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ], + "dmModulus": [ 8388593, 8388593 ] + }, + "warmBootEnable": false + }, + "pfirBuffer": { + "pfirRxWbNbChFilterCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxWbNbChFilterCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxNbPulShp": [ { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagLowTiaLowSRHp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + } ], + "pfirRxMagLowTiaLowSRLp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + } ], + "pfirTxMagComp1": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagComp2": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ] + } +} diff --git a/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.stream b/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.stream new file mode 100644 index 000000000..79bfb3e61 Binary files /dev/null and b/test/adrv9002_profiles/lte_40_lvds_api_68_14_10.stream differ diff --git a/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.json b/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.json new file mode 100644 index 000000000..03ddbe022 --- /dev/null +++ b/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.json @@ -0,0 +1,1328 @@ +{ + "clocks": { + "deviceClock_kHz": 38400, + "clkPllVcoFreq_daHz": 884736000, + "clkPllHsDiv": 0, + "clkPllMode": 0, + "clk1105Div": 2, + "armClkDiv": 6, + "armPowerSavingClkDiv": 1, + "refClockOutEnable": true, + "auxPllPower": 2, + "clkPllPower": 2, + "padRefClkDrv": 0, + "extLo1OutFreq_kHz": 0, + "extLo2OutFreq_kHz": 0, + "rfPll1LoMode": 0, + "rfPll2LoMode": 0, + "ext1LoType": 0, + "ext2LoType": 0, + "rx1RfInputSel": 0, + "rx2RfInputSel": 0, + "extLo1Divider": 2, + "extLo2Divider": 2, + "rfPllPhaseSyncMode": 0, + "rx1LoSelect": 2, + "rx2LoSelect": 2, + "tx1LoSelect": 1, + "tx2LoSelect": 1, + "rx1LoDivMode": 1, + "rx2LoDivMode": 1, + "tx1LoDivMode": 1, + "tx2LoDivMode": 1, + "loGen1Select": 1, + "loGen2Select": 1 + }, + "rx": { + "rxInitChannelMask": 195, + "rxChannelCfg": [ { + "profile": { + "primarySigBandwidth_Hz": 4500000, + "rxOutputRate_Hz": 7680000, + "rxInterfaceSampleRate_Hz": 7680000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 1, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 1, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 1, + "ssiDataFormatSel": 4, + "numLaneSel": 2, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 4500000, + "rxOutputRate_Hz": 7680000, + "rxInterfaceSampleRate_Hz": 7680000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 20000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 40000, + "rxCorner3dBLp_kHz": 40000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 2, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 1, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 2, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 1 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 1, + "ssiDataFormatSel": 4, + "numLaneSel": 2, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 4500000, + "rxOutputRate_Hz": 7680000, + "rxInterfaceSampleRate_Hz": 7680000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 64, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 1, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 1, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 1, + "ssiDataFormatSel": 4, + "numLaneSel": 2, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 4500000, + "rxOutputRate_Hz": 7680000, + "rxInterfaceSampleRate_Hz": 7680000, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 50000000, + "lpAdcCorner": 0, + "adcClk_kHz": 2211840, + "rxCorner3dB_kHz": 100000, + "rxCorner3dBLp_kHz": 100000, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 128, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 1, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 1, + "decBy2Blk31En": 1, + "decBy2Blk33En": 1, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 1, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 4, + "hbMux": 2, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 3, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 1, + "ssiDataFormatSel": 4, + "numLaneSel": 2, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + }, { + "profile": { + "primarySigBandwidth_Hz": 12500, + "rxOutputRate_Hz": 0, + "rxInterfaceSampleRate_Hz": 0, + "rxOffsetLo_kHz": 0, + "rxNcoEnable": false, + "outputSignaling": 0, + "filterOrder": 1, + "filterOrderLp": 1, + "hpAdcCorner": 0, + "lpAdcCorner": 0, + "adcClk_kHz": 0, + "rxCorner3dB_kHz": 0, + "rxCorner3dBLp_kHz": 0, + "tiaPower": 2, + "tiaPowerLp": 2, + "channelType": 0, + "adcType": 1, + "lpAdcCalMode": 0, + "gainTableType": 0, + "rxDpProfile": { + "rxNbDecTop": { + "scicBlk23En": 0, + "scicBlk23DivFactor": 0, + "scicBlk23LowRippleEn": 0, + "decBy2Blk35En": 0, + "decBy2Blk37En": 0, + "decBy2Blk39En": 0, + "decBy2Blk41En": 0, + "decBy2Blk43En": 0, + "decBy3Blk45En": 0, + "decBy2Blk47En": 0 + }, + "rxWbDecTop": { + "decBy2Blk25En": 0, + "decBy2Blk27En": 0, + "decBy2Blk29En": 0, + "decBy2Blk31En": 0, + "decBy2Blk33En": 0, + "wbLpfBlk33p1En": 0 + }, + "rxDecTop": { + "decBy3Blk15En": 0, + "decBy2Hb3Blk17p1En": 0, + "decBy2Hb4Blk17p2En": 0, + "decBy2Hb5Blk19p1En": 0, + "decBy2Hb6Blk19p2En": 0 + }, + "rxSincHBTop": { + "sincGainMux": 1, + "sincMux": 0, + "hbMux": 4, + "isGainCompEnabled": 0, + "gainComp9GainI": [ 16384, 16384, 16384, 16384, 16384, 16384 ], + "gainComp9GainQ": [ 0, 0, 0, 0, 0, 0 ] + }, + "rxNbDem": { + "dpInFifo": { + "dpInFifoEn": 0, + "dpInFifoMode": 0, + "dpInFifoTestDataSel": 0 + }, + "rxNbNco": { + "rxNbNcoEn": 0, + "rxNbNcoConfig": { + "freq": 0, + "sampleFreq": 0, + "phase": 0, + "realOut": 0 + } + }, + "rxWbNbCompPFir": { + "bankSel": 0, + "rxWbNbCompPFirInMuxSel": 0, + "rxWbNbCompPFirEn": 0 + }, + "resamp": { + "rxResampEn": 0, + "resampPhaseI": 0, + "resampPhaseQ": 0 + }, + "gsOutMuxSel": 1, + "rxOutSel": 0, + "rxRoundMode": 0, + "dpArmSel": 0 + } + }, + "lnaConfig": { + "externalLnaPresent": false, + "gpioSourceSel": 0, + "externalLnaPinSel": 0, + "settlingDelay": 0, + "numberLnaGainSteps": 0, + "lnaGainSteps_mdB": [ 0, 0, 0, 0 ], + "lnaDigitalGainDelay": 0, + "minGainIndex": 0, + "lnaType": 0 + }, + "rxSsiConfig": { + "ssiType": 0, + "ssiDataFormatSel": 0, + "numLaneSel": 0, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 0, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } + } ] + }, + "tx": { + "txInitChannelMask": 12, + "txProfile": [ { + "primarySigBandwidth_Hz": 4500000, + "txInputRate_Hz": 7680000, + "txInterfaceSampleRate_Hz": 7680000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 0, + "txPreProcWbNbPfirQBankSel": 1 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 1, + "txInterpBy2Blk24En": 1, + "txInterpBy2Blk22En": 1, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 0, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 1, + "ssiDataFormatSel": 4, + "numLaneSel": 2, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + }, { + "primarySigBandwidth_Hz": 4500000, + "txInputRate_Hz": 7680000, + "txInterfaceSampleRate_Hz": 7680000, + "txOffsetLo_kHz": 0, + "validDataDelay": 0, + "txBbf3dBCorner_kHz": 50000, + "outputSignaling": 0, + "txPdBiasCurrent": 1, + "txPdGainEnable": 0, + "txPrePdRealPole_kHz": 1000000, + "txPostPdRealPole_kHz": 530000, + "txBbfPower": 2, + "txExtLoopBackType": 0, + "txExtLoopBackForInitCal": 0, + "txPeakLoopBackPower": 0, + "frequencyDeviation_Hz": 0, + "txDpProfile": { + "txPreProc": { + "txPreProcSymbol0": 0, + "txPreProcSymbol1": 0, + "txPreProcSymbol2": 0, + "txPreProcSymbol3": 0, + "txPreProcSymMapDivFactor": 1, + "txPreProcMode": 1, + "txPreProcWbNbPfirIBankSel": 2, + "txPreProcWbNbPfirQBankSel": 3 + }, + "txWbIntTop": { + "txInterpBy2Blk30En": 0, + "txInterpBy2Blk28En": 0, + "txInterpBy2Blk26En": 1, + "txInterpBy2Blk24En": 1, + "txInterpBy2Blk22En": 1, + "txWbLpfBlk22p1En": 0 + }, + "txNbIntTop": { + "txInterpBy2Blk20En": 0, + "txInterpBy2Blk18En": 0, + "txInterpBy2Blk16En": 0, + "txInterpBy2Blk14En": 0, + "txInterpBy2Blk12En": 0, + "txInterpBy3Blk10En": 0, + "txInterpBy2Blk8En": 0, + "txScicBlk32En": 0, + "txScicBlk32DivFactor": 1 + }, + "txIntTop": { + "interpBy3Blk44p1En": 1, + "sinc3Blk44En": 0, + "sinc2Blk42En": 0, + "interpBy3Blk40En": 1, + "interpBy2Blk38En": 0, + "interpBy2Blk36En": 0 + }, + "txIntTopFreqDevMap": { + "rrc2Frac": 0, + "mpll": 0, + "nchLsw": 0, + "nchMsb": 0, + "freqDevMapEn": 0, + "txRoundEn": 1 + }, + "txIqdmDuc": { + "iqdmDucMode": 0, + "iqdmDev": 0, + "iqdmDevOffset": 0, + "iqdmScalar": 0, + "iqdmThreshold": 0, + "iqdmNco": { + "freq": 0, + "sampleFreq": 61440000, + "phase": 0, + "realOut": 0 + } + } + }, + "txSsiConfig": { + "ssiType": 1, + "ssiDataFormatSel": 4, + "numLaneSel": 2, + "strobeType": 0, + "lsbFirst": 0, + "qFirst": 0, + "txRefClockPin": 1, + "lvdsIBitInversion": false, + "lvdsQBitInversion": false, + "lvdsStrobeBitInversion": false, + "lvdsUseLsbIn12bitMode": 0, + "lvdsRxClkInversionEn": false, + "cmosDdrPosClkEn": false, + "cmosClkInversionEn": false, + "ddrEn": false, + "rxMaskStrobeEn": false + } + } ] + }, + "sysConfig": { + "duplexMode": 1, + "fhModeOn": 0, + "numDynamicProfiles": 1, + "mcsMode": 0, + "mcsInterfaceType": 0, + "adcTypeMonitor": 1, + "pllLockTime_us": 380, + "pllPhaseSyncWait_us": 0, + "pllModulus": { + "modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ], + "dmModulus": [ 8388593, 8388593 ] + }, + "warmBootEnable": false + }, + "pfirBuffer": { + "pfirRxWbNbChFilterCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxWbNbChFilterCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 475, 312, -782, -39, 1201, -777, -1182, 1981, 177, -2874, 1941, 2393, -4416, 225, 5594, -4581, -3668, 8650, -1992, -9342, 9646, 4213, -15137, 6404, 13615, -18199, -2610, 23969, -15142, -17198, 31204, -3269, -34604, 30213, 17955, -49337, 16361, 45636, -53954, -12567, 72920, -40769, -54562, 89506, -4148, -102269, 83183, 57280, -142874, 41767, 139213, -158628, -45955, 231679, -125964, -193870, 320642, -4532, -442087, 390927, 347244, -1055854, 429729, 4391599, 4391599, 429729, -1055854, 347244, 390927, -442087, -4532, 320642, -193870, -125964, 231679, -45955, -158628, 139213, 41767, -142874, 57280, 83183, -102269, -4148, 89506, -54562, -40769, 72920, -12567, -53954, 45636, 16361, -49337, 17955, 30213, -34604, -3269, 31204, -17198, -15142, 23969, -2610, -18199, 13615, 6404, -15137, 4213, 9646, -9342, -1992, 8650, -3668, -4581, 5594, 225, -4416, 2393, 1941, -2874, 177, 1981, -1182, -777, 1201, -39, -782, 312, 0 ] + }, + "pfirRxWbNbChFilterCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_A": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_B": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_C": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirTxWbNbPulShpCoeff_D": { + "numCoeff": 128, + "symmetricSel": 0, + "tapsSel": 3, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, + "pfirRxNbPulShp": [ { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 128, + "symmetricSel": 0, + "taps": 128, + "gainSel": 2, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8388608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagLowTiaLowSRHp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 734, -1489, 2594, -3965, 5403, -6516, 5868, 27957, 5868, -6516, 5403, -3965, 2594, -1489, 734, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -829, 201, 1857, -179, -4602, -1259, 11431, 19102, 11431, -1259, -4602, -179, 1857, 201, -829, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRHp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 714, -1485, 2134, -1844, -219, 4147, -8514, 8496, 26292, 8496, -8514, 4147, -219, -1844, 2134, -1485, 714, -229, 39 ] + } ], + "pfirRxMagLowTiaLowSRLp": [ { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + }, { + "numCoeff": 21, + "coefficients": [ -12, 83, -293, 733, -1488, 2593, -3963, 5401, -6514, 5870, 27953, 5870, -6514, 5401, -3963, 2593, -1488, 733, -293, 83, -12 ] + } ], + "pfirRxMagLowTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + }, { + "numCoeff": 21, + "coefficients": [ -62, 194, 80, -828, 201, 1855, -180, -4597, -1254, 11428, 19093, 11428, -1254, -4597, -180, 1855, 201, -828, 80, 194, -62 ] + } ], + "pfirRxMagHighTiaHighSRLp": [ { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + }, { + "numCoeff": 21, + "coefficients": [ 39, -229, 712, -1481, 2128, -1841, -215, 4131, -8490, 8497, 26266, 8497, -8490, 4131, -215, -1841, 2128, -1481, 712, -229, 39 ] + } ], + "pfirTxMagComp1": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagComp2": { + "numCoeff": 21, + "coefficients": [ 69, -384, 1125, -2089, 2300, -165, -5248, 12368, -13473, 4864, 34039, 4864, -13473, 12368, -5248, -165, 2300, -2089, 1125, -384, 69 ] + }, + "pfirTxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ], + "pfirRxMagCompNb": [ { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + }, { + "numCoeff": 13, + "coefficients": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + } ] + } +} diff --git a/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.stream b/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.stream new file mode 100644 index 000000000..79bfb3e61 Binary files /dev/null and b/test/adrv9002_profiles/lte_5_cmos_api_68_14_10.stream differ diff --git a/test/attr_tests.py b/test/attr_tests.py index fc10ae210..ee1e7e989 100644 --- a/test/attr_tests.py +++ b/test/attr_tests.py @@ -8,10 +8,11 @@ pytest_configure, ) -import adi import numpy as np import pytest +import adi + def floor_step_size(quantity, step_size): """Quantize to specific stepsize diff --git a/test/common.py b/test/common.py index f10903c2d..545033a21 100644 --- a/test/common.py +++ b/test/common.py @@ -3,11 +3,11 @@ from test.globals import * import iio - -import adi import numpy as np import pytest +import adi + def pytest_configure(config): # Add customer marks to ini to remove warnings diff --git a/test/conftest.py b/test/conftest.py index 3a3f2f442..24907b0dc 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -16,10 +16,11 @@ from test.globals import * from test.html import pytest_html_report_title, pytest_runtest_makereport -import adi import numpy as np import pytest +import adi + try: from test.scpi import dcxo_calibrate diff --git a/test/dma_tests.py b/test/dma_tests.py index be4d6be27..01a1d4c16 100644 --- a/test/dma_tests.py +++ b/test/dma_tests.py @@ -2,12 +2,13 @@ import test.rf.spec as spec import time -import adi import numpy as np import pytest from numpy.fft import fft, fftfreq, fftshift from scipy import signal +import adi + try: from .plot_logger import gen_line_plot_html diff --git a/test/generics.py b/test/generics.py index ba16e0ff1..f54593e66 100644 --- a/test/generics.py +++ b/test/generics.py @@ -3,9 +3,9 @@ from test.globals import * import iio - import numpy as np import pytest + from adi.context_manager import context_manager from adi.rx_tx import rx diff --git a/test/scpi.py b/test/scpi.py index 4f7fe8842..a07c93fc3 100644 --- a/test/scpi.py +++ b/test/scpi.py @@ -4,14 +4,14 @@ from weakref import finalize import iio - -import adi import numpy as np import paramiko import pytest import pyvisa from pyvisa import constants +import adi + supported_instruments = ["HAMEG Instruments,HM8123,5.12"] diff --git a/test/test_ad4630.py b/test/test_ad4630.py index 53fdc8ec0..e6f8640bd 100644 --- a/test/test_ad4630.py +++ b/test/test_ad4630.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["ad4030-24", "ad4630-24"] classname = "adi.ad4630" diff --git a/test/test_ad5754r.py b/test/test_ad5754r.py index 1478ffccd..4260c8822 100644 --- a/test/test_ad5754r.py +++ b/test/test_ad5754r.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = "ad5754r" classname = "adi.ad5754r" diff --git a/test/test_ad5940.py b/test/test_ad5940.py index b050b532e..1657ceb19 100644 --- a/test/test_ad5940.py +++ b/test/test_ad5940.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["ad5940"] classname = "adi.ad5940" diff --git a/test/test_ad7124_8.py b/test/test_ad7124_8.py index ade7e09f2..1ae74eea1 100644 --- a/test/test_ad7124_8.py +++ b/test/test_ad7124_8.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = "ad7124-8" classname = "adi.ad7124" diff --git a/test/test_adg2128.py b/test/test_adg2128.py index 24d65fe46..0c8d05ced 100644 --- a/test/test_adg2128.py +++ b/test/test_adg2128.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["adg2128"] classname = "adi.adg2128" diff --git a/test/test_adis16475_p.py b/test/test_adis16475_p.py index ed21bcdc0..fa15695ff 100644 --- a/test/test_adis16475_p.py +++ b/test/test_adis16475_p.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = "adis16475" classname = "adi.adis16475" diff --git a/test/test_adis16480.py b/test/test_adis16480.py index 4049d40d8..d87205728 100644 --- a/test/test_adis16480.py +++ b/test/test_adis16480.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = "adis16480" classname = "adi.adis16480" device_name = "adis16480" diff --git a/test/test_adis16550.py b/test/test_adis16550.py index 43b19888a..f37afbe64 100644 --- a/test/test_adis16550.py +++ b/test/test_adis16550.py @@ -1,7 +1,7 @@ import iio +import pytest import adi -import pytest hardware = "adis16550" classname = "adi.adis16550" diff --git a/test/test_adrv9002_p.py b/test/test_adrv9002_p.py index b9e1508fb..acdc83342 100644 --- a/test/test_adrv9002_p.py +++ b/test/test_adrv9002_p.py @@ -9,14 +9,14 @@ hardware = "adrv9002" classname = "adi.adrv9002" profile_path = dirname(realpath(__file__)) + "/adrv9002_profiles/" -nco_test_profile = profile_path + "lte_10_lvds_nco_api_68_13_7.json" -nco_test_stream = profile_path + "lte_10_lvds_nco_api_68_13_7.stream" -lte_20_lvds_profile = profile_path + "lte_20_lvds_api_68_13_7.json" -lte_20_lvds_stream = profile_path + "lte_20_lvds_api_68_13_7.stream" -lte_40_lvds_profile = profile_path + "lte_40_lvds_api_68_13_7.json" -lte_40_lvds_stream = profile_path + "lte_40_lvds_api_68_13_7.stream" -lte_5_cmos_profile = profile_path + "lte_5_cmos_api_68_13_7.json" -lte_5_cmos_stream = profile_path + "lte_5_cmos_api_68_13_7.stream" +nco_test_profile = profile_path + "lte_10_lvds_nco_api_68_14_10.json" +nco_test_stream = profile_path + "lte_10_lvds_nco_api_68_14_10.stream" +lte_20_lvds_profile = profile_path + "lte_20_lvds_api_68_14_10.json" +lte_20_lvds_stream = profile_path + "lte_20_lvds_api_68_14_10.stream" +lte_40_lvds_profile = profile_path + "lte_40_lvds_api_68_14_10.json" +lte_40_lvds_stream = profile_path + "lte_40_lvds_api_68_14_10.stream" +lte_5_cmos_profile = profile_path + "lte_5_cmos_api_68_14_10.json" +lte_5_cmos_stream = profile_path + "lte_5_cmos_api_68_14_10.stream" def random_values_in_range(start, stop, step, to_generate=1): diff --git a/test/test_adrv9009_zu11eg.py b/test/test_adrv9009_zu11eg.py index 722b85a42..1ff0ac757 100644 --- a/test/test_adrv9009_zu11eg.py +++ b/test/test_adrv9009_zu11eg.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["adrv9009-dual", "fmcomms8", "zu11eg"] classname = "adi.adrv9009_zu11eg" diff --git a/test/test_adxl313.py b/test/test_adxl313.py index 8b2ecca30..8cf9b5a21 100644 --- a/test/test_adxl313.py +++ b/test/test_adxl313.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["ADXL312", "ADXL313", "ADXL314"] classname = "adi.adxl313" diff --git a/test/test_all_inits.py b/test/test_all_inits.py index 8458611ee..9ea60f53b 100644 --- a/test/test_all_inits.py +++ b/test/test_all_inits.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + @pytest.mark.iio_hardware("daq2") def test_daq2(iio_uri): diff --git a/test/test_cn0540.py b/test/test_cn0540.py index da0f1413b..0cd938ead 100644 --- a/test/test_cn0540.py +++ b/test/test_cn0540.py @@ -1,8 +1,9 @@ import random from test.attr_tests import floor_step_size -import adi import pytest + +import adi from adi.cn0540 import cn0540 hardware = "cn0540" diff --git a/test/test_cn0556.py b/test/test_cn0556.py index 037240a43..871f30453 100644 --- a/test/test_cn0556.py +++ b/test/test_cn0556.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = "cn0556" classname = "adi.cn0556" diff --git a/test/test_fmcomms2-3_prod.py b/test/test_fmcomms2-3_prod.py index 3536b7e85..5acc182f4 100644 --- a/test/test_fmcomms2-3_prod.py +++ b/test/test_fmcomms2-3_prod.py @@ -1,9 +1,9 @@ import iio - -import adi import numpy as np import pytest +import adi + from .conftest import disable_prod_tests hardware = ["packrf", "adrv9361", "fmcomms3", "ad9361"] diff --git a/test/test_generic.py b/test/test_generic.py index ec6db9b79..5f44e257c 100644 --- a/test/test_generic.py +++ b/test/test_generic.py @@ -1,7 +1,6 @@ from test.generics import compare_states, get_states, iio_buffer_check import iio - import pytest hardware = ["pluto", "adrv9361", "fmcomms2"] diff --git a/test/test_generic_rxtx.py b/test/test_generic_rxtx.py index d7afd0f5c..3a054b62c 100644 --- a/test/test_generic_rxtx.py +++ b/test/test_generic_rxtx.py @@ -1,7 +1,7 @@ import iio +import pytest import adi -import pytest hardware = ["pluto", "adrv9361", "fmcomms2"] classname = "" diff --git a/test/test_ltc2499.py b/test/test_ltc2499.py index 20511bbd6..d6f210706 100644 --- a/test/test_ltc2499.py +++ b/test/test_ltc2499.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["ltc2499"] classname = "adi.ltc2499" diff --git a/test/test_ltc2672.py b/test/test_ltc2672.py index 1debab786..c74452882 100644 --- a/test/test_ltc2672.py +++ b/test/test_ltc2672.py @@ -1,5 +1,6 @@ -import adi import pytest + +import adi from adi.ltc2672 import * hardware = "ltc2672" diff --git a/test/test_max31855.py b/test/test_max31855.py index c688d4b0c..8f8254e7d 100644 --- a/test/test_max31855.py +++ b/test/test_max31855.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["MAX31855"] classname = "adi.max31855" diff --git a/test/test_max31865.py b/test/test_max31865.py index 70382417d..f7171b1a0 100644 --- a/test/test_max31865.py +++ b/test/test_max31865.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["max31865"] classname = "adi.max31865" diff --git a/test/test_max9611.py b/test/test_max9611.py index 477d150dd..234cea18a 100644 --- a/test/test_max9611.py +++ b/test/test_max9611.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["max9611"] classname = "adi.max9611" diff --git a/test/test_sshfs.py b/test/test_sshfs.py index 9a8cbe7f5..79c936634 100644 --- a/test/test_sshfs.py +++ b/test/test_sshfs.py @@ -1,6 +1,7 @@ -import adi import pytest +import adi + hardware = ["ad9371", "ad9144"] classname = "adi.sshfs.sshfs"