Linear Chirp generated in Matlab for ADRV9009 Transmit/Receive

Hello,

I am trying to use the ADRV9009-SOM with the Xilinx ZCU102 Evaluation board to demo a 20MHz bandwidth linearly swept chirp signal from 250MHz to 270MHz. I have been able to run a complex single tone example, so I know I have the BSP and IP addresses setup correctly, as per the PDF I have attached (see end of text, given to me courtesy of Jon Kraft). I have the following questions:

1) I have generated a linear chirp at baseband (0-20MHz) in Matlab using the chirp object. My understanding is that by setting the transmit center frequency to 250MHz, and feeding the baseband signal to the adi.ADRV9009.Tx object, the baseband signal will be brought up to 250MHz (from 0Hz) by a LO, and then transmitted (I have a SMA cable with a -10dB attenuator plugged from the Tx to Rx directly, no antenna is involved).

Is this understanding correct?

2) When I feed the adi.ADRV9009.Tx object the dsp.Chirp object I specified, I get the following errors. Is this because the dsp.Chirp object is not a complex vector? (Note the adi.ADRV9009.Tx object is named tx, and the chirp object tx_chirp.)

Error using matlabshared.libiio.base/cstatus
Attribute hardwaregain return value -36, expected -30

Error in adi.common.Attribute/setAttributeLongLong (line 21)
                cstatus(obj,status,['Attribute ' attr ' return value ' num2str(rValue) ', expected '
                num2str(value)]);

Error in adi.ADRV9009.Tx/setupInit (line 105)
            obj.setAttributeLongLong('voltage0','hardwaregain',obj.AttenuationChannel0,true);

Error in adi.common.RxTx/configureChanBuffers (line 100)
            setupInit(obj);

Error in matlabshared.libiio.base/setupImpl

Error in adi.ADRV9009.Tx/setupImpl (line 74)
            setupImpl@matlabshared.libiio.base(obj);

Error in chirp250MHz_to_270MHz_10us_length (line 36)
tx(tx_chirp());

3) Similarly as in (1), I have the center frequency on the adi.ADRV9009.Rx object set to 250MHz. If I feed the adi.ADRV9009.Rx data into a spectrum analyzer, this would show the baseband signal (with whatever gain from the system), correct?

Matlab Streaming With ADI TRx PDF:

PDF

Best,

Samual