用ADS1299采集数据
采样数据结果有问题
ADS1299配置如下:
WREG(CONFIG1,0x96);
WREG(CONFIG2,0xD0);
WREG(CONFIG3,0xE0);
WREG(LOFF,0x00);
WREG(CH1SET,0x05);
WREG(CH2SET,0x05);
WREG(CH3SET,0x05);
WREG(CH4SET,0x05);
WREG(CH5SET,0x04);
WREG(CH6SET,0x04);
WREG(CH7SET,0x04);
WREG(CH8SET,0x04);
WREG(BIAS_SENSP,0x00);
WREG(BIAS_SENSN,0x00);
WREG(LOFF_SENSP,0x00);
WREG(LOFF_SENSN,0x00);
WREG(LOFF_FLIP,0x00);
WREG(GPIO,0x00);
WREG(MISC1,0x00);
WREG(MISC2,0x00);
(1)测量得到温度传感器的AD值:05A311(hex);
(2)测量得到test信号AD值:000847(hex)
根据datasheet描述温度计算公式:
05A311转换成十进制等于369425,电压值=369425*4.5/(2^23-1) = 0.198175V = 198175uv,明显数据不对;
TEST测试结果也一样,不准确,请问下这个是怎么回事呢?谢谢!
Kailyn Chen:
这款是ADC的芯片,帮你转到对应版块。