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.

  • Resolved

ADS8588S: Linux Driver for Kernel 4.14

Prodigy 125 points

Replies: 9

Views: 67

Part Number: ADS8588S

Hi

I am looking for Linux driver of dual SPI and I wasn´t able to read ADS8588S with Kernel 4.14, 

We used CONVSTA and CONVSTB in our custom prototype board to initiate the conversion process, on the rising edge of CONVSTA and CONVSTB but failed to initialize the Dual SPI with ADS8588S in I.Mx6

So we need any Application processor driver like i.Mx6 or TI Sitara series processor

Thanks in Advance

  • Hi Nitin,

    Unfortunately, we do not have a driver or sample code released for this ADC. Can you please clarify the failure? Did you have any difficulty to read the data? Please provide your ADC timing captured with an oscilloscope including CONVSTx,/CS,SCLK, DOUTx, also your schematic will be very helpful to address the issue.

    Best regards,

    Dale

  • In reply to Dale Li:

    We want to use the ADS8588 interface as part of a device driver but failed to data out, Even on DOUTA & DOUTB with Dual SPI.

    We measure CONVSTx,/CS, SCLK, DOUTx .. Everything looks Normal and change Level  with command only DOUTx not work

    Please find the schematic below

  • In reply to Nitin Pathak:

    Hi Nitin,

    You said you are using dual SDO in SPI interface, but your schematic is showing the parallel interface you are using. Which information is correct?

    From the schematic, your amplifier's ground is different from the ADC's ground, is there any connection between them?

    Again, I need your timing captured with an oscilloscope to check?

    Thanks.

    Best regards,

    Dale

  • In reply to Dale Li:

    Hi Dale


    These pins are connected to AP . as I said, this is 1st prototype so we are exploring with all the interface possibilities including Serial/Parallel. when we are using dual SPI all others are ground.

    Yes these ground plane shorted with LCR component connection 

    I am trying to share the timing captured with you !!

  • In reply to Nitin Pathak:

    Hi Dale

    Thanks for  support 

    After systematically initialize the CONVSTx,/CS, SCLK, Pins, Single SPI (MISO, MOSI, SCK, CS) communication working and we are figuring out how to make MISO pin as data input to use as dual SPI communication for faster data throughput with the minimum number of traces.

    Can you guide how to use MISO Pin as DATA0 and MOSI pin as DATA 1

    Thanks in Advance!

  • In reply to Nitin Pathak:

    Hi Nitin,

    Your question is making me confused. I guess your want to use dual SDO mode on ADS8588S by taking advantage of DOUTA and DOUTB in serial interface mode. The MISO pin of your controller can be used for the DOUTA of ADS8588S ADC to receive the conversion data from the first half input channels of the ADC, however your MOSI is a output from your controller actually ADS8588S does not need a data input signal. You have to find another MISO on your controller to receive the conversion data of second half input channels from the DOUTB of ADC.

    After you find 2nd MISO pin for DOUTB,  the dual SDO mode can be used by configuring the ADC to serial interface:

    /PAR/SER/BYTE SEL pin = 1

    DB15/BYTE SEL = 0

    Regards,

    Dale

  • In reply to Dale Li:

    I guess your want to use dual SDO mode on ADS8588S by taking advantage of DOUTA and DOUTB in serial interface mode

    Yes, you are right.

    You have to find another MISO on your controller to receive the conversion data of second-half input channels from the DOUTB of ADC.

    You mean to say I have to use two MISO Pin with DOUTA & DOUTB respectively . can not be possible with single SPI 

    We are trying this approach first. then ask you if get any problem face

  • In reply to Nitin Pathak:

    Hi Nitin,

    Yes, one SPI has only one MISO and you have to use a second MISO on your controller to receive the data from the DOUTB of the ADC, you can not use the MOSI pin for DOUTB because the MOSI pin is an output signal of the SPI on your controller.

    Best regards,

    Dale

  • In reply to Dale Li:

    Dear Dale

    Thanks for your kind support now our system working with dual SPI configuration

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.