Skip to content

LR1121 LBT Support #3267

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

Open
wants to merge 41 commits into
base: 3.x.x-maintenance
Choose a base branch
from
Open

LR1121 LBT Support #3267

wants to merge 41 commits into from

Conversation

pkendall64
Copy link
Collaborator

@pkendall64 pkendall64 commented Jul 2, 2025

In collaboration with Radiomaster and the Semtech engineers, the ExpressLRS team brings you LBT for the LR1121 chipset!

Notes

Important

This PR will update the firmware in your LR1121!

After you install this ELRS firmware on your TX and/or RX, from that point on the firmware will check the version of LR1121 firmware loaded on to the chip. If the LR1121 firmware is not the expected version then it will reflash the LR1121 to the firmware blob included in the ELRS firmware.

Reverting to older firmware

If you wish to go back to the mainstream/older firmware it will be a 3 step process.

  1. First flash the older firmware as usual
    • When the TX or RX is restarted, it will flash the "Bad Radio" code.
  2. Download the LR1121 firmware from https://github.com/Lora-net/radio_firmware_images/blob/master/lr1121/transceiver/lr1121_transceiver_0103.bin
  3. The wifi access point will have started, navigate to http://10.0.0.1/lr1121.html and upload the firmware from the previous step to each LR1121 chip on the module.
  4. Reboot and enjoy the older firmware

@pkendall64 pkendall64 added enhancement 🪄 New feature or request V3.6 👂 labels Jul 2, 2025
pkendall64 and others added 5 commits July 2, 2025 19:43
If it's not the same as in the ELRS firmware
Also provides the ability to clear the 'manual' flag and reflash the default on reboot.
- removed LBT Enabled line due to LUA restrictions (can't be updated after packet rate change)
- change & to /
- removed LBT Enabled line due to LUA restrictions (can't be updated after packet rate change)
- change & to /
@pkendall64 pkendall64 force-pushed the lr1121-testing-lbt branch from c496619 to 0cba295 Compare July 2, 2025 07:45
@mama99de
Copy link

mama99de commented Jul 3, 2025

Hi,
did some testing (GX12), used branch "lr1121-testing-lbt" with build option "-DRegulatory_Domain_EU_CE_2400"
Hope that this is the correct way to test, if not, please let me know hot to bulit correct Test SW.
image

First quick&dirty tests looked good, connection to 2 RX with LBT 3.5.6 seems to work fine. Telemtry, (re)connection etc. like using my other TX.

But Wifi Homenetwork seems to get lost every time, always goes back to AP Mode.

@mha1
Copy link
Contributor

mha1 commented Jul 3, 2025

did some testing (GX12), used branch "lr1121-testing-lbt" with build option "-DRegulatory_Domain_EU_CE_2400"

Until Configurator had an update you can build this PR by selecting GIT PULL REQUEST, enabled Manual mode stating both EU domains, eg:

-DRegulatory_Domain_EU_CE_2400
-DRegulatory_Domain_EU_868
-DMY_BINDING_PHRASE="***"
-DHOME_WIFI_SSID="***"
-DHOME_WIFI_PASSWORD="***"

TX Powet Menu should look something like this:

image

@mama99de
Copy link

mama99de commented Jul 3, 2025

Just updated a Radiomaster XR1 Nano. Wifi seems to be dead, no AP no connection to home Wifi.
Connection to TX, telemetry etc seems to be fine.
Any Idea how get wifi working?

Solved :
--> Bind Button for 5-7 Seconds after Startup switches Wifi on.
Needs to be done after every startup, no autostart of wifi, if restarted manually, also always in AP model like the GX12

New issue found:
Regulatory Domain is set after flashing to AU915 not EU868 (which was set for building)

@pkendall64
Copy link
Collaborator Author

I'm not having any issues with wifi after flashing. It connects to my home wifi as it should. I am also not having the issue with the regulatory domain. I am building in platformio though and this may just be because Configurator needs an update or we need to do a RC build so there is a binary available.

@mama99de
Copy link

mama99de commented Jul 3, 2025

Sorry don´t know how building in platformio works.
Cleared the platformio depencendies 1 day ago, that shoudn´t be an issue.
But you could provide a bin for Radiomaster XR1 Nano or GX12, then i can check if it´s related to the configurator bulding process. Or do a RC, which i can test.

@pkendall64
Copy link
Collaborator Author

I've updated the web-flasher https://expresslrs.github.io/web-flasher/ so you can select the branch
Screenshot_2025-07-04_at_9 20 09_AM

I've built and flashed from PIO, binary from the web-flasher (as in the screenshot) and also from the PR using Configurator 1.7.7 and I'm seeing none of these issues!

@mama99de
Copy link

mama99de commented Jul 3, 2025

I´ll try it tommorow when I´m home from work

@pkendall64
Copy link
Collaborator Author

pkendall64 commented Jul 3, 2025

I´ll try it tommorow when I´m home from work

I redid my build from Configurator and it's definitely a Configurator issue. I believe that Configurator is somehow causing the firmware to be flashed without the options attached to the firmware. So this why it's selecting AU915 and wifi is not connecting to the home network. This also explains why there is no wifi on the RX as well, as the auto on interval is disabled.

Please try with the web-flasher in the mean time.

@mama99de
Copy link

mama99de commented Jul 4, 2025

Verified it with GX12 and XR1, Wifi and regulatory domain works as expected when using the webflasher

@mama99de
Copy link

mama99de commented Jul 5, 2025

Flew almost 2hrs today without any issue, RQLY always 97-100% and TX Power 10mW. Only 1-2 seconds with 100mW TX power and RQLY 80%. Tested in 2m glider with RX Radiomaster ER8GV. Alt -27m to +241m max. Distance ~500-600m

Will do more test flights in other planes, without any concern, next week.

Tested configuration:
Switch Mode : Full Res 16ch Rate/2
Packet Rate : 100Hz Full
Telemetry Ratio : 1:8
Link Mode : Normal
Model Match : On
TX Power : 100mW Dynamisch

lyusupov referenced this pull request in jgromes/RadioLib Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🪄 New feature or request V3.6 👂
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants