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.

LMK05318B: holdover not working

Part Number: LMK05318B

Tool/software:

Hi Experts, I have the LMK05318B on custom board and it works very well.
XO OCXO 24.576MHz
Ref1 GPS PPS
Ref2 IEEE1588 PPS optional
out1 25MHz
out2 10MHz
out7 PPS
When Ref1 is validated the output starts folowing. In one minute LOFL_DPLL goes low and after a while we have also DPLL phase lock, LOPL_DPLL low.
Tuning word history update HIST bit flashes periodic. R14 now is mostly 0x00 except for HIST bit.

I have adjusted the OCXO +0.1 PPM by purpose to see the difference between holdover and freerun.
But when i interrupt gps reception the LMK always falls to XO ppm offset instead of calculated averaged historical offset.
Expected the LMK holds the locked freq offset as long as no ref input in valid.
What am i doing wrong?

R185    0x00B9F5
R186    0x00BA01
R187    0x00BB00
R188    0x00BC00
R189    0x00BD00
R190    0x00BE00

R252    0x00FC2D

R0	0x000010
R1	0x00010B
R2	0x000235
R3	0x000332
R4	0x000404
R5	0x00050E
R6	0x000617
R7	0x00078E
R8	0x000802
R10	0x000AC8
R11	0x000B00
R12	0x000C13
R13	0x000D08
R14	0x000E00
R15	0x000F00
R16	0x001000
R17	0x00111D
R18	0x0012FF
R19	0x001308
R20	0x001420
R21	0x001501
R22	0x001600
R23	0x001755
R24	0x001855
R25	0x001901
R26	0x001A00
R27	0x001B00
R28	0x001C01
R29	0x001D10
R30	0x001E40
R32	0x002044
R35	0x002300
R36	0x002403
R37	0x002500
R38	0x002600
R39	0x002702
R40	0x00280E
R41	0x002900
R42	0x002A11
R43	0x002BC2
R44	0x002C00
R45	0x002D08
R46	0x002E88
R47	0x002F07
R48	0x003050
R49	0x00314A
R50	0x00321C
R51	0x003310
R52	0x003410
R53	0x003563
R54	0x003610
R55	0x003700
R56	0x0038F9
R57	0x003900
R58	0x003AF9
R59	0x003B00
R60	0x003C0F
R61	0x003D00
R62	0x003E0F
R63	0x003F3E
R64	0x004095
R65	0x004102
R66	0x0042F8
R67	0x0043FF
R68	0x004405
R69	0x004500
R70	0x004600
R71	0x004700
R72	0x004833
R73	0x004900
R74	0x004A00
R75	0x004B00
R76	0x004C00
R77	0x004D0F
R78	0x004E00
R79	0x004F11
R80	0x005080
R81	0x00510A
R82	0x005200
R83	0x00530E
R84	0x005466
R85	0x005567
R86	0x005600
R87	0x00571E
R88	0x005884
R89	0x005981
R90	0x005A00
R91	0x005B14
R92	0x005C00
R93	0x005D0E
R94	0x005E66
R95	0x005F67
R96	0x006000
R97	0x00611E
R98	0x006284
R99	0x006381
R100	0x006429
R101	0x006501
R102	0x006644
R103	0x00670F
R104	0x00681F
R105	0x006905
R106	0x006A00
R107	0x006B64
R108	0x006C00
R109	0x006D32
R110	0x006EDC
R111	0x006FD5
R112	0x007055
R113	0x007155
R114	0x007255
R115	0x007303
R116	0x007401
R117	0x007500
R118	0x007600
R119	0x007700
R120	0x007800
R121	0x007900
R122	0x007A00
R123	0x007B28
R124	0x007C00
R125	0x007D11
R126	0x007E79
R127	0x007F7A
R128	0x008000
R129	0x008101
R130	0x008200
R131	0x008301
R132	0x008401
R133	0x008577
R134	0x008601
R135	0x00871A
R136	0x008880
R137	0x008900
R138	0x008A00
R139	0x008B03
R140	0x008C02
R141	0x008D00
R142	0x008E01
R143	0x008F01
R144	0x009077
R145	0x009101
R146	0x009289
R147	0x009320
R149	0x00950D
R150	0x009600
R151	0x009701
R152	0x00980D
R153	0x009929
R154	0x009A24
R155	0x009B32
R156	0x009C01
R157	0x009D00
R158	0x009E00
R159	0x009F00
R160	0x00A0FC
R161	0x00A132
R162	0x00A200
R164	0x00A400
R165	0x00A500
R167	0x00A701
R178	0x00B200
R180	0x00B400
R181	0x00B500
R182	0x00B600
R183	0x00B700
R184	0x00B800
R185	0x00B9F5
R186	0x00BA01
R187	0x00BB00
R188	0x00BC00
R189	0x00BD00
R190	0x00BE00
R191	0x00BF00
R192	0x00C0D0
R193	0x00C118
R194	0x00C218
R195	0x00C300
R196	0x00C400
R197	0x00C51D
R198	0x00C600
R199	0x00C700
R200	0x00C81D
R201	0x00C900
R202	0x00CA00
R203	0x00CB00
R204	0x00CC15
R205	0x00CD00
R206	0x00CE00
R207	0x00CF15
R208	0x00D000
R209	0x00D114
R210	0x00D200
R211	0x00D316
R212	0x00D400
R213	0x00D514
R214	0x00D600
R215	0x00D716
R216	0x00D800
R217	0x00D900
R218	0x00DA00
R219	0x00DB19
R220	0x00DC6E
R221	0x00DD00
R222	0x00DE03
R223	0x00DF0D
R224	0x00E047
R225	0x00E100
R226	0x00E200
R227	0x00E319
R228	0x00E46E
R229	0x00E500
R230	0x00E603
R231	0x00E70D
R232	0x00E847
R233	0x00E910
R234	0x00EA10
R235	0x00EB02
R236	0x00ECEE
R237	0x00ED00
R238	0x00EE00
R239	0x00EF02
R240	0x00F0EE
R241	0x00F100
R242	0x00F200
R243	0x00F33F
R244	0x00F43F
R249	0x00F921
R250	0x00FA00
R251	0x00FB23
R252	0x00FC2D
R253	0x00FD00
R254	0x00FE00
R255	0x00FF00
R256	0x010000
R257	0x010101
R258	0x010200
R259	0x010301
R260	0x010402
R261	0x010580
R262	0x010601
R263	0x01072A
R264	0x010805
R265	0x0109F2
R266	0x010A00
R267	0x010BA0
R268	0x010C04
R269	0x010D00
R270	0x010E02
R271	0x010FB1
R272	0x011000
R273	0x011100
R274	0x011200
R275	0x011316
R276	0x011416
R277	0x011516
R278	0x011600
R279	0x011700
R280	0x011800
R281	0x011900
R282	0x011A00
R283	0x011B00
R284	0x011C1E
R285	0x011D1E
R286	0x011E00
R287	0x011F00
R288	0x012000
R289	0x012100
R290	0x012203
R291	0x012322
R292	0x012401
R293	0x012501
R294	0x012600
R295	0x012724
R296	0x01280A
R297	0x01290A
R298	0x012A0A
R299	0x012B01
R300	0x012C00
R301	0x012D1C
R302	0x012E1E
R303	0x012F01
R304	0x01300F
R305	0x013104
R306	0x013261
R307	0x0133F8
R308	0x013443
R309	0x0135C3
R310	0x0136C3
R311	0x0137C3
R312	0x0138C3
R313	0x0139C3
R314	0x013AFF
R315	0x013BFF
R316	0x013CFF
R317	0x013DFF
R318	0x013EFF
R319	0x013F03
R320	0x014000
R321	0x01410A
R322	0x014200
R323	0x014300
R324	0x014400
R325	0x014501
R326	0x014606
R327	0x014735
R328	0x014875
R329	0x01490B
R330	0x014A00
R331	0x014B64
R332	0x014C00
R333	0x014D3D
R334	0x014E09
R335	0x014F00
R336	0x015006
R337	0x015135
R338	0x015275
R339	0x01530B
R340	0x015400
R341	0x015500
R342	0x015600
R343	0x015700
R344	0x015800
R345	0x015900
R346	0x015A03
R347	0x015B00
R348	0x015C00
R349	0x015D00
R350	0x015E00
R351	0x015F01
R352	0x016000
R357	0x016528
R367	0x016F00
R411	0x019B0C

  • Hi Octo, 

    Just to clarify, are you setting the OCXO to +0.1ppm during the whole duration of this test? If I'm understanding correctly on the output of the LMK05318B you're seeing:

    Initial startup (LOFL = 1): +0.1 ppm

    Around a minute later (LOFL = 0): 0 ppm (locked to 1pps input)

    History accumulation: 0 ppm (locked to 1pps input)

    1pps reference is lost (LOFL = 1): 0.1 ppm (holdover)

    It looks like you have intermediate updates enabled so during holdover the device should automatically use the latest free run word. If intermediate updates were not enabled, you would generally need to wait for at least 3 Tavg periods plus the delay timer to ensure that the history is valid (see Figure 9-20 in the datasheet). Do you see any difference with different intermediate update intervals? I can also see if I can replicate this behavior on an EVM early next week.  

    Regards, 

    Connor 

  • Indeed the OCXO +0.1ppm during the whole duration of this test and your description is correct.  That's what i am seeing.

    The intermediate updates enabled and also tested with different intervals. Same result.

    Awaiting for the EVM test

  • Makes sense, thanks for the clarification. I'll go ahead and test this out on an EVM and see if I can replicate this behavior. I should be able to get back to you sometime tomorrow. 

    Regards, 

    Conor 

  • thanks a lot so far.
    In the meantime I am assembling another board to rule out a physical defect. You never know.

  • First time i brought up the LMK on my board, i initialized it with wrong values or random values, due to byte vs word i2c bus function. Had to wrote own programmer using HexRegisterValues output from Tics Pro. Power on reset and softreset didn't help.
    After that i resetted all registers (R0 counting to R512) with zero and configured using HexRegisterValues file.
    Is it possible that i overwrote some factory calibration or function routing/disablement?

  • Hi Octo, 

    My apologies for the delayed response, for some reason this thread had gotten marked as closed so I didn't see it was still ongoing. I wasn't able to replicate the error you described an an EVM. If you initialized the device with random values, it is possible that some trim settings got overwritten, but I think this would be unlikely to cause long term issues if you didn't program the EEPROM with an invalid config. Do you see the same behavior on the new board? 

    Regards, 

    Connor

  • Thank you for your response. I reworked the board with a new LMK chip so we can forget the eventually overwritten registers in eeprom.
    Unfortunately it didn't help. Got again 1PPS, 10MHz and 25MHz output freq/phase locked in a few minutes to the GPS reference.
    But after interrupting the antenna signal the LMK seems to not use the history but produces with OCXO's center frequency.

  • Hi Octo,

    Jumping in here a bit...I noticed intermediate updates were discussed. Can you please try repeating the test with intermediate updates disabled? R185 (0xB9)= 0x05

    Can you also please specify which history intermediate interval values you have tested?

    Regards,

    Jennifer

  • wow, it is working, thank you!

    R185 DPLL_REF_HISTCTL made the difference

    tested with Tics Pro default minimum required interval and (i think) 4k seconds. Tested so many different settings but apparently without intermediate updates disabled.