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 |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/user_config.h b/user_config.h
index 3e05360..0563576 100644
--- a/user_config.h
+++ b/user_config.h
@@ -153,6 +153,9 @@
 /** Maximum PHY payload length */
 #define PHY_PAYLOAD_LEN_MAX (127)
 
+//#define BOXING
+//#define BOXING
+#define LED_PIN  IO_PIN_4
 /* =========================================================================================================================== */
 /* ================                                     Simple Selection                                      ================ */
 /* =========================================================================================================================== */
@@ -172,15 +175,24 @@
 
 //#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 1000
+//#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