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.

LMX2820: SPI slave CDC or Vendor mode initialization and read write source code

Part Number: LMX2820

Tool/software:

I’m looking for some reference code in C or other languages to program the LMX2820 SPI slave mode (CDC or Vendor mode) to initialize the chip and perform read/write.  Thanks in advance!

  • Hi Kenneth,

    To do read/write does not need initialization to the chip, once the chip is enabled (CE pin is HIGH), it is ready to be programmed. 

    We don't have example code, you can use TICS Pro (www.ti.com/.../TICSPRO-SW) to configurate the device and generate the register values in a text file.

    If you found the following collateral useful, I can send you the script as described in the document.

    www.ti.com/.../snaa409 

  • Hi Noel,
    I understand the programming of the LMX2820 requires the TICS Pro software to generate a series of register writes to the chip.  
    What I don't know is how to access the LMX2820 thru the SPI interface.  I assume there is a LMX2820 Windows DLL (Dynamic Link Library) that TI provides (and maybe sample code showing how to put LMX2820 in proper SPI initialization) that allows a me to call to perform SPI write and read to the LMX2820.  Is there such DLL?
    Otherwise, how can I physically "write" to LMX2820 chip registers for the series to register-writes that TICS Pro produces?  It has to be thru the SPI or I2C interface right?  In this case, I want to use the SPI interface.
    Thanks,
    -Ken
  • Hello, 

    The team is out of office for the holiday weekend. Please expect a response on Monday.

    Thanks, 

    Kadeem 

  • Hi Kenneth,

    LMX2820 uses SPI interface. 

    We don't have any specific DLL files for LMX2820, if you have installed TICS Pro, there are couples of DLL file, I am not sure if they are something you are looking for. 

    C:\Program Files (x86)\Texas Instruments\TICS Pro

    FYI, below is the programming information of the device.