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

RX Script Crashes with SF = 5 and SF = 6 #125

Open
gorsheep opened this issue Dec 17, 2024 · 0 comments
Open

RX Script Crashes with SF = 5 and SF = 6 #125

gorsheep opened this issue Dec 17, 2024 · 0 comments

Comments

@gorsheep
Copy link

Hello,

First of all, thank you for providing this great project! I've been using it to successfully implement LoRa communication. However, I've encountered issues when using spreading factors (SF) 5 and 6. Specifically, the RX script crashes, and packets are not decoded correctly under the following settings:

Transmitter (TX):

  • samp_rate: 500 kHz
  • bw: 250 kHz
  • TX_gain: 100
  • center_freq: 2.1 GHz
  • sf: 6
  • cr: 1

Receiver (RX):

  • samp_rate: 500 kHz
  • bw: 250 kHz
  • RX_gain: 100
  • center_freq: 2.1 GHz
  • sf: 6
  • cr: 1

I’ve attached the following screenshots for reference:

  1. TX flow graph
  2. RX flow graph
  3. Console output showing that packets are not decoded correctly.

I have tried increasing the sampling rates (to 2x, 4x, and 8x the bandwidth) for both TX and RX, but the issue persists. The RX script still crashes when using SF = 5 or SF = 6. Other SF values (e.g., SF = 7) work as expected with the same bandwidth and sampling rate.

I noticed that a similar issue was reported about a year ago. The authors mentioned creating a new branch to address it, but I couldn’t find clear documentation or confirmation on whether this fix has been merged into the main branch, which I am currently using.

Could you please clarify if this issue has been resolved in the main branch? If not, are there any specific changes I should test from the branch created to address this problem?

Thank you for your time and assistance. Please let me know if further details or testing are needed!

IMG_0951
IMG_0954
IMG_0950

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