Lora-net/LoRaMac-node

Antenna Switch CTRL/ floating

Closed this issue · 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.

void SX126xAntSwOn( void )
{
GpioInit( &AntPow, RADIO_ANT_SWITCH_POWER, PIN_OUTPUT, PIN_PUSH_PULL, PIN_PULL_UP, 1 );
}
void SX126xAntSwOff( void )
{
GpioInit( &AntPow, RADIO_ANT_SWITCH_POWER, PIN_ANALOGIC, PIN_PUSH_PULL, PIN_NO_PULL, 0 );
}

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?