Sir,
As per our project, Three-Wire RTD Measurement using ADS1248, we need to interface pic24fj256gb106 with ads1248.As per the data sheet we programmed through SPI in the folowing manner
- SPI1BUF=0x17; // command to stop reading data continuously.
- SPI1BUF = 0b01000001; // command for writing to VBIAS reg.
- SPI1BUF = 0b00000010; // Command for selectng number of bytes to be written.
- SPI1BUF = 0b00000011; // Data to VBIAS Reg.
- SPI1BUF = 0b00100000; // Data to MUX1 Reg.
- SPI1BUF = 0b01010000; // Data to SYS0 Reg.
- SPI1BUF = 0b01001010; // command for writing to IDAC0 reg
- SPI1BUF = 0b00000001; // Command for selectng number of bytes to be written.
- SPI1BUF = 0b00000110; // Data to IDAC0.
- SPI1BUF = 0b00000001; // Data to IDAC1.
But we didn't get any reference voltage or digital output according to this configuration.Please suggest any solution for this problem.
Three-Wire RTD Measurement