Other Parts Discussed in Thread: DS90CF384
使用lvds 4-lane 输出rgb888到屏幕 官方自带的文件系统桌面显示颜色不正常,是不是官方使用的是rgb565格式输出的吗?如何切换成rgb888输出
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
能否详细描述一下您的问题?如使用的是TI的板子还是自己的板子? 使用的SDK版本是多少?颜色具体怎么不正常?
请先看一下是不是和下面的帖子一样的问题?
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1117646/am625-incorrect-color-on-display
我现在是LVDS通过DS90CF384AMTDX转成RGB888通过ADV7123变成模拟vga信号送给LCD显示器。
图1是 ti官方demo

图2是kmstest显示内容

下面是我的dts配置:
display {
compatible = "goworld,ili6150h6";
/*
* Note that the OLDI TX 0 transmits the odd set of pixels
* while the OLDI TX 1 transmits the even set. This is a
* fixed configuration in the IP integration and is not
* changeable. The properties, "dual-lvds-odd-pixels" and
* "dual-lvds-even-pixels" have been used to merely
* identify if a Dual Link configuration is required.
* Swapping them will not make any difference.
*/
port@0 {
// dual-lvds-odd-pixels;
lcd_in0: endpoint {
remote-endpoint = <&oldi_out0>;
};
};
// port@1 {
// dual-lvds-even-pixels;
// lcd_in1: endpoint {
// remote-endpoint = <&oldi_out1>;
// };
// };
};
驱动panel-simple.c里面修改添加
static const struct display_timing goworld_ili6150h6_timing = {
.pixelclock = { 65000000, 65000000, 65000000 },
.hactive = { 1024, 1024, 1024 },
.hfront_porch = { 24, 24, 24 },
.hback_porch = { 160, 160, 160 },
.hsync_len = { 136, 136, 136 },
.vactive = { 768, 768, 768 },
.vfront_porch = { 3, 3, 3 },
.vback_porch = { 29, 29, 29 },
.vsync_len = { 6, 6, 6 },
};
static const struct panel_desc goworld_ili6150h6 = {
.timings = &goworld_ili6150h6_timing,
.num_timings = 1,
.bpc = 8,
.size = {
.width = 165,
.height = 105,
},
.delay = {
.enable = 25,
.disable = 25,
},
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
原理图:
BLANK=1 SYNC=0
现在有一点疑问就是ti的DS90CF384手册里面说输出时钟的Falling edge输出rgb数据,但是adv7123是上升沿latch数据,不知道是不是这里问题