stm32lora

LoRa SX1278 can't set LNA GAIN


I'm trying to configure my SX1278 Ra-2 LoRa module via STM32 Nucleo board and ran into a problem.

While I was initializing the LNA register (0xC) by writing (0x23) -> 0010(max gain) 0011(boost on), which is supposed to give me the max gain and boost, after reading that register I receive 0x3.

Is this normal?

While LoRa SX1278 is in sleep mode it will return 0x3, without showing 3MSB. However in Standby Mode it reads 0x23 as it is supposed to.


Solution

  • While LoRa SX1278 in sleep mode will return 0x03, without showing 3MSB, in Standby Mode it reads 0x23 as it is supposed to.