Other Parts Discussed in Thread: TMS320F280049,
Hi team,
I am using ADS1248 as a slave to my master TMS320F280049. I am using three wire RTD low side reference circuit for my project. I am attaching the circuit diagram and other details as an attachment with this thread. With this configuration I tested each of the two input channels of ADS1248 separately and the results are good. It is showing full scale reading for an open input and correct readings for the applied input. Then I tried to read both channels by switching back and forth between two inputs. At this point I am facing the following problems,
1. If both channels are open then my result is a full scale reading as expected.
2. if I connect a resistance to channel 1 (positive input connected to one end of the resistor and negative input and REFPO input are shorted at the other end of the resistor) then channel one reads correct value and channel 2 shows some random values instead of full scale reading being it open as of now.
3. If I connect the resistance to channel 2 then both channels is showing full scale reading irrespective of the resistance connected at the input.
Why this happens? I am not able read correct values from ADS1248 as of now. Please help me.
I know you people will not review code but I kindly request you to just visit my code (attached) and if you can find something odd in my code it will be helpful.
I need to change IDAC1 values for changing channel selection along with MUX0 right?
All I need is to switch between channels and able to store the results to two different variables. Please help me out, I tried everything at my disposal to solve this issue on my own before writing this thread.