ADRV9009-Custom profile

Hello, 

Considering the fact that there is no profile generator (Same as what we had for ad9371) we need to change the sampling rate, etc manually within the GUI. The point is that if you look at 9371 profile generator there is a long list of constraints that you need to follow to be able to have a working profile (https://wiki.analog.com/resources/eval/user-guides/mykonos/software/filters  ---> bottom of the page). 
However, now we do not know anything about those limitations for the adrv9009. So changing the values freely in the GUI is not possible since it generates error output. Using TES I can generate the profile that I want (Tx-rate of 491.52 Mhz and Rx rate of 245.76 MhZ). Here is the screenshot of TES software which I could program the board for. 
Now I want to have the same thing but via the iio-oscilloscope. However, when I manually change the rates at the oscilloscope software it generates some errors. 

I wonder if there is any possibility to export the profile from TES and use it in iio-oscilloscope. 

Thanks a lot in advance. 
Parents
    •  Analog Employees 
    on Sep 3, 2018 9:51 AM

    There will be a profile generator for the ADRV9009 family of products, very similar to the AD9371 profile generator.

    It should release soon - feel free to ask for the schedule on the ADRV9009 design support forum.

    https://ez.analog.com/wide-band-rf-transceivers/design-support-adrv9008-1-adrv9008-2-adrv9009/

    -Michael

    •  Analog Employees 
    on Sep 3, 2018 9:57 AM in reply to mhennerich

    I moved this thread for you.

    -Michael

  • you can load your profile directly without IIO oscilloscope. It is described in: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/adrv9009

    Using the cat command:

    root@analog:/sys/bus/iio/devices/iio:device3# echo Tx_BW200_IR245p76_Rx_BW200_OR245p76_ORx_BW200_OR245p76_DC245p76.txt > profile_config 

    But I have no idea where to get such a file, even if I use the TES Software offline. Or is this what needs to be released soon?

    •  Analog Employees 
    on Sep 6, 2018 9:16 AM in reply to JV-IE

    These files are generated using the ADRV9009 filter designer which hasn't released yet.

    You can find some sample profiles here: 

    https://github.com/analogdevicesinc/iio-oscilloscope/tree/master/filters/adrv9009

    -Michael

  • I have tried some profiles, but there is one that didn't execute correctly:

    https://github.com/analogdevicesinc/iio-oscilloscope/blob/master/filters/adrv9009/Tx_BW400_IR491p52_Rx_BW200_OR245p76_ORx_BW400_OR491p52_DC245p76.txt

    This is the log that I get through the serial terminal:

    profile load log.txt
    [12498.995010] adrv9009 spi32766.1: ADIHAL_resetHw at index
    [12499.001358] axi_adxcvr 84a80000.axi-adxcvr-tx: qpll: fb_div=80, qpll: refclk_div=1
    [12499.008852] axi_adxcvr 84a50000.axi-adxcvr-rx-os: cpll: fb_div_N1=4
    [12499.008852] cpll: fb_div_N2=3
    [12499.008852] cpll: refclk_div=1
    [12499.021093] axi_adxcvr 84a60000.axi-adxcvr-rx: cpll: fb_div_N1=4
    [12499.021093] cpll: fb_div_N2=3
    [12499.021093] cpll: refclk_div=1
    [12499.033190] axi_adxcvr 84a80000.axi-adxcvr-tx: qpll: fb_div=80, qpll: refclk_div=1
    [12499.040687] axi_adxcvr 84a50000.axi-adxcvr-rx-os: cpll: fb_div_N1=4
    [12499.040687] cpll: fb_div_N2=3
    [12499.040687] cpll: refclk_div=1
    [12499.052921] axi_adxcvr 84a60000.axi-adxcvr-rx: cpll: fb_div_N1=4
    [12499.052921] cpll: fb_div_N2=3
    [12499.052921] cpll: refclk_div=1
    [12499.065289] adrv9009 spi32766.1: ADIHAL_resetHw at index
    [12501.273795] adrv9009 spi32766.1: ERROR: 3: TALISE_loadArmFromBinary(): ARM Profile error during bootup
    [12501.283026] adrv9009 spi32766.1: adrv9009_setup:497 (ret 5)
    [12503.390121] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12505.501521] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12507.612422] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12507.622358] adrv9009 spi32766.1: adrv9009_setup:525 (ret 5)
    [12507.628124] adrv9009 spi32766.1: adrv9009_setup:531 (ret 0)
    [12509.734589] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12509.744522] adrv9009 spi32766.1: adrv9009_setup:541 (ret 5)
    [12509.952950] adrv9009 spi32766.1: ERROR: 178: Device not in radioOff/IDLE state. Error in TALISE_enableTrackingCals()
    [12509.963393] adrv9009 spi32766.1: adrv9009_setup:707 (ret 5)
    [12509.970127] adrv9009 spi32766.1: ERROR: 29: TALISE_gpIntHandler(): ARM Forced a General Purpose Interrupt
    [12512.071869] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12512.081789] adrv9009 spi32766.1: adrv9009_setup:717 (ret 5)
    [12512.089020] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12512.103605] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12512.120008] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12512.134548] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12514.252551] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12514.263610] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12514.278347] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12514.293203] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12516.409848] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12518.521624] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12518.532372] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.548578] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.563166] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.578987] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.593569] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.609270] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.623826] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.639471] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.654055] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.672741] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12518.687288] adrv9009 spi32766.1: ERROR: 281: gain index exceeded expected maximum or minimum value for TALISE_getRxGain(). Please check if Receive Path is enabled
    [12519.804593] adrv9009 spi32766.1: ERROR: 447: TALISE_setOrxLoSource: failed due to timeout waiting on ARM mailbox to become idle
    [12521.917418] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12524.029258] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12526.140953] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12528.251875] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12530.363370] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12532.475201] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12534.586598] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12536.698158] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12538.809613] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    [12540.921486] adrv9009 spi32766.1: ERROR: 177: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
    

    Is there another profile with the maximum Tx sampling speed?

    •  Analog Employees 
    on Sep 6, 2018 2:43 PM in reply to JV-IE

    We recently enabled support for both conversation channels. This required changing the M and F JESD parameters to enable 4 converters. I guess this might have broken the observation path when run at 491MSPS. Since in this configuration both ADC pairs are used in stitching mode. Unfortunately the filter designer and or the part requires OBS rate = TX rate. So without running the OBS at 491 you can't run TX that fast.

    -Michael   

Reply Children
No Data