Thursday, May 24th 2018, 2:07pm UTC+2

You are not logged in.

  • Login
  • Register

Reply

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.

Message information
Message
Settings
Automatically converts internet addresses into links by adding [url] and [/url] around them.
Smiley code in your message such as :) is automatically displayed as image.
You can use BBCode to format your message, if this option is enabled.
Security measure

Please enter the letters that are shown in the picture below (without spaces, and upper or lower case can be used).

The last 5 posts

Thursday, April 19th 2018, 5:03pm

by sanjeev majumdar

hi,

thanks for clarifying i will try that. although i have implemented the programline_event isr where it sets the next buffer address as per the pending buffer when multi buffering is enabled but still i observe more flickering compare to memory device.

Thursday, April 19th 2018, 4:45pm

by SEGGER - Schoenen

Hi,

Did you implemented multi buffering properly in your LCDConf.c?

It is not required to enable two layers for multi buffering.

Attached is an example LCD configuration for an STM32F7.
SEGGER - Schoenen has attached the following file:
  • LCDConf.zip (20.47 kB - 45 times downloaded - Last download: Today, 10:47am)

Thursday, April 19th 2018, 5:15am

by sanjeev majumdar

hello Sven,

Thankyou for replying back. i used memdevice and i could see minimal flickering but when i use multibuffering i observed more flicker compare to the previous one.
can you please elaborate that for multibuffering do i have to enable both the layers 0 & 1 ?? also i would like to know how to utilize GUIDRV_LIN_32 & GUICC_M8888 in my present case coz when i use this driver the LCD not at all works only i could work in GUIDRV_LIN_16 & GUICC_M565. you can refer my LCDConfig poster earlier.

thank you

Monday, April 16th 2018, 10:13am

by SEGGER - Schoenen

Hi,

to avoid flickering we recommend to use multi buffering.

Just call WM_MULTIBUF_Enable(1) right after GUI_Init(). Of course, this requires emWin to be configured to use multiple buffers, but in the LCDConf.c coming from ST this should be done already.

The use of memory devices can help a little bit against flickering but is not as good as multibuffering. With memory devices only one window will get buffered and not the entire screen. If there is not enough memory available to create a memory device for a whole window only small devices will be created and only small parts of the window will be drawn. if this happens there will be no advantage of using memory devices.

Regards
Sven

Monday, April 16th 2018, 8:21am

by sanjeev majumdar

flicker issue

Hello,

i am using STEMWIN on stm32f769bit6. i generated one dialog using GUIBuilder and created text, graph widgets etc on it.
i am regularly updating the TEXT box in one of the task and calling GUI_Exec after that. i have enabled usage of memory device but still i could notice flicker. plz let me know whether i am using it properly??
sanjeev majumdar has attached the following file:
  • New folder.zip (50.11 kB - 38 times downloaded - Last download: May 22nd 2018, 7:01pm)