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.

ADS1278EVM-PDK: Arduino library for data streaming

Part Number: ADS1278EVM-PDK
Other Parts Discussed in Thread: ADS1278

I need to collect 24bit sensor data from 8 channels at 20k+sps. I have the following questions:

1. Is that achievable from the SPI port of the ADS1278EVM-PDK?

2. Could you provide me with a software library for Arduino board?

Thanks.

  • Hello,

    Yes, you can achieve the maximum data rate for 8 channels using a single SPI port. Please refer to TDM DOUT mode and Figure 77 in the datasheet for more details.

    The maximum data rate for the ADS1278 when using SPI is 105.469ksps for each channel.  Using TDM DOUT mode, you will need to set your SCLK equal to the master CLK, 27MHz.  If you use a slower output data rate, for example, high resolution mode, then you can drop your SCLK to 1/2 the master clock rate and still retrieve all 8 channels of data using a single SPI port.

    We do not have sample code for the Arduino board.

    Regards,
    Keith N.

    Precision ADC Applications

  • Hi,

    Thanks a lot for the information! I understand there is not software support specifically for ardunion. Is there any sample SPI driver library code I can reference?

    Best,

    Harry

  • Hello,

    We do not have any example code for the ADS1278.

    Follow Figure 77 in the datasheet to shift 8 channels out in TDM mode.  Your code will need to monitor the /DRDY pin for a falling edge.  Once detected, you will need 192 SCLK's to shift 8 channels of 24b data out of the DOUT1 pin.  You will need to meet the timing requirements for SPI mode on page 8 of the datasheet.  SLCK will need to idle LO between readings.

    Hope this helps!

    Regards,
    Keith