当前位置:网站首页>Imx6 debugging LVDS screen technical notes
Imx6 debugging LVDS screen technical notes
2022-04-23 18:15:00 【Talent、me】
Open the corresponding device tree file
mxcfb1: [email protected]0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";// Display device
interface_pix_fmt = "RGB24";// Format
default_bpp = <32>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};
&ldb {
status = "okay";
dual-mode = <1>;
lvds-[email protected]0 {
reg = <0>;
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
status = "okay";
primary;
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <164000000>;
hactive = <1280>;
vactive = <800>;
hback-porch = <70>;
hfront-porch = <70>;
hsync-len = <20>;
vback-porch = <12>;
vfront-porch = <16>;
vsync-len = <4>;
};
};
};
};
Single channel is : primary
Dual channel :split-mode ( notes : Two device nodes are required :[email protected] and [email protected])
after split-mode After the model ,lvds Of each channel signal pixelclock Become the original general , The horizontal effective length becomes half of the original , therefore , We can draw datasheet Medium pixelclock2=DI Terminal pixelclock,hacktive length 2=DI Terminal hacktive length . Simply put, it's the clock 2,hacktive2.
hback-porch/hfront-porch Equal parameter , Sometimes specifications are given directly , Sometimes you need to configure it yourself , But they all satisfy the following formula :
VP( Total height )= VBP(Vback-porch)+VFP(Vfront-porch)+VSPW(vsync-len)+VDP( Effective resolution )
VP( Total width )= HBP(Hback-porch)+HFP(Hfront-porch)+HSPW(Hsync-len)+HDP( Effective resolution )
VSPW(min)< VSPW<VBP
HSPW(min)<HSPW<HBP
Open the specification file on the screen
Find out , Configure the corresponding parameters of the device tree according to the content
Problem analysis
1、 If the ldb node , When starting, the screen doesn't even have a backlight .
analysis : Just look at the schematic diagram if necessary , Whether the enable pin is set to control the screen , If there is , It needs to be set to high level in the drive .
2、 If the back is bright , It doesn't show .
analysis : May be hback-porch And other configuration parameters are not configured correctly .
3. If a picture can appear , But the picture is constantly shaking .
analysis : It's the clock , You can try to turn the clock up , See if there is any improvement .
版权声明
本文为[Talent、me]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210610471641.html
边栏推荐
- Rust: the output information of println is displayed during the unit test
- Crack sliding verification code
- Solving the problem of displaying too many unique values in ArcGIS partition statistics failed
- .104History
- Resolve the error Max virtual memory areas VM max_ map_ count [65530] is too low, increase to at least [262144]
- Feign requests the log to be printed uniformly
- re正則錶達式
- WIN1 remote "this may be due to credssp encryption Oracle correction" solution
- I / O multiplexing and its related details
- 解决允许在postman中写入注释请求接口方法
猜你喜欢
[UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)
JD-FreeFuck 京東薅羊毛控制面板 後臺命令執行漏洞
Notepad + + replaces tabs with spaces
Multifunctional toolbox wechat applet source code
函数递归以及趣味问题的解决
Nodejs installation
positioner
Hard core parsing promise object (do you know these seven common APIs and seven key questions?)
STM32学习记录0008——GPIO那些事1
Matlab tips (6) comparison of seven filtering methods
随机推荐
【ACM】70. 爬楼梯
Robocode Tutorial 4 - robocode's game physics
Quantexa CDI(场景决策智能)Syneo平台介绍
Spark performance optimization guide
Scikit learn sklearn 0.18 official document Chinese version
Jeecg boot microservice architecture
Calculation of fishing net road density
.104History
Software test summary
Docker 安装 Redis
Climbing watermelon video URL
ArcGIS table to excel exceeds the upper limit, conversion failed
Jenkspy package installation
Feign requests the log to be printed uniformly
Multi thread safe reference arc of rust
【ACM】376. 摆动序列
Visualization of residential house prices
re正则表达式
14个py小游戏源代码分享第二弹
MATLAB小技巧(6)七种滤波方法比较