-
Notifications
You must be signed in to change notification settings - Fork 127
Description
I am using two AD9081-FMCA-EBZ and VCU118 boards with iio Linux drivers. When I connect a second device in the pyadi code, the DAC data of the second device will be wrong. However, the ADC data of both devices are fine. This phenomenon can be reproduced stably.
For example,
dev1 = adi.ad9081("ip:192.168.2.1")
dev2 = adi.ad9081("ip:192.168.2.2")
···
dev1.tx([tx_waveform[:,0],tx_waveform[:,1],tx_waveform[:,2],tx_waveform[:,3]])
dev2.tx([tx_waveform[:,0],tx_waveform[:,1],tx_waveform[:,2],tx_waveform[:,3]])
The two devices send the same data. The DAC output of dev1 is normal, as follows:
However, the DAC output of dev2 is wrong, as follows:
When connecting one of the devices separately, the DAC output is normal.
I guess the problem is that the two devices share some resources in pyadi.

