Skip to content

LoRa->RAK811 pins configuration #859

Closed
@ghost

Description

Power on for LoRa chip:

  pinMode(RADIO_XTAL_EN, OUTPUT);  //Power LoRa module
  digitalWrite(RADIO_XTAL_EN, 1);

External antenna receiving and transmitting state switching pin configuration:

Receive state:

  pinMode(RADIO_RF_CRX_RX, OUTPUT);  
  digitalWrite(RADIO_RF_CRX_RX, 1);  //control LoRa work to receive
  pinMode(RADIO_RF_CTX_PA, OUTPUT);  
  digitalWrite(RADIO_RF_CTX_PA, 0);  //

Transmit state:

  pinMode(RADIO_RF_CRX_RX, OUTPUT);  
  digitalWrite(RADIO_RF_CRX_RX, 0);  
  pinMode(RADIO_RF_CTX_PA,OUTPUT);  
  digitalWrite(RADIO_RF_CTX_PA, 1);  //control LoRa send by PA_BOOST

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation 📚Improvements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions