This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LCDDMA显示问题



C6748的片子,用LCDDMA的raster做显示,不优化结果是ok的。一旦o-3优化之后,lcd显示就会频繁跳动,屏幕狂闪,求解决方案。现在由于效率问题必须用优化。之前我尝试过打开DDR的cachemar和L2的cache,在debug下显示正常,但是一旦load到nor flash就显示不正常,虽然不狂闪,但是显示是偏移的。

  • 按照下面几点的调整,应该可以解决你的问题:

    •In order to ensure LCDC bandwidth to prevent flicker issue, adjust system and LCDC configuration as below:
    –1. set system configure register MSTPRIx to ensure LCDC is highest priority on SCR, other master lower than LCDC, 0 is highest priority.
    –2. set DDR BPPBR register to 0x20 or less.
    –3. set LCDDMA_CTRL[TH_FIFO_READY] = 5h or 4h, and 

                    LCDDMA_CTRL[BURST_SIZE] = 4  

    –4. set RASTER_CTRL[PLM]= 2(data only) after LCD load palette.