adc 측정 delay 감소
- 첫 reb 후 delay - reb 연속 전송 시 버퍼/순서 delay(reb 사용 안 함, 삭제 예정) - raa 직후 delay - CI 감소로 TX_RDY가 자주 오고, pending 큐가 잘 돌아서 가능
This commit is contained in:
@@ -151,10 +151,10 @@ static uint16_t clamp_measure_delay_us(uint16_t delay_us)
|
|||||||
#define BLE_REB_DATA_LEN (BLE_MTU_SIZE - BLE_REB_HEADER_LEN) /* 238 bytes = 119 samples */
|
#define BLE_REB_DATA_LEN (BLE_MTU_SIZE - BLE_REB_HEADER_LEN) /* 238 bytes = 119 samples */
|
||||||
#define BLE_RED_DATA_LEN (BLE_MTU_SIZE - BLE_RED_HEADER_LEN) /* 238 bytes = 119 samples */
|
#define BLE_RED_DATA_LEN (BLE_MTU_SIZE - BLE_RED_HEADER_LEN) /* 238 bytes = 119 samples */
|
||||||
#define BLE_PACKET_DELAY_MS 100 /* Inter-packet delay - allow BLE TX buffer to drain */
|
#define BLE_PACKET_DELAY_MS 100 /* Inter-packet delay - allow BLE TX buffer to drain */
|
||||||
/* maa_async: gaps between BLE notifications (sync MEC path still uses BLE_PACKET_DELAY_MS). */
|
/* maa_async: inter-packet busy-wait (0 = rely on BLE_NUS_EVT_TX_RDY only). */
|
||||||
#define MAA_ASYNC_POST_REB_MS 3U /* after reb: (was 5) */
|
#define MAA_ASYNC_POST_REB_MS 0U
|
||||||
#define MAA_ASYNC_POST_RED_MS 18U /* after each red: (was 50) */
|
#define MAA_ASYNC_POST_RED_MS 0U
|
||||||
#define MAA_ASYNC_PRE_RAA_MS 15U /* before raa: completion (was 50) */
|
#define MAA_ASYNC_PRE_RAA_MS 0U
|
||||||
#define DR_ADC_AVG_INTER_BURST_GAP_US 500 /* Gap between averaged bursts to reduce residual echo carry-over */
|
#define DR_ADC_AVG_INTER_BURST_GAP_US 500 /* Gap between averaged bursts to reduce residual echo carry-over */
|
||||||
|
|
||||||
/* Piezo MUX pins (8ch) */
|
/* Piezo MUX pins (8ch) */
|
||||||
|
|||||||
Reference in New Issue
Block a user