Hi
Im working on ads1248 and i can communicate with it. i can write registers and read them very good.
but when i was to read the temperature sensor I only read 0x000080 !!!!
when i deassemble the sensor my data output is 0x7fffff.
i write this registers only :
Mux0=0xC7;
VBias=0x00;
Mux1=0x03;
Sys0=0x7f;
IDAC0=0x07;
IDAC1=0x0F;
and i read the data with this command :
SPI_CS=1;
Delay100TCYx(10);
SPI_CS=0;
SPIWrite(0x12);
DATA1=SPIWrite(0xFF);
DATA2=SPIWrite(0xFF);
DATA3=SPIWrite(0xFF);
SPI_CS=1;
i read the voltages of RTD. its zero!!! too.
i think current source not working!
can you help me?
how can i read the data correctly?
i see the DRDY signal in scope .90% is zero and 10% is 1.but in the datasheet write its 90% high and 10% its low!!!
is it my code has problem ?