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.

LMK03328: How long does it take for VCO Calibration ?

Guru 19775 points
Part Number: LMK03328

Hi Team,

Please allow me to ask you about the wait time required for VCO calibration.

I am recommending following steps for LMK03328/LMK03328 register programming.

1). Power up
2). PDN = High
3). One Dummy Write or Read command to LMK03328
4). Program registers from R0 to R145
5). VCO Calibration : Toggle R12.7 = "1" -> "0" -> "1"
6). Synchronize output clock : Toggle R12.6= "1" -> "0" -> "1"

The question I have is "How long does the VCO calibration take until it completes ?".
i.e. How long would the user needs to wait after toggling R12.7 before the next I2C command (between step 5 and step 6)?

Best Regards,
Kawai

  • It takes less than 4 ms to calibrate both PLLs (or 2 ms if only 1 PLL enabled) with the suggestes 0.3 ms/0.4 ms settings for the PLL/VCO wait timers (programmable).

    If auto_sync = 1, then step 6 is not necessary.

    Alan
  • Hi Alan-san,

    Could I confirm your following comment what it means ?

    "It takes less than 4ms"
    "suggestes 0.3 ms/0.4 ms settings for the PLL/VCO wait timers (programmable)."

    Q1). Is it a typo that VCO calibration would only take "0.4ms" instead of 4ms ?

    I understood that there is a PLLx_VCOWAIT register, if the calibration time 4ms is correct,
    user would choose 8ms setting.

    Q2). Is R119 [1:0] PLL1_VCOWAIT time longer the better ?

    Q3). What happens when user had I2C access during the device is in VCOWAIT time ?

    Q4). What happens if customer use default value and waited for 4ms in their own script ? Would they have the same result ?


    Best Regards,
    Kawai
  • Kawai-san,

    A1) 4 ms (typ) is the overall PLL startup time, which includes VCO wait time (0.4 ms interval), PLL wait time (0.3 ms intervals) for VCO calibration,  and final PLL closed-loop settling (based on PLL bandwidth).  VCO wait time interval is selected by PLLx_VCOWAIT bits and is a delay before VCO calibration.  The PLL wait time is selected by PLLx_CLSDWAIT bits; this is the dominant time interval since it can repeat several cycles while searching for the optimal VCO cap code during calibration before releasing for final PLL closed-loop settling.  

    A2) Longer VCO wait may not be necessary for calibration, but can be made longer to allow more delay time before VCO calibration begins, such as if the PLL input clock is not yet stable.  Typically, a PLLx_CLSDWAIT setting of 0.3 ms is fine for both integer and fractional mode with normal/wide loop bandwidth of > 100 kHz.  Longer PLLx_CLSDWAIT (30 ms or 300 ms) is only needed for narrow loop bandwidth, like <1 kHz.

    A3) I don't expect anything to happen, but avoid it if possible.

    A4) The VCO wait time can be reproduced by external script, such as by adding delay time before releasing the chip or PLL reset via software bit.  However, an external script cannot replace the PLL wait time, which is an internal timer for the internal PLL controller to wait in each VCO cap code cycle during calibration.

    For example, below is a scope capture showing the loop filter voltage (LFx pin) during PLL startup/calibration.  The cursors indicate the VCO wait interval (0.4 ms) initiated by a soft reset event.  After the VCO wait interval, you see the loop filter voltage has discrete steps while the PLL controller searches for the optimal VCO cap code (~6 cycles) before calibration ends.  The PLL closed-loop settling interval is negligible in this example since the loop bandwidth is wide and settling time is much faster compared to the other wait times.

    Regards,
    Alan

  • Alan-san,

    I have two more question.

    Q5). Do we need to start VCO calibration "AFTER" reference clock applied to input ?

    Q6). When does Auto-SYNC occur when R12 [4] = "1" ? After power up and when PLL locks or always after VCO calibration ?

    My thinking is that output clock depends on divider settings, so in that case, it would be needed after divider settings applied and also after VCO calibration.

    What is your opinion ?

    Best Regards,
    Kawai

  • A5) Yes, VCO cal should happen after reference clock is present and stable in frequency/amplitude.

    A6) Auto-SYNC occurs after VCO calibration and PLL lock detected on device power-on/reset initiated by PDN pin (hard reset) or soft reset bit.  The output divider settings are loaded into registers on power-up from EEPROM, so these dividers should already be configured before Auto-SYNC occurs.  If the output divider is changed by I2C interface after Auto-SYNC occurs, a manual SYNC can be issued to phase-align the outputs.

    Regards,
    Alan

  • Hi Alan-san,

    Sorry for my delay to this post and thank you for the detail information.

    Best Regards,
    Kawai