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.

DM8148: Clock Management for AV Synchronization

Hi,

 

We are trying  to figure out what is best clock management option for supporting Audio and Video Synchronization on DM8148. Few scenarios I understand could be:

1)      DEVOSC (20MHz) generate both audio (24.576 and 22.5792MHz) and video reference clocks (27MHz)

2)      DEVOSC (20MHz) for rest of system and audio (24.576 or 22.5792) for AUXOSC and using AUXOSC to generate 27MHz video reference clock

3)      DEVOSC (20MHz) for rest of system and video (27Mhz) for AUXOSC and using this to generate audio reference clock of 24.576, 22.5792.

The idea here is both audio and video clocks are generated from same source (DEVOSC or AUXOSC) rather than one generated from AUXOSC and another one from DEVOSC.

My customer is leaning towards using  an external 27MHz VCXO for ‘AUXOSC’ input on the DM8148, and be able to internally derive the necessary audio reference clock (24.576MHz, 22.5792, etc.) from it. The 27MHz VCXO input should also serve as the reference clock for the internal video plls driving the HDMI interface. As per TRM, the 27MHz VCXO can be controlled externally, as mentioned in the TRM (TPPSS VIC ?).

 Would appreciate any recommendation on this front.

 

Thanks,

Prateek

 

  • More details from customer below –

     

    Attached block diagram illustrating 2 cases we are looking at below.

     

    Based on my design requirement, I have two possible choices:

    1.     Fixed 20MHz input to DEVOSC. The 20MHz is the base clock for most of the internal PLLs to generate the necessary interface clocks. The 27MHz video reference can be derived from 20MHz using one of the internal Video DPLLJ (Low Jitter PLL with pre-divide with Fractional Multiplier), say DPLL_VIDEO0. Software can control the frequency adjustment of DPLL_VIDEO0’s (DCXO) 27MHz, as mentioned in Section 2.3.7 of TRM:

    “The device has options for DCXO/VCXO type feature to adjust video frequency on the fly: Use an off-chip VCXO on AUXOSC_ (can feed clock to AUXOSC XI pad and run AUXOSC in bypass) (controlled by VIC within TPPSS). This provides the most smooth, low jitter solution. In each case, software will control the frequency adjustment (via manipulation of off-chip VCXO through TPPSS VIC pin or other means).”

     

    The DPLL_VIDEO0’s (DCXO) output can then be fed as input to an Audio PLL, Audio_PLL_Clk4 (DPLLJ), which supports PLL dividers are mentioned in Table 2-24. The question  is are the Audio PLL internal dividers capable of generating audio clock frequencies (24.576MHz and 22.5792MHz) from DPLL_VIDEO0’s 27MHz?’. If it could be done, then I have a solution, despite higher jitter due to DCXO. Furthermore, for better jitter performance, I could then use an external 27MHz VCXO connected to AUXOSC instead of DPLL_VIDEO0. As you can see, this case depends on the internal Audio PLL to generate the required audio frequencies from 27MHz. We need more information on the software control of the DCXO .

     

    2.     Alternatively, the frequency adjusted (software controlled DCXO) DPLL_VIDEO0’s 27MHz output is sent out on the CLKOUT pin, Section 2.3.11 of TRM. The CLKOUT can be fed to anExternal Audio PLLwhich generates the necessary audio frequencies. The output of theExternal Audio PLLcan then be input to AUXOSC, which is internally routed to the AUDIO Interfaces. This solution depends on the jitter on CLKOUT pin, which in turn is dependent on the DCXO.

     

    It would have been ideal to use external 27MHz VCXO and external Audio PLL, but there are only 2 clock inputs on the DM8148, and 1 is reserved for 20MHz.

     

    Regarding the audio frequencies, 24.576MHz and 22.5792MHz, used for 48KHz and 44.1KHz respectively, are the common sampling rates associated with video files.

     

    I look forward to your inputs.

     

    Thanks,

    Prateek

     

     

    From: Prateek Bansal [mailto:noreply@e2e.ti.com]
    Sent: Wednesday, February 22, 2012 7:53 PM
    To: int_dm814xx_forum@e2e.ti.com
    Subject: [ INT- DM814x, C6A814x and AM387x Processor Forum] DM8148: Clock Management for AV Synchronization

     

    A Message from the TI E2E™ Community

    Texas Instruments

     

    Hi,

     

    We are trying  to figure out what is best clock management option for supporting Audio and Video Synchronization on DM8148. Few scenarios I understand could be:

    1)      DEVOSC (20MHz) generate both audio (24.576 and 22.5792MHz) and video reference clocks (27MHz)

    2)      DEVOSC (20MHz) for rest of system and audio (24.576 or 22.5792) for AUXOSC and using AUXOSC to generate 27MHz video reference clock

    3)      DEVOSC (20MHz) for rest of system and video (27Mhz) for AUXOSC and using this to generate audio reference clock of 24.576, 22.5792.

    The idea here is both audio and video clocks are generated from same source (DEVOSC or AUXOSC) rather than one generated from AUXOSC and another one from DEVOSC.

    My customer is leaning towards using  an external 27MHz VCXO for ‘AUXOSC’ input on the DM8148, and be able to internally derive the necessary audio reference clock (24.576MHz, 22.5792, etc.) from it. The 27MHz VCXO input should also serve as the reference clock for the internal video plls driving the HDMI interface. As per TRM, the 27MHz VCXO can be controlled externally, as mentioned in the TRM (TPPSS VIC ?).

     Would appreciate any recommendation on this front.

     

    Thanks,

    Prateek

     


    View this message online or reply to this message

    E2E http://www.ti.com/e2e-community