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.

ADS1147: sample code for ADS1147

Part Number: ADS1147

Hi,

Could you provide sample code for ADS1147?

There is sample code in website but it's complex to the customer.

If you have more simple code for reading AIN0 through SPI with default setting, please provide it.

Thanks.

  • David,


    If the sample code is a little complex for the customer, then I suggest that the customer look over the pseudo code in the datasheet. We provide an example in the datasheet on page 65. The pseudo code shows how the device is set up, with register settings for the input multiplexer, pga gain, and data rate.

    If the customer is able to program, then the pseudo code should help guide them to configuring the device and reading data.


    Joseph Wu