Hi,
I am using ads1242 interfaced with tms320f2805.
Vdd = 3.5 v, vref- = 0V and Vref+ = 2.5v
Gain is set to 1, RANGE = 1, data rate = 15kHz
Mux register is set to 0x01(AIN0 is positive and AIN1 is negative)
and changing this again to 0x23(AIN2 is positive and ANI3 is negative).
I have verified the data written to SETUP,MUX and ACR register by reading the same data with RREG command.
The adc sequence followed is as below
1. Reset command . delay of 250ms.
2.write setup (value 0x00).Delay of 50tosc
3. write MUX(value 0x01). Dealy of 50tosc
4. Write ACR ( RANGE = 0)as needed to send SELFCAL command after this. Delay of 50tosc
5.Send SELFCAL. wait for 4 DRDY cycles.
6. Write ACR again with RANGE =1. delay of 50tosc
7.Send DSYNC command.
8. write MUX again(0x01). wait for 1 DRDY cycle
9.send RDATA command and wait for 2 DRDY cycles.
10.read data but don't use it. Wait untill DRDY goes high
11. Send RDATA command. again. Wait for 2 DRDY cycles. Read the data on low end of DRDY
I am always reading full scale voltage output i.e.0x7FFFFF
I have strong doubts on input voltage provided on the channels.
Please tell for below input voltages, what is the expected output. ( I am using differential input channels)
Did MUX setting with (0x23) value should read (AIN2-AIN3 )= 0.8v
and MUX setting with (0x01) should read (AIN0-AIN1)
Please suggest.