Hi,
We are having a problem where the codes read from an AD4134 are delayed by a varying number of ODR ticks.
The image below shows the 8 samples at 40kHz of a synchronised 5kHz analog sine wave (we have verified the synchronisation of the sine wave to ODR). We expect to see some lag from the Sinc3 filter.
We repeated a number of runs (hardware reset) of the system and recorded each run as a column of data. We note that the phase difference is always 1, 2 or 3 whole ODR clock and not some arbitrary phase angle.
Background:
We are using a pair of AD4134s in 2-channel daisy-chain mode with ODR and DCLK as inputs (slave mode). We have selected 24 bit, no CRC and Sinc3 filters in AA1 mode. ODR is clocked (for this experiment) at 40kHz and sysclk is a common 48MHz clock. This experiment is only concerned with the data from Ch1 of ADC1 - all other data is discarded.
Our first prototype used the AD4134 EVM in pin-configuration mode connected to a microcontroller (switches 4 and 6 were made plus 0 ohm in R113 to force pin config mode). This worked fine and the data was always in phase.
Our second prototype is on our own PCB and used SPI to configure the AD4134. After a hard reset, we set:
register 0x1E set for Sinc3
register 0x10 set for AA1 mode
bit1 in register 0x02 to disable low power mode
bit 5 in register 0x11 to set 24-bit, no CRC
bit 0 on register 0x12 to set dual channel daisy chain mode
We have been over and over the datasheet to see if we have missed something - we can't see anything wrong.
Our next step is to try and reproduce pin-configured mode on our PCB - a bit of a last resort as we may destroy a prototype during the mod process.
Do you have any other suggestions?
Thanks, Steve