Display Interface Unit's Refresh Rate

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Display Interface Unit's Refresh Rate

Jump to solution
694 Views
athershehzad
Contributor III

Dear all,
I want to use Display Interface Unit of T1042. But I want to output my video as 1024x768 RGB output at a refresh rate of 50 Hz.  

I am using sysclk of 100 MHz. 

I would be grateful if someone suggests me about the PLL setting for Platform clock and then recommended settings for Pixel Clock.

(Platform clock must be in between 300-600 MHz and Pixel Clock Must be less than or equal to Platform Clock / 4 )

rr =                                           pix clk                                                   
       (delta_x + fp_h + pw_h + bp_h) x (delta_y + fp_v + pw_v + bp_v)

What will be the values of other parameters to get a refresh rate of 50 Hz ?

Labels (1)
0 Kudos
1 Solution
512 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

I am not sure what do you mean. You already have written correct expression for frame rate. So substitute into it  rr = 50 Hz, delta_x=1024, delta_y=768.  The sync pulse, front porch and back porch widths are defined by used LCD (or any display you can use with the DIU). You should look for these parameters in the display data sheet. Using minimal 1 pixel clock width for these widths we can estimate that pixel clock should be greater than 39.5 MHz.  Because sysclk is 100 MHz then you can get platform frequency 100*n MHz where n=3,4,5,6 - see RCW[SYS_PLL_RAT]. So there may be not exact solution because pixel clock frequency is platform clock frequency divided by integer value.

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
513 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

I am not sure what do you mean. You already have written correct expression for frame rate. So substitute into it  rr = 50 Hz, delta_x=1024, delta_y=768.  The sync pulse, front porch and back porch widths are defined by used LCD (or any display you can use with the DIU). You should look for these parameters in the display data sheet. Using minimal 1 pixel clock width for these widths we can estimate that pixel clock should be greater than 39.5 MHz.  Because sysclk is 100 MHz then you can get platform frequency 100*n MHz where n=3,4,5,6 - see RCW[SYS_PLL_RAT]. So there may be not exact solution because pixel clock frequency is platform clock frequency divided by integer value.

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

512 Views
athershehzad
Contributor III

Thanks Sergui

I have a little confusion about platform clock. 

If I fix my platform clock on this occasion to get my required refresh rate, then how will it effect other interfaces of the processors ?

0 Kudos