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.

ADS1258: I am uble to understand how to use the ADS1258 ADC this is first time i am using the adc

Part Number: ADS1258

Hello..

iam first time using the adc in my project i never come across with  adc could you plese help me to solve my problem . i am using ADS1258 ADC i want to read the data from this adc throgh the spi interface . Master i a have FPGA how would i code the device to get the data form the ADC. there is two modes in adc 1) data read direct mode ,2) data read form the register mode . i want to know hoe to read the data from the ADC . whether in direct data read (or) register data read formate . And also please explain abou the data direct read mode . how it work's?

  • Hi Naresh,

    Even though you are using an FPGA, you might benefit from looking at the ADS1258 Example C code for a high level overview of the SPI commands that need to be sent to the ADS1258 to read data. You can download this code from http://www.ti.com/lit/zip/SBAC222?jktype=tools_software.

    Regarding the difference between the data read direct mode and by command is...

    1. In direct mode, you are directly shifting the data out of a output-shift register that gets updated after each conversion. Reading data like this requires one fewer SPI byte sent to the ADC.

    2. Reading data by command, requires you to first send a read command byte but copies the output data into a buffered output-shift register that does not get updated after each conversion. Reading data in this way takes slightly longer (since an additional byte is required to be sent over the SPI); however, this mode should be used if there is any likelihood of the FPGA not completely reading the previous conversion result before the next conversion completes.

    See this related E2E post https://e2e.ti.com/support/data-converters/f/73/p/847920/3146449 for some additional details.