当前位置:网站首页>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
边栏推荐
- xlsxwriter. exceptions. Filecreateerror: [errno 13] permission denied
- Realization of consumer gray scale
- Pointers in rust: box, RC, cell, refcell
- Log4j2 cross thread print traceid
- 消费者灰度实现思路
- Process management command
- 串口调试工具cutecom和minicom
- 14 py games source code share the second bullet
- Auto. JS custom dialog box
- Robocode tutorial 8 - advanced robot
猜你喜欢

Resolves the interface method that allows annotation requests to be written in postman
![[UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)](/img/ae/cbfc01fbcc816915b1794a9d70247a.png)
[UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)

re正則錶達式

WIN1 remote "this may be due to credssp encryption Oracle correction" solution

Robocode tutorial 5 - enemy class

Solution to Chinese garbled code after reg file is imported into the registry

函数递归以及趣味问题的解决

STM32学习记录0008——GPIO那些事1

Robocode tutorial 3 - Robo machine analysis

【ACM】376. 摆动序列
随机推荐
Dock installation redis
[UDS unified diagnostic service] IV. typical diagnostic service (4) - online programming function unit (0x34-0x38)
Win1远程出现“这可能是由于credssp加密oracle修正”解决办法
Rust: the output information of println is displayed during the unit test
【ACM】70. climb stairs
MATLAB从入门到精通(二)
Rewrite four functions such as StrCmp in C language
Cutting permission of logrotate file
Pointers in rust: box, RC, cell, refcell
idea中安装YapiUpload 插件将api接口上传到yapi文档上
Using transmittablethreadlocal to realize parameter cross thread transmission
Svn simple operation command
Robocode tutorial 5 - enemy class
WIN1 remote "this may be due to credssp encryption Oracle correction" solution
Secure credit
RC smart pointer in rust
Analysez l'objet promise avec le noyau dur (Connaissez - vous les sept API communes obligatoires et les sept questions clés?)
Visualization of residential house prices
STM32 learning record 0008 - GPIO things 1
Basic usage of crawler requests