This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ads1299 no output data

Other Parts Discussed in Thread: ADS1299

I can configurate the ads1299 and the DRDY pin is toggel on my frequency I had configurate.

But I read always 0000 0000 even fron the status register.

here the code config part:

output_high(PWDN_ADS);   // PIN_A1   //14
output_high(RESET_ADS);   // PIN_A0  //13
delay_ms( 1000 );


output_low(CS_ADS);

data_out=wakeup;
spi_xfer(ads1299,data_out);

data_out=sdatac;
spi_xfer(ads1299,data_out);
data_out1=wreg+config1;//0x40+1
data_out1=0x41;
data_out2=0x00;
data_out3=0xB3;  //with clockpin 2kHz

spi_xfer(ads1299,data_out1);
spi_xfer(ads1299,data_out2);
spi_xfer(ads1299,data_out3);

//*******************
data_out1=wreg+config2;
data_out2=0x00;
data_out3=0xC0;

spi_xfer(ads1299,data_out1);
spi_xfer(ads1299,data_out2);
spi_xfer(ads1299,data_out3);

//*******************
data_out1=wreg+0x00;
data_out2=0x00;
data_out3=0x01;

spi_xfer(ads1299,data_out1);
spi_xfer(ads1299,data_out2);
spi_xfer(ads1299,data_out3);
output_high(CS_ADS);

 delay_us( 500 );
output_low(CS_ADS);
delay_us( 500 );
data_out=rdatac;

spi_xfer(ads1299,data_out,8);

output_high(CS_ADS);

delay_us( 500 );

output_high(START_ADS);  // startet

//and here the reading part

 output_low(CS_ADS);
 
 for (i=1;i<=27;++i)                     // BAUD=2600000,

 data_in_ads[i] =spi_xfer(ads1299,data_in,8); 

      
   
    output_high(CS_ADS);

  • Hi Stefan,

    Are you able to read back any of the device registers?

    Remember that the default data mode is RDATAC and you must send SDATAC before writing any commands to the ADS1299. Also, double-check the SPI timing requirements on page 8 of the datasheet.

    Let me know if you still have difficulty reading data from the device.

    Regards,
  • Hi Ryan

    thank you for your help.There was a missunderstand with rdatac and rdata.
    I solved the problem with reading. I can write and read the register now. But there is a new problem with the signal Ch1...Ch8
    I can read temparatur nice but the signal from the EMG amp is not correct. If i put a resistor in +input and -input a have a nice line.
    If i put my generator (with symmetrical output) I have a strange signal. Is there a problem with pin17 and pin18 patient ref. or with pin60..pin63 Bias. All of them I did not connect on my print. (as referenc I choosed intern)

    regards

    Stefan