Skip to content

Releases: Lora-net/sx1302_hal

v2.1.0

22 Apr 14:10
Compare
Choose a tag to compare
> #### Updates

This release only targets USB Corecell (no change for SPI connexion type).
The USB-SPI bridge firmware, which runs on the STM32 MCU of the USB Corecell, has
been updated for API clean-up and robustness improvements.

> #### Changes

* MCU: USB-SPI bridge firmware binary v1.0.0.
        * Removed obsolete commands (ORDER_ID__REQ_SPI, ORDER_ID__ACK_SPI)
        * Command index shifted after obsolete commands removal (ORDER_ID__REQ_MULTIPLE_SPI, ORDER_ID__ACK_MULTIPLE_SPI)
        * Command parser sends ORDER_ID__UNKNOW_CMD in case of wrong command size.
        * Code clean-up (typo fixed, comments added...)
        * Implemented Error_Handler() function to reset the MCU in case of fatal error.
        * Fixed a potential roll-over issue in read_write_spi() function.
        * Increased delay tolerance for host feedback on USB transfers.
* HAL: Command interface updated for MCU firmware v1.0.0.
        * Removed obsolete commands from enum order_id_e
        * Shifted commands enum index according to USB-SPI bridge update.
        * Removed decode_ack_spi_access() unused function.
* HAL: Added timing debug information under DEBUG_MCU.

v2.0.2

12 Mar 15:01
Compare
Choose a tag to compare

Updates

Fixed AGC firmware version check for sx1255/sx1257 based platforms (full-duplex
gateways...).

Changes

  • HAL: AGC firmware version for sx1255/sx1257 based gateways is v6.
  • HAL: minor cosmetic changes & typo fixing.

v2.0.1

18 Dec 10:18
Compare
Choose a tag to compare

v2.0.1

Updates

The fine timestamping feature has been fully validated with this release.

Changes

  • HAL: Adjusted the freq_offset field of received packets, to take into account
    the channel IF resolution error.
  • HAL: Refined the fine timestamp offset compared to Gateway v2, by taking into
    account the frequency offset of the received packet.
  • HAL: Fixed the preamble length for FSK downlinks
  • MCU: Removed the binary compiled in debug mode.
  • util_spectral_scan: actually use the nb_scan input argument which was ignored.

v2.0.0

09 Dec 17:49
Compare
Choose a tag to compare

v2.0.0

New features

  • Added support for USB interface between the HOST and the concentrator,
    for sx1250 based concentrator only.
  • Added support for Listen-Before-Talk for AS923 region, using the additional
    sx1261 radio from the Semtech Corecell reference design v3.
  • Added support for Spectral Scan with additional sx1261 radio from the Semtech
    Corecell reference design v3.
  • Added support for SX1303 chip, for further Fine Timestamping support.
  • Merged the master-fdd-cn490 branch to bring support for CN490 Full-Duplex
    reference design. It is an integration of the releases v1.1.0, v1.1.1, v1.1.2
    described below.

Changes

  • HAL: Reworked the complete communication layer. A new loragw_com module has
    been introduced to handle switching from a USB or a SPI communication interface,
    aligned function prototypes for sx125x, sx1250 and sx1261 radios. For USB, a
    mode has been added to group SPI write commands request to the STM32 MCU, in
    order to optimize latency during time critical configuration phases.
  • HAL: Added preliminary support for Fine Timestamping for TDOA localization.
  • HAL: Updated AGC firmware to v6: add configurable delay for PA to start, add
    Listen-Before-Talk support.
  • HAL: Added new API function lgw_demod_setconf() to set global demodulator
    settings.
  • HAL: Added new API functions for Spectral Scan.
  • Packet Forwarder: The type of interface is configurable in the
    global_conf.json file: com_type can be "USB" or "SPI".
  • Packet Forwarder: Changed the parameters to configure fine timestamping in the
    global_conf.json.
  • Packet Forwarder: Added sections to configure the spectral scan and
    Listen-Before-Talk features.
  • Packet Forwarder: Added a new thread for background spectral scan example,
    to show how to use the spectral scan API provided by the HAL, without
    interfering with the main tasks of the gateway (aka Receive uplinks and transmit
    downlinks).
  • Packet Forwarder: Added "nhdr" field parsing from "txpk" JSON downlink request
    in order to be able to send beacon request from Network Server.
  • Packet Forwarder: Added chan_multiSF_All in global_conf.json to choose which
    spreading factors to enable for multi-sf demodulators.
  • Packet Forwarder: Updated PROTOCOL.md to v1.6.
  • Tools: added util_spectral_scan, a standalone spectral scanner utility.

Notes

  • This release has been validated on the Semtech Corecell reference design v3
    with USB interface.

v1.1.2

Integrated in v2.0.0 from master-fdd-cn490 branch.

  • packet forwarder: updated global_conf.json.sx1255.CN490.full-duplex with RSSI
    temperature compensation coefficients, and updated RSSI offset for radio 1.

v1.1.1

Integrated in v2.0.0 from master-fdd-cn490 branch.

  • HAL: Updated SX1302 LNA/PA LUT configuration for Full Duplex CN490 reference
    design.
  • test_loragw_hal_rx/tx: added --fdd option to enable Full Duplex
  • packet forwarder: updated global_conf.json.sx1255.CN490.full-duplex for CN490
    reference design.

v1.1.0

Integrated in v2.0.0 from master-fdd-cn490 branch.

  • HAL: Added support for CN490 full duplex reference design.

v1.0.5

24 Feb 15:42
Compare
Choose a tag to compare
  • HAL: Fixed packet timestamp issue which was "jumping in time" in specific conditions.
  • HAL: Workaround hardware issue when reading 32-bits registers (timestamp, nb bytes in RX buffer...)
  • HAL: Fixed potential endless loop in sx1302_tx_abort() in SPI access fails.
  • Packet Forwarder: Added global_conf.json.sx1250.US915 for US915 band
  • test_hal_rx: added command line to specify RSSI offset to be applied

v1.0.4

22 Nov 15:12
Compare
Choose a tag to compare
  • Added missing LICENSE.TXT file
  • HAL & Packet Forwarder: added support for sx1250-based reference design for
    CN490 region
  • Packet Forwarder: disabled beaconing by default

v1.0.3

02 Oct 12:46
Compare
Choose a tag to compare
  • HAL: Fixed scheduled downlink time precision by taking the tx start delay into account.
  • HAL: Fixed timestamp correction calculation for BW250 & BW500
  • HAL: Fixed possible buffer overflow in lgw_receive() function
  • HAL: Keep packet received in RX buffer when the buffer allocated to receive the packets is too small. Remaining packets will be fetched on the next lgw_receive calls (aligned on SX1301 behavior).

v1.0.2

02 Oct 12:46
Compare
Choose a tag to compare
  • Fixed compilation warnings reported by latest versions of GCC
  • Reworked handling of temperature sensor
  • Clean-up of unused files
  • Added instructions and configuration files for packet forwarder auto-start with systemd
  • Added SX1250 radio calibration at startup

v1.0.1

02 Oct 12:47
Compare
Choose a tag to compare
  • Packet Forwarder: Updated TX gain LUT in global_conf.json.sx1250 with proper calibration

v1.0.0

02 Oct 12:48
Compare
Choose a tag to compare
  • Initial release for SX1302 CoreCell Reference Design.