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

ADS1256EVM-PDK: ADS1256EVM-PDK with Raspberry Pi 3 - Python

Prodigy 20 points

Replies: 3

Views: 98

Part Number: ADS1256EVM-PDK

I am using ADS1256EVM with Raspberry Pi 3 with source code High-Precision-AD-DA-Board-Code.7z

I have tried with wires connection in readme.txt of source code and set up switches on ADS1256EVM based on 7.4 Default Jumper Settings and Switch Positions in ADS1256EVM User's Guide but the SPI communication always returns zeros.

I also measure logic on SPi pins on Saleae but it is not the same as normal SPI communication. And I have tried to read data from ADS1256EVM by Arduino ... but I can not get expected result.

Has anyone who did the related project can help me to get the adc value from ADS1256EVM. Please help me.

Thanks.

  • Hi Lionel,

    Welcome to our e2e forum!  The ADS1256EVM usually ships with a motherboard - the MMB0.  Is that the hardware you have?  Does everything work as expected when you use the ADS1256 with our ADCPro tool?

    I can't open your source code or readme file, so I'm not sure what that is telling you to do.  However if you go through the ADS1256EVM Useeer's Guide to page 40, you will find the schematic for the EVM.  You would need to make sure the device is not in power down or reset mode before you can begin using you own controller.  You need 5V and 3.3V power, which can be applied to J3.  From there you can apply your SPI signals to J2 - SCLK on pin 3, Chip Select on pin 7, SDI on pin 11 and SDO on pin 13.

     

    Regards,

    Tom

  • In reply to Tom Hendrick:

    Hi Tom,

    Thanks for your reply.

    I also have the MMB0 but I can not find the necessary driver to run on ADCPro for Windows 7 and 10. But in the datasheet says that only support Windows XP, right? But I do not have Windows XP now.

    Sorry for the source code, here is the link: https://www.waveshare.com/wiki/File:High-Precision-AD-DA-Board-Code.7z

    As the readme, I connected as below:

    == Hardware connection ==
    ADC => Raspberry Pi
    * 5V -> 5V
    * 3.3V -> 3.3V
    * DIN -> MOSI
    * SCLK -> SCLK
    * GND -> GND
    * RST -> 12 (Physical, BCM: GPIO. 1, 18)
    * CS -> 15 (Physical, BCM: GPIO. 3, 22)
    * DRDY -> 11 (Physical, BCM: GPIO. 0, 17)

    So I believe the EVM powered because I connected both 3.3V and 5V applied to J3.

    But unfortunately, I even can not get the Chip ID via SPI by reading the register 0 as source code. It's too hard to find the same project using the ADS1256EVM with Raspberry Pi 3B to be a reference for me. I hope you can support me to bringup and get the very first positive signal from using ADS1256EVM with Raspberry Pi 3B.

    I really appreciate your help, Tom.

    Thanks.

    Lionel

  • In reply to Lionel Tran:

    Hi Lionel,

    There is a new installer for the ADS1256 that should work with Windows 10.  Are you considering the PWRDN pin as well?  Have you measured the SCLK, /CS SDI lines to ensure the signals are present?

     

    Regards,

    Tom

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.