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.

  • TI Thinks Resolved

ADS1018: Reference Code

Expert 2175 points

Replies: 2

Views: 114

Part Number: ADS1018

Hello

My customer have some questions about ADS1018,

1.Cann't find address of Conversion Register and Config Register , so how to change Config Register or ready data from Conversion ?

2.Under  ADC mode, My customer write Config Register refer to "8.5.7.1 32-Bit Data Transmission Cycle " , but nothing read

3.Transfer to Temperature Sense Mode, also cann't read data

Is there reference code could be provided ? or it have some indispensable setting to make it work normal ? or time sequence ? or initialization

attached is customer's code

ads1018.cads1018.h

  • Fandy,


    I don't think there is specific code for the ADS1018, but there is code available for the ADS1118 which is similar in functionality. If you look up the 430BOOST-ADS1118 there is a download for the 430BOOST-ADS1118 Firmware.

    However, if the customer cannot read out the Conversion or Config Register, I would try to debug the communication by looking at the digital lines and not the code. Use an oscilloscope or logic analyzer to see what comes out of master and ADC. This is far more important than looking at the code to debug the communication. Check the /CS, SCLK, DOUT/DRDY, and DIN lines. The output should look like the lines from Figure 13 or Figure 14.


    Joseph Wu

  • In reply to Joseph Wu:

    Fandy,

    Has your customer been able to solve their communication problem with the ADS1018? In my last post I gave a link to some firmware that was available. Hopefully, they were able to use that to get things working.

    I'll close this post for now, but if they continue to have problems, post back with more information. Originally I had asked for an oscilloscope photo of the communication, and I'd need that to help with the debug.

    Joseph Wu

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.