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 ?
↧