Skip to content

[LR2021] PA optimization#1768

Open
jgromes wants to merge 5 commits into
masterfrom
lr2021-pa-optimize
Open

[LR2021] PA optimization#1768
jgromes wants to merge 5 commits into
masterfrom
lr2021-pa-optimize

Conversation

@jgromes
Copy link
Copy Markdown
Owner

@jgromes jgromes commented Apr 28, 2026

This PR adds PA configuration for LR2021 based on lookup table. It has been optimized the same way as SX126x series has been, measurement logs are available in https://github.com/radiolib-org/power-tests

So far only Sub-GHz PA has been measured, hence this is still in draft. Because the LR2021 does not seem to have a fixed default (like the SX126x did), this optimization will always be enabled.

We also need to figure out a simple mechanism to allow users to provide their own PA configuration table.

Fixes #1740

@jgromes jgromes self-assigned this Apr 28, 2026
@jgromes jgromes linked an issue Apr 28, 2026 that may be closed by this pull request
@jgromes jgromes added this to the 7.7.0 milestone May 14, 2026
@jgromes
Copy link
Copy Markdown
Owner Author

jgromes commented May 19, 2026

I was not able to fully verify everything (especially the 2.4 GHz settings), but nevertheless this version is a lot better than the current master, so we should merge it earlier and fix further issues afterwards.

@jgromes jgromes marked this pull request as ready for review May 19, 2026 19:13
@jgromes jgromes requested a review from StevenCellist May 19, 2026 19:13
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.

LR2021 sub-GHz TX power mismatch (configured vs measured)

1 participant