I am using ADS1247 to sample two channel,
Conditions :
AVDD = +2.5V, AVSS = -2.5V, VREF = 2.5V(to AVSS)
AINP=1.0434V
AINN=1.0327
VINdifferential = AINP –AINN = +0.0091V
VCM = (AINP+AINN)/2 = + 1.03805 V
My problem is: circling through two channel,
When I set PGA =0x04,one channel data out is 0x01D4,seems correct,
When I set PGA =0x08,data out is wrong,
VLOAD10MAsample(m_VPGA);//first channel
IRessample(m_IVGA);//second channel
void VLOAD10MAsample(unsigned char loadPGA)
{
ReadAIN2();//change mux0
PGA_SPS_ADS1247(loadPGA,5);//setting PGA and SPS
OfsCal_ADS1247();//offser calibration
ADS1247_ContinusSample();
}
void IRessample(unsigned char loadPGA)
{
ReadAIN1();
PGA_SPS_ADS1247(loadPGA,DEFAULTSPS);//setting PGA and SPS
OfsCal_ADS1247();//offser calibration
ADS1247_ContinusSample();
}
please helps.