From 23480ab197150979f4505501a1abe8a64796fb18 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 04 七月 2025 18:37:07 +0800 Subject: [PATCH] 初步调好发包,解决因为uwb未open导致txlen不断溢出重启问题,两边sts配置初步调好 --- user_config.h | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/user_config.h b/user_config.h index dc885a9..0563576 100644 --- a/user_config.h +++ b/user_config.h @@ -175,11 +175,11 @@ //#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) @@ -187,7 +187,12 @@ //#define STS_MODE //#define MK_MODE #define SLEEP_COUNT 1000 -#define DW1000 +//#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 ================ */ /* =========================================================================================================================== */ -- Gitblit v1.9.3