根据计算,2.5M,ADC长度1024已经满足要求
This commit is contained in:
parent
66ac84aade
commit
3d9e0e3b07
|
@ -24,15 +24,12 @@
|
|||
|
||||
// 延时REV_MUTE_DELAY us启动ADC采集数据
|
||||
// 最大风速30m/s 2.5M 采样率 延时260uS
|
||||
//#define REV_MUTE_DELAY_US 260
|
||||
// 最大风速60m/s 4M 采样率 延时110uS
|
||||
#define REV_MUTE_DELAY_US 110
|
||||
#define REV_MUTE_DELAY_US 174
|
||||
// adc 采样率
|
||||
// 5 5M
|
||||
// 4 4M
|
||||
// 3 3M
|
||||
//#define ADC_SAMP_RATE_MHz ((float32_t)2.5)
|
||||
#define ADC_SAMP_RATE_MHz ((float32_t)4.0)
|
||||
#define ADC_SAMP_RATE_MHz ((float32_t)2.5)
|
||||
|
||||
// 驱动方波频率
|
||||
#define DRIVE_FREQ_MHz ((float32_t)0.2)
|
||||
|
@ -62,7 +59,7 @@
|
|||
#define WIND_DIRECTION_Y 0x01
|
||||
|
||||
// adc 采集buf长度
|
||||
#define ADC_VAL_LEN 2048
|
||||
#define ADC_VAL_LEN 1024
|
||||
|
||||
extern int16_t adc_val[ADC_VAL_LEN];
|
||||
extern int16_t adc_val1[ADC_VAL_LEN];
|
||||
|
|
Loading…
Reference in New Issue