Skip to content

Decoding sx1261 SPI commands in FSK mode #483

Answered by jgromes
TimelessNL asked this question in Q&A
Discussion options

You must be logged in to vote

Going through your SPI decodes, it all seems correct (though the frequency seems more like 868.800 MHz), however, you're missing a crucial piece of the puzzle - the packet format. For example, you know the sync word starts with 0xC194C1, but you don't really know how long it is.

Try to find the SetPacketParams transaction (opcode 0x8C), that should give you the remaining information.

I would also use the interrupt-driven reception, since the 50 kbps data rate is quite high and therefore it's likely you will miss it (blocking mode timeout is calculated based on the configured data rate).

Finally, as this is not really an issue (or at least it doesn't seem to be so far), I'm converting this…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TimelessNL
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #480 on February 26, 2022 16:55.