I have a question regarding the quality of the received signal. I am attempting to implemented a stepped frequency continuous wave chirp. For now I am just attempting to receive a chirp signal, which I can do. My issue is that the received signal seems okay, but the if I make my output buffer larger then the signal appears to attenuate.
I have a direct connection from transmitter to receiver with some anntenuators. I have tried using just a sine wave and have seen similar results. I am not sure if this is an issue with board set up. I attached a snip below of the input signal and output. The output buffer is set to 120,000 to capture multiple chirps. The input buffer size is 32768. I would expect the received signal to have relatively uniform amplitude throughout. This trend is seen with a direct connection and with antennas. I am using matlab along with the AD-FMCOMMS5 eval board and ZC702.
Are you using cyclic buffers or repeatedly pushing a buffer to TX?
I am assuming repeatedly pushing a buffer to TX. From the sample code provided to transmit a sine wave I have just altered the buffer size.
s.in_ch_size =32768 ;s.out_ch_size = 38000;
I have not added any additional code to this section, just the inputs to make a chirp.
Are you in manual AGC mode?
I am in slow attack
If you are using a single class for both TX and RX every time you transmit a buffer there will be a small gap since it destroys the buffers every step call, and the active AGC will make this worse since it reacts to low signal levels.