Hi,

I am trying to utilize the digital loopback to check transmitted signal before 
DAC in my E312. May I know what is the C++ command to enable the digital 
loopback? How to set the SR_LOOPBACK register?  In the radio.v, it says,


   // Set this register to loop TX data directly to RX data.
   setting_reg #(.my_addr(SR_LOOPBACK), .awidth(8), .width(1)) sr_loopback
     (.clk(radio_clk), .rst(radio_rst), .strobe(set_stb), .addr(set_addr), 
.in(set_data),
      .out(loopback), .changed());
......
   // Digital Loopback TX -> RX (Pipeline immediately inside rx_frontend).
   wire [31:0]    rx_fe = loopback ? tx : rx;

I know it is possible to change FPGA code to achieve digital loopback. But it 
will be handy if I can set it in controlling computer. I cannot find any clue 
in txrx_loopback_to_file.cpp. I think it is used for looping back analog 
waveforms. Thank you.
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to