Friday, April 20th 2018, 3:14am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Wzh-YANG

Beginner

Date of registration: Jun 24th 2016

Posts: 1

1

Monday, June 27th 2016, 11:10am

Display flicker while displaying the image

We are working on new design about CPU card which include core cortex M3 LPC1850FET180.

We meet a problem.

Description of ours system
THE CPU is composed of :
1 Microcontrôler : LPC1850FET180
1 Spifi flash : S25FL032P (4 M) (code)
1 SDRAM : MT48LC4M16A2P_6A (8 M)
1 Flash parallel 32Mb: SST39VF3201B-70
Driving of display LCD TFT 5,7” (640 X 480)
Display memory LCD 0x28000000-0x28258000 (SDRAM)
Graphics library emWin SEGGER V.530 for NXP
We use double buffer to avoid Flickering effects.

But display flicker while displaying the image(GUI_DrawBitmap(&bmCB01, 0, 0)) ?

code:
#define COLOR_CONVERSION GUICC_888
#define DISPLAY_DRIVER GUIDRV_LIN_OSY_32
#define NUM_BUFFERS 2
#define NUM_VSCREENS 1

GUI_Init();
WM_MULTIBUF_Enable(1);
while(1){
GUI_MULTIBUF_Begin();
GUI_DrawBitmap(&bmCB01, 0, 0);// LCD flicker !
GUI_MULTIBUF_End();
GUI_Delay(2000);// LCD ok
GUI_MULTIBUF_Begin();
GUI_DrawBitmap(&bmCB02, 0, 0);//LCD flicker
GUI_MULTIBUF_End();
GUI_Delay(2000);//LCD ok
}

Kindly give any suggestion.

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 561

2

Friday, July 1st 2016, 5:11pm

Hi,

not sure what causes the flickering.

Yuu can try to increase NUM_BUFFERS to 3.

Further you should check if the buffers are getting switched properly.

Regards,
Sven