Now ,I am studying usrp! but ,I meet some problems .I have two usrp
board. each usrp board has one daugtherboard named Flex 2400.I want to
send data with one usrp board ,and receive data with the other.
This is my send_uspr board configure:
which = 0;
amp = 30000;
rf_freq = 2.5e9;
interp = 16; gain = -1 ; fusb_block_size = 0; fusb_nblocks = 0;
realtime_p = false; nsamples = 32e6;
subdev = utx ->selected_subdev(spec);
mux = utx->determine_tx_mux_value(spec);
the sent data is like 30000,-30000,30000,-30000…
Then ,I run it ,it can work well .I can watch the spectrum.
Then ,I configure my second usrp board for receive. the following is my
loopback = false; counting_p = false; width_p = false; max_bytes = 128M.
which = 0; usrp_subdev_spec spec(0,0); decim = 8; center_freq = 2.5e9;
gain = -1; mode = 0;
subdev = urx->selected_subdev(spec);
then ,i run it . I found that the received data is unorderly.
I don’t know whether I really received the data or the data is random
and ,how can I receive the true data from sender with freq = 2.5e9 ?
Is there any error in my configuration ?
I need your help !