Skip to content

Commit 4748f3d

Browse files
subGHz: tune configuration for lr1110
adjust configuration to improve lr1110 Signed-off-by: Robert Gałat <[email protected]>
1 parent 2887e1f commit 4748f3d

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

boards/shields/semtech_lr11xxmb1xxs/semtech_lr1110mb1xxs.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
lora_semtech_lr1110mb1xxs: &lora_semtech_lr11xxmb1xxs {
1010
compatible = "semtech,lr1110";
1111

12-
tcxo-wakeup-time = <8>;
12+
tcxo-wakeup-time = <14>;
1313
};

boards/shields/semtech_lr11xxmb1xxs/semtech_lr11xxmb1xxs_common.dtsi

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
};
1616
};
1717

18-
// FIXME: Is there a way to reassign the node label arduino_spi from spi2 to spi3 ?
19-
// spi2 draws way less current than spi3.
2018
&arduino_spi {
2119
status = "okay";
2220

@@ -37,10 +35,10 @@
3735
lf-clk = <LR11XX_LFCLK_XTAL>;
3836
reg-mode = <LR11XX_REG_MODE_DCDC>;
3937

40-
rf-sw-enable = <(LR11XX_DIO5 | LR11XX_DIO6 | LR11XX_DIO7)>;
41-
rf-sw-rx-mode = <LR11XX_DIO5>;
42-
rf-sw-tx-mode = <(LR11XX_DIO5 | LR11XX_DIO6)>;
43-
rf-sw-tx-hp-mode = <LR11XX_DIO6>;
38+
rf-sw-enable = <(LR11XX_DIO7)>;
39+
rf-sw-rx-mode = <0>;
40+
rf-sw-tx-mode = <0>;
41+
rf-sw-tx-hp-mode = <0>;
4442
rf-sw-gnss-mode = <LR11XX_DIO7>;
4543

4644
tcxo-voltage = <LR11XX_TCXO_SUPPLY_1_8V>;

subsys/config/common/src/app_subGHz_config_lr11xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static radio_lr1110_device_config_t radio_lr1110_cfg = {
143143
LR1110_TCXO_CTRL_DIO3 : LR1110_TCXO_CTRL_NONE,
144144
.tune = DT_PROP_OR(DT_NODELABEL(lora_semtech_lr11xxmb1xxs), tcxo_voltage, LR1110_SYSTEM_TCXO_CTRL_1_8V),
145145
// Convert ms to 30.25 us ticks (1 ms = 33.06 ticks)
146-
.timeout = DT_PROP_OR(DT_NODELABEL(lora_semtech_lr11xxmb1xxs), tcxo_wakeup_time, 0) * 33,
146+
.timeout = DT_PROP_OR(DT_NODELABEL(lora_semtech_lr11xxmb1xxs), tcxo_wakeup_time, 0),
147147
},
148148

149149
.rfswitch =

0 commit comments

Comments
 (0)