Author Topic: ADC mode of operation: CPOL and CPHA  (Read 1126 times)

0 Members and 1 Guest are viewing this topic.

Offline raff5184Topic starter

  • Regular Contributor
  • *
  • Posts: 213
  • Country: us
ADC mode of operation: CPOL and CPHA
« on: May 07, 2019, 05:21:29 pm »
Hi
I'm trying to understand the mode of operation of the ADS 7883 ADC converter.
http://www.ti.com/lit/ds/symlink/ads7883.pdf

But from the diagram on page 9, I can't actually tell because the SDO data are not exactly in correspondence of the falling or rising edge of the SCLK.
I think the CPOL is 1 (look at the beginning of the SCLK signal, it's high) but what about the CPHA?

Thank you
 

Offline imisaac

  • Regular Contributor
  • *
  • Posts: 51
  • Country: de
Re: ADC mode of operation: CPOL and CPHA
« Reply #1 on: May 10, 2019, 07:18:58 pm »
Looking at the timing diagram of the datasheet, the data bit is sampled at the falling edge. So, I guess the CPHAS=1.

That is, I think that the SPI mode 3 (CPOL=1, CPHAS=1) may work for this ADC.
 
The following users thanked this post: raff5184

Offline raff5184Topic starter

  • Regular Contributor
  • *
  • Posts: 213
  • Country: us
Re: ADC mode of operation: CPOL and CPHA
« Reply #2 on: May 10, 2019, 07:51:11 pm »
that's what I eventually realized.
Another question, can I use a CLK at 4 MHz or 8MHz, or do I necessarily need to use a 32MHz clock (at 3.3V)?
 

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: ADC mode of operation: CPOL and CPHA
« Reply #3 on: May 10, 2019, 08:58:56 pm »
that's what I eventually realized.
Another question, can I use a CLK at 4 MHz or 8MHz, or do I necessarily need to use a 32MHz clock (at 3.3V)?

The SPI clock also determines the sample rate, so if your application can work with a reduced sample rate, then it should be fine.
 
The following users thanked this post: raff5184


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf