Post Go back to editing

ADF5355 modification doesn't work properly

Category: Hardware
Product Number: AD9361

Hi, currently I'm using FMCOMMS5 + zcu102 design. In order for both ad9361 to share the same oscillator reference I added the component adf5355 to the design and to the device tree following the link linux/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev10-ad9361-fmcomms5-ext-lo-adf5355.dts at main · analogdevicesinc/linux · GitHub.

However, at the time of receiving it only works at certain frequencies up to 6 GHz. For example, at 2GHz the ad9361 doesn't receive information at all, but around its vicinities it does. This phenomena happens for some frequencies (apparently) without following any pattern. Does anybody know why this happens or someone has bumped into this scenario as well?
Also, using pyadi-iio interface, sometimes port from ad9361-B stop working from execution to execution.

Thanks in advance,
Joaquín.

Parents
  • Hi, same person with different account. I will delve into the problematic I'm having a bit further.

    First of all, I'm using pyadi-iio in order to access the FMComms5 parameters and modify them. In order to configure the adf5355 frequency which will then be distributed to each of the ad9361 I do the following:

    ctx = sdr._ctx
    adf5355 = ctx.find_device("adf5355")
    ch= adf5355.find_channel("altvoltage0",True)
    ch.attrs["frequency"].value="4000000000"
    

    After changing the frequency, in the same zcu102 I verify it through:

    iio_attr -c adf5355 altvoltage0 frequency
    iio_attr -c adf5355 altvoltage1 frequency
    

    And I get:

    altvoltage0 = 4000000000
    altvoltage1 = 8000000000
    

    Which I understand that is working properly.
    Afterwards, I check the PLL status of the adf5355. Since it does not have any attribute to acces to in order to check it is LOCK, I do the following:

    cat /sys/kernel/debug/gpio | grep adf5355
    
    gpio-476 (                    |adf5355             ) in  hi
    

    The second line is the output of the command, which is hi for any given frequenct. Does this output correspond to the PLL LOCK or not?

    Other thing I have noticed is that when I execute the commands

    iio_reg ad9361-phy 0x247
    iio_reg ad9361-phy-B 0x247
    

    which correspodn to the register of the PLL status, both of them return 0x00, but since the frequency and PLL stability is governed by adf5355 this shouldn't matter, or both do have to be locked, which is, 0x01?

    Also, I saw in FMCOMMS5 Use ADF5355 as ext LO - Q&A - Support AD9361/AD9363/AD9364 - EngineerZone that the adf5355 wasn't working because of the missing E507 resistor, but in my case it is present in the fmcomms5, could it be another component?

    Still. the same keeps happening, the correct functioning of the system depends on the frequency of the adf5355, which shouldn't be happening.

    Best regards,
    Joaquin.

Reply
  • Hi, same person with different account. I will delve into the problematic I'm having a bit further.

    First of all, I'm using pyadi-iio in order to access the FMComms5 parameters and modify them. In order to configure the adf5355 frequency which will then be distributed to each of the ad9361 I do the following:

    ctx = sdr._ctx
    adf5355 = ctx.find_device("adf5355")
    ch= adf5355.find_channel("altvoltage0",True)
    ch.attrs["frequency"].value="4000000000"
    

    After changing the frequency, in the same zcu102 I verify it through:

    iio_attr -c adf5355 altvoltage0 frequency
    iio_attr -c adf5355 altvoltage1 frequency
    

    And I get:

    altvoltage0 = 4000000000
    altvoltage1 = 8000000000
    

    Which I understand that is working properly.
    Afterwards, I check the PLL status of the adf5355. Since it does not have any attribute to acces to in order to check it is LOCK, I do the following:

    cat /sys/kernel/debug/gpio | grep adf5355
    
    gpio-476 (                    |adf5355             ) in  hi
    

    The second line is the output of the command, which is hi for any given frequenct. Does this output correspond to the PLL LOCK or not?

    Other thing I have noticed is that when I execute the commands

    iio_reg ad9361-phy 0x247
    iio_reg ad9361-phy-B 0x247
    

    which correspodn to the register of the PLL status, both of them return 0x00, but since the frequency and PLL stability is governed by adf5355 this shouldn't matter, or both do have to be locked, which is, 0x01?

    Also, I saw in FMCOMMS5 Use ADF5355 as ext LO - Q&A - Support AD9361/AD9363/AD9364 - EngineerZone that the adf5355 wasn't working because of the missing E507 resistor, but in my case it is present in the fmcomms5, could it be another component?

    Still. the same keeps happening, the correct functioning of the system depends on the frequency of the adf5355, which shouldn't be happening.

    Best regards,
    Joaquin.

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.