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.

LMX2820EVM: LMX2820EVM using PFD input and external mixer

Part Number: LMX2820EVM
Other Parts Discussed in Thread: LMX2820

Good afternoon

I'm using the LMX2820EVM in a feedback mixer configuration.  The RF output frequency is 2.2GHz and I have a mixer supplied by a 1.8GHz LO to mix down to 400MHz IF.  There is a low pass filter on the output of the mixer to reject any products other than the wanted.

The 400MHz IF signal is fed into the PFD input of the eval board, and the LMX2820 is configured to bypass the N divider, with the PFDinput divider set to 2 so that my 400MHz IF frequency after division matches the 200MHz PFD.

1. Do I need to 'calibrate VCO' when the feedback path is set?  I have tried this and my synth loses lock.  All the RF levels at the inputs to the EVM are within specification

If I run the eval board normall, 2.2GHz output, using the internal N divider then the eval board locks to 2.2GHz.  its when I switch to PFD in and re run the cal that I lose lock.

My feedback signal is taken from the RFOUTAN output (usually terminated with 50R).  The LMX2820EVM is configured as shown below:

I can't see why this shouldn't lock, I haven't spotted anything in the datasheet to say otherwise.  I haven't changed the loop filter component values from the default setting (for 6GHz) so could this be the issue?

Many thanks

Jonathan

  • Hi Jonathan,
                         My understanding of this is that the VCO calibration scheme might be taking information from the N counter and that's why when you use the internal PFD with the mixer approach the "frequency" information is lost and therefore the VCO calibration might cause a runaway effect losing lock. My suggestion is to wait for the loop to lock without using any VCO calibration which unfortunately will take some time.

    Note in the internal PFD with the mixer approach, the phase of the output of the mixer will depend on the phase of the LO signal and thus the PLL loop will need to recalibrate to acquire phase lock. 

    I will check with my chip design team to understand what exactly the VCO calibration scheme incorporates and if there is an impact on using it in the internal PFD approach. I expect this to take a few days.

    Thanks,

  • Great,thanks Badarish.  I will try that.  I assumed the 'calibrate VCO' also programmed the registers.

    Best regards


    Jon

  • Hi,

    I've experimented with the evaluation board a bit more, initially programming the board using the internal feedback path.

    I then switch the PFD_SEL path for the input to be from the PFD_IN pin, bypassing the internal N counter.  If I switch off my LO this doesn't affect the output frequency.  I would expect the synth to lose lock if I did that.  Also if I change the N counter setting, even though according to the GUI graphic that path is bypassed, the output frequency changes.  So its as though the LMX2820 has not been programmed correctly to use the external PFD input pin.

    Best regards

    Jon

  • Jon,

    For the mixing down approach, what you do is:

    1. Do NOT use instant calibration or dubble buffering (shadow registers)

    a. I'm not sure if instant calibration works with external mixer or not, but let's not bring in more complication into this

    b. For double buffering, it ignores the register write until the R0 register is written.  On TICSPro, go to "User Controls" under "General Controls", ensure all the 4 double buffering bits are disabled

    2.  Lock the PLL normally without using the mixer or LO and calibrate the VCO

    3. Power up your LO and switch over to internal mixer mode with the PFD_SEL bit.  NOte also that the PFD_SINGLE bit also automatically changes.

    Regards,
    Dean

  • Hi Dean

    Thanks for your reply, I've already tried this.  When I disable the LO in the feedback loop, the synth remains locked.  I would expect it to drop out of lock if its was using the PFD feedback path as there'd no longer be a feedback signal.

    I'm not convinced the feedback path is being selected internally (even though I'm configuring the register).  I've checked the internal registers and even manually written to them, so they appear to be being programmed correctly.

    Jon

  • Hi Dean

    Thanks for your reply.  I was already doing this but thought I'd better check the registers directly, ensure they are being programmed.  They are.  And I've tried writing directly to the raw registers but this made no difference.

    In the setup you describe above, I do this and when I've switched over to external mixer mode and disable the LO to the mixer, the synth still remains in lock (which it shouldn't given the feedback signal is no longer present).


    Thanks

    Jon

  • Hi Jonathan,

    I checked with the design, set R57[0] and R15[10:9] is good enough to put the part to accept PFDIN. 

    Currently I don't have lab access, so would like to ask your help to do some debug.

    1. set R1[5] = 1 and R17[6] = 1. This will make sure the lock detector will continuously monitor the Vtune voltage in order to reflect the true lock status.

    2. program the part to lock to a certain frequency

    3. program R57[0] = 0 to enable PFDIN. I would expect it will lose lock because there is no PFDIN signal. 

    If it does not lose lock, increment PLL_NUM by 1 (e.g. from 0 to 1), will the output frequency follows the change?

  • Hi Noel,

    Thanks for the suggestions.  Upon initialisation of the Eval board R1[5] and R17[16] are already set to 1.

    I followed what you suggested, programming the LMX2820 to lock to a certain frequency.  I then programmed R57[0] to 0 to enable PFDIN however it did not lose lock.  Furthermore when I incremented the PLL_NUM by 1, the output frequency followed the change.  Visually the GUI shows the N divider (PLL_NUM) path bypassed, so it shouldn't have followed PLL_NUM.

    I'm a bit stumped.  Doesn't appear to be working (i.e. disabling the internal feedback path forcing the internal VCO to lose lock)?

    Thanks

    Jon

  • Hi Jonathan,

    I am asking my colleague to verify this, please stay tuned, I will get back to you later.

  • Hi Noel,

    Thanks for that - I don't suppose there's any update is there?

    Thanks

    Jon

  • Jon,

    OK, here's the deal.   For the VCO calibration, the LMX2820 uses internal phase detector mode.  So if you lock in internal phase detector mode and then flip the bit for external phase detector mode, then nothing happens.  However, if you program the R0 register, then it automatically switches to external PFD mode.

    So suppose you are in external PFD mode and now you want to change frequencies.  To do this, you need to calibrate the VCO by programming the R0 regsiter.  The part does this by momentarily switching over to internal VCO mode to calibrate and switching back.  But because the VCO calibration is based on the internal PFD, it is important that the PLL_N and other counter settings for the internal PFD are correct so the calibration can run properly.

    Regards,

    Dean

  • Hi Dean,

    Thanks for the explanation.  I'm able to lock the synth in feedback mode now, I'm not really sure what the exact problem was, perhaps I wasn't programming it in the correct sequence.  Anyway, all running now.  Thanks for you help.

    Jon