usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

TwinRX Channel Isolation

BP
Brian Padalino
Sat, Nov 12, 2022 10:04 PM

Hey Wan,

On Thu, Oct 27, 2022 at 10:53 PM Wan Liu wan.liu@ettus.com wrote:

Hello Brian,

I set up my HW and SW, but I'm having some trouble reproducing after some
initial playing around with UHD examples and gnuradio. I assume you have
some UHD program that records RX to file and while you repeated make tune
requests to ch 1, is this correct? To make sure we are on the same page,
you provide a sample program that reproduces your steps for tuning and
recording the IQ samples.

You also mentioned " When trying to read the lo_locked sensor
continuously, generating SPI traffic I presume going to the PLLs, I get
clean spectrum." Can you also show in your sample program how to reproduce
these steps

Once I can get the same spectrogram as you, I'll also look into the "mute
till lock detect" feature of the ADF5356.

Attached is a file which should reproduce it for you.  If it doesn't, let
me know off list and we can work from there.

It uses a scanning channel to go through a list of frequencies, and will
continuously read from the other channel.  When you hit ENTER, it will save
off a buffers worth of samples to disk with increasing filenames (i.e.
buffer-000.dat, buffer001.dat, etc.).  Quit the program by hitting Ctrl+C.

I set it up to save off 10ms of samples but it should be pretty easy to
change that to some arbitrary length.  I tried to make it so no overflows
would occur.

Source is attached and has a comment showing how I compiled on my system.
Source is also here, along with a picture of the birdies I am seeing:

https://drive.google.com/file/d/1Hrf15GzaO2hAlorUMkt4XT5hjv0J4tCc/view?usp=sharing

https://drive.google.com/file/d/1loVoixWgDPwo-QHPtNF6ZvHJMMS1kyVI/view?usp=sharing

You can also just generate SPI traffic, I imagine, if you only keep the
call to usrp->get_rx_sensor() in the main loop and nothing else.

Let me know if you are able to reproduce this issue or not.

Thanks,
Brian

Hey Wan, On Thu, Oct 27, 2022 at 10:53 PM Wan Liu <wan.liu@ettus.com> wrote: > Hello Brian, > > I set up my HW and SW, but I'm having some trouble reproducing after some > initial playing around with UHD examples and gnuradio. I assume you have > some UHD program that records RX to file and while you repeated make tune > requests to ch 1, is this correct? To make sure we are on the same page, > you provide a sample program that reproduces your steps for tuning and > recording the IQ samples. > > You also mentioned " When trying to read the lo_locked sensor > continuously, generating SPI traffic I presume going to the PLLs, I get > clean spectrum." Can you also show in your sample program how to reproduce > these steps > > Once I can get the same spectrogram as you, I'll also look into the "mute > till lock detect" feature of the ADF5356. > Attached is a file which should reproduce it for you. If it doesn't, let me know off list and we can work from there. It uses a scanning channel to go through a list of frequencies, and will continuously read from the other channel. When you hit ENTER, it will save off a buffers worth of samples to disk with increasing filenames (i.e. buffer-000.dat, buffer001.dat, etc.). Quit the program by hitting Ctrl+C. I set it up to save off 10ms of samples but it should be pretty easy to change that to some arbitrary length. I tried to make it so no overflows would occur. Source is attached and has a comment showing how I compiled on my system. Source is also here, along with a picture of the birdies I am seeing: https://drive.google.com/file/d/1Hrf15GzaO2hAlorUMkt4XT5hjv0J4tCc/view?usp=sharing https://drive.google.com/file/d/1loVoixWgDPwo-QHPtNF6ZvHJMMS1kyVI/view?usp=sharing You can also just generate SPI traffic, I imagine, if you only keep the call to usrp->get_rx_sensor() in the main loop and nothing else. Let me know if you are able to reproduce this issue or not. Thanks, Brian >