-
Notifications
You must be signed in to change notification settings - Fork 80
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
SF 12 Leads to incorrect bytes (SF 11 works great) #127
Comments
also @tapparelj , I am more than happy to implement the solution via PR if/when it is identified. I just need to be pointed in the right direction. I have a suspicion it is something to do with LDRO. Also, I have used the more detailed receiver breakdown example with the multiple blocks, defined a 16 byte preamble, and still see this same result. SF 11 works, but SF 12 does not. |
Hello @chrisdimoff, |
Hi @tapparelj , thanks for the response! I disabled LDRO at the header decoder block and still see the same issue. In fact the number of incorrect bytes greatly increased. With LDO disabled only the first four bytes are correct. With LDO enabled, performance is posted in my first post (about 60% of bytes are correct) I also tried:
This indicates its not LDRO issue? |
@tapparelj I've played around with all different manner of LDRO options and it seems that longer SF 12 packets cant be received correctly regardless of LDRO combinations. |
Then it seems that the issue comes from a synchronization error that becomes worse the longer the frame. |
Here it is. Looks like: Im not sure if that is good or bad... FYI for this test the sending payload was
|
@tapparelj Forgot to mention the parameters used were: SF 12, BW 250, Freq: 915E6. Also, I sent you an email regarding hiring you as a temporary contractor to help me resolve this issue. I really appreciate you committing your unpaid time to a project as amazing as this, but I'd like to contribute some $$ as well to support. Maybe we can setup some time to chat? |
So I've been looking at SF12 and I could see that the quality of the synchronization was degrading over the duration of the frame, until it leads to constant errors. I have recently been working on an improved synchronization algorithm which will be published soon. I've started implementing it and will publish a new branch so you can test it. |
First off, thank you for such an incredible library!
Overview
Context:
Variables
Problem:
Said another way, SF 11 works but SF 12 does not. See attached sent and received packets for both SF 11 and SF
Other Things of Note
Attachments
Sent and Received Packets at Different Spread Factors
SF 12 (Received packet HAS errors):
Transmitted Packet (SF 12)
Received packet (SF 12)
SF 11 (Received packet has NO errors)
Transmitted Packet (SF11)
Received packet (SF 11)
FlowGraph
The text was updated successfully, but these errors were encountered: