Skip to content

SX1276 used bad Sync word, caused radio init error -2#2240

Open
petrkr wants to merge 1 commit intomeshcore-dev:mainfrom
petrkr:sx1276fix
Open

SX1276 used bad Sync word, caused radio init error -2#2240
petrkr wants to merge 1 commit intomeshcore-dev:mainfrom
petrkr:sx1276fix

Conversation

@petrkr
Copy link
Copy Markdown

@petrkr petrkr commented Apr 3, 2026

Bad sync word to initialize SX1276. This fixes that.

@liamcottle
Copy link
Copy Markdown
Member

Hello, thanks for the PR!

From what I can tell, RADIOLIB_SX126X_SYNC_WORD_PRIVATE and RADIOLIB_SX127X_SYNC_WORD both resolve to 0x12.

The error code -2 you're receiving is defined as RADIOLIB_ERR_CHIP_NOT_FOUND in RadioLib/src/TypeDef.h.

I don't see how this PR would resolve the issue you're facing, since it's telling you the radio chip was not found.

@petrkr
Copy link
Copy Markdown
Author

petrkr commented Apr 4, 2026

Me either, maybe there was also some HW glitch on duponts and I just did not expand both definitions to check.

But also it would be atleast more right atleast by names of definitions.

Also had error -13 which is something with tx power, so I lowered it TX POWER to 20 and it's working.

I am using this HW since TTN network, HNT Heiium Mestastick, ExpLora and now MeshCore. So it's old enough to had some HW issues too.

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

Successfully merging this pull request may close these issues.

2 participants