www.ti.com
Operational Details
6.3Operational Details
Synchronization is an important aspect of decoding and presenting data in
Figure 6-2. Program Clock Reference (PCR) Header Format
47 | 15 | 14 | 9 | 8 | 0 |
PCR |
| Reserved |
| PCR extension |
The video port in conjunction with the VIC port uses a combined hardware and software solution to synchronize the transport system time clock (STC) with the clock reference transmitted in the bit stream.
The video port maintains a hardware counter that counts the system time. The counter is driven by system time clock (STCLK) input driven by an external VCXO, controlled by the VIC port.
On reception of a packet, the video port captures a snapshot of the counter. Software uses this timestamp to determine the deviation of the system time clock from the server clock, and drives VCTL output of the VIC port to keep it synchronized.
Any time a packet with a PCR is received, the timestamp for that packet is compared with the PCR value in software. A PLL is implemented in software to synchronize the STCLK with the system time clock. The DSP updates the VIC input register (VICIN) using the output from this algorithm, which in turn drives the VCTL output that controls the system time clock VCXO.
If fis the frequency of PCRs in the incoming bit stream, the interpolation rate R of the VCTL output is given in Equation
Equation
R + kf
Equation
Equation
ku 3 ( (p2(2b * 1)2)3)
Table
Table 6-2. Example Values for Interpolation Rate
β | k | R |
|
9 | 96.0 | 3.8 MHz |
|
10 | 151.0 | 6.0 MHz |
|
11 | 240.0 | 9.6 MHz |
|
12 | 381.0 | 15.2 MHz |
|
13 | 605.0 | 24.2 MHz |
|
14 | 960.0 | 38.4 MHz |
|
15 | 1523.0 | 60.9 MHz |
|
16 | 2418.0 | 96.7 MHz |
|
SPRUEM1 |
| VCXO Interpolated Control Port | 169 |