Post Go back to editing

how to use ADI IIO oscilloscope

Category: Software
Product Number: adrv9002
Software Version: v0.12-rc

Hi 

    In oscilloscope, there are few parameters can modify, much less than TES. I want to konw how to configure like calibration or dpd... If need profile files, how to create a profile files

Thanks

  • Hi,
    Did you use the profile generator plugin? Here are the wiki and instructions on how to install it https://wiki.analog.com/resources/tools-software/linux-software/adrv9002_profile_generator_plugin . It is recommended to use the latest versions for both libadrv9002-iio and iio-oscilloscope (latest main commit on github).

    If you already tried this plugin, but you need more controls you will have to use TES.

    -Andrei

  • Hi 

      This profile generator has too few features, I prefer TES. I don't know how to set tx_enbale/rx_enable to pin rather than spi. In TES, when I change in tab configure->radio->channel 1/2 enablement mode from spi to pin, the profile has no change. If loaded the profile to iio-oscilloscope, the tx/rx port state can only change in spi mode, once set port enable to pin, the ENSM will be gray and can't be modified.

    Thanks

  • Hi,

    This profile generator has too few features, I prefer TES.

    As you already saw, lot's of things you can set in TES are not really exported to the profile so won't have any effect on the Linux driver. TES is designed so tha you configure things just once in the device. If you want to do it again, a reset is needed. In OSC (and the linux solution) we follow a more dynamic approach where feasable.

    once set port enable to pin, the ENSM will be gray and can't be modified.

    Yes, because when set to pin you need to control it from a pin and that's not possible to do through osc. You need to ssh (or use serial) into the device and manually control the enable pin/gpio to toggle it's value (and you'll see the ensm_state change in osc).

    Now that I think about it, we can probably support controlling this gpio through osc and the adrv9002 driver. I'll have to think about it but should be doable.

    - Nuno Sá 

  • Hi

        You need to ssh (or use serial) into the device and manually control the enable pin/gpio to toggle it's value

    Can you be more specific? The pin/gpio you menationed is controlled by arm or fpga or some others, how can I set the gpio/pin. I saw port name gpio_rx1_enable_in/gpio_tx1_enable_in in hdl file, are these ports the controller of tx/rx in pi  mode?

        

    one more question, what is the stream image file, is a data source that to send? I'm trying to send data from local file but have no idea.

    Thanks