From e54c70b2c45ca652ddd2808a95a057cb797eab58 Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期六, 05 七月 2025 14:16:11 +0800
Subject: [PATCH] square天线NVM初始化问题解决调到和官方效果一致,初步移植完STS并能稳定一对一测距板本

---
 keil/include/drivers/mk_radar.h |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/keil/include/drivers/mk_radar.h b/keil/include/drivers/mk_radar.h
index 9fd9108..962a881 100644
--- a/keil/include/drivers/mk_radar.h
+++ b/keil/include/drivers/mk_radar.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019-2023 Beijing Hanwei Innovation Technology Ltd. Co. and
+ * Copyright (c) 2019-2025 Beijing Hanwei Innovation Technology Ltd. Co. and
  * its subsidiaries and affiliates (collectly called MKSEMI).
  *
  * All rights reserved.
@@ -41,10 +41,9 @@
 #ifndef MK_RADAR_H_
 #define MK_RADAR_H_
 #include "mk_common.h"
-// #include "uwb_api.h"
 
 /**
- * @addtogroup MK8000_UWB
+ * @addtogroup MK8000_RADAR
  * @{
  */
 
@@ -85,9 +84,10 @@
 /** UWB RADAR STS segment length */
 enum UWB_RADAR_STS_SEGLEN_T
 {
-    UWB_RADAR_STS_SEGLEN16 = 0, /*!< Dump 32K I/Q data */
-    UWB_RADAR_STS_SEGLEN32 = 1, /*!< Dump 64K I/Q data */
-    UWB_RADAR_STS_SEGLEN64 = 2, /*!< Dump 128K I/Q data */
+    UWB_RADAR_STS_SEGLEN16 = 0,  /*!< Dump 32K I/Q data */
+    UWB_RADAR_STS_SEGLEN32 = 1,  /*!< Dump 64K I/Q data */
+    UWB_RADAR_STS_SEGLEN64 = 2,  /*!< Dump 128K I/Q data */
+    UWB_RADAR_STS_SEGLEN128 = 3, /*!<Dump 128K I/Q data in 1G mode */
 };
 
 /** UWB RADAR pulse period */
@@ -110,7 +110,7 @@
     uint8_t ranging_tx_power_level;
     uint8_t tx_power_level;
     uint8_t channel_num;
-    uint8_t rx_gain_level;
+    uint8_t filter_gain_level;
     uint8_t lna_gain_level;
     uint8_t bandwidth;
     uint8_t ant_id;
@@ -159,4 +159,4 @@
  * @}
  */
 
-#endif /* MK_UWB_H_ */
+#endif /* MK_RADAR_H_ */

--
Gitblit v1.9.3