From 2c162b948f68bde8d17cb5e86d18a8972b5661f2 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期二, 22 七月 2025 18:18:05 +0800 Subject: [PATCH] 修改传aoa信息逻辑为读取指令发送时并且为自身id才给,取消发送区域显示逻辑,将信号质量改为角度置信度 --- keil/include/drivers/mk_calib.h | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/keil/include/drivers/mk_calib.h b/keil/include/drivers/mk_calib.h index e6c06f7..6e927d8 100644 --- a/keil/include/drivers/mk_calib.h +++ b/keil/include/drivers/mk_calib.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. @@ -100,13 +100,21 @@ void calib_chip(void); /** - * @brief Tuning load cap automatically based on frequency offset, this function should be called repeatedly. + * @brief Tuning X38M4 load cap automatically based on frequency offset, this function should be called repeatedly. * * @param[in] ppm Frequency offset */ void calib_xtal38m4_load_cap_auto_tune(int32_t ppm); /** + * @brief Tuning X38M4 load cap automatically based on frequency offset, this function should be called repeatedly. + * + * @param[in] ppm Frequency offset, this value should be based on center frequency, unit is 0.01 ppm + * @param[in] calib_load_cap calibrated load cap value + */ +void calib_xtal38m4_load_cap_auto_tune_to_center(int32_t ppm, uint8_t calib_load_cap); + +/** * @brief Set XTAL 38.4MHz load cap. * * @param[in] val Load cap value to be set -- Gitblit v1.9.3