chen
2025-07-31 7c5abdbc2bcc04ab377661174cb3b002e26c83f6
user_config.h
@@ -136,7 +136,7 @@
/* =========================================================================================================================== */
/** TX power level: 0 ~ 60 */
#define TX_POWER_LEVEL (55)
#define TX_POWER_LEVEL (60)
/** Antenna port number for AoA, 2~4 */
#define RX_AOA_ANT_PORTS_NUM (4)
@@ -152,9 +152,27 @@
/** Maximum PHY payload length */
#define PHY_PAYLOAD_LEN_MAX (127)
/** Enable PDoA 3D */
#define PDOA_3D_EN (1)
#define BOXING
/** Enable AoA */
#define AOA_EN (0)
/** Enable Post-process filter */
#define FILTER_EN (0)
#if PDOA_3D_EN
/// Antenna pattern
 #define ANT_PATTERN (ANT_PATTERN_SQUARE)
//#define ANT_PATTERN (ANT_PATTERN_LINEAR)
/// Antenna layout, @ref enum ANT_LAYOUT_T
#define ANT_LAYOUT (ANT_LAYOUT_HORIZONTAL)
#elif AOA_EN
/// Antenna pattern
#define ANT_PATTERN (ANT_PATTERN_LINEAR)
#endif
//#define BOXING
//#define BOXING
#define LED_PIN  IO_PIN_4
/* =========================================================================================================================== */
/* ================                                     Simple Selection                                      ================ */
/* =========================================================================================================================== */
@@ -174,15 +192,25 @@
//#define MK_SS_TWR_DW_RESP
#define INPUT_5V_Pin  IO_PIN_11
#define INPUT_5V_Pin  IO_PIN_2
#define RSSI_EN (1)
#define RSSI_EN (0)
/** channel number: 2, 5, 9 */
#define UWB_CH_NUM (9)
#define UWB_CH_NUM (5)
/** Velocity of propagation (%) */
#define VP_VAL (100)
#define RANGING_CORR (0)
#define XTAL_AUTO_TUNE_EN (0)
//#define STS_MODE
//#define MK_MODE
#define SLEEP_COUNT 500
//#define DW1000
#define WSF_EN
//#define STS_MODE
#define STS_MODE_SQUARE
/** Antenna ports combination, @ref macro definition RX_xPORTS_ANT_xxx */
#define RX_ANT_PORTS_COMBINATION (RX_4PORTS_ANT_3_0_1_2)
/* =========================================================================================================================== */
/* ================                                           End                                             ================ */
/* =========================================================================================================================== */