UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Highlighted
Contributor
Contributor
279 次查看
注册日期: ‎04-20-2018

显示屏刷新问题

微信图片_20190425113336.jpg我使用FPGA调显示屏的时候,出现不稳定的黑条?请问这个现象是怎么造成的?

0 项奖励
9 条回复9
Moderator
Moderator
258 次查看
注册日期: ‎08-01-2007

回复: 显示屏刷新问题

全是你自己的逻辑? 是什么接口接到显示器? 用到了xilinx的IP?

0 项奖励
Contributor
Contributor
250 次查看
注册日期: ‎04-20-2018

回复: 显示屏刷新问题

我是在ADI例程上单独剥离出HDMI显示部分使用的,都是封装好的IP。用SDK调试。

逻辑肯定没问题,因为试其他屏幕是好的,我怀疑是我设置显示的分辨率参数不对,像这样:

static const VideoMode VMODE_1920x1080 = {
.label = "1920x1080@60Hz",
.width = 1920,
.height = 1080,
.hps = 2008,
.hpe = 2052,
.hmax = 2199,
.hpol = 1,
.vps = 1084,
.vpe = 1089,
.vmax = 1124,
.vpol = 1,
.freq = 150 //148.57 is close enough
};

这个问题我估计是场消隐的参数没给对,您帮我分析一下,我应该怎么修改?

0 项奖励
Scholar watari
Scholar
240 次查看
注册日期: ‎06-16-2013

回复: 显示屏刷新问题

Hi @geyuer123 

 

Would you make sure video format and setup/hold timing error ?

 

It seems that there are I mentioned matter.

 

Best regards,

0 项奖励
Contributor
Contributor
218 次查看
注册日期: ‎04-20-2018

回复: 显示屏刷新问题

If the setup/hold time is not satisfied, I should be able to lower the pixel clock frequency to resolve it.However, when I slow down the pixel clock rate, the display won't light up

0 项奖励
Scholar watari
Scholar
166 次查看
注册日期: ‎06-16-2013

回复: 显示屏刷新问题

Hi @geyuer123 

 

I suggest you to make sure video format. Especially color format.

Would you try it ?

 

Best regards,

0 项奖励
Contributor
Contributor
112 次查看
注册日期: ‎04-20-2018

回复: 显示屏刷新问题

hello,I change the picture  ,ans  the same problem is appeared.Except for the refresh problem on the right, the rest of the image display is normal.

微信图片编辑_20190427111004.jpg
0 项奖励
Contributor
Contributor
111 次查看
注册日期: ‎04-20-2018

回复: 显示屏刷新问题

我的屏幕参数见图“屏幕参数”

 

char label[64]; /* Label describing the resolution */
u32 width; /*Width of the active video frame*/
u32 height; /*Height of the active video frame*/
u32 hps; /*Start time of Horizontal sync pulse, in pixel clocks (active width + H. front porch)*/
u32 hpe; /*End time of Horizontal sync pulse, in pixel clocks (active width + H. front porch + H. sync width)*/
u32 hmax; /*Total number of pixel clocks per line (active width + H. front porch + H. sync width + H. back porch) */
u32 hpol; /*hsync pulse polarity*/
u32 vps; /*Start time of Vertical sync pulse, in lines (active height + V. front porch)*/
u32 vpe; /*End time of Vertical sync pulse, in lines (active height + V. front porch + V. sync width)*/
u32 vmax; /*Total number of lines per frame (active height + V. front porch + V. sync width + V. back porch) */
u32 vpol; /*vsync pulse polarity*/
double freq; /*Pixel Clock frequency*/

 

 

程序中设置的参数如下:

static const VideoMode VMODE_CUSTMER_mipi_vertical = {
.label = "720x1280@60Hz",
.width =720,
.height = 1280,
.hps = 736,//736
.hpe = 741,//741
.hmax = 752,//752
.hpol = 0,
.vps = 1296,
.vpe = 1301,
.vmax = 1312,
.vpol = 0,
.freq = 59.2
};

 

我是不是参数哪里理解错了?设置错误?

屏幕参数.png
0 项奖励
Moderator
Moderator
59 次查看
注册日期: ‎08-01-2007

回复: 显示屏刷新问题

完全不清楚你用的什么设计? 既然你能确保逻辑没有问题, 那硬件呢? 你自己的板卡?

0 项奖励
Scholar watari
Scholar
34 次查看
注册日期: ‎06-16-2013

回复: 显示屏刷新问题

Hi @geyuer123 

 

Would you make sure video format or color space ? (not video timing)

 

Best regards

0 项奖励