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

lr11xx power configuration #4

Open
TjazVracko opened this issue Nov 21, 2022 · 1 comment
Open

lr11xx power configuration #4

TjazVracko opened this issue Nov 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@TjazVracko
Copy link
Contributor

TjazVracko commented Nov 21, 2022

We are currently using lr1120mb1dxs_pa_pwr_cfg.c, which was taken directly from Semtechs SWD003 here: https://github.com/Lora-net/SWSD003/tree/master/shields/LR1120/LR1120MB1DxS

it is located at drivers/radio/lr1120mb1dxs_pa_pwr_cfg/lr1120mb1dxs_pa_pwr_cfg.c in our codebase.

There are other options for lr1120 and lr1110 in the SWD003 repository.

Since we are currently unsure what this power configuration actually entails, we will keep using this one.
A way for the user to specify which configuration should be used might be required in the future.
Is the configuration based on how the lr1xx is placed on the board (and the board's passive elements), or is it based on something else?

This must be investigated and a decision made accordingly.

@TjazVracko TjazVracko added the bug Something isn't working label Nov 21, 2022
@TjazVracko
Copy link
Contributor Author

We have also recently made the following observation:

The power table uses both the LP and HP paths (via LR11XX_RADIO_PA_SEL_LP and LR11XX_RADIO_PA_SEL_HP). But not both of those paths are placed on all of our PCBs.

This issue has been addressed in the SLW2001 "layer" - see here, where we use a DTS binding to configure the available paths.

The correct way to do a similar thing on the SWDR layer is unknown to us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant