RE: [Discuss-gnuradio] I and Q samples out of FPGA receive chain

2007-11-06 Thread Nirali Patel
Jonathan,

Thanks for your response. I can see the ch0rx signal toggling on my Basic RX
in slot A using the following command
u = usrp.source_c(0,decim_rate=8,fpga_filename=mytestfile.rbf)
u._write_oe(0,0x,ox)# for enabling A side Basic RX
u._write_fpga_reg(FR_DEBUG_EN, bmFR_DEBUG_EN_RX_A)

How do I modify the _write_oe command in order to output enable a Basic TX
also on side A? 

If I use 

u._write_fpga_reg(FR_DEBUG_EN, bmFR_DEBUG_EN_RX_A | bmFR_DEBUG_EN_TX_A)

it does not enable the Basic TX on side A. 

Thanks again for the help!
Nirali
 -Original Message-
 From: Johnathan Corgan [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 05, 2007 10:46 AM
 To: Nirali Patel
 Cc: discuss-gnuradio@gnu.org
 Subject: Re: [Discuss-gnuradio] I and Q samples out of FPGA receive chain
 
 On 11/2/07, Nirali Patel [EMAIL PROTECTED] wrote:
 
  In the usrp_std.v file what signals do you recommend to look at the 16
 bits
  I and Q out of the HB filter of the receive_chain?
  Thanks again for you time and help.
  Nirali
 
 Use the ch0rx and ch1rx signals that go into the rx_buffer.
 
 --
 Johnathan Corgan
 Corgan Enteprises LLC
 http://corganenterprises.com/




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] I and Q samples out of FPGA receive chain

2007-11-06 Thread Johnathan Corgan
On 11/6/07, Nirali Patel [EMAIL PROTECTED] wrote:

 If I use

 u._write_fpga_reg(FR_DEBUG_EN, bmFR_DEBUG_EN_RX_A | bmFR_DEBUG_EN_TX_A)

 it does not enable the Basic TX on side A.

You haven't enabled TX_A debug pins as outputs.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] I and Q samples out of FPGA receive chain

2007-11-02 Thread Johnathan Corgan
Nirali Patel wrote:

 However I do not see any outputs when I connect these signals to the
 debug pins using debug_0(bb_rx_q0),.debug_1(bb_rx_i0).

When routing signals through the master_controller debug ports, you'll
need to (on the host at runtime) enable the debug output register, and
set the IO pins as outputs.

HOWEVER--don't EVER do this unless you are using a BasicRX/TX or LFRX/TX
board in the slots.  You can damage the daughterboard, USRP FPGA, or
both otherwise.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


RE: [Discuss-gnuradio] I and Q samples out of FPGA receive chain

2007-11-02 Thread Nirali Patel
I believe I am enabling the appropriate oe registers using the following
commands
u = usrp.source_c(0,decim_rate=8,fpga_filename=mytestfile.rbf)
subdev = usrp.selected_subdev(u,(1,0))  # for getting signals from slot B
TV_RX
u._write_oe(0,0x,ox)# for enabling A side Basic RX
u._write_fpga_reg(FR_DEBUG_EN, bmFR_DEBUG_EN_RX_A)

However, I am perplexed as to why bb_rx_i0 or bb_rx_q0 do not seem to
toggle. When I connect ddc0_in_i signals I can see them toggling. I must be
doing something really stupid because the rbf file I generated works well
with a standard example like usrp_fft.py. So the data path from the ADC to
the USB is working well. But somehow I am not able to tap into the I and Q
signals out of the receive_chain and see them toggling. 

In the usrp_std.v file what signals do you recommend to look at the 16 bits
I and Q out of the HB filter of the receive_chain? 
Thanks again for you time and help.
Nirali 

 -Original Message-
 From: Johnathan Corgan [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 02, 2007 11:56 AM
 To: Nirali Patel
 Cc: discuss-gnuradio@gnu.org
 Subject: Re: [Discuss-gnuradio] I and Q samples out of FPGA receive chain
 
 Nirali Patel wrote:
 
  However I do not see any outputs when I connect these signals to the
  debug pins using debug_0(bb_rx_q0),.debug_1(bb_rx_i0).
 
 When routing signals through the master_controller debug ports, you'll
 need to (on the host at runtime) enable the debug output register, and
 set the IO pins as outputs.
 
 HOWEVER--don't EVER do this unless you are using a BasicRX/TX or LFRX/TX
 board in the slots.  You can damage the daughterboard, USRP FPGA, or
 both otherwise.
 
 --
 Johnathan Corgan
 Corgan Enterprises LLC
 http://corganenterprises.com




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio