From ad14de088d40fe11da4caa0f49596915beee7ab0 Mon Sep 17 00:00:00 2001 From: yelvlab Date: Wed, 2 Apr 2025 17:09:50 +0800 Subject: [PATCH] debug vofa --- inc/board_config.h | 2 +- inc/ldc1612.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/board_config.h b/inc/board_config.h index f0341a5..3c1af1d 100644 --- a/inc/board_config.h +++ b/inc/board_config.h @@ -9,7 +9,7 @@ // #define DEBUG_VERBOES -#define DEBUG_VOFA_TOOL +// #define DEBUG_VOFA_TOOL /******************************************************************************/ diff --git a/inc/ldc1612.h b/inc/ldc1612.h index ccc7dd9..a871033 100644 --- a/inc/ldc1612.h +++ b/inc/ldc1612.h @@ -48,7 +48,7 @@ /******************************************************************************/ #define LDC1612_CONVERSION_TIME_CH0 0x0546 //0536 -#define LDC1612_DRIVE_CURRENT 0x8800 //A000 +#define LDC1612_DRIVE_CURRENT 0x8800 //0x8800 0x9000 0x9800 #define LDC1612_MUX_CONFIG 0x020C // no auto scan and filter bandwidth 3.3MHz #define LDC1612_SENSOR_CONFIG 0x1601 #define LDC1612_ERROR_CONFIG 0x0000 @@ -61,6 +61,7 @@ #define COIL_L_UH 33 #define COIL_C_PF 150 #define COIL_Q_FACTOR 35.97 +#define COIL_FREQ_HZ 2262000 /******************************************************************************/