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.

Interfacing ADS131E08 using SPI

Other Parts Discussed in Thread: ADS131E08

Hi,

I am interfacing ADS131E08 with dsPIC33 using SPI. I am unable to read the ID register of the ADC. During interface I am able to see clock being generated and signal at SDO pin. However there is no signal at the Din pin. Initially i was using high speed clock but later i brought down the SPI clock to 1250 Khz and even 78 Khz but still there was response generated from the ADC.

Please help me identify the problem.

Thank you

Vipul

  • DIN is the data input pin of the SPI communications protocol for the ADS131E08.  You must provide this signal from your processor/micro-controller.

    Are you saying that you are sending it but do not see the signal at the DIN pin of the device?  What are you connections?  Can you send a schematic or block diagram detailing your connections?

  • Hi Greg

    Thank you for your response.

    in my program whenever i put something in the SPI buffer for transferring it to ADC, i am able to see a signal being generated at the DOUT pin. Whereas during read operation when i write a dummy value in SPI buffer, there are signal at the DOUT pin but ADC pin remain low all the time.  

    I follow the algorithm defined in datasheet figure 52.

             I have set my SPI clock at 1250KHz

             Set PWDN pin 

             Give RESET command in the SPI buffer and wait for 18 clock cycle

              Send SDATAC command

             WREG command for Config 3 providing 4 clock cycle delay between two bytes of command

             WREG command for Config 1, 2 providing 4 clock cycle delay between two bytes of command

            WREG command for Chnset providing 4 clock cycle delay between two bytes of command

           Send Start command

           Send RREG command providing 4 clock cycle delay between two bytes of command with ID register address.

            Then write a dummy value in SPI buffer register and wait for receiver buffer to be filled. 

    At this of program i expect a signal at DIN pin, but it remains low and i get 00 as the SPI buffer value. during all this process i receive a good clock signal at SCLK pin.

    Vipul

  • From your description, you may have a protocol issue.

    The device cannot be in RDATAC mode when you to the RREG command.  Try to do the RREG before the START command or issue another SDATAC command before the RREG command and see if that helps.

  • Any comment on this ??