当前位置:网站首页>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
边栏推荐
- Closure type of rust (difference between FN, fnmut and fnone)
- I / O multiplexing and its related details
- Cygwin64 right click to add menu, and open cygwin64 here
- Gst-launch-1.0 usage notes
- Docker 安裝 Redis
- Install pyshp Library
- Nodejs安装
- 线上怎么确定期货账户安全的?
- Resolves the interface method that allows annotation requests to be written in postman
- Permission management with binary
猜你喜欢

QT reading and writing XML files (including source code + comments)

Jeecg boot microservice architecture

7-21 wrong questions involve knowledge points.

.104History

Multifunctional toolbox wechat applet source code

ArcGIS table to excel exceeds the upper limit, conversion failed

由tcl脚本生成板子对应的vivado工程

C medium? This form of

idea中安装YapiUpload 插件将api接口上传到yapi文档上

Install pyshp Library
随机推荐
Climbing watermelon video URL
Format problems encountered in word typesetting
Excel opens large CSV format data
JD-FreeFuck 京東薅羊毛控制面板 後臺命令執行漏洞
Spark performance optimization guide
Serial port debugging tools cutecom and minicom
14个py小游戏源代码分享第二弹
Cygwin64 right click to add menu, and open cygwin64 here
深度学习经典网络解析目标检测篇(一):R-CNN
JD-FreeFuck 京东薅羊毛控制面板 后台命令执行漏洞
C network related operations
Robocode tutorial 8 - advanced robot
读取excel,int 数字时间转时间
Multi thread crawling Marco Polo network supplier data
Jeecg boot microservice architecture
C medium? This form of
Solution to Chinese garbled code after reg file is imported into the registry
Qt读写XML文件(含源码+注释)
Flash - Middleware
硬核解析Promise对象(这七个必会的常用API和七个关键问题你都了解吗?)