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.

ADS8354: SPI Communication problems

Part Number: ADS8354

Hi,

i have some problems receiving the SPI data from the ADS8354 correctly. The recieved bits are shiftet by one so i would quess it is a problem with CPOL & CPHA but i tried all combination and had no luck.

Based on the timing diagram of the datasheet i would say that i need to capture the data on falling edges and change data on rising edges.

But based on the text of the datasheet i would say i have to send on rising edges so the ADC can latch the data on falling edges.

"The first 16 bits of data on SDI are latched into the device on the first 16 SCLK falling edges."

AND

I have to capture on rising edges because the ADC outputs on falling edges.

"SDO_A outputs the contents of the selected user-programmable register on the first 16 SCLK falling edges."

So what would be the correct CPOL & CPHA setting for my microcontroller to communicate to the ADS8354?

For example to read the CFR register i have to first send 0x3000 with CPHA = 1 and then read the CFR on the next frame with CPHA = 0

Is this intended?