Skip to content

Commit a0040a5

Browse files
committed
v4.1.3
* HAL: Reference clock frequency error improvement: The lora_gateway HAL has been updated (3 registers changed) to improve the performance of all gateways based on SX130x. The fix greatly improves the reception of packet at SF12, when the frequency offset of the incoming packet is large (mostly below -20ppm of frequency offset). WARNING: Systems which do not have the patch will be more prone to packet loss over time, when the crystals of the end-devices will be ageing and have more frequency offset.
1 parent ddc5e50 commit a0040a5

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1.2
1+
4.1.3

libloragw/src/loragw_hal.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ void lgw_constant_adjust(void) {
305305
// lgw_reg_w(LGW_MBWSSF_TRACKING_INTEGRAL,0); /* default 0 */
306306
// lgw_reg_w(LGW_MBWSSF_AGC_FREEZE_ON_DETECT,1); /* default 1 */
307307

308+
/* Improvement of reference clock frequency error tolerance */
309+
lgw_reg_w(LGW_ADJUST_MODEM_START_OFFSET_RDX4, 1); /* default 0 */
310+
lgw_reg_w(LGW_ADJUST_MODEM_START_OFFSET_SF12_RDX4, 4094); /* default 4092 */
311+
lgw_reg_w(LGW_CORR_MAC_GAIN, 7); /* default 5 */
312+
308313
/* FSK datapath setup */
309314
lgw_reg_w(LGW_FSK_RX_INVERT,1); /* default 0 */
310315
lgw_reg_w(LGW_FSK_MODEM_INVERT_IQ,1); /* default 0 */

readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ chip through GPIO, before starting any application using the concentrator.
7070
4. Changelog
7171
-------------
7272

73+
### v4.1.3 ###
74+
75+
* HAL: Reference clock frequency error improvement: The lora_gateway HAL has
76+
been updated (3 registers changed) to improve the performance of all gateways
77+
based on SX130x. The fix greatly improves the reception of packet at SF12, when
78+
the frequency offset of the incoming packet is large (mostly below -20ppm of
79+
frequency offset).
80+
81+
WARNING: Systems which do not have the patch will be more prone to packet loss
82+
over time, when the crystals of the end-devices will be ageing and have more
83+
frequency offset.
84+
7385
### v4.1.2 ###
7486

7587
* HAL: Changed configuration of IQ polarity of FPGA for TX to comply with FPGA

0 commit comments

Comments
 (0)