CLUT8 Usage and LCD toggling for reduce RAM

HI,

I was using RGB565 earlier for displaying data and my RAM consumption was 580KB for 480x272 display. I want to limit my Graphics RAM to 300KB to 400KB Max, so i started using CLUT8,8bpp. I am using event as well. But i am getting window flashing for each update of timer of 1 second.

This issue was not happening in RGB565, 16 bpp. How to rectify this issue in CLUT8? Attached my program.

https://drive.google.com/file/d/0B2lqBLhAeTdLVmFjT2NtcW16RGc/view

Thanks,

Linto

DTDS

S7_SK_gx_clut8 (2).zip

Parents
  • Hi Linto,

    I suggest enabling 2D Drawing Engine (D/AVE). You should set 'Yes' in GUIX on gx instance, add TES D/AVE 2D instance below the GUIX Port on sf_el_gx module and set an interrupt priority to an enabled level in D/AVE 2D Port module. Moreover, you should tell GUIX Studio a drawing engine will be used: Configure > Project/Displays > Advanced Settings > Enable 2D Drawing Engine, then save and regenerate all output files.

    Regards,
    adboc
  • HI Adboc,

    I had enabled 2D drawing Engine(D/AVE) but the program is getting hang at below location in sf_el_gx.c

    p_ctrl->p_display_instance->p_api->clut(p_ctrl->p_display_instance->p_ctrl, &clut_cfg, DISPLAY_FRAME_LAYER_1);

    Regards,
    Linto
Reply Children