From 2b40605dbb9622b2099f7c4c6a628e40cd17e805 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期四, 29 五月 2025 18:11:01 +0800 Subject: [PATCH] 基本完成免布线基站测试固件,功耗升级等未测试 --- user_config.h | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/user_config.h b/user_config.h index e7d2651..db4de06 100644 --- a/user_config.h +++ b/user_config.h @@ -153,7 +153,7 @@ /** Maximum PHY payload length */ #define PHY_PAYLOAD_LEN_MAX (127) -#define BOXING +//#define BOXING //#define BOXING #define LED_PIN IO_PIN_4 /* =========================================================================================================================== */ @@ -175,17 +175,20 @@ //#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 SLEEP_COUNT 100 +//#define STS_MODE +//#define MK_MODE +#define SLEEP_COUNT 1000 +#define DW1000 + /* =========================================================================================================================== */ /* ================ End ================ */ /* =========================================================================================================================== */ -- Gitblit v1.9.3