i.mx28上电时屏幕闪烁问题如何解决

cancel
Showing results for 
Search instead for 
Did you mean: 

i.mx28上电时屏幕闪烁问题如何解决

Jump to solution
822 Views
ctspotgreen
Contributor II

1.i.mx287的板子在上电时屏幕会闪几下,之后就正常了,这个问题该如何解决

2.如何使用MPU模式驱动LCD

Labels (1)
0 Kudos
1 Solution
410 Views
ctspotgreen
Contributor II

解决了,不是由于反复初始化LCD造成的闪屏,而是由于mxsfb_notifier()函数被内核频繁调用引起的,该函数直接return NOTIFY_DONE即可解决

View solution in original post

0 Kudos
11 Replies
410 Views
YixingKong
Senior Contributor IV

Green, is this issue from a customer? If yes, please provide the customer's name.

Thanks,

Yixing

0 Kudos
410 Views
YixingKong
Senior Contributor IV

JackLee1z, could you have a look at this issue?

Thanks,

Yixing

0 Kudos
410 Views
YixingKong
Senior Contributor IV

JackLee1z, could you please help this one or need help?

Thanks,

Yixing

0 Kudos
410 Views
alfred_liu
NXP Employee
NXP Employee

YixingKong

我相信这个是一个软件配置的问题。

不确定是否FSL的开发板也有这个问题。

可以involve software AE 来看一下这个问题。

0 Kudos
410 Views
ctspotgreen
Contributor II

核心板是从周立功那买的,每块板子都这样,我也反映过问题,但是他们说原厂的也这样,没给出具体解决方案

0 Kudos
410 Views
ctspotgreen
Contributor II

包括他们的开发板也是这样的

0 Kudos
410 Views
JackLee1z
NXP Employee
NXP Employee

Please check if the LCD is initialized more than 1 times after bootup. Usually, it is happened in u-boot and kernel. When the LCD is initialized, the display buffer will be erased in common practice. Then, you could see the flicking in the panel.

BR,

Jack

0 Kudos
411 Views
ctspotgreen
Contributor II

解决了,不是由于反复初始化LCD造成的闪屏,而是由于mxsfb_notifier()函数被内核频繁调用引起的,该函数直接return NOTIFY_DONE即可解决

View solution in original post

0 Kudos
410 Views
ctspotgreen
Contributor II

mxsfb.c的probe()函数对于lcd的frame buffer的分配只执行了一次,pentry->init_panel(...)执行了2次,一次是通过enable_controller()调用实现,另一次直接调用实现,但是注释任意一段代码都无法正常初始化LCD,连VSYNC/HSYNC的波形都没有

此外如果menuconfig中Device Driver中取消USB SUPPORT将不再闪屏,也没有找到关于PWM引脚的相关控制代码

410 Views
alfred_liu
NXP Employee
NXP Employee


Hi, Green

why the LCD fliker?

it's backlight issue? PWM issue? or the power issue? or the signals issue?

did you do some measurement?

0 Kudos
410 Views
ctspotgreen
Contributor II

就是在内核启动,企鹅图标出现的时候每次都会闪3下,背光是接死的,不存在PWM的问题,感觉是内核对LCD反复初始化导致帧不连续,从而出现闪烁现象

0 Kudos