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

Fix RF switching logic on rp2040-lora board. #4486

Merged
merged 104 commits into from
Aug 17, 2024

Conversation

Mictronics
Copy link
Contributor

Complementary-pin control logic is required on the rp2040-lora board since this board uses a RTC6603SP RF switch that only supports such logic.
See schematic https://www.waveshare.com/img/devkit/RP2040-LoRa-HF/RP2040-LoRa-HF-details-11.jpg
and https://files.waveshare.com/upload/c/c6/Datasheet-RTC6603SP-RichWave.pdf

  • Pin 4 on RF switch is controlled as usual by DIO2 from SX1262
  • Pin 6 on RF switch is controlled by GPIO17 from RP2040
  • GPIO17 must be defined as SX126X_RXEN and can't be used as ordinary GPIO (e.g. BUTTON_PIN)
  • GPIO18 pin is wired to SX1262 busy pin

This should solve EMI problems (wrong CRC, packet loss etc.) reported on Discord. The root cause for EMI was the SX1262 TX power was never reaching the antenna since the RF switch was not set in TX mode.

Mictronics and others added 30 commits January 4, 2024 10:27
@thebentern thebentern merged commit e37acae into meshtastic:master Aug 17, 2024
100 checks passed
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