我已晕菜。原来ADS1291处理命令比ADS1298要慢一拍。在连续配置REG时,插入一点延时即可成功配置!如下例:
ADS129x_WRITE_REG_BYTE(0x1,0x03);//默认500SPS,连续转换 //0x02=500Hz 0x03=1kHz
delay1(10);
ADS129x_WRITE_REG_BYTE(0x2,0xe0);//Lead-off comparators enabled,Reference buffer is enabled,2.42-V reference
我已晕菜。原来ADS1291处理命令比ADS1298要慢一拍。在连续配置REG时,插入一点延时即可成功配置!如下例:
ADS129x_WRITE_REG_BYTE(0x1,0x03);//默认500SPS,连续转换 //0x02=500Hz 0x03=1kHz
delay1(10);
ADS129x_WRITE_REG_BYTE(0x2,0xe0);//Lead-off comparators enabled,Reference buffer is enabled,2.42-V reference
举报