Closed terrillmoore closed 5 years ago
The value written to RegLna is LNA_RX_GAIN. This is defined in radio.c:
RegLna
LNA_RX_GAIN
radio.c
https://github.com/mcci-catena/arduino-lmic/blob/7eed9b3b9ea582c96036d0c7b9760f98835c567f/src/lmic/radio.c#L298-L304
The problem is that the datasheet (and Semtech's reference code) wants 0x23 for the SX1276. 0x21 is an unspecified value, according to the datasheet.
This is is a duplicate of #261 -- closing.
The value written to
RegLna
isLNA_RX_GAIN
. This is defined inradio.c
:https://github.com/mcci-catena/arduino-lmic/blob/7eed9b3b9ea582c96036d0c7b9760f98835c567f/src/lmic/radio.c#L298-L304
The problem is that the datasheet (and Semtech's reference code) wants 0x23 for the SX1276. 0x21 is an unspecified value, according to the datasheet.