MPC5645S DCU3 display 8bpp images from external flash

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

MPC5645S DCU3 display 8bpp images from external flash

605 Views
khadgaryu
Contributor II

   I am working on MPC5645S. I meed to display 8bpp images which stored in the external flash, and the QSPI is parallel mode. When I display two or more imges on the panel, the content is wrong. Only one image that can be display successfully. I do ont know what reason can cause the error.

0 Kudos
2 Replies

480 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

For the 8bit encoding the width of the layer must be a multiple of 4. Do your layer setting fulfill this?

BR, Petr

0 Kudos

480 Views
khadgaryu
Contributor II

Hi Petr,

       Thanks for your help!

       The picture width is 76 pixels, and high is 335 pixels.

       And I find the reason that cause the error. My pictures are stored in the external flash, DCU3 will read them directily. The focus, only when the pciture encoding address is a multiple of 0x10, the picture can be display successfully.

       For example, pciture 1 address is 0x00000000, pciture 2 address is 0x00001000, picture3 address is 0x000010ff. In this case, picture 1 and 2 display normally, and picture 3 display abnormally. 

       RGB565 and RGB888 have no the error.

       If 8bpp encoding stored in internal flash(code flash), the error is missing too.

       I do not know what causes this phenomenon.

0 Kudos