天天速看:RK3588-MIPI屏幕調(diào)試筆記:RK3588-MIPI-DSI之屏參配置
2023-06-11 06:24:33 | 來源:jf_30051736 |
2023-06-11 06:24:33 | 來源:jf_30051736 |
(資料圖)
屏參對應的dts配置:
disp_timings1: display-timings { native-mode = < &dsi1_timing0 >;dsi1_timing0: timing0 {clock-frequency = < 159400000 >; hactive = < 1200 >;vactive = < 1920 >;hfront-porch = < 80 >;hsync-len = < 1 >;hback-porch = < 60 >;vfront-porch = < 35 >;vsync-len = < 1 >;vback-porch = < 25 >;hsync-active = < 0 >;vsync-active = < 0 >;de-active = < 0 >;pixelclk-active = < 1 >;};};
解析:
Hactive:水平有效像素
Vactive:垂直有效像素
水平總周期 Htotal = Hactive + + hfront-porch +hsync-len + hback-porch
垂直總周期 Vtotal = Vactive + + vfront-porch + vsync-len + vback-porch
clock-frequency: 提供給lcd的時鐘頻率,一般屏的規(guī)格書都會給出, 也可以通過計算得到。
clock-frequency = 水平總周期 * 垂直總周期 * 幀率:
clock-frequency = (hactive + hfront + hsync-len + hback)* (vactive + vfront + vsync-len + vback) * fps
名詞解析
hactive: 橫向分辨率。vactive: 縱向分辨率。hsync-len 行同步回掃時間。hback-porn: 行同步后肩時間。hfront-porn: 行同步前肩時間。vsync-len: 幀同步回掃時間。vback-porch: 幀同步后肩時間。vfront-proch: 幀同步前肩時間。de-active: DE 信號極性。hysnc-active: 行同步信號極性。vsync-active: 幀同步信號極性hback-porch/hfront-porch/hsync-len:水平同步信號vback-porch/vfront-porch/vsync-len:垂直同步信號
審核編輯:湯梓紅