i.MX6 IPU RGB interface refresh issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX6 IPU RGB interface refresh issue

1,578 次查看
kaangencay
Contributor I

Hello,

I use i.MX6 Solo and 7" TFT LCD (480*800) via RGB888 interface.

I developed IPU driver based on SDK,, and finally it works.

Now, here is my problem, when I change the data in my software buffer, the LCD display screen refreshing is not working properly. When I call the code below, the display screen is like attached image. It updates some of pixels over time. But when I call the code consecutive below , (at least 5-6 times) dipslay is filled with the color. But this time, I can see color/pixel transition.

Do you have any idea for the dipslay to work properly and faster?

case BLUE_COLOR:

for( i=0; i< (IPU_DISP_BUFFER_SIZE * FRAME_BPP ); i++ )
{
if( i%3 == 0 )display_buff[i] = 0x00;
if( i%3 == 1 )display_buff[i] = 0x00;
if( i%3 == 2 )display_buff[i] = 0xFF;
}

break;

标签 (4)
0 项奖励
回复
1 回复

1,442 次查看
igorpadykov
NXP Employee
NXP Employee

Hi  KAAN

one can try to use double buffering to prevent tearing effects,

sect.37.4.2.7 i.MX6DQ Reference Manual shows address

calculation according to parameters stored in the CPMEM.
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复