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/ADS8588SEVM-PDK: Library or method to read data from Linux?

Part Number: ADS8588SEVM-PDK
Other Parts Discussed in Thread: ADS8588S

Tool/software: Linux

Hello,

I have the Evaluation board with the ADS8588S and I am trying to read data from a Microcontroller with Linux. I read in another part of this forum that the ADC has an SPI interface but I im trying with different libraries for SPI in Linux and I wasn´t able to read a 20KHz sine signal. I am activating the CONVSTA and CONVSTB signal tied together (in the Test Points in the evaluation board) to start the conversion and using a SCLK frequency of 10MHz. I also couldn´t figure out how to set the sampling frequency from the data in the datasheet.

Do you have any library for linux (in C, Python, etc) to succesfully read the converted data in the ADC with SPI, or any other method?, or a more detailed explanation on how to operate the ADC to start a continuous conversion and read data continuosly from the serial interface?

Thank you very much.

Best regards,

Gabriel Gómez

  • Hi Gabriel,

    CONVSTA and CONVSTB are used to initiate the conversion process, on the rising edge of CONVSTA and CONVSTB, the internal track-and-hold circuits for each analog input channel are placed into hold mode and the input analog signal is converted with an internal clock, both signals cab ne pulled low when the conversion is over. A continuous CONVSTA/CONVSTB will have continuous conversions, the frequency of CONVSTA/B will be the sampling rate which is set by your controller. Please refer to below Figure 1 for CONVST control timing.

    The converted data can be read during conversion or after conversion, please refer to below Figure 2, it's your decision by enabling /CS and SCLK in Figure 5 as below.

    Please let me know if you have more questions, thanks.

    Best regards

    Dale