Yes, I think get_rssi does some of that and then -255 does the rest, but it also involves converting from 8 to 16 bits and back, so I need to think about it.

73,

Burns Fisher, WB1FJ
AMSAT(R) Engineering -- Flight Software


On Fri, Apr 28, 2023 at 3:56 PM Rich Gopstein via pacsat-dev <pacsat-dev@amsat.org> wrote:
This was from an old email to Burns:


I found this on the ONSEMI forums:

AX-RadioLAB code sets the RSSIREFERENCE 64 dB (called RSSIOFFSET) higher than the correct value and then subtracts 64 dB when reading out the RSSI value. (And also corrects RSSIABSTHR by 64). This is to prevent wrap around at -128 dBm, since the RSSI register is only 8 bit.

So, it sounds like we're seeing the RSSI as 64dB higher than it really is... 

-----------------------------------------------------------

pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org