Hi,
I am facing a issue with ADS1290 interfacing via SPI with MSP430. I am measuring the 4-20 mA current input on channel 2 and configuring the ADS1290 via SPI. I am able to read/write all configuration registers with successfully. MSP is running on 8 Mhz and SPI is using SMCLK.
I am getting aprox half of the ADC count from ADS1290 via SPI e.g. for 0.4 V measuring count is equivalent to 0.22V and for 2.0 V measuring count is equivalent to 1.1 V.
Using Vref 2.44 V internal and using formula to convert counts to Volts = 2.42 / (2^23 - 1).
Could you please help me to resolve this issue?
Following are the registers setting:
ADS1292_Default_Register_Settings[12] =
{
//REG 0: Device ID read Ony
0x53,
//REG 1: CONFIG1
0x02, // 010 | fMOD/256 | 500SPS
//REG 2: CONFIG2
0xE8, // Bit 7 always 1, PDB_LOFF_COMP, PDB_REFBUF, CLKOUT_EN
//REG 3: LOFF
0x10, // Comparator threshold at 95% and 5%, current source or sink resistor DC lead-off
//REG 4: CH1SET (PGA gain = 6)
0x81, // Power down, input shorted, Channel 1 not in use 2 June
//REG 5: CH2SET (PGA gain = 6)
0x10, // gain set to 1
//REG 6: RLD_SENS (default)
0x2C,
//REG 7: LOFF_SENS (default)
0x0F, // not required
//REG 8: LOFF_STAT
0x48, // read only
//REG 9: RESP1
0xEA, // not required
//REG 10: RESP2
0x83, // only Calib set to Enabled , rest not required
//REG 11: GPIO
0x0C // not required
};
Regards,
Sandeep