-
Notifications
You must be signed in to change notification settings - Fork 433
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
LR1121 can not reach 22dBm output power #1349
Comments
14 dBm is the upper limit of the low-power PA. RadioLib selects the PA based on the requested output power, or if you force it with the second argument of |
@klabshowroom uses LR1121 reference design board ( LR1121DVK1TxKS 868_915MHz DevKit ) from Semtech ![]() Complete design files are available at this location: Not sure that RF switch table provided by @klabshowroom is 100% valid - but it looks quite realistic. ![]() |
I'm not sure either, because it wasn't fully posted - the pin definition table is missing. Since the reference design uses DIO5 and DIO6 as the switch pins, the Other than that, the table looks OK. |
Hi All, thanks for response, and I am new here, so don't know how will be better to post documents . I will try again, and report the result later. Thanks again. |
in LR11x0.h, there is definition for these two pins: I try to modify these pin number to be and find there is no change for the result. it seems the pin definition can not change the result, and how to make these two pins work? |
That is not "definition for these two pins", those are internal macros and must be left unchanged. Nothing in the lirbary is supposed to be modified by the user, except for some build options. I also don't know why would you choose to change it to 3 and 4. Please read my previous post again. The switch table you have posted is incomplete. You also need to define the pins your switch is using, and provide that to the library. In the LR11x0_Transmit_Blocking example, this is shown as |
@jgromes Thanks for your information. Finally, I figure out the problem, but don't know the root cause. in the example, it show: So, I put the command before raiod.begin() I put this command after radio.begin() as: and the output power could reach 22dBm now. I don't know why, just report my status. |
This has been reported in #1295 and fixed about 2 moths ago in 0156c90. It is released in 7.1.0 so I'm guessing that you have some outdated version of the library. Keyword there being guessing since you never reported your version. Had you filled in the issue template we would have had all the information we needed from the start ... |
I use a LR1121 evaluate board from Semtech, it can work for 14 dBm power output.
When I set the power to be 22 dBm, the output power become 0 dBm.
The rf switch table is as:
static const Module::RfSwitchMode_t rfswitch_table[] = {
// mode DIO5(V1) DIO6(V2)
{ LR11x0::MODE_STBY, { LOW, LOW } }, //shutdown
{ LR11x0::MODE_RX, { HIGH, LOW } }, //J2
{ LR11x0::MODE_TX, { HIGH, HIGH } }, //J3, RFO_LP_LF
{ LR11x0::MODE_TX_HP, { LOW, HIGH } }, //J1, RFO_HP_LF
{ LR11x0::MODE_TX_HF, { LOW, LOW } },
{ LR11x0::MODE_GNSS, { LOW, LOW } },
{ LR11x0::MODE_WIFI, { LOW, LOW } },
END_OF_MODE_TABLE,
};
is there anything wrong for my setting?
The text was updated successfully, but these errors were encountered: