Post Go back to editing

Using Adrv9002 IIO Device Driver and TES generated Code at the Same time on the ZED Eval Board

Category: Software
Product Number: ADRV9002

Is there any possibility to execute TES generated code on a System using the ADRV IIO Device Driver? (The ZED Board)

I'm not able to access the Spi Interface, which is necessary when using the TES generated Code. (Because the SPI Interface ist occupied by the IIO Driver)

The only solution I can come up with is to replace the IIO Device Driver with the e.g. spidev Driver to get access to the Spi Interface. Correct?

Background: I have the ZED Board and the Adrv9002 Eval Board and want to use the internal Loopback of the ADRV9002 which seems not possible with the IIO Device Driver, therefore I want to configure the Device with the TES generated Code. (The ZED Board ist unfortunatly not supported by TES itself)

Thanks!

Parents
  • Is there any possibility to execute TES generated code on a System using the ADRV IIO Device Driver? (The ZED Board)

    Nope, that is not possible. Sorry...

    However...

    Background: I have the ZED Board and the Adrv9002 Eval Board and want to use the internal Loopback of the ADRV9002 which seems not possible with the IIO Device Driver, therefore I want to configure the Device with the TES generated Code. (The ZED Board ist unfortunatly not supported by TES itself)

    You should be able to use the internal loopback through debugfs (/sys/kernel/debug/iio/iio:deviceX/). The name of the file is tx0_ssi_test_mode_loopback_en or tx1_ssi_test_mode_loopback_en. If this is enabled, then all transmitted data on that channel is loopedback. This is in debugfs since the primary usage we have for it is to test the SSI interface using some test signals.

    - Nuno Sá

Reply
  • Is there any possibility to execute TES generated code on a System using the ADRV IIO Device Driver? (The ZED Board)

    Nope, that is not possible. Sorry...

    However...

    Background: I have the ZED Board and the Adrv9002 Eval Board and want to use the internal Loopback of the ADRV9002 which seems not possible with the IIO Device Driver, therefore I want to configure the Device with the TES generated Code. (The ZED Board ist unfortunatly not supported by TES itself)

    You should be able to use the internal loopback through debugfs (/sys/kernel/debug/iio/iio:deviceX/). The name of the file is tx0_ssi_test_mode_loopback_en or tx1_ssi_test_mode_loopback_en. If this is enabled, then all transmitted data on that channel is loopedback. This is in debugfs since the primary usage we have for it is to test the SSI interface using some test signals.

    - Nuno Sá

Children