You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking trought the datasheet of SX1278 and RX_FSK.ino i found that LNA Gain is controlled by "RegLna 0x0C" and it is initialized once with that line in RX_FSK.ino: sx1278.setLNAGain(0);
trought sx1278.cpp in the register should be written 0x20 or 0b00100000, which is perfectly fine for highest LNA gain.
Further this value will be changed by internal AGC, as it is enabled for some sondes.
But the interesting part of that register 0X0C is the last two bits, as described in the manual:
bits 1-0 --> LnaBoostHf High Frequency (RFI_HF) LNA current adjustment
00 --> Default LNA current
11 --> Boost on, 150% LNA current
And they are not changed by AGC. As i can't see this register to be changed anywhere else in the code i did this modification in RX_FSK.ino:
I did a test during sonde flights with two identical TTGO boards, fed by splitter from the same RF signal and i was unable to see undeniable difference of RSSI, but I have well filtered LNA, which i can't remove from the test setup easily. I did also try to measure the current, drawn by the boards, but since WiFi is working, it was hard to distinguish any difference also, so if somebody can do some real test and tell if there are some RX improvements, would be great to share the results here. More current could improve IP3 of the LNA also.
The text was updated successfully, but these errors were encountered:
Looking trought the datasheet of SX1278 and RX_FSK.ino i found that LNA Gain is controlled by "RegLna 0x0C" and it is initialized once with that line in RX_FSK.ino:
sx1278.setLNAGain(0);
trought sx1278.cpp in the register should be written 0x20 or 0b00100000, which is perfectly fine for highest LNA gain.
Further this value will be changed by internal AGC, as it is enabled for some sondes.
But the interesting part of that register 0X0C is the last two bits, as described in the manual:
And they are not changed by AGC. As i can't see this register to be changed anywhere else in the code i did this modification in RX_FSK.ino:
I did a test during sonde flights with two identical TTGO boards, fed by splitter from the same RF signal and i was unable to see undeniable difference of RSSI, but I have well filtered LNA, which i can't remove from the test setup easily. I did also try to measure the current, drawn by the boards, but since WiFi is working, it was hard to distinguish any difference also, so if somebody can do some real test and tell if there are some RX improvements, would be great to share the results here. More current could improve IP3 of the LNA also.
The text was updated successfully, but these errors were encountered: