Tx signal falls down as DMA data transmition starts

Hi,

 

my configuration includes AD-FMCOMMS4-EBZ and a custom carrier board based on Xilinx ZynqMP (xczu3eg). For that I took ADI HDL design (2018_r1 git branch)for fmcomms2/zcu102(xczu9eg) and adopted it for my board. I also built Linux with external kernel sources (I took also ADI 2018_r1 kernel) and libiio.

Below you can see the signal picture I took with iio-osscilloscope

But if I start data generation with libiio/libiio-examples/ad9361-iiostream the signal disappears.

I thought, that DMA data transmission does not work, but if I enable digital loopback (echo 1 > /sys/kernel/debug/iio/iio:device1/loopback) I receive expected data in ad9361-iiostream (I added sending of non-zero data and check of received data), which means DMA data transmission/reception works.

 

What can be wrong/missing in my case ? Please let me know which additional details you need to analize the problem.

 

I need help as soon as possible (this the second time I create this question - the first request silently disappeared).

 

Best regards,

Timur.

Parents Reply
  • Hi Travis,

    here is the timing analysis:

    root@fmcomms2_aedzu1:/sys/kernel/debug/iio/iio:device1# echo 1 > bist_timing_analysis
    root@fmcomms2_aedzu1:/sys/kernel/debug/iio/iio:device1# cat bist_timing_analysis
    CLK: 30720000 Hz 'o' = PASS
    DC0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:
    0:. . o o o o o o o o o o o o o o
    1:. . . o o o o o o o o o o o o o
    2:. . . . o o o o o o o o o o o o
    3:o . . . . o o o o o o o o o o o
    4:o o . . . . o o o o o o o o o o
    5:o o o . . . . o o o o o o o o o
    6:o o o o . . . . o o o o o o o o
    7:o o o o o . . . . o o o o o o o
    8:o o o o o o . . . . o o o o o o
    9:o o o o o o o . . . . o o o o o
    a:o o o o o o o o . . . . o o o o
    b:o o o o o o o o o . . . . o o o
    c:o o o o o o o o o o . . . . o o
    d:o o o o o o o o o o o . . . . o
    e:o o o o o o o o o o o o . . . .
    f:o o o o o o o o o o o o o . . .

    Timur

Children