Knowledge Base

Frequently Asked Questions

In LoRa mode, even if the CRC is wrong the payload will be filled into the FIFO. Bit PayloadCrcError must be checked before fetching the payload to know its integrity. In Explicit Header mode, there is a small probability that a false detection creates a “ghost” packet. Either the false header has CrcOn bit turned on, and then the payload will be wrong, and the modem will flag it as a PayloadCrcError condition, so packet can easily be filtered out. Or the false header has CrcOn disabled, in which case the mode will consider the packet as a good one. These infrequent bad packet will have a random length (extracted from the false header info), and can be easily filtered by the host, for instance by seeing that their size is unexpected.

First of all, check the frequency offset caused by the crystal between the two devices. The BW, center frequency, and data rate are all derived from the crystal frequency.

Second, check the software/firmware settings on both sides for frequency, bandwidth, spreading factor, coding rate and packet structure to ensure they are the same. 

LoRaWAN uses primarily the 125kHz BW setting, but other proprietary protocols can utilize other BW settings. Changing the BW, SF, and CR changes the link budget and time on air, which results in a battery lifetime versus range tradeoff.

Please use the LoRa Modem Calculator to evaluate the tradeoffs. 

If it is just for measurement, you can use the Frequency synthesis TX (FSTX) mode as listed in the LoRa register table to generate a CW tone based on the LoRa configuration.

Normally, a +/-10ppm XTAL is good enough for most designs with a bandwidth of 62.5kHz or higher. For bandwidth (BW) less than 62.5kHz, a TCXO is strongly suggested. For more details about the specification of the crystal, please refer to the datasheet and LoRa Modem Calculator tool and application note AN1200.14_XO_Guidance_LoRa_Modulation_STD”. 

Three parameters are important to test in mass production: frequency tolerance, output power, and sensitivity. The frequency and output power are easy to test with a spectrum analyzer. If your signal generator cannot generate a LoRa signal, testing the sensitivity with FSK mode is strongly suggested.

There is only one RF chain in the chip, and the FSK and LoRa demodulation is done in the digital domain. The RF path could potentially be misassembled (ex: dry joint on a DC-cut) so this is important to verify.

The digital portion of the chip where the LoRa and FSK modulation is done is isolated from the effects of assembly so testing FSK sensitivity is sufficient for verifying the production test performance. The digital and LoRa modulation are tested extensively in the chip production test. 

  1. Please make sure that you connect the right pin (PA_Boost) set for 20dBm output. There are two output ports for each band. One is high power port called PA_boost, another is high efficiency port called RFO.
  2. Then, check the configuration in SW. Three registers should be configured correctly: RegPaConfig, RegOcp and RegPaDac. This means that you should select the right pin for proper output in SW, then set the right value refer to power level you need.
  3.  Confirm they match per the Semtech reference design to make a good layout. This is important to achieve the maximum output power possible.

Yes, it is no problem. The LoRa device can be switched from FSK to LoRa (and vice versa) via simple SPI register write. This has no effect on the performance or reliability of the device. A LoRa device can be configured and reconfigured to any of the parameters as specified in the datasheets. 

The +20dBm specification is for the output power at the pin of the chip. The band-pass filter and RF switch have insertion loss characteristics as in any RF system. Achieving +19dBm at the antenna is typical performance after matching and filtering. 

Instead of using a Received Signal Strength Indicator (RSSI) method to identify if a signal is present, the CAD is used to detect the presence of a LoRa signal. It has the capability to differentiate between noise and a desired LoRa signal. The CAD process requires two symbols, and if the CAD is detected, the CAD_Detected interrupt will be asserted and the device will stay in RX mode to receive the data payload.

With a LoRa device (ex: SX1272 or SX1276), a lower cost crystal can be used. In narrow band technology, an expensive temperature controlled crystal oscillator is needed to minimize frequency drift during RX/TX. A typical bill of materials cost for a complete end-node is $2-$5 depending on volume and features. A long transmit range means simpler network infrastructure and lower cost of deployment as no repeaters are necessary. Lower power consumption means use lower cost batteries and network maintenance. 

At the chip pin, the output power is +20dBm and at the antenna after matching/filtering loss, the power is +19dBm +/-0.5dB. Different regions have different regulations for max output power, and the LoRaWAN specification defines different output power for the different regions to maximize the link budget. 

ADR is a method where the actual data rate is adjusted to ensure reliable packet delivery, optimal network performance, and scale for capacity. For example, nodes close to the gateway will use a higher data rate (shorter time on air) and a lower output power.

Only Nodes that are at the very edge of the link budget will use the lowest data rate and highest output power.

The ADR method can accommodate changes in the network infrastructure and support varying path loss.

To maximize both battery life of end-devices and overall network capacity, the LoRa network infrastructure manages the data rate and RF output for each end node individually by implementing ADR. 

The LoRa endpoints are the elements of the LoRa network where the sensing or control is undertaken. They are remotely located and battery operated. These endpoints can be setup to communicate with a LoRa Gateway (Concentrator or Base Station) using the LoRaWAN network protocol. 

LoRaWAN defines a specific set of data rates, but the LoRa chip or PHY is capable of more options. The SX1272 supports data rates from 0.3 to 37.5kbps and the SX1276 0.018 to 37.5kbps.

The LoRa modem is capable of co-channel GMSK rejection of up to 19.5 dB or stated differently, it can receive signals 19.5dB below an interfering signal or the noise floor. This immunity to interference permits the simple coexistence of LoRa modulated systems either in bands of heavy spectral usage or in hybrid communication networks that use LoRa to extend range when legacy modulation schemes fail. 

The term gateway and concentrator are both used, but they are equivalent components in a LoRa system. In other industries, the definition of gateway and concentrator imply different components. 

LoRaWAN data rates range for LoRa between 0.3kbps to 11kbps and one GFSK data rate at 50kbps for Europe.

In North America, the minimum data rate is 0.9kbps due to FCC limitations.

To maximize both battery life of the end-devices and overall network capacity, the LoRaWAN network server is managing the data rate and RF output for each end-device individually by means of an adaptive data rate (ADR) algorithm.

The ADR is critical for a high performance network, and it enables scalability.

A network can be deployed with a minimal investment in infrastructure and as capacity is needed, more gateways can be deployed and the ADR will shift the data rates higher, which will scale the network capacity by 6-8x.

On the Tx side, the node or broadcast address must be set manually in the payload.On the Rx side, you can use a register to automatically perform the filtering on the nodes or broadcast address.

The SX1272 is integrated with two power amplifiers. One power amplifier is capable of delivering +20 dBm out of PA_BOOST, and the other power amplifier is capable of delivering +14 dBm out of RFO. If you wish to reach output power beyond +20 dBm, an external power amplifier will have to be added, preferably through RFO.