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.

ADS8920B: Interfacing ADS8920B with SPI

Part Number: ADS8920B

Hi,

Is there an example project which shows how to interface ADS8920B using SPI peripheral? I briefly looked into your datasheet but it was not clear for me on how to interface a SPI master to talk to ADS8920B.

Regards,

Manoj

  • Hello Manoj,

    I am not aware of any example code for the ADS89xx family.

    However, you can use a standard SPI to read conversion results.

    Refer to Figure 47:

    Pulse CONVST high and wait a minimum T-conv-max time, 640nS for the ADS8920B.

    At this time, you can pull /CS low, and then issue 16 SCLK's to clock the data out of the device.  The default communication mode on power-up is SPI mode 00, using the single SDO-0 line.  The MSB is launched on the falling edge of /CS, and you can capture it on the first rising edge of SCLK.  All other bits are clocked out on the following SCLK falling edges and can be capture on the remaining SCLK rising edges.  The SDI line can be held low during conversion result readback.  After the 16b have been clocked out, you can either continue to clock the parity bits, or simply bring /CS back high.  When you are ready for your next conversion result, pulse CONVST high again and repeat.

    I hope this helps!

    Regards,
    Keith Nicholas
    Precision ADC Applications