Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tx/rx radio synchronization #3

Open
wblair2 opened this issue Jul 10, 2023 · 0 comments
Open

tx/rx radio synchronization #3

wblair2 opened this issue Jul 10, 2023 · 0 comments

Comments

@wblair2
Copy link

wblair2 commented Jul 10, 2023

Hi again,

I now have both tx and rx running, but am having trouble getting them to synchronize when using SDRs. I am running both tx and rx on a single machine, with two Ettus X300 radios connected and have them connected with an SMA cable with 30dB attenuation. My tx and rx syntax is:

./bin/dvbs2_tx \
--sim-stats \
--rad-tx-subdev-spec "A:0" \
--rad-ip-addr 192.168.50.2 \
--rad-tx-rate 10e6 \
--rad-tx-freq 1000.0e6 \
--rad-tx-gain 12 \
--rad-threaded \
-F 8 \
--src-type USER_BIN --src-path ./example.ts \
--mod-cod QPSK-S_3/5
./bin/dvbs2_rx \
--sim-stats \
--rad-threaded \
--rad-rx-subdev-spec "A:0" \
--rad-ip-addr 192.168.40.2 \
--rad-rx-rate 10e6 \
--rad-rx-freq 1000.0e6 \
--rad-rx-gain 3 \
-F 16 \
--snk-path output_stream_fifo.ts \
--mod-cod QPSK-S_3/5 \
--dec-implem NMS \
--dec-ite 10 \
--dec-simd INTER

I am not getting any underflows or overflows, and the SNR seems good, but am getting lots of bit errors and no video playback. The output of tx and rx is attached. When the SNR goes negative is when I stopped the transmitter, to confirm the receiver is getting the tx signal properly.
txout.txt
rxout.txt

I confirmed them working in simulation without bit errors and successful video playback using the dvbs2_tx_rx executable:

./bin/dvbs2_tx_rx \
-F 8 \
--src-type USER_BIN --src-path ./example.ts \
--snk-path output_stream_fifo.ts \
--mod-cod QPSK-S_3/5 \
--dec-implem NMS \
--dec-ite 10 \
--dec-simd INTER

Any suggestions for things to try or change?

Also, I was wondering how to tell what the symbol rate is? I'm guessing it's half of the sample rate based on the output saying the oversample factor is two, but wanted to double check. I am attempting also to run tx wirelessly to this dvbs2 receiver box and need to set the symbol rate as a receiver parameter, but have been unsuccessful - the gtmedia shows signal power but is unable to decode.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant