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 ADS1278

Part Number: ADS1278
Other Parts Discussed in Thread: ADCPRO

Dear forum user,

I use the ADS1278 for a multi-channel measuring system. The A/D converter is connected to a microcontroller which reads the data via SPI-BitBanging. Furthermore the ADS1278 is operated in TDM mode with low speed (about 10.5kHz @ 27MHz Masterclock). The reading of a channel e.g. channel 8 works perfectly. Unfortunately, reading out all eight channels does not work. I checked the SPI signals (!DRDY, SCLK and DOUT) in parallel on the digital storage oscilloscope, which looks plausible.
My DRDY Interrupt Handler and the SPI-BitBanging is fast enough so that all data is clocked out until the next !DRDY signal appears. I have a time reserve of about 40us, which is already good (see the attached DSO Screen)

Therefore my request would be whether I can get an example code for reading the ADS1278 or from the ADS1278-PDK. In other postings the sample code was sent by e-mail:


Thank you very much for your support
tugrul

  • Hello Tugrul,

    TI has recently changed policy and can no longer email firmware.  The ADS1278EVM-PDK-SW software plug-in does include the source code for the Labview VI's, which may be helpful.  After installation of the plug-in, you will find the code in the C:\Program Files (x86)\ADCPro\plugins\evm\ADS1278 directory.

    Looking at your above waveform, it looks like you have SCLK idling in the high state.  This should be changed to idle in the low state, and then follow the timing requirements on page 8 of the ADS1278 datasheet SBAS367F.

    Regards,
    Keith N.
    Precision ADC Applications