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

An issue with ADALM-Pluto QPSK Tx and Rx in Python #607

Open
aligharamohammadi opened this issue Oct 16, 2024 · 7 comments
Open

An issue with ADALM-Pluto QPSK Tx and Rx in Python #607

aligharamohammadi opened this issue Oct 16, 2024 · 7 comments
Assignees

Comments

@aligharamohammadi
Copy link

I am replicating my MATLAB Tx and Rx code for ADALM-Pluto in Python. I have successfully configured the transmitter in Python and I'm using my MATLAB code for the receiver.

Currently, I am generating QPSK-modulated symbols and transmitting them. However, on the receiver side, I only seem to receive one symbol at a time. All the symbols are present, but only one symbol appears to be captured per transmission.

Does anyone know what could be causing this issue? Could it be related to buffer size, or is there some synchronization or data capturing setting I'm missing?

@tfcollins
Copy link
Collaborator

We'll need more information. Can you provide a code example?

@tfcollins tfcollins self-assigned this Oct 16, 2024
@aligharamohammadi
Copy link
Author

TxPluto.zip

This is my Tx code. For Rx, I use the Simulink example. I just adjusted the sampling rate.

openExample('plutoradio/QPSKReceiverWithADALMPLUTORadioSimulinkExample')

@tfcollins
Copy link
Collaborator

tfcollins commented Oct 17, 2024

Your dataset is not scaled correctly for the device. Floats are directly cast to ints making all your data into 3 possible DAC codes [-1,0,1]. Data needs to be scaled between to the DAC fullscale of 2^15

Please also verify that the pulse-shaped symbols are as expected. These look rather odd when plotting them.

-Travis

@aligharamohammadi
Copy link
Author

aligharamohammadi commented Oct 17, 2024

TxPluto-Revised.zip
Thanks.
I have revised the code. Still, it is not solved completely.

@tfcollins
Copy link
Collaborator

What are you observing and what do you expect to observe?

-Travis

@aligharamohammadi
Copy link
Author

The following plot is from Noise
Noise
I have attached my scatter plot here.
Rx
I expect to see a qpsk modulation as following
Desired

@tfcollins
Copy link
Collaborator

I'm not really sure what to tell you as you are looking at the end of a receive algorithm. The code you have generates data fine. If the TX side is working is MATLAB, how do they differ at the receiver before applying correction?

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

2 participants