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.

LMX2594: Not Responding to SPI Commands

Part Number: LMX2594
Other Parts Discussed in Thread: LMK61PD0A2, USB2ANY,

I am using an Arty-A7 FPGA dev board to send SPI Commands into the LMX2594. When I send my commands I get no response from the device, I have verified the boards operation by programming it with the LMK61PD0A2. I have also tried programming the board using the LMK61PD0A2, verifying the frequency, then connecting the Arty-A7 and sending a reset command, with no response. I have compared timing and have found no issue and also tried using another Arty-A7.

I have also tried booting the PLL using the guide from the data sheet

Reset = 1

Reset = 0

Program Registers

Delay

Program Cal Bit

I probed the SPI busses on the Arty-A7 "Please Note my SPI Data Bus is set to 5V/Div"

  • Hi Preston, 
    Could you list out your programming sequence, step by step. 

    Do you have USB2ANY module or ref pro board & SPI testpoints that connect to LMX2594 on your custom board? 

    Regards, 

    Vicente

  • Programming Sequence

    1.) Power on LMX2594

    2.) Program R0 0x2 Reset = 1

    3.) Program R0 0x2 Reset = 0

    4.) Load Register R78 to R0 from Highest to Lowest

    I generated these values TICS Pro and dumped them into a text file

    It should generate a 2.560GHz Signal

    x"700000";
    x"6F0000";
    x"6E0000";
    x"6D0000";
    x"6C0000";
    x"6B0000";
    x"6A0000";
    x"690021";
    x"680000";
    x"670000";
    x"660000";
    x"650011";
    x"640000";
    x"630000";
    x"620000";
    x"610888";
    x"600000";
    x"5F0000";
    x"5E0000";
    x"5D0000";
    x"5C0000";
    x"5B0000";
    x"5A0000";
    x"590000";
    x"580000";
    x"570000";
    x"560000";
    x"550000";
    x"540000";
    x"530000";
    x"520000";
    x"510000";
    x"500000";
    x"4F0000";
    x"4E0003";
    x"4D0000";
    x"4C000C";
    x"4B0840";
    x"4A0000";
    x"49003F";
    x"480001";
    x"470081";
    x"46C350";
    x"450000";
    x"4403E8";
    x"430000";
    x"4201F4";
    x"410000";
    x"401388";
    x"3F0000";
    x"3E0322";
    x"3D00A8";
    x"3C0000";
    x"3B0001";
    x"3A9001";
    x"390020";
    x"380000";
    x"370000";
    x"360000";
    x"350000";
    x"340820";
    x"330080";
    x"320000";
    x"314180";
    x"300300";
    x"2F0300";
    x"2E07FC";
    x"2DC0DF";
    x"2C1FA3";
    x"2B00C8";
    x"2A0000";
    x"290000";
    x"280000";
    x"2703E8";
    x"260000";
    x"250404";
    x"240033";
    x"230004";
    x"220000";
    x"211E21";
    x"200393";
    x"1F43EC";
    x"1E318C";
    x"1D318C";
    x"1C0488";
    x"1B0002";
    x"1A0DB0";
    x"190C2B";
    x"18071A";
    x"17007C";
    x"160001";
    x"150401";
    x"14E048";
    x"1327B7";
    x"120064";
    x"11012C";
    x"100080";
    x"0F064F";
    x"0E1E70";
    x"0D4000";
    x"0C5001";
    x"0B0018";
    x"0A10D8";
    x"091604";
    x"082000";
    x"0740B2";
    x"06C802";
    x"0500C8";
    x"040A43";
    x"030642";
    x"020500";
    x"010808";
    x"002514";

    5.) Wait 10ms

    6.) Program R0 00251C

    I do not have USB2ANY module or ref pro board, I have been heavily relying on the o-scope. I do have a logic analyzer but, I need to set aside some time to learn how it works

  • Hi Preston, 
    Can you attach the config file directly? 
    You can insert files:

    This will be easier for me to check config. 
    If you could attach both a .tcs file and the .txt file - that would be great!

    Regards, 

    Vicente 

  • Text File containing Writes:

    2.560.txt
    x"700000";
    x"6F0000";
    x"6E0000";
    x"6D0000";
    x"6C0000";
    x"6B0000";
    x"6A0000";
    x"690021";
    x"680000";
    x"670000";
    x"660000";
    x"650011";
    x"640000";
    x"630000";
    x"620000";
    x"610888";
    x"600000";
    x"5F0000";
    x"5E0000";
    x"5D0000";
    x"5C0000";
    x"5B0000";
    x"5A0000";
    x"590000";
    x"580000";
    x"570000";
    x"560000";
    x"550000";
    x"540000";
    x"530000";
    x"520000";
    x"510000";
    x"500000";
    x"4F0000";
    x"4E0003";
    x"4D0000";
    x"4C000C";
    x"4B0840";
    x"4A0000";
    x"49003F";
    x"480001";
    x"470081";
    x"46C350";
    x"450000";
    x"4403E8";
    x"430000";
    x"4201F4";
    x"410000";
    x"401388";
    x"3F0000";
    x"3E0322";
    x"3D00A8";
    x"3C0000";
    x"3B0001";
    x"3A9001";
    x"390020";
    x"380000";
    x"370000";
    x"360000";
    x"350000";
    x"340820";
    x"330080";
    x"320000";
    x"314180";
    x"300300";
    x"2F0300";
    x"2E07FC";
    x"2DC0DF";
    x"2C1FA3";
    x"2B00C8";
    x"2A0000";
    x"290000";
    x"280000";
    x"2703E8";
    x"260000";
    x"250404";
    x"240033";
    x"230004";
    x"220000";
    x"211E21";
    x"200393";
    x"1F43EC";
    x"1E318C";
    x"1D318C";
    x"1C0488";
    x"1B0002";
    x"1A0DB0";
    x"190C2B";
    x"18071A";
    x"17007C";
    x"160001";
    x"150401";
    x"14E048";
    x"1327B7";
    x"120064";
    x"11012C";
    x"100080";
    x"0F064F";
    x"0E1E70";
    x"0D4000";
    x"0C5001";
    x"0B0018";
    x"0A10D8";
    x"091604";
    x"082000";
    x"0740B2";
    x"06C802";
    x"0500C8";
    x"040A43";
    x"030642";
    x"020500";
    x"010808";
    x"00251C";
    

    TCS File:2.56_setup.tcs

    I appreciate the help let me know if you need any other information.

  • Hi Preston, 
    The .tcs file does not give me any issue, I can open it on the LMX2594EVM and see the device lock and output 2560 MHz RFout.
    The .txt file on the other hand gives me issues.

    I have reattached a new .txt file generated from the .tcs file you shared.

    Please try this one and let me know if it works. 

     

    0486.txt
    R112	0x700000
    R111	0x6F0000
    R110	0x6E0000
    R109	0x6D0000
    R108	0x6C0000
    R107	0x6B0000
    R106	0x6A0000
    R105	0x690001
    R104	0x684E20
    R103	0x670000
    R102	0x660000
    R101	0x650011
    R100	0x644E20
    R99	0x633D9B
    R98	0x620000
    R97	0x610888
    R96	0x600000
    R95	0x5F0000
    R94	0x5E0000
    R93	0x5D0000
    R92	0x5C0000
    R91	0x5B0000
    R90	0x5A0000
    R89	0x590000
    R88	0x580000
    R87	0x570000
    R86	0x560000
    R85	0x55E600
    R84	0x540001
    R83	0x530000
    R82	0x523100
    R81	0x510000
    R80	0x506666
    R79	0x4F0026
    R78	0x4E0003
    R77	0x4D0000
    R76	0x4C000C
    R75	0x4B0840
    R74	0x4A0000
    R73	0x49003F
    R72	0x480001
    R71	0x470081
    R70	0x46C350
    R69	0x450000
    R68	0x4403E8
    R67	0x430000
    R66	0x4201F4
    R65	0x410000
    R64	0x401388
    R63	0x3F0000
    R62	0x3E0322
    R61	0x3D00A8
    R60	0x3C0000
    R59	0x3B0001
    R58	0x3A9001
    R57	0x390020
    R56	0x380000
    R55	0x370000
    R54	0x360000
    R53	0x350000
    R52	0x340820
    R51	0x330080
    R50	0x320000
    R49	0x314180
    R48	0x300300
    R47	0x2F0300
    R46	0x2E07FC
    R45	0x2DC0DF
    R44	0x2C1FA3
    R43	0x2B00C8
    R42	0x2A0000
    R41	0x290000
    R40	0x280000
    R39	0x2703E8
    R38	0x260000
    R37	0x250404
    R36	0x240033
    R35	0x230004
    R34	0x220000
    R33	0x211E21
    R32	0x200393
    R31	0x1F43EC
    R30	0x1E318C
    R29	0x1D318C
    R28	0x1C0488
    R27	0x1B0002
    R26	0x1A0DB0
    R25	0x190C2B
    R24	0x18071A
    R23	0x17007C
    R22	0x160001
    R21	0x150401
    R20	0x14E048
    R19	0x1327B7
    R18	0x120064
    R17	0x11012C
    R16	0x100080
    R15	0x0F064F
    R14	0x0E1E70
    R13	0x0D4000
    R12	0x0C5001
    R11	0x0B0018
    R10	0x0A10D8
    R9	0x091604
    R8	0x082000
    R7	0x0740B2
    R6	0x06C802
    R5	0x0500C8
    R4	0x040A43
    R3	0x030642
    R2	0x020500
    R1	0x010808
    R0	0x00251C
    

    Regards, 

    Vicente 

  • Hi Preston,

    Could you also get a better SPI waveform plot? Looks to me that your waveform does not have enough tCE.

  • I agree I think there are some timing issues I need to work out, thanks for pointing that out

  • I tried using the these register values and still had no response, I think the issue had to do with the signals my FPGA is sending out

  • Let us know if adjusting the timing for your SPI fixes the issue.

    Regards,

    Vicente