Skip to content

add config for E22P-868M30S and E22-900M33S (30S)#2415

Open
alexex1993 wants to merge 1 commit intomeshcore-dev:mainfrom
alexex1993:feature-ebyte-generic-e22-configs
Open

add config for E22P-868M30S and E22-900M33S (30S)#2415
alexex1993 wants to merge 1 commit intomeshcore-dev:mainfrom
alexex1993:feature-ebyte-generic-e22-configs

Conversation

@alexex1993
Copy link
Copy Markdown

@alexex1993 alexex1993 commented Apr 27, 2026

Add support for E22-900M33S (30S) and E22P-868M30S modules on ESP32-S3

What this PR does:

  • Adds two new ready-to-use environments for the popular Ebyte high-power LoRa modules:
    • [env:Generic_E22_sx1262_900M33S_repeater] — for E22-900M33S (2W version)
    • [env:Generic_E22P_sx1262_868M30S_repeater] — for E22P-868M30S (new P-series with improved TCXO and RF front-end)

Key changes:

  • Correct SX126X_MAX_POWER and LORA_TX_POWER settings for each module (critical for safe and maximum output on the 2W M33S)
  • Proper handling of PA control:
    • Classic TXEN/RXEN for E22-900M33S
    • DIO2-as-RF-switch for modern E22P-868M30S
  • Uses safe and commonly used GPIO pins on ESP32-S3-DevKitC-1 (NSS=18, SCLK=5, MOSI=40, MISO=41, etc.)
  • Disables I2C to prevent initialization errors on minimal repeater builds
  • Includes correct TCXO voltage and current limit

Why this is useful:
Many users build custom repeaters with powerful Ebyte modules (E22-900M33S and the newer E22P series).
Previously, they had to manually fight with pinouts, power settings, and radio init failed: -2 errors.
These two environments make it plug-and-play for the community.

Tested on ESP32-S3-DevKitC-1 with both modules. Radio initializes successfully, PA control works correctly, and current consumption drops normally in RX mode.

Related:

  • Official FAQ already mentions E22-900M30S / M33S modules
  • Helps users in EU868 and US915 regions

Ready for review and merge.

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