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.

LMX2571 register programming

Other Parts Discussed in Thread: LMX2571, LMX2571EVM, CODELOADER

Hello

Dear All....

Currently I am working with LMX2571. The task is about to set a new test bench for test LMX2571. I need to start a simple coding to set up the register in LMX2571. I am using SPI as the interface.  Anybody can help me how to start how to programming or anyone have any example how to start to code the register. The problem is I don't know where and how to start.  

Thank you

  • Hi Alif,

    We do not have any sample code. Are you using the LMX2571EVM? 

    Are you using code loader (our GUI to program EVMs)? after programming the device in the PLL tab you should be able to export the register settings that you need. I suggest you also look at sample SPI code for the MCU that you are using.

    Regards,

    Julian

  • Hi Julian,

    Thanks for your replied. We are using LMX2571EVM for the testing stage. The task we need to do is we need to create new GUI for the LMX2571EVM for the specific test bench at the production line. So we need to to know how to write the register in order to do it. I really hope that could explain how to rewrite the C programming to set the register. The code loader (GUI provided) is not able to used for our needs and requirement. 

    Thanks 

    Regards

    Alif

  • Hi Alif,

    I'm sorry you are having issues with this. Unfortunately, we do not support this type of software request.

    Regards,
    Julian
  • Hi Julian,

    Is there any possibility to reprogram (R/W) to the register LMX2571 EVM by using the other software environment (such as LabWindows/CVI) rather than only use CodeLoader4? If YES, is there have any way for us to refer or guide?

    Thank you 

    Alif

  • From the CodeLoader landing page,

    Please refer to the CodeLoader manual:

    See section 5 about automation.  You can instantiate CodeLoader via COM (ActiveX) and remote control it.

    Otherwise you will need some sort of interface to go between your computer and the EVM which is capable of sending SPI.  Like the Aardvark I2C/SPI Host Adapter.

    73,
    Timothy

  • So piggy-backing off this post, my customer is looking for the same thing. Some type of algorithm that would allow them to determine the register settings given the inputs. They're thinking of deriving the algorithm by using the GUI but it would be nice if there was some type of equation. Is the GUI the only option for determining register settings based on user-given inputs?
  • Hi Julian,

    I need to configure  LMX2571 using SPI with my custom application. I'm confused with "Program in sequence registers R60, R58, R53, …, R1 and then R0." in data sheet page number 15, that even if I need to configure a single register do I have to reprogram all previously initialized registers again in reverse order or just I need to configure the register I need to.

  • Jasmin,

    After power up, you need to program all the regsters as shown.

    However, if you want to change something after that, then you only need to program the register(s) that contain whatever you want to change -- not the entire sequence.