附件图片是我目前ads1220的原理图 下面是初始化设置配置程序, 读出来的数据都是0XFF80FF80 不管我外接电阻换多大都是 请教一下配置
电压转换计算 公式?
hal_ads1220.setMux(ADS1220_MUX_PAIN0_NAIN1);
hal_ads1220.setGain(ADS1220_GAIN_32);
hal_ads1220.setPga(ADS1220_PGA_ON);
/* 1 */
hal_ads1220.setModeDr(ADS1220_NORMAL_20SPS);
hal_ads1220.setCm(ADS1220_CM_CW);
hal_ads1220.setTs(ADS1220_TS_DISABLE);
hal_ads1220.setBcs(ADS1220_BSC_OFF);
/* 2 */
hal_ads1220.setVref(ADS1220_VREF_INTERNAL);
hal_ads1220._Vref = 1250.00;
hal_ads1220.setFir(ADS1220_FIR_50_60HZ);
hal_ads1220.setPsw(ADS1220_PSW_OPEN);
hal_ads1220.setIdac(ADS1220_IDAC_OFF);
/* 3 */
hal_ads1220.setI1mux(ADS1220_I1MUX_OFF);
hal_ads1220.setI2mux(ADS1220_I2MUX_OFF);
hal_ads1220.setDrdym(ADS1220_DRDYM_DRDY);