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.

ADS1299-6: Help to interface ADS with Arduino Mega 2560

Part Number: ADS1299-6
Other Parts Discussed in Thread: ADS1299
As part of my final year project to design an EEG acquisition system, I am trying to interface the ADS1299 chip (not the demo kit) to and Arduino Mega 2560.
PFA my pin connections, code and the output herein. The problem is I am not even able to read the deviceID.
I would be highly obliged if someone could share with me their connection (pin) diagram, the code and everything else with a step by step guide on how to connect, interface and the the ADS working with Arduino to acquire and display data in real time and even interface it to MATLAB for realtime processing.
  • Hi Kanishk,

    Thanks for your post and welcome to the forum!

    Please review the datasheet including the SPI interface section and initial flow at power-up. Additionally, the threads that I posted in this thread may help: e2e.ti.com/.../783636
  • Hello Alexander,

    The data sheet to a novice like myself appears very ambiguous. I have already gone through the post you recommended and after doing quite a bit of research I set up the circuit as shown in the word file.

    I feel my question is just too big to be answered in one go, I am therefore going to split it into multiple pieces.

    To begin with, looking and the pin connections and the code, could you tell me why am I still getting an incorrect Device ID?
    or no device ID at all.
    sometimes I would Get and ID that is all high (1s) or an ID which is all low (0s)
  • Hi Kanishk,

    Please review the bio-potential FAQ to ensure that your SPI settings are correct. Additionally, you can find instructions to download the ADS1299 example code: e2e.ti.com/.../2855202

    Please keep in mind that the code is ultimately up to the customer to write. Code is provided “as-is” and modifications/changes are not supported. Also note that this software is optimized for our evaluation platforms and therefore may not be well suited to end-equipment applications.