discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] XCVR2450: Switch between sending/receiving mode


From: Matthias Schäfer
Subject: [Discuss-gnuradio] XCVR2450: Switch between sending/receiving mode
Date: Fri, 08 Oct 2010 21:19:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100913 Lightning/1.0b3pre Thunderbird/3.1.3

 Hi List,
I'm using the latest uhd fpga code and my own f/w on a USRP2 with the
XCVR2450 (REV 692) dboard.

After the tuning is done by the host, sending from f/w is no problem.
Also receiving works fine after setting
            sr_rx_ctrl->cmd = (0xE0000000 | BP_NLINES);
            sr_rx_ctrl->time_secs = 0;
            sr_rx_ctrl->time_ticks = 0;

My intention now is to detect a signal by observing the dsp samples on
the fpga (works, if the sr_rx_ctrl things are set like mentioned above)
and then send an interrupt to the f/w (works also) which then responds
by sending a short signal back. But after sending data to the
DSP-TX-buffer the usrp2 stops receiving. Just resetting the sr_rx_ctrl
fields with the values from above doesn't work anymore.

So my problem is the switching between sending and receiving modes. How
do I switch back to "receiving" mode after sending the data? Is it
possible to do this automatically with the ATR controller? If yes, how
do I have to setup the ATR registers? The values are handled outside the
fpga (if I understood that right) and so I don't know the meaning of
these values.

Thanks in advance.

Cheers,
Matthias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]