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.

Linux/ADS1256: ADS1256 w/ Raspberry Pi + MATLAB

Part Number: ADS1256

Tool/software: Linux

I purchased Waveshare's RB-Wav-08 board, to interface with my Raspberry Pi model 3B, I am using MATLAB's hardware support package to write my software. 

My first question is if i am using a 7.68MHZ clock for my ADS1256, what is the bus speed of the SPI? I assume this can be something other than the clock speed. 

I know that the SPI mode is #1, and at certain bus speeds I am getting to read/write to the registers, however not 100% of the time. 

  • Hi Frank,

    Welcome to the TI E2E Forums!

    The ADS1256 can operate with SCLK frequencies up to 1/4th the frequency of the ADC clock (so the fastest SCLK frequency in your case would be 7.68 MHz/4 = 1.92 MHz MAX). If you have other devices sharing the SPI bus you can certainly change the speed of the SCLK as needed to communicate with the other devices.

    You are correct, the ADS1256 uses SPI mode 1. For additional information on SPI timing requirements refer to the Serial Interface Timing (Figure 1) and the Command Definitions sections of the datasheet.

    Best regards,
    Chris