I tried using IIO oscilloscope with the SDR E312 from Ettus, I use the code from my previous thread USRP E312 (AD9361) - ad9361_dig_tune_delay: Tuning RX FAILED! thanks to danmois with this commit.
Then I enable IIO_SUPPORT, it works with the following result:
cf-ad9361-lpc: Successfully initialized (61439514 Hz) ad9361_init : AD936x Rev 2 successfully initialized Sampling frequency is: 30720000 New sampling frequency is: 15360000 LO frequency of TX is: 1000000000 Output port TX: 0 Power state of Tx: 1 cf-ad9361-dds-core-lpc: Successfully initialized (30718994 Hz) �Running TinyIIOD server... If successful, you may connect an IIO client application by: 1. Disconnecting the serial terminal you use to view this message. 2. Connecting the IIO client application using the serial backend configured as shown: Baudrate: 921600 Data size: 8 bits Parity: none Stop bits: 1 Flow control: none
For example when installing IIO oscilloscope with this link IIO Oscilloscope , i can't choose Serial Content.
According to buha , I reinstalled libiio with the command:
analog@precision:~/libiio$ mkdir build analog@precision:~/libiio/build$ cd build analog@precision:~/libiio/build$ cmake ../ -DWITH_SERIAL_BACKEND=ON analog@precision:~/libiio/build$ make -j analog@precision:~/libiio/build$ sudo make instal
Thus, i have the error Could not get IIO Context: inappropriate ioctl for device ...
$ ./autogen.sh $ ./configure --prefix=/usr $ make $ sudo make instal
but I'm stuck at ./autogen.sh, I get the following error:
/path/to/libserialport$ ./autogen.sh /bin/sh: 0: Illegal option -
How can we solve this problem?
Thank you very much for your time,
[edited by: RemiL at 12:58 PM (GMT -4) on 13 Jul 2023]