Pin definitions and board configuration options for LoRa-E5 Development Board. More...

Detailed Description

Pin definitions and board configuration options for LoRa-E5 Development Board.

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.yyf.nosp@m.r

Definition in file board.h.

#include "kernel_defines.h"
#include "stm32_leds.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_LORA_E5_DEV_ENABLE_3P3V   1
 Enable 3.3V output.
 
#define CONFIG_LORA_E5_DEV_ENABLE_5V   1
 Enable 5V output.
 
#define LORA_E5_DEV_3P3V_ENABLE_PIN   GPIO_PIN(PORT_A, 9)
 lora-e5-dev 3.3V gpio enable pin
 
#define LORA_E5_DEV_5V_ENABLE_PIN   GPIO_PIN(PORT_B, 10)
 lora-e5-dev 5V gpio enable pin
 

Sub-GHz radio (LoRa) configuration

#define SX126X_PARAM_SPI   (SPI_DEV(0))
 
#define SX126X_PARAM_TX_PA_MODE   SX126X_RF_MODE_TX_HPA
 

LED pin definitions and handlers

#define LED0_PORT   GPIO_PORT_B
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_B
 
#define LED0_PIN_NUM   5
 

User button

#define BTN0_PIN   GPIO_PIN(PORT_B, 13)
 
#define BTN0_MODE   GPIO_IN_PU
 
#define BTN1_PIN   GPIO_PIN(PORT_A, 0)
 
#define BTN1_MODE   GPIO_IN_PU
 

RF 3-port switch (SP3T) control

Refer Section 6.6.3 RF Overview in User Manual (UM2592)

#define FE_CTRL1   GPIO_PIN(PORT_A, 4)
 
#define FE_CTRL2   GPIO_PIN(PORT_A, 5)