Lora-net / sx1302_hal

SX1302/SX1303 Hardware Abstraction Layer and Tools (packet forwarder...)
Other
219 stars 272 forks source link

No documentation to calculate RSSI in dBm for SX1302 + SX1250 #54

Closed nilesh-dryad closed 1 year ago

nilesh-dryad commented 2 years ago

I am using Semtech LoRa® Corecell reference design V1.0 (which has SX1302 and SX1250) and testing Receive and Transmit examples. While receiving packets, packet information are printed on console which has RSSI channel and RSSI signal value but those values are in dB.

Is there any equation to convert those values in dBm? I tried to find the information in source code and documents from Semtech website but all in vain.

kmuster-semtech commented 2 years ago

There are plots and an explanation of this in the Performance Report resource, Section 9 in the US report. With proper "rssi_offset" in the global_config.json file, the RSSI values can be interpreted as the received signal power level in dBm seen at the RFIO port.

nilesh-dryad commented 2 years ago

@kmuster-semtech Thank you for your reply. How can I find that proper RSSI offset? is it fixed -215.4 for SX1302+ SX1250?

kmuster-semtech commented 2 years ago

"How can I find that proper RSSI offset?"

The RSSI Offset value is found by calibration, shown in the CoreCell V1 Performance Report I linked earlier. The default value should be proper for any Corecell V1, but you may perform the calibration yourself and update the global_conf.json file of the packet forwarder.

smtc-bot commented 1 year ago

Thank you for your inquiry.

Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.

We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!