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.

ADS1292: spi problems

Part Number: ADS1292

Hello friends my name is Felipe and i have problems with spi comunication, does any one has a example code about spi and ads1292 or similar?

thanks in advance regards!

  • Hi Filipe! Welcome to our e2e forum! What sort of SPI problems are you having with the ADS1292?
  • Hello Tom thanks for your reply, well i've tried to connect the Ads1292 with a microcontroler Psoc like a master but i don't receive nothing, and i guess is the clock configuration or the bps, do you have any C code or a library for the Ads?? or any idea how i can check the SPI connection? i hope you can help me, thanks in advance my friend!
  • Hi Filipe,

    If you have access to a scope or logic analyzer, please feel free to forward your ADS1292 signaling details. If you download the software for the ADS1292ECG-FE EVM, there are some source code files in there that you might find useful.

    ftp.ti.com/.../ADS1292EVM_SW_v1.11.zip
  • Hi Tom, i hope you are well,  i'm very excited it's working now, i've used the libraries and part of source code and now i can configure the ads's registers,  but i have some problems with the data format but i guess it's easier, thanks for all!

  • Cool! Glad to hear that it's basically working. Let us know if you need anything else.
  • hello! Tom it's me again, i have news, i can read and write ads's registers, but for each channel data i just get 0, i've configured the signal test for 1mV and 1Hz, also i've configured the GPIO [1:0]= 11 (this part is only a test for check the ads ).

    ADS1x9x_Reg_Write(ADS1x9x_REG_CONFIG1, 0b00000010); //
    CyDelay(5); // wait
    ADS1x9x_Reg_Write(ADS1x9x_REG_CONFIG2, 0b10101011);//
    CyDelay(5); // wait

    //Set GIO output
    ADS1x9x_Reg_Write(ADS1x9x_REG_GPIO, 0b00000011);

    ADS1x9x_Reg_Write(ADS1x9x_REG_CH1SET, 0b000000101);//
    CyDelay(5); // wait
    ADS1x9x_Reg_Write(ADS1x9x_REG_CH2SET, 0b000000101);//


    In the data output, i can read 192, 96 and '0's, i think it's the status register, 1100 + LOFF_STAT[4:0] + GPIO[1:0] + 13'0's

    192 = 0b1100 0000 it's ok
    96 = 0b0110 0000 it's ok, if I set GPIO = 10, i get 64
    0 = 0b0000 0000 Status Register
    0 = 0b0000 0000 Channel 1
    0 = 0b0000 0000 Channel 1
    0 = 0b0000 0000 Channel 1
    0 = 0b0000 0000 Channel 2
    0 = 0b0000 0000 Channel 2
    0 = 0b0000 0000 Channel 2


    After that, i get only '0's , could you tell me if is there some specific register or some configuration for test the ads?? or may be some hardware connection, i hope you can help me.

    I would like to add my code and some pictures, but i don't know how, sorry!
  • Hi Felipe,

    you can follow the flow chart on page 63 of the ADS1292 datasheet to get the basic operations going. Do you have a scope or logic analyzer to look at the START and BUSY pins?