From fcbbc2c7c81a2c9c163e81d38fe028c309c4295b Mon Sep 17 00:00:00 2001 From: zhangbo <zhangbo@qq.com> Date: 星期五, 16 五月 2025 16:36:56 +0800 Subject: [PATCH] 对比测试 --- user_config.h | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/user_config.h b/user_config.h index ac62784..a2901e0 100644 --- a/user_config.h +++ b/user_config.h @@ -57,7 +57,7 @@ /* =========================================================================================================================== */ /** Enable trace output */ -#define TRACE_EN (0) +#define TRACE_EN (1) /** Enable exception reboot */ #ifndef TRACE_REBOOT_EN @@ -136,7 +136,7 @@ /* =========================================================================================================================== */ /** TX power level: 0 ~ 60 */ -#define TX_POWER_LEVEL (55) +#define TX_POWER_LEVEL (55)//60功率会存在失真的情况 /** Antenna port number for AoA, 2~4 */ #define RX_AOA_ANT_PORTS_NUM (4) @@ -144,14 +144,20 @@ /** Antenna ports combination for AoA, @ref enum RX_ANTENNA_MODE_T */ #define RX_AOA_ANT_PORTS_COMBINATION (RX_4PORTS_ANT_3_0_1_2) +/** Antenna ports combination, @ref macro definition RX_xPORTS_ANT_xxx */ +#define RX_ANT_PORTS_COMBINATION (RX_4PORTS_ANT_3_0_1_2) + /** Antenna pattern: Linear or Square */ #define SQUARE_4ANTS (0) + +#define RANGING_CORR (0) /** Velocity of propagation (%) */ #define VP_VAL (100) /** Maximum PHY payload length */ #define PHY_PAYLOAD_LEN_MAX (127) + /* =========================================================================================================================== */ /* ================ Simple Selection ================ */ @@ -175,12 +181,19 @@ #define INPUT_5V_Pin IO_PIN_11 #define RSSI_EN (1) -#define ACCLERATE_DETECT_Pin IO_PIN_2 +#define _4G_USART_RX_Pin IO_PIN_6 +//#define ACCLERATE_DETECT_Pin IO_PIN_2 #define SDA_PIN IO_PIN_3 #define SER_PIN IO_PIN_3 #define SCL_PIN IO_PIN_4 -#define SRCLK_PIN IO_PIN_8 -#define RCLK_PIN IO_PIN_7 +//#define SRCLK_PIN IO_PIN_8 +//#define RCLK_PIN IO_PIN_7 +#define DEBUG_BOXING +//#define USE_TX_UWBON +#define WSF_EN +#define DW1000 +#define GROUPID_SWITCH +//#define TEST_FREQ /* =========================================================================================================================== */ /* ================ End ================ */ /* =========================================================================================================================== */ -- Gitblit v1.9.3