Post Go back to editing

ADRV9002 RX port switching with Python

Thread Summary

The user is trying to switch between RX_A and RX_B ports on the ZCU102 + ADRV9002 using pyadi-iio. The current driver does not support port switching, and the generated profile and stream images are identical regardless of the TES configuration. The solution is to modify the driver or use No-OS.
AI Generated Content
Category: Software
Product Number: ADRV9002

Hi,

So far I've been using pyadi-iio successfully with the ZCU102 + ADRV9002.

I would like to switch between receiving on the RX_A and RX_B ports, either dynamically from a frequency change or more ideally manually. This works in TES when I configure it for port switching and set the frequency ranges for the two ports, it will port switch when I change the receive frequency. I hoped generating the profile and stream image and loading them with pyadi-iio would enable the same behaviour but it doesn't work unsurprisingly because running cmp shows the generated files are identical whether port switching is enabled in TES or not.

Is there anyway from the open source, Linux package to do port switching? I also don't see anything in the iio directories related to it.

Regards



typo
[edited by: cores4days at 8:40 AM (GMT -4) on 22 Aug 2024]