ADS1299采集数据问题
用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测试结果也一样,不准确,请问下这个是怎么回事呢?谢谢!
不知道明显数据不对,不准确;是什么个情况, 应该是多少呢?
1)实际测量得到test信号AD值:000847(hex), 而Test信号的理论值应该在000753(hex)
2)温度传感器测到的值是05A311,转换成十进制等于369425,电压值=369425*4.5/(2^23-1) = 0.198175V = 198175uv,这样算出来的温度132℃,芯片应该没有这么热吧。