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: ADS1278 SPI AND COM SOURCE CODE

Part Number: ADS1278
Other Parts Discussed in Thread: ADCPRO

Hi

Is there any sample c / c ++ source code for using ads1278?

  • Hello,

    Welcome to the TI E2E community.

    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