Part Number: ADS1248
Tool/software: Code Composer Studio
Hello,
I use ADS1248 for measure 2 differentials voltage.
One have unit gain but one need 64 gain value.
I have to do 2 measures each 2ms.
My psedo code :
DR : 2kSPS
Supply ADS
RESET High
START High
SET RDATAC
While()
{
Wait timer interrupt (each 2ms)
For(2)
{
Wait DRY Low
CS Low
Read ADC Value and Change channel (on same SPI communication)
Change Gain
CS High
}
Save measure in RAM
}
My problem :
1% of ADC value are wrong (value = 0 or 0x7FFFFF).
If I put a delay between change channel register and Gain register all values are good but I need more than 2ms.
Could you say me the minimum time betwwen two ADS register change?
Thanks