Post Go back to editing

AD9163 NCO Reset

Category: Hardware
Product Number: AD9163

Hi,

I need to reset the NCO of the AD9163. So when the SYSREF is set, the NCO must always start at the phase. The phase value or deterministic delay do not matter, sine the phase is measured and compensated at the beginning of the measurement. 

System:

DAC CLK = 6GHz
Number of Lanes = 4
Subclass 1 (One-Shot Sync Mode)
Unknown DAC CLK to SYSREF phase relationship. 

After powering up, the DAC is synced by SYSREF. In the measurement mode NCO value is written over SPI and reset by SYSREF. That works so far but in some cases the reset of the NCO is not reliable (the phase jumps from SYSREF to SYSREF). I found a correlation between stability and SYSREF_PHASE0 information. When SYSREF_PHASE0 has the value 0xE0 or 0xC0 then the reset is reliable otherwise not. It looks like a timing issues between SYSREF and DAC_CLK / 4. 

Can this problem be caused by a timing problem between SYSREF and DAC_CLK / 4?

Do you have a recommendation on how to solve this problem?

Best Regards

Parents
  • Hi,

    In the AD9163 datasheet on page 38, following is written:

    "The SYSREF± signal is sampled by a divide by 4 version of the DAC clock. After SYSREF± is sampled, the phase of the DAC clock/4 used to sample SYSREF± is stored in Register 0x037, Bits[7:0] and Register 0x038, Bits[3:0] as a thermometer code."

    1) That means in my case the SYSREF is sampled in a time window of 0.67ns is that correct?

    2) How can I ensure that my SYSREF fulfills the setup and hold timing in relation to this divide-by-4 cycle?

    3) Can I assume that a SYSREF_PHASE0 value of 0xE0 or 0xC0 is in the middle of the time window?

    Thank you for your support

  • I was able to solve the problem. It looks like there are 3 different clocks involved in the SYSREF subclass 1 synchronization / NCO reset. One is the DAC CLK the second is the DAC CLK / 4 and a lower frequency third. Considering the time window of the third one allows a stable NCO reset after synchronization.

    I have implemented a PLL in the FPGA that can change the delay (phase) of the output clock. I perform the DAC synchronization with a delay of 0ns and then change the delay to -1.4ns. This gives me a time window of +-0.6ns for the NCO reset. The time was determined empirically.

Reply
  • I was able to solve the problem. It looks like there are 3 different clocks involved in the SYSREF subclass 1 synchronization / NCO reset. One is the DAC CLK the second is the DAC CLK / 4 and a lower frequency third. Considering the time window of the third one allows a stable NCO reset after synchronization.

    I have implemented a PLL in the FPGA that can change the delay (phase) of the output clock. I perform the DAC synchronization with a delay of 0ns and then change the delay to -1.4ns. This gives me a time window of +-0.6ns for the NCO reset. The time was determined empirically.

Children
No Data