Skip to content

Fixes #2294 : RX path not enabled on Waveshare RP2040#2298

Open
TheMalkavien wants to merge 1 commit intomeshcore-dev:devfrom
TheMalkavien:fix/waveshare-rp2040-rx-sensitivity
Open

Fixes #2294 : RX path not enabled on Waveshare RP2040#2298
TheMalkavien wants to merge 1 commit intomeshcore-dev:devfrom
TheMalkavien:fix/waveshare-rp2040-rx-sensitivity

Conversation

@TheMalkavien
Copy link
Copy Markdown

@TheMalkavien TheMalkavien commented Apr 12, 2026

Fixes #2294

The Waveshare RP2040-LoRa board has an RF switch with two complementary control lines:

  • DIO2 (CTRL) -- driven automatically by the SX1262 chip: HIGH on TX, LOW on RX
  • GPIO17 (!CTRL) -- was not configured in MeshCore, so it floated and the switch never properly selected the LNA/RX path

Without this pin driven, the RF switch never switches to RX mode, resulting in completely degraded reception. TX was unaffected because DIO2 alone is sufficient to activate the TX path.

Adding SX126X_RXEN=17 lets RadioLib drive GPIO17 as the complement of DIO2, so the switch correctly routes the signal to the LNA on receive.

Reference: https://files.waveshare.com/wiki/RP2040-LoRa/Rp2040-lora-sch.pdf

The Waveshare RP2040-LoRa board has an RF switch with two complementary
control lines:
- DIO2 (CTRL)  -- driven automatically by the SX1262 chip: HIGH on TX,
  LOW on RX
- GPIO17 (!CTRL) -- was not configured in MeshCore, so it floated and
  the switch never properly selected the LNA/RX path

Without this pin driven, the RF switch never switches to RX mode,
resulting in completely degraded reception. TX was unaffected because
DIO2 alone is sufficient to activate the TX path.

Adding SX126X_RXEN=17 lets RadioLib drive GPIO17 as the complement of
DIO2, so the switch correctly routes the signal to the LNA on receive.

Reference: https://files.waveshare.com/wiki/RP2040-LoRa/Rp2040-lora-sch.pdf
@TheMalkavien TheMalkavien marked this pull request as ready for review April 12, 2026 12:52
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.

1 participant