Skip to content

Commit

Permalink
v4.1.3
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
mcoracin committed Feb 13, 2017
1 parent ddc5e50 commit a0040a5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.2
4.1.3
5 changes: 5 additions & 0 deletions libloragw/src/loragw_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,11 @@ void lgw_constant_adjust(void) {
// lgw_reg_w(LGW_MBWSSF_TRACKING_INTEGRAL,0); /* default 0 */
// lgw_reg_w(LGW_MBWSSF_AGC_FREEZE_ON_DETECT,1); /* default 1 */

/* Improvement of reference clock frequency error tolerance */
lgw_reg_w(LGW_ADJUST_MODEM_START_OFFSET_RDX4, 1); /* default 0 */
lgw_reg_w(LGW_ADJUST_MODEM_START_OFFSET_SF12_RDX4, 4094); /* default 4092 */
lgw_reg_w(LGW_CORR_MAC_GAIN, 7); /* default 5 */

/* FSK datapath setup */
lgw_reg_w(LGW_FSK_RX_INVERT,1); /* default 0 */
lgw_reg_w(LGW_FSK_MODEM_INVERT_IQ,1); /* default 0 */
Expand Down
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@ chip through GPIO, before starting any application using the concentrator.
4. Changelog
-------------

### 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.

### v4.1.2 ###

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

0 comments on commit a0040a5

Please sign in to comment.