LoRaMac-node icon indicating copy to clipboard operation
LoRaMac-node copied to clipboard

Antenna Switch CTRL/ floating

Open maxgerhardt opened this issue 3 years ago • 0 comments

The SX1261MBxAS board has a PE4259 RF switch.

The implementation for this board sets the pin to analog in (PIN_ANALOGIC) when the switch is supposed to be turned off.

https://github.com/Lora-net/LoRaMac-node/blob/24d55f6319b11104ba1ebb0317244418bb68bd81/src/boards/NucleoL152/sx1261mbxbas-board.c#L317-L325

Per datasheet the CTRL/ pin (that this piece of the software controls) is also the V_DD, positive supply voltage pin.

Does this pin not need to be driven to LOW instead of floating to prevent the switch from drawing any power?

maxgerhardt avatar Apr 11 '22 15:04 maxgerhardt