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.

LMX2531 programmin with CodeLoader

Other Parts Discussed in Thread: LMX2531, CODELOADER, LMK01010

I want to program a LMX2531LQ1415E with CodeLoader software. In the system the foscin is 66MHz so that I need to set R counter to, at least, 4 in order to fullfill with the maximum phase detector frequency (32MHz). According to LMX2531 datasheet, R divider value is restricted to the values 1, 2, 4, 8, 16 and 32 but with CodeLoader I can only set it to 2.

I am missing something but I do not find where. I have tried setting XTALMAN2 (565), XTSEL (50-70MHz) and XTALDIV (divide by 8) in the Bits/Pins tab but nothing changes. I can only choose 0 and 2 values for R divider.

I am playing with CodeLoader without any PLL board connected to the computer but I guess this does not make the difference.

  • Well, I think I have found the problem. The CodeLoader has two arrows to increase or decrease the value of R divider by "clicking" with the mouse but it seems that there is a bug in the software and it is only working up to 2 (I guess it tries to increase the value by 1 and 3 is a forbidden value). If I type the number, it works OK.
  • Sergio,

    Indeed, the arrows don't work for this divider but typing it in does.   This is because this counter only allows 1,2,4,8, and 16.  So it puts 0 for other values so at least the user knows that these values are illegal.   It's actually not a mistake, but rather a shortcoming on CodeLoader as the arrow keys assume that it increments to the next value and this was the only way make this work at all on the PLL tab.

    We are working on an upgraded version on CodeLoader and I am glad you brought this to our attention so we can see if there is anything that we can do about it.

     

    Regards,
    Dean

  • Thank you very much for your confirmation, Dean. At the beginning I was assuming that the arrow up incresed R value to the next legal value.

    Another thing I have found out is that, when I configure all the registers using "Pin/Bits" and "PLL/VCO" tabs, I go to the "registers" tab and all the bits for the registers are OK  but the address of the registers themselves that are to "0000" and I cannot find the way to modify these bits. Registers R9 and R12, whose content is fixed, where initially to all "0" but I can change the content in this "Registers" tab, the addresses seem to be somehow locked.

    As I said before, I am still waiting for the PCB and just playing with the CodeLoader, I guess this works perfectly well with the board and it is only a visualization issue.

  • Sergio,
    Indeed, this is corrupted and these last 4 bits should not be 0 and are not for my CodeLoader. Codeloader masks out the last bits as address for this part and does not let you change them. However, you might be able to get them back to the right values if you choose the default mode or load a *.mac file. If not, then maybe a re-install.
    REgards,Dean
  • You are right, Dean. I have reinstalled CodeLoader and everyting is working OK. The *.mac file I generated yesterday was corrupted too and when I load it, even with the new installation, all the addresses are set to '0000'. I have generated it again and the new one is OK.


    I have been playing with the LMK01010 configuration too without problems. In few days I will have the boards to be tested. Everything ready for the measurements.

    Thank you very much again, Dean.