Skip to content

GUI_Delay STemWin doesn't work as expected for STM32769I-DISCO #75

@xpress-embedo

Description

@xpress-embedo

Hi All,
3 years ago, I faced a problem with the GUI_Delay function from STemWin as it was not working as expected.
I found similar issues all over the community pages; here are some links.
https://community.st.com/s/question/0D50X0000BMFJTpSQP/stemwin-guidispstring-function-isnt-working-after-a-while
https://community.st.com/s/question/0D53W000006pu0mSAA/im-working-on-stm32f469-discovery-board-for-gui-application-using-stm32cubemx-54-and-graphics-framework-stemwin-where-i-want-to-display-integers-from-1-to-5-my-delay-function-is-not-working-i-guess-only-1st-value-1-is-displaying-on-the-screen
https://community.st.com/s/question/0D53W00000wWPoXSAW/why-does-not-the-lcd-update-in-stm32h747idisco-board

And then in January 2022, I created a post on the community.
https://community.st.com/s/question/0D53W00001IcqibSAB/stemwinhelloworld-example-debugging-and-guidelay-not-working
https://community.st.com/s/question/0D53W00001IBcAxSAL/help-needed-in-building-a-simple-project-with-stemwin-and-stm32cubeide
But no solution was provided to me, to get better support I created a ticket on the "Online Support Case" page.
Case Number: 00149151
https://community.st.com/s/case/5003W00000EoYjjQAF/stemwin-graphical-framework-support-along-with-stm32f7-microcontroller

The following are the responses I have received.
GUI_Delay

GUI_Delay2

So, technically they have acknowledged the problem, but no solution is provided till now.

Now coming to the problem, although it is mentioned in the community post.
I took the simple "STemWin_HelloWorld" example from the CubeF7 package for my board and updated it to print another string with some delay.

void MainTask(void) {
  GUI_Clear();
  GUI_SetFont(&GUI_Font32_1);
  GUI_DispString("Hello World from STM32F7\r\n");
  GUI_Delay(1000);
  GUI_DispStringAt("Hello world!", (LCD_GetXSize()-100)/2, (LCD_GetYSize()-20)/2);  
  while(1);
}

And this GUI_Delay is not working, I have STM32F4 DISCO Board also and also STM32F3 based Board and this works fine, but not on STM32769I-DISCO Board (maybe on older version this doesn't work, but on the newer version, it works but I don't have, and I am saying this because .. please see the comment from the post as attached below)

GUI_Delay3

Why I created this ticket?
The main purpose of creating this ticket is to highlight this issue here so that developers can analyze and fix this issue because today it's almost 8 months since I didn't get support from the community post and also from the online support team.
Apologies if this is not the correct page to post this issue. Thanks

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginternal bug trackerIssue confirmed and logged into the internal bug tracking systemmwMiddleware-related issue or pull-request.spotted before customerSpotted internally before being pointed out by the user but not yet fixed or publishedst communityAlso reported by users on the community.st.com

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions