Hi,
we have implemented an LMH1983 so we can GenLock to 720p50.
After power up send it several commands to set registers:
0x05 | 0x0C | #5 DEVICE CONTROL | Reset[7] Pwrdwn[6] AutoFormat[5] PLL1_mode[4,3] LOR mode[2] Force_148[1] OE[0] |
0x07 | 0x06 | #7 PLL2 FORMAT | P.23 720p50 = code 6 |
0x09 | 0x02 | #9 OUTPUT MODE | P.34 Table 4 Crosspoint Selection = 0010 ; CLKout3 & CLKout2 = PLL2; PLL3 disabled |
0x0A | 0xCD | #10 OUTPUT BUFFER CONTROL | P.27 Enable CLKout2, CLKout1, Fout2 |
0x1B | 0x06 | #27 LOSS OF REFERENCE THRESHOLD | 6 = 7 Hsyncs missed section 8.3.8 p17 |
0x1C | 0x06 | #28 LOSS OF LOCK THRESHOLD | 6 section 8.3.6 p16 |
0x1D | 0xDD | #29 MASK CONTROL | PLL2 & TOF2 enabled |
0x20 | 0x06 | #32 INPUT FORMAT | P.23 720p50 = code 6 |
0x2E | 0x10 | #46 PLL2 ADVANCED CONTROL | Divide by 2; output enabled |
0x31 | 0x08 | #49 PLL3 ADVANCED CONTROL | PLL3_Disable[3] |
0x34 | 0x28 | #52 PLL4 ADVANCED CONTROL | PLL4_Disable[3] |
0x05 | 0x0D | #5 DEVICE CONTROL | Reset[7] Pwrdwn[6] AutoFormat[5] PLL1_mode[4,3] LOR mode[2] Force_148[1] OE[0] |
We only need to operate from a 720p50 source at present and so have chosen to disable auto-detect.
We only need PLL2 outputting 74.25MHz to drive our HD-SDI Tx, hence the divide by 2 setting on PLL2.
Genlock disconnected:
PLL2 = 74.25MHz
0x00 reads 0x0A
0x01 reads 0xD0 (wrong format)
0x02 reads 0x20 (PLL2 locked)
Genlock connected:
0x00 reads 0x04
0x01 reads 0xC0 (correct format)
0x02 reads 0x30 (PLL2 + PLL1 locked)
PLL2= 74.2496MHz
If I set 0x05 = 0x09 then it does hold 74.2496MHz when I remove the cable and changes back to 74.25MHz when I set 0x05 = 0x0D
Do I need to manually adjust something else, perhaps 0x27 or 0x28 and if so will this be required per PCB in production?
I default design is to have Cs=1uF, Cp=47uF & Rp=17k4 but this is for NTSC (1716 clks/hsync).
I would like to calculate new values for 720p50(720 clks/hsync) but the datasheet formulas section 8.3.2 are conflicting for BW, the first formula includes 2 x PI() but second formula (5+6) omits it, which is correct?
BTW, when I enable auto-detect it does recognise 720p50 input as it sets 0x20=0x06.
Using a BlackMagicDesin Sync generator.
Best regards,
Paul
0x05 | 0x0C | #5 DEVICE CONTROL | Reset[7] Pwrdwn[6] AutoFormat[5] PLL1_mode[4,3] LOR mode[2] Force_148[1] OE[0] | |
0x07 | 0x06 | #7 PLL2 FORMAT | P.23 720p50 = code 6 | |
0x09 | 0x02 | #9 OUTPUT MODE | P.34 Table 4 Crosspoint Selection = 0010 ; CLKout3 & CLKout2 = PLL2; PLL3 disabled | |
0x0A | 0xCD | #10 OUTPUT BUFFER CONTROL | P.27 Enable CLKout2, CLKout1, Fout2 | |
0x1B | 0x06 | #27 LOSS OF REFERENCE THRESHOLD | 6 = 7 Hsyncs missed section 8.3.8 p17 | |
0x1C | 0x06 | #28 LOSS OF LOCK THRESHOLD | 6 section 8.3.6 p16 | |
0x1D | 0xDD | #29 MASK CONTROL | PLL2 & TOF2 enabled | |
0x20 | 0x06 | #32 INPUT FORMAT | P.23 720p50 = code 6 | |
0x2E | 0x10 | #46 PLL2 ADVANCED CONTROL | Divide by 2; output enabled | |
0x31 | 0x08 | #49 PLL3 ADVANCED CONTROL | PLL3_Disable[3] | |
0x34 | 0x28 | #52 PLL4 ADVANCED CONTROL | PLL4_Disable[3] | |
0x05 | 0x0D | #5 DEVICE CONTROL | Reset[7] Pwrdwn[6] AutoFormat[5] PLL1_mode[4,3] LOR mode[2] Force_148[1] OE[0] |