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.

ADS1278: example code for STM32 SPI Cube Ide with ADS1278

Part Number: ADS1278
Other Parts Discussed in Thread: ADCPRO

ADS1278: STM32 SPI communication protocol code example

Could you please provide example code for STM32 SPI Cube Ide with ADS1278.

  • Part Number: ADS1278

    KINDLY Share the example code using Arduino  and STM32 Cube Ide : 

     : srinivas.dasam@paclp.com

  • Hello Srinivas,

    The only source code that we have available is included in the plug-in software download for the evaluation board, based on TI's C5509 DSP. If you install the plug-in to the default directory, you will find it at this location on your PC:

    C:\Program Files (x86)\ADCPro\plugins\evm\ADS1278\source

    However, if using the SPI protocol, the ADS1278 is relatively easy to get working. There are no registers to write to; everything is configurable using hardware pins. The SPI host captures data on the SLCK rising edge, and data is clocked out on the SCLK falling edge. The ADS1278 continuously converts data, and issues a DRDY falling edge when new data are ready to be read out of the device. The Host MCU can monitor the DRDY for a falling edge, either through software polling or hardware interrupt, and then transfer the data.

    Also note that the maximum output data rate when using SPI is 105.469kSPS due to the maximum CLK frequency of 27MHz.  You can run CLK and SCLK at the same frequency for convenience.

    Regards,

    Keith Nicholas
    Precision ADC Applications