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.

ADS8320: ADS8320

Part Number: ADS8320
Other Parts Discussed in Thread: CC2640

Hi,

One of my customers intend to use the ADS8320 in combination with a CC2640 and connect it to the SPI interface.

Sample frequency has to be 100KHz.

The timing diagram of the ADS8320 shows that you need to clock out 24 cycles

The ADS8320 timing diagram shows that the CS line is going high before the last of the 24 clock pulses, which is not what a standard SPI port will do.

Is it possible to have the SPI shift out 24 clock cycles (3 consecutive byte write operations), puts its CS line high and reads in 24 bits.

The meaningfull databits are read in starting at the rising edge of the 7th. clock pulse.

CS goes high for a short period of time after the 24 clock cycles and then the next sequence of 24 clock cycles starts.

From the ADS8320 datasheet I understand that if the CS line is kept low for the full 24 clock cycles the next conversion is already started whilst the idea is to start the next conversion when the CS line goes down again and the SPI sends out the next sequence of 24 clock pulses.

Can you confirm that this will work as well?

  • Hi Jan,


    It is fine to have a full 24 clock cycles while CS is low; the device require a minimum of 22 clock cycles to read the conversion data.   The ADS8320 serial interface uses 4.5 to 5 clock  cycles to for acquisition (sampling signal); and after the 5th clock, the next 16th clocks DOUT clocks the data with the Most Significant Bit (MSB) first.  After these 16th clock cycles, the device repeat the data with the Least Significant bit (LSB) first.  After the conversion data has been repeated, DOUT tri-states.  It is fine to let CS high after the 24th clock cycle.  


    On the ADS8320, the falling edge of CS triggers the new conversions; therefore the device triggers a new conversion only when CS has been taken high and returned low..   Provided that the maximum rate (fsample=100kHz) and timing requirements are not exceeded, CS can be set low to trigger a new conversion after  a delay.

    Please refer to the Device Functional Modes description and timing parameters on the datasheet on p.14


    Thanks and Regards,

    Luis