Question: Why is noise_floor clamped to -120 dB? #1679
Replies: 8 comments
-
|
Found the comment that brought that line in but doesnt really explain anything Searching through the discord though there are a few people referencing that if the noise floor goes to -120 or lower it likely means somethings going on with the radio. I wonder if that was added in so it just doesnt go to a crazy number when that issue occurs. Hopefully Scott Powel can shed some light on why that change as added in, not sure how to contact them |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
i see -118 on some days, if clean frequency selected |
Beta Was this translation helpful? Give feedback.
-
|
hard caps dont make sense. there are a lot lora chips there that will work - with other specs. |
Beta Was this translation helpful? Give feedback.
-
|
I think no harm fixing it. I guess we can take a look at Radiolib for updated code for that part. |
Beta Was this translation helpful? Give feedback.
-
|
If the device is a Heltec v4 saying -120 nf, then the RF switch is stuck in TX mode disconnecting the antenna during RX. The current firmware lacks the code control the FEM GC1109 (PA/LNA) discussed here #1249 It was later discovered via email from Heltec and Semtech)that there is an undocumented register which allows the sx1262 to control the GC1109 correctly and completely sorts this out. leading to a simpler solution. #1398 When this first started happening to mine I found this limit code and wondered if it was right for the v4 how it was working out the nf. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
https://docs.google.com/spreadsheets/d/1WsCO8oMMIiYBY3XaWEMp2ufASr_gcWbFBHe3ATnXJbs/edit?usp=sharing |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that noise_floor is clamped to -120 dB in the code:
src/helpers/radiolib/RadioLibWrappers.cpp:
if (_noise_floor < -120) {
_noise_floor = -120;
}
Is there a reason why noise_floor is clamped to -120 dB?
I’m working with devices that report a noise floor of exactly -120 dB, so this makes it impossible to tell whether the value is real or the result of clamping.
Is this limit based on hardware constraints or historical assumptions?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions