From ed9010368f6959d8c5041ce01fc34fef2f8d1cd2 Mon Sep 17 00:00:00 2001 From: ROY Date: Thu, 9 Mar 2023 12:52:30 +0800 Subject: [PATCH] [update] DC bias Set Nzero = 30 --- .../simple_peripheral/cc26xx/app/headstage/EliteDAC.h | 2 +- .../simple_peripheral/cc26xx/app/headstage/Elite_version.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDAC.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDAC.h index f6a6334..9998378 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDAC.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDAC.h @@ -72,7 +72,7 @@ static void HSDAC_outputV(int32_t voltLVraw) uint32_t DACOutCode; int64_t value = ((int64_t)voltLVraw * CaliTable.DAC_offset_a + CaliTable.DAC_offset_b) / 1e8; - n_zero = 31; + n_zero = 30; n_bias = (uint16_t)value; if(n_bias > 4095) n_bias = 4095; diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h index 0cc3712..45ffe2a 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h @@ -5,8 +5,8 @@ #define VERSION_DATE_YEAR 23 #define VERSION_DATE_MONTH 3 #define VERSION_DATE_DAY 9 -#define VERSION_DATE_HOUR 11 -#define VERSION_DATE_MINUTE 9 +#define VERSION_DATE_HOUR 12 +#define VERSION_DATE_MINUTE 52 // this is NOT the version hash !! // it's the last version hash