diff --git a/project/ble_peripheral/ble_app_bladder_patch/main.h b/project/ble_peripheral/ble_app_bladder_patch/main.h index 1fddf71..666211b 100644 --- a/project/ble_peripheral/ble_app_bladder_patch/main.h +++ b/project/ble_peripheral/ble_app_bladder_patch/main.h @@ -41,12 +41,12 @@ * - VBTFW0113 260430 jhChun : Changed piezo MUX settling delay after channel selection from busy-wait to TIMER4-based wait. * - VBTFW0114 260430 jhChun : Added delay time between averaged bursts to reduce residual echo carry-over. * - VBTFW0115 260518 jhChun -* : Added mtb? command (reb:+raa:+rim:, 6ch piezo + ICM42670 FIFO at 25 Hz). +* : Added mtb? command (reb:+raa:+rim:, 6ch piezo + ICM42670 FIFO at 50 Hz). * : rim: packet format and FIFO sample cap/filter options (app_raw). * - VBTFW0116 260522 jhChun : Expanded BLE TX pending slots from 1 → 8 to reduce ADC data packet loss when the TX queue is full * - VBTFW0117 260527 jhChun : Prevent battery/temperature safety checks from powering off piezo during MAA capture, and lock BLE PHY to 1M. ------------------------------------------------------------------------- */ -#define FIRMWARE_VERSION "VBTFW0117" +#define FIRMWARE_VERSION "VBTFW0118" /*============================================================================== * Data Length Constants diff --git a/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.c b/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.c index 6382e79..359ae5d 100644 --- a/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.c +++ b/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.c @@ -686,7 +686,7 @@ int imu_read_temperature_x100(uint16_t *temp_x100, float *temp_c) /* -------------------------------------------------------------------------------------- * mtb? FIFO capture support * - * Uses the ICM42670P internal FIFO at 25 Hz. The FIFO is started when mtb? + * Uses the ICM42670P internal FIFO at 50 Hz. The FIFO is started when mtb? * begins, then drained after piezo raa: completion and sent as rim: packets. * rim payload: u16 BE total_sample_count, then per sample accel(6B)+gyro(6B) from each 16B FIFO record. * diff --git a/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.h b/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.h index eacc80c..270139c 100644 --- a/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.h +++ b/project/ble_peripheral/ble_app_bladder_patch/measurement/imu/app_raw/app_raw.h @@ -141,7 +141,7 @@ int imu_fifo_capture_stop_and_send_rim(void); /* * mtb? FIFO path — ICM42670 UI low-noise filter bandwidth (inv_imu_set_*_ln_bw). * Enum suffix is approximate -3dB BW in Hz; smaller => smoother, more phase lag. - * Match to imu_fifo_capture_start() ODR (e.g. 25Hz → _16 or _25 typical). + * Match to imu_fifo_capture_start() ODR (50Hz in mtb? FIFO mode). */ #ifndef IMU_FIFO_MTB_ACCEL_LN_BW #define IMU_FIFO_MTB_ACCEL_LN_BW ACCEL_CONFIG1_ACCEL_FILT_BW_16