Output power config values
rhssk opened this issue · 1 comments
Hello,
v3.0.0 introduced a new command for setting output power configuration:
lr1110_modem_driver/src/lr1110_modem_lorawan.h
Lines 1524 to 1536 in 438e621
These are the default values of all 6 blocks after start-up:
expected_power: 128
configured_power: 128
pa_sel: 8
pa_supply: 0x00
pa_duty_cycle: 0x08
pa_hp_sel: 0x00
pa_ramp_time: 0x80
They don't match up with the description of lr1110_modem_output_power_config_t
:
lr1110_modem_driver/src/lr1110_modem_lorawan.h
Lines 511 to 535 in 438e621
expected_power
andconfigured_power
have unrealistic values (also, shouldn't they beint8_t
instead ofuint8_t
?).pa_duty
cycle is supposed to only range from 0 to 7 (LPA) or from 0 to 4 (HPA).pa_hp_sel
should have a default of0x07
.pa_ramp_time
doesn't match any value inlr1110_modem_ramp_time_t
.- isn't
pa_sel
supposed to have a value from fromlr1110_modem_radio_pa_selection_t
?
Also, it's not clear how the modem chooses which of the 6 blocks from lr1110_modem_output_power_config_list_t
to use. Are the blocks somehow matched with the configured Tx power offset value (lr1110_modem_set_tx_power_offset
) via the expected_power
or configured_power
members?
Firmware info for reference:
type: modem
bootloader: hw: 0x22 type: 0xdf fw: 0x6500
functionality: Wi-Fi/GPS/BeiDou
firmware: 1.1.7
LoRaWAN: 1.0.3
driver: 3.0.1
Thank you for your inquiry.
Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.
We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!