-
Notifications
You must be signed in to change notification settings - Fork 520
[LR2021] Add support for LR2021 #1676
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
base: master
Are you sure you want to change the base?
Conversation
|
One more typo
remains
P.S. you will add support for LR2021 antenna RF switch method ( SetDioRfSwitchConfig ) in the future, is that correct ? |
|
Soldered some pins to the LR2021 that LilyGo kindly provided, hoping to test LoRaWAN functionality tomorrow :) |
I can add my best guess as to how it should work, but it will be untested, because both LR2021 boards I am currently working with use a switch-less design. |
|
It's Ok |
|
DIOs available for RF switch logic are 7
while Line 82 in e51d3af
Is it Ok ? |
|
@lyusupov this is intentional, I considered increasing the maximum number of allowed RF switch pins to 7, but to be honest, I don't think there is a realistic use case for it. The LR2021 supports only 5 switch modes, so even if you used single pin for each, you would still have two unused DIO pins. Changing the constant would also break backwards compatibility a bit. |
|
Compiling 1e371b8 for the LR2021, I get: |
|
@StevenCellist looks I forgot to build it at least once with static-only memory management - oops :) |
|
Worth adding to CI, I guess? |
|
I have v0.2, but didn't receive no design file! |
|
v0.2? The first shipment of modules was always version 0.1, yours is version 0.2? Could you take a picture? |
|
@lyusupov Linar, I apologize. I just checked with the hardware engineer, and you should have received version V0.2, not v0.1. Version V0.1 requires cutting the PCB traces. @StevenCellist The attached document is a schematic diagram. |
|
@lewisxhe
@jgromes wrote that there is no RF switch in his module. - #1676 (comment) |
|
Okay, I thought you received version v0.1. If I'm not mistaken, you should also have received version v0.2. Version v0.2 also has an RF switch design, but later versions will change to a switch-free design. Because it's almost Chinese New Year and we'll be on holiday soon, we sent you our test samples in advance. |
|
@jgromes
Your current implementation of Do you have plans to extend the implementation with support of all the Rx gain boost values possible ? |





This PR add support for the latest LoRa radio, LR2021. It is currently in public preview in this branch. Once the features listed below are implemented, it will be merged into master.
Closes #1457