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.

ADS131E08: SPI Communication

Part Number: ADS131E08

Hi all,

i've hooked up two ADS131E08IPAGR to the SPI1 port of a raspberry pi. i have experience with arduino, breakaway boards etc. but not with library development. does a python library exist for this ADC? Any help to get me going is greatly appreciated. I've attached a pdf of the schematic as well.

thanks.EMBB Summery.pdf

  • Hello Hooman,

    TI does not provide any python scripts for the ADS131E08, but maybe someone else in the e2e community has developed something similar and can advise you.

    I noted that your schematic only looks like the SPI pins are connected to anything. Is this on purpose?

    Brian
  • Hi Brian,

    I'm not really adamant on Python, any library will do, provided i can use it with the raspberry pi. i would assume a C library would be available somewhere.

    i didn't include the raspberry pi side in the schematic, and no inputs either... just the section that shows how the ADCs are connected.

    Hooman

  • Hooman,

    Unfortunately we do not provide C code either. The device communicates via regular SPI, and we provide a flow chart in the datasheet (figure 53) of the steps required from power-up, but any code that we could provide would ultimately be too specific to whichever microcontroller we selected to be broadly useful.

    I'd have to imagine there are some generic SPI libraries you could adapt with little extra effort and get them to work with the ADS131E08. Developing interrupt routines and handling the data otherwise will probably be specific to your application. I'd be happy to support any of your questions as they relate to the quirks of the ADS131E08 as they arise.

    Regards,
    Brian