chen
7 天以前 bee670865494cd5dc6086495bf10a7d5496b2864
user_config.h
@@ -289,7 +289,7 @@
/** TX power level: 0 ~ 60 */
#define TX_POWER_LEVEL (36)
#define RANGING_CORR (0)
/** Antenna ports combination, @ref macro definition RX_xPORTS_ANT_xxx */
#define RX_ANT_PORTS_COMBINATION (RX_4PORTS_ANT_3_0_1_2)
@@ -305,7 +305,7 @@
/// Antenna pattern
#define ANT_PATTERN (ANT_PATTERN_LINEAR)
#endif
//#define MY_MODE
/** Enable load cap automatic tuning during ranging procedure */
#define XTAL_AUTO_TUNE_EN (1)
@@ -315,6 +315,7 @@
/** Velocity of propagation (%) */
#define VP_VAL (100)
#define DW1000
/* ==========================================         Timing configuration            ======================================== */
/// Period prefetch time for event program from wakeup - 400us+
@@ -325,8 +326,18 @@
#define UWB_RX_OPEN_IN_ADVANCE (US_TO_PHY_TIMER_COUNT(10))
/// RX window - 750us
#define UWB_RX_WINDOW (US_TO_PHY_TIMER_COUNT(750))
#define LED_PIN  IO_PIN_4
//#define LED_PIN  IO_PIN_4
#define INPUT_5V_Pin  IO_PIN_11
#define MODE_CHANGE_PIN IO_PIN_0
#define LORA_CS IO_PIN_8
#define LORA_MOSI IO_PIN_11
#define LORA_MISO IO_PIN_12
#define LORA_CLK IO_PIN_13
#define LORA_IRQ IO_PIN_7
#define LORA_BUSY IO_PIN_2
#define LORA_NRST IO_PIN_4
#define SOS_PIN  IO_PIN_4  //这个未定义
#define SLEEP_PIN IO_PIN_3
/* =========================================================================================================================== */
/* ================                                           End                                             ================ */
/* =========================================================================================================================== */