Skip to content

Commit

Permalink
test: adrv9002: update profiles to new SDK API
Browse files Browse the repository at this point in the history
The adrv9002 driver was updated to the 68.13.7 API. This patch updates the
profiles/streams accordingly...

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
  • Loading branch information
nunojsa committed May 31, 2024
1 parent 6ca6507 commit ef01687
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@
"mcsMode": 0,
"mcsInterfaceType": 0,
"adcTypeMonitor": 1,
"pllLockTime_us": 750,
"pllLockTime_us": 380,
"pllPhaseSyncWait_us": 0,
"pllModulus": {
"modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ],
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@
"mcsMode": 0,
"mcsInterfaceType": 0,
"adcTypeMonitor": 1,
"pllLockTime_us": 750,
"pllLockTime_us": 380,
"pllPhaseSyncWait_us": 0,
"pllModulus": {
"modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ],
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@
"mcsMode": 0,
"mcsInterfaceType": 0,
"adcTypeMonitor": 1,
"pllLockTime_us": 750,
"pllLockTime_us": 380,
"pllPhaseSyncWait_us": 0,
"pllModulus": {
"modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ],
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@
"mcsMode": 0,
"mcsInterfaceType": 0,
"adcTypeMonitor": 1,
"pllLockTime_us": 750,
"pllLockTime_us": 380,
"pllPhaseSyncWait_us": 0,
"pllModulus": {
"modulus": [ 8388593, 8388593, 8388593, 8388593, 8388593 ],
Expand Down
Binary file not shown.
16 changes: 8 additions & 8 deletions test/test_adrv9002_p.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_8_1.json"
nco_test_stream = profile_path + "lte_10_lvds_nco_api_68_8_1.stream"
lte_20_lvds_profile = profile_path + "lte_20_lvds_api_68_8_1.json"
lte_20_lvds_stream = profile_path + "lte_20_lvds_api_68_8_1.stream"
lte_40_lvds_profile = profile_path + "lte_40_lvds_api_68_8_1.json"
lte_40_lvds_stream = profile_path + "lte_40_lvds_api_68_8_1.stream"
lte_5_cmos_profile = profile_path + "lte_5_cmos_api_68_8_1.json"
lte_5_cmos_stream = profile_path + "lte_5_cmos_api_68_8_1.stream"
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"


def random_values_in_range(start, stop, step, to_generate=1):
Expand Down

0 comments on commit ef01687

Please sign in to comment.