how is dsi hs clk calculated

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

how is dsi hs clk calculated

1,235 Views
gmoore18
Contributor I

Hello, so I have a display that's running at 60hz It's dsi-hs-clk = 477MHz by manufacturer and i'm curious how it was calculated

I've found following formulas that calculate the hs clk:

h_active total - h_active + HBP + HFP + HSW
v_active total - v_active + VBP + VFP + VSW
PCLK (disp-pll-clk & disp-vclk) = fps * h_active total * v_active total (output in Hz)
Pixel time = 1/PCLK (output in seconds)

dsi_hs_clk = (PCLK * bpp)/lane_number

manufacturer set PCLK is 64MHz for 60 fps

bpp is 32, 4 lanes

so 64x32/4=512MHz

why doesn't it get accurate value? Are the formulas wrong?

also, what could ECLK be (it's set to 70MHz)

0 Kudos
Reply
2 Replies

1,220 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply

1,201 Views
gmoore18
Contributor I

hello it is the same formula as i used (bit_clk = pixel clock * bits per pixel / number of lanes)

 

so bit_clk = 64 * 32 / 4 = 512MHz

 

but it's set to 477 by the manufacturer. how can the display run at a lower rate?

0 Kudos
Reply