用了MQ-r的板子,接上LVDS屏幕
把LCD的引脚引出来,淘宝买了一个40Pin排线,把2.54mm针的距离引出来
然后查看原理图,查看board.dts,查看引脚,接上
由于LVDS屏幕需要一个正负电压,查看规格书,
VGH 18V,VGL -10V,手头没有,于是淘宝找了一个LVDS电压转接板,把负电压,正电压,升压得到合适的电压,下面是升级板
接上屏幕,另外一边接转接板。修改dts文件如下
&lcd0 {
lcd_used = <1>;
lcd_driver_name = "default_lcd";
lcd_if = <3>;
lcd_x = <1024>;
lcd_y = <600>;
lcd_width = <150>;
lcd_height = <94>;
lcd_dclk_freq = <51>;
lcd_pwm_used = <0>;
lcd_hbp = <80>;
lcd_ht = <1344>;
lcd_hspw = <20>;
lcd_vbp = <10>;
lcd_vt = <635>;
lcd_vspw = <10>;
lcd_lvds_if = <0>;
lcd_lvds_colordepth = <1>;
lcd_lvds_mode = <1>;
lcd_frm = <1>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_cmap_en = <0>;
pinctrl-0 = <&lvds0_pins_a>;
pinctrl-1 = <&lvds0_pins_b>;
};
最后上电,成功点亮
完成,走了很多弯路,因为对LVDS不了解,淘宝买东西耽搁几天时间。大家可以对照着来,如果用到LVDS的话。