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: Need sample code for initializing ADS131E08 with Tiva C Series

Part Number: ADS131E08
Other Parts Discussed in Thread: ADS130E08EVM-PDK

Hello,

I am getting some trouble to initialize ADS131E08 as the flow chart says in data sheet. I am using a Tiva C Series Launchpad, and I would like to know if anyone could send me a sample code, in order to compare and make it work. Thanks.

  • Andre,

    The only ADS131E08 sample software that I know of is bundled with the ADS130E08EVM-PDK download. I'll reference this post:

    It's not specifically for the Tiva device and note that the source is bundled with the ADS130E08EVM download instead of the ADS131E08EVM download.

    Regardless, read through the post, and see if it helps you.

    Joseph Wu

  • I did not find exactly where in the codes from the firmware can help me. Actually, I think I probably missing something in the initial flow procedure showed on data sheet. I read many posts here about this subject, but any of them could help me, once I do not know which part of my code is not right.

    I send read commands to verify if the registers are returning what the data sheet says, but the output from ADS is always 0x00.
  • Andre,


    If you are unable to read the registers from the device, then you should step back a bit and verify a few things. First, I'd check to make sure that the supply voltages are where you think they are and measure them near the pins of the device. The analog and digital supply should have some sort of common ground. /RESET and /PDWN should both be high.

    If you try to use the START pin to control conversions, I would pull it high and check on the /DRDY pin. If you get pulses that indicate that conversions are taking place, then the device isn't in a reset condition or some sort of power down.

    Also, I would use an oscilloscope to look at the data going into the device. Look at the /CS, DIN, DOUT, and SCLK to see what the waveforms look like to read the registers. If you get to that, post the results here and we can look them over.


    Joseph Wu
  • Andre,


    Have you been able to solve your communication problems with the ADS131E08? As I mentioned in the previous post, I think you need to go back and check the default settings on the device and then look at the SPI communications coming out. I would like to see the SPI plotted out with an oscilloscope or logic analyzer.

    I'll close this post for now, but if you continue to have problems, post back and we can review the tests that you've run.


    Joseph Wu
  • Hey, sorry about the delay to answer. i had some problems with my measurement equipments in Lab. But now I can use it. I will get the oscilloscope images as soon as possible, than I will post it here to listen your feedback. Thanks.