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.

DM365 VPFE: PCLK question

Hi,

Would you pls help  to confirm if below understanding is correct?

If VPSS_CLK_CTRL.PCLK_INV =0, the ISIF captures on the rising of edge of the PCLK signal.

If VPSS_CLK_CTRL.PCLK_INV =1, the ISIF captures on the falling edge of the PCLK signal.

  • I think it is correct. Although the datasheet does not make it crsytal clear, in a page it says:

    "PCLK can be inverted for negative edge support, selectable by the PCLK_INV bit of VPSS_CLK_CTRL

    register"

     

    So , negetive edge  = falling edge is what I would think.

     

    Thx,

    -Manju

  • hi,Manju

    Would you tell me the literature number who says things about PCLK's edge setting?I was about to double check that point. 

  • http://www.ti.com/lit/ug/sprufg9c/sprufg9c.pdf

     

    page 60.

     

     

    The VPBE clock control is in the System module in the VPSS_CLK_CTRL register. The various modes

    shown in Figure 34 are described here.

    • VPSS_MUXSEL = 0 or 1: Both the VENC and DAC get their clock from one of the following three

    sources: PLLC1SYSCLK6 clock, PLLC2SYSCLK5 clock, or MXI crystal input.

    • VPSS_MUXSEL = 2: EXTCLK mode - Both the DAC and VENC receive the external input clock via

    the EXTCLK port.

    • VPSS_MUXSEL = 3: PCLK mode - Both the DAC and VENC receive the PCLK. When PCLK

    frequency is 27 MHz or 74.25 MHz, the DAC clock can be enabled to get SDTV, HDTV video output.

    PCLK can be inverted for negative edge support, selectable by the PCLK_INV bit of VPSS_CLK_CTRL

    register