i.MX6 IPU RGB interface refresh issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 IPU RGB interface refresh issue

744 Views
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;

Labels (4)
0 Kudos
1 Reply

608 Views
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 Kudos